public static final class Required.Builder extends GeneratedMessage.Builder<Required.Builder> implements RequiredOrBuilderDescribes the terms of service which are required to be accepted.
Protobuf type google.shopping.merchant.accounts.v1beta.Required
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Required.BuilderImplements
RequiredOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Required build()| Returns | |
|---|---|
| Type | Description |
Required |
|
buildPartial()
public Required buildPartial()| Returns | |
|---|---|
| Type | Description |
Required |
|
clear()
public Required.Builder clear()| Returns | |
|---|---|
| Type | Description |
Required.Builder |
|
clearTermsOfService()
public Required.Builder clearTermsOfService()The termsOfService that need to be accepted.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
This builder for chaining. |
clearTosFileUri()
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;
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Required getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Required |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTermsOfService()
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. |
getTermsOfServiceBytes()
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. |
getTosFileUri()
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. |
getTosFileUriBytes()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Required.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Required.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
|
mergeFrom(Required other)
public Required.Builder mergeFrom(Required other)| Parameter | |
|---|---|
| Name | Description |
other |
Required |
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
|
setTermsOfService(String value)
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 |
StringThe termsOfService to set. |
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
This builder for chaining. |
setTermsOfServiceBytes(ByteString value)
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 |
ByteStringThe bytes for termsOfService to set. |
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
This builder for chaining. |
setTosFileUri(String value)
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 |
StringThe tosFileUri to set. |
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
This builder for chaining. |
setTosFileUriBytes(ByteString value)
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 |
ByteStringThe bytes for tosFileUri to set. |
| Returns | |
|---|---|
| Type | Description |
Required.Builder |
This builder for chaining. |