Class RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder (0.5.0)

public static final class RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder extends GeneratedMessageV3.Builder<RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder> implements RetrieveForApplicationTermsOfServiceAgreementStateRequestOrBuilder

Request message for the RetrieveForApplicationTermsOfServiceAgreementState method.

Protobuf type google.shopping.merchant.accounts.v1beta.RetrieveForApplicationTermsOfServiceAgreementStateRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

build()

public RetrieveForApplicationTermsOfServiceAgreementStateRequest build()
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest

buildPartial()

public RetrieveForApplicationTermsOfServiceAgreementStateRequest buildPartial()
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest

clear()

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder clear()
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

clearParent()

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder clearParent()

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder

This builder for chaining.

clone()

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder clone()
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

getDefaultInstanceForType()

public RetrieveForApplicationTermsOfServiceAgreementStateRequest getDefaultInstanceForType()
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

mergeFrom(RetrieveForApplicationTermsOfServiceAgreementStateRequest other)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder mergeFrom(RetrieveForApplicationTermsOfServiceAgreementStateRequest other)
Parameter
Name Description
other RetrieveForApplicationTermsOfServiceAgreementStateRequest
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

setParent(String value)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder setParent(String value)

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder setParentBytes(ByteString value)

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest.Builder
Overrides