Send feedback
Class Required.Builder (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
public static final class Required . Builder extends GeneratedMessageV3 . Builder<Required . Builder > implements RequiredOrBuilder
Describes the terms of service which are required to be accepted.
Protobuf type google.shopping.merchant.accounts.v1beta.Required
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public Required . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Required buildPartial ()
public Required . Builder clear ()
Overrides
public Required . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public Required . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public Required . Builder clearTermsOfService ()
The
termsOfService
that need to be accepted.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
public Required . Builder clearTosFileUri ()
Full URL to the terms of service file. This field is the same as
TermsOfService.file_uri , it is added
here for convenience only.
string tos_file_uri = 2;
public Required . Builder clone ()
Overrides
public Required getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public String getTermsOfService ()
The
termsOfService
that need to be accepted.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The termsOfService.
public ByteString getTermsOfServiceBytes ()
The
termsOfService
that need to be accepted.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for termsOfService.
public String getTosFileUri ()
Full URL to the terms of service file. This field is the same as
TermsOfService.file_uri , it is added
here for convenience only.
string tos_file_uri = 2;
Returns
Type
Description
String
The tosFileUri.
public ByteString getTosFileUriBytes ()
Full URL to the terms of service file. This field is the same as
TermsOfService.file_uri , it is added
here for convenience only.
string tos_file_uri = 2;
Returns
Type
Description
ByteString
The bytes for tosFileUri.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Required . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public Required . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public Required . Builder mergeFrom ( Required other )
Parameter
Name
Description
other
Required
public final Required . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public Required . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Required . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public Required . Builder setTermsOfService ( String value )
The
termsOfService
that need to be accepted.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String
The termsOfService to set.
public Required . Builder setTermsOfServiceBytes ( ByteString value )
The
termsOfService
that need to be accepted.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for termsOfService to set.
public Required . Builder setTosFileUri ( String value )
Full URL to the terms of service file. This field is the same as
TermsOfService.file_uri , it is added
here for convenience only.
string tos_file_uri = 2;
Parameter
Name
Description
value
String
The tosFileUri to set.
public Required . Builder setTosFileUriBytes ( ByteString value )
Full URL to the terms of service file. This field is the same as
TermsOfService.file_uri , it is added
here for convenience only.
string tos_file_uri = 2;
Parameter
Name
Description
value
ByteString
The bytes for tosFileUri to set.
public final Required . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["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-01-28 UTC."],[],[]]