public static final class ListDataSourcesResponse.Builder extends GeneratedMessageV3.Builder<ListDataSourcesResponse.Builder> implements ListDataSourcesResponseOrBuilder
Response message for the ListDataSources method.
Protobuf type google.shopping.merchant.datasources.v1beta.ListDataSourcesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ListDataSourcesResponse.Builder addAllDataSources(Iterable<? extends DataSource> values)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.shopping.merchant.datasources.v1beta.DataSource>
|
public ListDataSourcesResponse.Builder addDataSources(DataSource value)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public ListDataSourcesResponse.Builder addDataSources(DataSource.Builder builderForValue)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public ListDataSourcesResponse.Builder addDataSources(int index, DataSource value)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public ListDataSourcesResponse.Builder addDataSources(int index, DataSource.Builder builderForValue)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public DataSource.Builder addDataSourcesBuilder()
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public DataSource.Builder addDataSourcesBuilder(int index)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Parameter |
Name |
Description |
index |
int
|
public ListDataSourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListDataSourcesResponse build()
public ListDataSourcesResponse buildPartial()
public ListDataSourcesResponse.Builder clear()
Overrides
public ListDataSourcesResponse.Builder clearDataSources()
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public ListDataSourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListDataSourcesResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
public ListDataSourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListDataSourcesResponse.Builder clone()
Overrides
public DataSource getDataSources(int index)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Parameter |
Name |
Description |
index |
int
|
public DataSource.Builder getDataSourcesBuilder(int index)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Parameter |
Name |
Description |
index |
int
|
public List<DataSource.Builder> getDataSourcesBuilderList()
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public int getDataSourcesCount()
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Returns |
Type |
Description |
int |
|
public List<DataSource> getDataSourcesList()
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public DataSourceOrBuilder getDataSourcesOrBuilder(int index)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends DataSourceOrBuilder> getDataSourcesOrBuilderList()
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.datasources.v1beta.DataSourceOrBuilder> |
|
public ListDataSourcesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListDataSourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListDataSourcesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListDataSourcesResponse.Builder mergeFrom(ListDataSourcesResponse other)
public final ListDataSourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListDataSourcesResponse.Builder removeDataSources(int index)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
Parameter |
Name |
Description |
index |
int
|
public ListDataSourcesResponse.Builder setDataSources(int index, DataSource value)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public ListDataSourcesResponse.Builder setDataSources(int index, DataSource.Builder builderForValue)
The data sources from the specified account.
repeated .google.shopping.merchant.datasources.v1beta.DataSource data_sources = 1;
public ListDataSourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListDataSourcesResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListDataSourcesResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
public ListDataSourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListDataSourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides