public static final class RetrieveLatestTermsOfServiceRequest.Builder extends GeneratedMessageV3.Builder<RetrieveLatestTermsOfServiceRequest.Builder> implements RetrieveLatestTermsOfServiceRequestOrBuilder
Request message for the RetrieveLatestTermsOfService
method.
Protobuf type
google.shopping.merchant.accounts.v1beta.RetrieveLatestTermsOfServiceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RetrieveLatestTermsOfServiceRequest.BuilderImplements
RetrieveLatestTermsOfServiceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RetrieveLatestTermsOfServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public RetrieveLatestTermsOfServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
clearKind()
public RetrieveLatestTermsOfServiceRequest.Builder clearKind()
The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2;
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RetrieveLatestTermsOfServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
clearRegionCode()
public RetrieveLatestTermsOfServiceRequest.Builder clearRegionCode()
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;
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
clone()
public RetrieveLatestTermsOfServiceRequest.Builder clone()
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
getDefaultInstanceForType()
public RetrieveLatestTermsOfServiceRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKind()
public TermsOfServiceKind getKind()
The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2;
Returns | |
---|---|
Type | Description |
TermsOfServiceKind |
The kind. |
getKindValue()
public int getKindValue()
The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for kind. |
getRegionCode()
public String getRegionCode()
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;
Returns | |
---|---|
Type | Description |
String |
The regionCode. |
getRegionCodeBytes()
public ByteString getRegionCodeBytes()
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for regionCode. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveLatestTermsOfServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RetrieveLatestTermsOfServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
setKind(TermsOfServiceKind value)
public RetrieveLatestTermsOfServiceRequest.Builder setKind(TermsOfServiceKind value)
The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2;
Parameter | |
---|---|
Name | Description |
value |
TermsOfServiceKind The kind to set. |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
setKindValue(int value)
public RetrieveLatestTermsOfServiceRequest.Builder setKindValue(int value)
The Kind this terms of service version applies to.
.google.shopping.merchant.accounts.v1beta.TermsOfServiceKind kind = 2;
Parameter | |
---|---|
Name | Description |
value |
int The 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)
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;
Parameter | |
---|---|
Name | Description |
value |
String The regionCode to set. |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
setRegionCodeBytes(ByteString value)
public RetrieveLatestTermsOfServiceRequest.Builder setRegionCodeBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for regionCode to set. |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RetrieveLatestTermsOfServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveLatestTermsOfServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RetrieveLatestTermsOfServiceRequest.Builder |