com.google.shopping.merchant.accounts.v1beta.EmailPreferencesProto Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/shopping/merchant/accounts/v1beta/emailpreferences.proto
// Protobuf Java Version: 3.25.5
package com.google.shopping.merchant.accounts.v1beta;
public final class EmailPreferencesProto {
private EmailPreferencesProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_shopping_merchant_accounts_v1beta_EmailPreferences_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_shopping_merchant_accounts_v1beta_EmailPreferences_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_shopping_merchant_accounts_v1beta_GetEmailPreferencesRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_shopping_merchant_accounts_v1beta_GetEmailPreferencesRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_shopping_merchant_accounts_v1beta_UpdateEmailPreferencesRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_shopping_merchant_accounts_v1beta_UpdateEmailPreferencesRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n?google/shopping/merchant/accounts/v1be"
+ "ta/emailpreferences.proto\022(google.shoppi"
+ "ng.merchant.accounts.v1beta\032\034google/api/"
+ "annotations.proto\032\027google/api/client.pro"
+ "to\032\037google/api/field_behavior.proto\032\031goo"
+ "gle/api/resource.proto\032 google/protobuf/"
+ "field_mask.proto\"\355\002\n\020EmailPreferences\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022a\n\rnews_and_tips\030\002 \001(\0162"
+ "E.google.shopping.merchant.accounts.v1be"
+ "ta.EmailPreferences.OptInStateB\003\340A\001\"X\n\nO"
+ "ptInState\022\034\n\030OPT_IN_STATE_UNSPECIFIED\020\000\022"
+ "\r\n\tOPTED_OUT\020\001\022\014\n\010OPTED_IN\020\002\022\017\n\013UNCONFIR"
+ "MED\020\003:\210\001\352A\204\001\n+merchantapi.googleapis.com"
+ "/EmailPreferences\0221accounts/{account}/us"
+ "ers/{email}/emailPreferences*\020emailPrefe"
+ "rences2\020emailPreferences\"_\n\032GetEmailPref"
+ "erencesRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+me"
+ "rchantapi.googleapis.com/EmailPreference"
+ "s\"\261\001\n\035UpdateEmailPreferencesRequest\022Z\n\021e"
+ "mail_preferences\030\001 \001(\0132:.google.shopping"
+ ".merchant.accounts.v1beta.EmailPreferenc"
+ "esB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr"
+ "otobuf.FieldMaskB\003\340A\0022\363\004\n\027EmailPreferenc"
+ "esService\022\343\001\n\023GetEmailPreferences\022D.goog"
+ "le.shopping.merchant.accounts.v1beta.Get"
+ "EmailPreferencesRequest\032:.google.shoppin"
+ "g.merchant.accounts.v1beta.EmailPreferen"
+ "ces\"J\332A\004name\202\323\344\223\002=\022;/accounts/v1beta/{na"
+ "me=accounts/*/users/*/emailPreferences}\022"
+ "\250\002\n\026UpdateEmailPreferences\022G.google.shop"
+ "ping.merchant.accounts.v1beta.UpdateEmai"
+ "lPreferencesRequest\032:.google.shopping.me"
+ "rchant.accounts.v1beta.EmailPreferences\""
+ "\210\001\332A\035email_preferences,update_mask\202\323\344\223\002b"
+ "2M/accounts/v1beta/{email_preferences.na"
+ "me=accounts/*/users/*/emailPreferences}:"
+ "\021email_preferences\032G\312A\032merchantapi.googl"
+ "eapis.com\322A\'https://www.googleapis.com/a"
+ "uth/contentB\227\001\n,com.google.shopping.merc"
+ "hant.accounts.v1betaB\025EmailPreferencesPr"
+ "otoP\001ZNcloud.google.com/go/shopping/merc"
+ "hant/accounts/apiv1beta/accountspb;accou"
+ "ntspbb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
});
internal_static_google_shopping_merchant_accounts_v1beta_EmailPreferences_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_shopping_merchant_accounts_v1beta_EmailPreferences_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_shopping_merchant_accounts_v1beta_EmailPreferences_descriptor,
new java.lang.String[] {
"Name", "NewsAndTips",
});
internal_static_google_shopping_merchant_accounts_v1beta_GetEmailPreferencesRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_shopping_merchant_accounts_v1beta_GetEmailPreferencesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_shopping_merchant_accounts_v1beta_GetEmailPreferencesRequest_descriptor,
new java.lang.String[] {
"Name",
});
internal_static_google_shopping_merchant_accounts_v1beta_UpdateEmailPreferencesRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_shopping_merchant_accounts_v1beta_UpdateEmailPreferencesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_shopping_merchant_accounts_v1beta_UpdateEmailPreferencesRequest_descriptor,
new java.lang.String[] {
"EmailPreferences", "UpdateMask",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.AnnotationsProto.http);
registry.add(com.google.api.ClientProto.methodSignature);
registry.add(com.google.api.ClientProto.oauthScopes);
registry.add(com.google.api.ResourceProto.resource);
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy