public static final class ListOnlineReturnPoliciesRequest.Builder extends GeneratedMessageV3.Builder<ListOnlineReturnPoliciesRequest.Builder> implements ListOnlineReturnPoliciesRequestOrBuilder
Request message for the ListOnlineReturnPolicies
method.
Protobuf type google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListOnlineReturnPoliciesRequest.BuilderImplements
ListOnlineReturnPoliciesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOnlineReturnPoliciesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
build()
public ListOnlineReturnPoliciesRequest build()
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest |
buildPartial()
public ListOnlineReturnPoliciesRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest |
clear()
public ListOnlineReturnPoliciesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListOnlineReturnPoliciesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOnlineReturnPoliciesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
clearPageSize()
public ListOnlineReturnPoliciesRequest.Builder clearPageSize()
Optional. The maximum number of OnlineReturnPolicy
resources to return.
The service returns fewer than this value if the number of return policies
for the given merchant is less that than the pageSize
. The default value
is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the pageSize
will default to the maximum
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListOnlineReturnPoliciesRequest.Builder clearPageToken()
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOnlineReturnPolicies
must match the call that provided the page
token. The token returned as
nextPageToken
in the response to the previous request.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
clearParent()
public ListOnlineReturnPoliciesRequest.Builder clearParent()
Required. The merchant account for which to list return policies.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
clone()
public ListOnlineReturnPoliciesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
getDefaultInstanceForType()
public ListOnlineReturnPoliciesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
Optional. The maximum number of OnlineReturnPolicy
resources to return.
The service returns fewer than this value if the number of return policies
for the given merchant is less that than the pageSize
. The default value
is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the pageSize
will default to the maximum
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOnlineReturnPolicies
must match the call that provided the page
token. The token returned as
nextPageToken
in the response to the previous request.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOnlineReturnPolicies
must match the call that provided the page
token. The token returned as
nextPageToken
in the response to the previous request.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()
Required. The merchant account for which to list return policies.
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 merchant account for which to list return policies.
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListOnlineReturnPoliciesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListOnlineReturnPoliciesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
mergeFrom(ListOnlineReturnPoliciesRequest other)
public ListOnlineReturnPoliciesRequest.Builder mergeFrom(ListOnlineReturnPoliciesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListOnlineReturnPoliciesRequest |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOnlineReturnPoliciesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListOnlineReturnPoliciesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
setPageSize(int value)
public ListOnlineReturnPoliciesRequest.Builder setPageSize(int value)
Optional. The maximum number of OnlineReturnPolicy
resources to return.
The service returns fewer than this value if the number of return policies
for the given merchant is less that than the pageSize
. The default value
is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the pageSize
will default to the maximum
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListOnlineReturnPoliciesRequest.Builder setPageToken(String value)
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOnlineReturnPolicies
must match the call that provided the page
token. The token returned as
nextPageToken
in the response to the previous request.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListOnlineReturnPoliciesRequest.Builder setPageTokenBytes(ByteString value)
Optional. A page token, received from a previous ListOnlineReturnPolicies
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOnlineReturnPolicies
must match the call that provided the page
token. The token returned as
nextPageToken
in the response to the previous request.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListOnlineReturnPoliciesRequest.Builder setParent(String value)
Required. The merchant account for which to list return policies.
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 |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListOnlineReturnPoliciesRequest.Builder setParentBytes(ByteString value)
Required. The merchant account for which to list return policies.
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 |
ListOnlineReturnPoliciesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOnlineReturnPoliciesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOnlineReturnPoliciesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListOnlineReturnPoliciesRequest.Builder |