public final class AcceptTermsOfServiceResponse extends GeneratedMessage implements AcceptTermsOfServiceResponseOrBuilder Response message for the AcceptTermsOfService method.
Protobuf type google.shopping.merchant.accounts.v1.AcceptTermsOfServiceResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AcceptTermsOfServiceResponseImplements
AcceptTermsOfServiceResponseOrBuilderStatic Fields
TERMS_OF_SERVICE_AGREEMENT_STATE_FIELD_NUMBER
public static final int TERMS_OF_SERVICE_AGREEMENT_STATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AcceptTermsOfServiceResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AcceptTermsOfServiceResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse.Builder |
|
newBuilder(AcceptTermsOfServiceResponse prototype)
public static AcceptTermsOfServiceResponse.Builder newBuilder(AcceptTermsOfServiceResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AcceptTermsOfServiceResponse |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static AcceptTermsOfServiceResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AcceptTermsOfServiceResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AcceptTermsOfServiceResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AcceptTermsOfServiceResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AcceptTermsOfServiceResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AcceptTermsOfServiceResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AcceptTermsOfServiceResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AcceptTermsOfServiceResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AcceptTermsOfServiceResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AcceptTermsOfServiceResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AcceptTermsOfServiceResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AcceptTermsOfServiceResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AcceptTermsOfServiceResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AcceptTermsOfServiceResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AcceptTermsOfServiceResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse |
|
getParserForType()
public Parser<AcceptTermsOfServiceResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AcceptTermsOfServiceResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTermsOfServiceAgreementState()
public TermsOfServiceAgreementState getTermsOfServiceAgreementState()The agreement state after accepting the ToS.
.google.shopping.merchant.accounts.v1.TermsOfServiceAgreementState terms_of_service_agreement_state = 1;
| Returns | |
|---|---|
| Type | Description |
TermsOfServiceAgreementState |
The termsOfServiceAgreementState. |
getTermsOfServiceAgreementStateOrBuilder()
public TermsOfServiceAgreementStateOrBuilder getTermsOfServiceAgreementStateOrBuilder()The agreement state after accepting the ToS.
.google.shopping.merchant.accounts.v1.TermsOfServiceAgreementState terms_of_service_agreement_state = 1;
| Returns | |
|---|---|
| Type | Description |
TermsOfServiceAgreementStateOrBuilder |
|
hasTermsOfServiceAgreementState()
public boolean hasTermsOfServiceAgreementState()The agreement state after accepting the ToS.
.google.shopping.merchant.accounts.v1.TermsOfServiceAgreementState terms_of_service_agreement_state = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the termsOfServiceAgreementState field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AcceptTermsOfServiceResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AcceptTermsOfServiceResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse.Builder |
|
toBuilder()
public AcceptTermsOfServiceResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AcceptTermsOfServiceResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|