public static final class RetrieveLatestTermsOfServiceRequest.Builder extends GeneratedMessage.Builder<RetrieveLatestTermsOfServiceRequest.Builder> implements RetrieveLatestTermsOfServiceRequestOrBuilder Request message for the RetrieveLatestTermsOfService method.
Protobuf type
google.shopping.merchant.accounts.v1beta.RetrieveLatestTermsOfServiceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetrieveLatestTermsOfServiceRequest.BuilderImplements
RetrieveLatestTermsOfServiceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RetrieveLatestTermsOfServiceRequest build()| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest |
|
buildPartial()
public RetrieveLatestTermsOfServiceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest |
|
clear()
public RetrieveLatestTermsOfServiceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
|
clearKind()
public RetrieveLatestTermsOfServiceRequest.Builder clearKind()Required. The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
clearRegionCode()
public RetrieveLatestTermsOfServiceRequest.Builder clearRegionCode()Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
string region_code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RetrieveLatestTermsOfServiceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKind()
public TermsOfServiceKind getKind()Required. The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TermsOfServiceKind |
The kind. |
getKindValue()
public int getKindValue()Required. The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for kind. |
getRegionCode()
public String getRegionCode()Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
string region_code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The regionCode. |
getRegionCodeBytes()
public ByteString getRegionCodeBytes()Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
string region_code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for regionCode. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetrieveLatestTermsOfServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetrieveLatestTermsOfServiceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
|
mergeFrom(RetrieveLatestTermsOfServiceRequest other)
public RetrieveLatestTermsOfServiceRequest.Builder mergeFrom(RetrieveLatestTermsOfServiceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RetrieveLatestTermsOfServiceRequest |
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
|
setKind(TermsOfServiceKind value)
public RetrieveLatestTermsOfServiceRequest.Builder setKind(TermsOfServiceKind value)Required. The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
TermsOfServiceKindThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
setKindValue(int value)
public RetrieveLatestTermsOfServiceRequest.Builder setKindValue(int value)Required. The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for kind to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
setRegionCode(String value)
public RetrieveLatestTermsOfServiceRequest.Builder setRegionCode(String value)Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
string region_code = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe regionCode to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
setRegionCodeBytes(ByteString value)
public RetrieveLatestTermsOfServiceRequest.Builder setRegionCodeBytes(ByteString value)Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
string region_code = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for regionCode to set. |
| Returns | |
|---|---|
| Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |