Class ListConversionSourcesResponse.Builder (0.3.0)

public static final class ListConversionSourcesResponse.Builder extends GeneratedMessageV3.Builder<ListConversionSourcesResponse.Builder> implements ListConversionSourcesResponseOrBuilder

Response message for the ListConversionSources method.

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

Static Methods

getDescriptor()

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

Methods

addAllConversionSources(Iterable<? extends ConversionSource> values)

public ListConversionSourcesResponse.Builder addAllConversionSources(Iterable<? extends ConversionSource> values)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.conversions.v1beta.ConversionSource>
Returns
Type Description
ListConversionSourcesResponse.Builder

addConversionSources(ConversionSource value)

public ListConversionSourcesResponse.Builder addConversionSources(ConversionSource value)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
value ConversionSource
Returns
Type Description
ListConversionSourcesResponse.Builder

addConversionSources(ConversionSource.Builder builderForValue)

public ListConversionSourcesResponse.Builder addConversionSources(ConversionSource.Builder builderForValue)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
builderForValue ConversionSource.Builder
Returns
Type Description
ListConversionSourcesResponse.Builder

addConversionSources(int index, ConversionSource value)

public ListConversionSourcesResponse.Builder addConversionSources(int index, ConversionSource value)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameters
Name Description
index int
value ConversionSource
Returns
Type Description
ListConversionSourcesResponse.Builder

addConversionSources(int index, ConversionSource.Builder builderForValue)

public ListConversionSourcesResponse.Builder addConversionSources(int index, ConversionSource.Builder builderForValue)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameters
Name Description
index int
builderForValue ConversionSource.Builder
Returns
Type Description
ListConversionSourcesResponse.Builder

addConversionSourcesBuilder()

public ConversionSource.Builder addConversionSourcesBuilder()

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Returns
Type Description
ConversionSource.Builder

addConversionSourcesBuilder(int index)

public ConversionSource.Builder addConversionSourcesBuilder(int index)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionSource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConversionSourcesResponse build()
Returns
Type Description
ListConversionSourcesResponse

buildPartial()

public ListConversionSourcesResponse buildPartial()
Returns
Type Description
ListConversionSourcesResponse

clear()

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

clearConversionSources()

public ListConversionSourcesResponse.Builder clearConversionSources()

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Returns
Type Description
ListConversionSourcesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListConversionSourcesResponse.Builder clearNextPageToken()

Token to be used to fetch the next results page.

string next_page_token = 2;

Returns
Type Description
ListConversionSourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConversionSources(int index)

public ConversionSource getConversionSources(int index)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionSource

getConversionSourcesBuilder(int index)

public ConversionSource.Builder getConversionSourcesBuilder(int index)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionSource.Builder

getConversionSourcesBuilderList()

public List<ConversionSource.Builder> getConversionSourcesBuilderList()

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Returns
Type Description
List<Builder>

getConversionSourcesCount()

public int getConversionSourcesCount()

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Returns
Type Description
int

getConversionSourcesList()

public List<ConversionSource> getConversionSourcesList()

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Returns
Type Description
List<ConversionSource>

getConversionSourcesOrBuilder(int index)

public ConversionSourceOrBuilder getConversionSourcesOrBuilder(int index)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversionSourceOrBuilder

getConversionSourcesOrBuilderList()

public List<? extends ConversionSourceOrBuilder> getConversionSourcesOrBuilderList()

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.conversions.v1beta.ConversionSourceOrBuilder>

getDefaultInstanceForType()

public ListConversionSourcesResponse getDefaultInstanceForType()
Returns
Type Description
ListConversionSourcesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to be used to fetch the next results page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to be used to fetch the next results page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

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

mergeFrom(Message other)

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

mergeFrom(ListConversionSourcesResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeConversionSources(int index)

public ListConversionSourcesResponse.Builder removeConversionSources(int index)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
ListConversionSourcesResponse.Builder

setConversionSources(int index, ConversionSource value)

public ListConversionSourcesResponse.Builder setConversionSources(int index, ConversionSource value)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameters
Name Description
index int
value ConversionSource
Returns
Type Description
ListConversionSourcesResponse.Builder

setConversionSources(int index, ConversionSource.Builder builderForValue)

public ListConversionSourcesResponse.Builder setConversionSources(int index, ConversionSource.Builder builderForValue)

List of conversion sources.

repeated .google.shopping.merchant.conversions.v1beta.ConversionSource conversion_sources = 1;

Parameters
Name Description
index int
builderForValue ConversionSource.Builder
Returns
Type Description
ListConversionSourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListConversionSourcesResponse.Builder setNextPageToken(String value)

Token to be used to fetch the next results page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListConversionSourcesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConversionSourcesResponse.Builder setNextPageTokenBytes(ByteString value)

Token to be used to fetch the next results page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListConversionSourcesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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