public static final class ListProgramsResponse.Builder extends GeneratedMessage.Builder<ListProgramsResponse.Builder> implements ListProgramsResponseOrBuilderResponse message for the ListPrograms method.
Protobuf type google.shopping.merchant.accounts.v1.ListProgramsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListProgramsResponse.BuilderImplements
ListProgramsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPrograms(Iterable<? extends Program> values)
public ListProgramsResponse.Builder addAllPrograms(Iterable<? extends Program> values)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1.Program> |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
addPrograms(Program value)
public ListProgramsResponse.Builder addPrograms(Program value)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Program |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
addPrograms(Program.Builder builderForValue)
public ListProgramsResponse.Builder addPrograms(Program.Builder builderForValue)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Program.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
addPrograms(int index, Program value)
public ListProgramsResponse.Builder addPrograms(int index, Program value)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Program |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
addPrograms(int index, Program.Builder builderForValue)
public ListProgramsResponse.Builder addPrograms(int index, Program.Builder builderForValue)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Program.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
addProgramsBuilder()
public Program.Builder addProgramsBuilder()The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Returns | |
|---|---|
| Type | Description |
Program.Builder |
|
addProgramsBuilder(int index)
public Program.Builder addProgramsBuilder(int index)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Program.Builder |
|
build()
public ListProgramsResponse build()| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse |
|
buildPartial()
public ListProgramsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse |
|
clear()
public ListProgramsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
clearNextPageToken()
public ListProgramsResponse.Builder clearNextPageToken() A token that 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 |
ListProgramsResponse.Builder |
This builder for chaining. |
clearPrograms()
public ListProgramsResponse.Builder clearPrograms()The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
getDefaultInstanceForType()
public ListProgramsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token that 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 that 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. |
getPrograms(int index)
public Program getPrograms(int index)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Program |
|
getProgramsBuilder(int index)
public Program.Builder getProgramsBuilder(int index)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Program.Builder |
|
getProgramsBuilderList()
public List<Program.Builder> getProgramsBuilderList()The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getProgramsCount()
public int getProgramsCount()The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getProgramsList()
public List<Program> getProgramsList()The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Program> |
|
getProgramsOrBuilder(int index)
public ProgramOrBuilder getProgramsOrBuilder(int index)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProgramOrBuilder |
|
getProgramsOrBuilderList()
public List<? extends ProgramOrBuilder> getProgramsOrBuilderList()The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1.ProgramOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListProgramsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListProgramsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
mergeFrom(ListProgramsResponse other)
public ListProgramsResponse.Builder mergeFrom(ListProgramsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListProgramsResponse |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
removePrograms(int index)
public ListProgramsResponse.Builder removePrograms(int index)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
setNextPageToken(String value)
public ListProgramsResponse.Builder setNextPageToken(String value) A token that 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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListProgramsResponse.Builder setNextPageTokenBytes(ByteString value) A token that 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
This builder for chaining. |
setPrograms(int index, Program value)
public ListProgramsResponse.Builder setPrograms(int index, Program value)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Program |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|
setPrograms(int index, Program.Builder builderForValue)
public ListProgramsResponse.Builder setPrograms(int index, Program.Builder builderForValue)The programs for the given account.
repeated .google.shopping.merchant.accounts.v1.Program programs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Program.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProgramsResponse.Builder |
|