public static final class Accepted.Builder extends GeneratedMessage.Builder<Accepted.Builder> implements AcceptedOrBuilderDescribes the accepted terms of service.
Protobuf type google.shopping.merchant.accounts.v1beta.Accepted
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Accepted.BuilderImplements
AcceptedOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Accepted build()| Returns | |
|---|---|
| Type | Description |
Accepted |
|
buildPartial()
public Accepted buildPartial()| Returns | |
|---|---|
| Type | Description |
Accepted |
|
clear()
public Accepted.Builder clear()| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|
clearAcceptedBy()
public Accepted.Builder clearAcceptedBy()The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
string accepted_by = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
This builder for chaining. |
clearTermsOfService()
public Accepted.Builder clearTermsOfService()The accepted termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
This builder for chaining. |
clearValidUntil()
public Accepted.Builder clearValidUntil()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 .google.type.Date valid_until = 3;
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|
getAcceptedBy()
public String getAcceptedBy()The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
string accepted_by = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The acceptedBy. |
getAcceptedByBytes()
public ByteString getAcceptedByBytes()The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
string accepted_by = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for acceptedBy. |
getDefaultInstanceForType()
public Accepted getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Accepted |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTermsOfService()
public String getTermsOfService()The accepted termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The termsOfService. |
getTermsOfServiceBytes()
public ByteString getTermsOfServiceBytes()The accepted termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for termsOfService. |
getValidUntil()
public Date getValidUntil()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 .google.type.Date valid_until = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date |
The validUntil. |
getValidUntilBuilder()
public Date.Builder getValidUntilBuilder()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 .google.type.Date valid_until = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Date.Builder |
|
getValidUntilOrBuilder()
public DateOrBuilder getValidUntilOrBuilder()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 .google.type.Date valid_until = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateOrBuilder |
|
hasValidUntil()
public boolean hasValidUntil()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 .google.type.Date valid_until = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the validUntil field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Accepted.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Accepted.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|
mergeFrom(Accepted other)
public Accepted.Builder mergeFrom(Accepted other)| Parameter | |
|---|---|
| Name | Description |
other |
Accepted |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|
mergeValidUntil(Date value)
public Accepted.Builder mergeValidUntil(Date value)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 .google.type.Date valid_until = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|
setAcceptedBy(String value)
public Accepted.Builder setAcceptedBy(String value)The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
string accepted_by = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe acceptedBy to set. |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
This builder for chaining. |
setAcceptedByBytes(ByteString value)
public Accepted.Builder setAcceptedByBytes(ByteString value)The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
string accepted_by = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for acceptedBy to set. |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
This builder for chaining. |
setTermsOfService(String value)
public Accepted.Builder setTermsOfService(String value)The accepted termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe termsOfService to set. |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
This builder for chaining. |
setTermsOfServiceBytes(ByteString value)
public Accepted.Builder setTermsOfServiceBytes(ByteString value)The accepted termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for termsOfService to set. |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
This builder for chaining. |
setValidUntil(Date value)
public Accepted.Builder setValidUntil(Date value)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 .google.type.Date valid_until = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Date |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|
setValidUntil(Date.Builder builderForValue)
public Accepted.Builder setValidUntil(Date.Builder builderForValue)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 .google.type.Date valid_until = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Date.Builder |
| Returns | |
|---|---|
| Type | Description |
Accepted.Builder |
|