Class ListConversionSourcesRequest.Builder (0.6.0)

public static final class ListConversionSourcesRequest.Builder extends GeneratedMessageV3.Builder<ListConversionSourcesRequest.Builder> implements ListConversionSourcesRequestOrBuilder

Request message for the ListConversionSources method.

Protobuf type google.shopping.merchant.conversions.v1beta.ListConversionSourcesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConversionSourcesRequest build()
Returns
Type Description
ListConversionSourcesRequest

buildPartial()

public ListConversionSourcesRequest buildPartial()
Returns
Type Description
ListConversionSourcesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListConversionSourcesRequest.Builder clearPageSize()

Optional. The maximum number of conversion sources to return in a page. If no page_size is specified, 100 is used as the default value. The maximum value is 200. Values above 200 will be coerced to 200. Regardless of pagination, at most 200 conversion sources are returned in total.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

clearPageToken()

public ListConversionSourcesRequest.Builder clearPageToken()

Optional. Page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

clearParent()

public ListConversionSourcesRequest.Builder clearParent()

Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account}

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

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

clearShowDeleted()

public ListConversionSourcesRequest.Builder clearShowDeleted()

Optional. Show deleted (archived) option.

bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListConversionSourcesRequest getDefaultInstanceForType()
Returns
Type Description
ListConversionSourcesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of conversion sources to return in a page. If no page_size is specified, 100 is used as the default value. The maximum value is 200. Values above 200 will be coerced to 200. Regardless of pagination, at most 200 conversion sources are returned in total.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Page token.

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 who owns the collection of conversion sources. 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 who owns the collection of conversion sources. Format: accounts/{account}

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

Returns
Type Description
ByteString

The bytes for parent.

getShowDeleted()

public boolean getShowDeleted()

Optional. Show deleted (archived) option.

bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The showDeleted.

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 ListConversionSourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversionSourcesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListConversionSourcesRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListConversionSourcesRequest.Builder setPageSize(int value)

Optional. The maximum number of conversion sources to return in a page. If no page_size is specified, 100 is used as the default value. The maximum value is 200. Values above 200 will be coerced to 200. Regardless of pagination, at most 200 conversion sources are returned in total.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListConversionSourcesRequest.Builder setPageToken(String value)

Optional. Page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListConversionSourcesRequest.Builder setPageTokenBytes(ByteString value)

Optional. Page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

setParent(String value)

public ListConversionSourcesRequest.Builder setParent(String value)

Required. The merchant account who owns the collection of conversion sources. 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
ListConversionSourcesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListConversionSourcesRequest.Builder setParentBytes(ByteString value)

Required. The merchant account who owns the collection of conversion sources. 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
ListConversionSourcesRequest.Builder

This builder for chaining.

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

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

setShowDeleted(boolean value)

public ListConversionSourcesRequest.Builder setShowDeleted(boolean value)

Optional. Show deleted (archived) option.

bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The showDeleted to set.

Returns
Type Description
ListConversionSourcesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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