public static final class Accepted.Builder extends GeneratedMessageV3.Builder<Accepted.Builder> implements AcceptedOrBuilder
Describes the accepted terms of service.
Protobuf type google.shopping.merchant.accounts.v1beta.Accepted
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 Accepted.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Accepted buildPartial()
public Accepted.Builder clear()
Overrides
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) = { ... }
public Accepted.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Accepted.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Accepted.Builder clearTermsOfService()
The accepted
termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
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;
public Accepted.Builder clone()
Overrides
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.
|
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.
|
public Accepted getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getTermsOfService()
The accepted
termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The termsOfService.
|
public ByteString getTermsOfServiceBytes()
The accepted
termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for termsOfService.
|
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.
|
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 |
|
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 |
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Accepted.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Accepted.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public Accepted.Builder mergeFrom(Accepted other)
Parameter |
Name |
Description |
other |
Accepted
|
public final Accepted.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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 |
String
The acceptedBy to set.
|
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 |
ByteString
The bytes for acceptedBy to set.
|
public Accepted.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Accepted.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Accepted.Builder setTermsOfService(String value)
The accepted
termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The termsOfService to set.
|
public Accepted.Builder setTermsOfServiceBytes(ByteString value)
The accepted
termsOfService.
string terms_of_service = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for termsOfService to set.
|
public final Accepted.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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
|