Optional. When set, it states that the accepted TermsOfService is only
valid until the end of this date (in UTC). A new one must be accepted
before then. The information of the required TermsOfService is found in
the Required message.
Optional. When set, it states that the accepted TermsOfService is only
valid until the end of this date (in UTC). A new one must be accepted
before then. The information of the required TermsOfService is found in
the Required message.
Optional. When set, it states that the accepted TermsOfService is only
valid until the end of this date (in UTC). A new one must be accepted
before then. The information of the required TermsOfService is found in
the Required message.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface AcceptedOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-accounts/0.26.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-accounts/0.24.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-accounts/0.23.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-accounts/0.20.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-accounts/0.19.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-accounts/0.18.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-accounts/0.16.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-accounts/0.15.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-accounts/0.14.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-accounts/0.13.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-accounts/0.12.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-accounts/0.11.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-accounts/0.10.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-accounts/0.9.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-accounts/0.8.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-accounts/0.7.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-accounts/0.5.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-accounts/0.4.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-accounts/0.3.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-accounts/0.2.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-accounts/0.1.0/com.google.shopping.merchant.accounts.v1.AcceptedOrBuilder) \n\n public interface AcceptedOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAcceptedBy()\n\n public abstract String getAcceptedBy()\n\nRequired. The account where the acceptance was recorded. This can be the\naccount itself or, in the case of subaccounts, the advanced account.\n\n`\nstring accepted_by = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getAcceptedByBytes()\n\n public abstract ByteString getAcceptedByBytes()\n\nRequired. The account where the acceptance was recorded. This can be the\naccount itself or, in the case of subaccounts, the advanced account.\n\n`\nstring accepted_by = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getTermsOfService()\n\n public abstract String getTermsOfService()\n\nRequired. The accepted\ntermsOfService.\n\n`\nstring terms_of_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getTermsOfServiceBytes()\n\n public abstract ByteString getTermsOfServiceBytes()\n\nRequired. The accepted\ntermsOfService.\n\n`\nstring terms_of_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getValidUntil()\n\n public abstract Date getValidUntil()\n\nOptional. When set, it states that the accepted `TermsOfService` is only\nvalid until the end of this date (in UTC). A new one must be accepted\nbefore then. The information of the required `TermsOfService` is found in\nthe `Required` message.\n\n`optional .google.type.Date valid_until = 3 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getValidUntilOrBuilder()\n\n public abstract DateOrBuilder getValidUntilOrBuilder()\n\nOptional. When set, it states that the accepted `TermsOfService` is only\nvalid until the end of this date (in UTC). A new one must be accepted\nbefore then. The information of the required `TermsOfService` is found in\nthe `Required` message.\n\n`optional .google.type.Date valid_until = 3 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### hasValidUntil()\n\n public abstract boolean hasValidUntil()\n\nOptional. When set, it states that the accepted `TermsOfService` is only\nvalid until the end of this date (in UTC). A new one must be accepted\nbefore then. The information of the required `TermsOfService` is found in\nthe `Required` message.\n\n`optional .google.type.Date valid_until = 3 [(.google.api.field_behavior) = OPTIONAL];\n`"]]