public static final class FetchMarketplaceCommentsRequest.Builder extends GeneratedMessage.Builder<FetchMarketplaceCommentsRequest.Builder> implements FetchMarketplaceCommentsRequestOrBuilder Request message for FetchMarketplaceComments method.
Protobuf type google.ads.admanager.v1.FetchMarketplaceCommentsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchMarketplaceCommentsRequest.BuilderImplements
FetchMarketplaceCommentsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNames(Iterable<String> values)
public FetchMarketplaceCommentsRequest.Builder addAllNames(Iterable<String> values) Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The names to add. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
addNames(String value)
public FetchMarketplaceCommentsRequest.Builder addNames(String value) Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe names to add. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
addNamesBytes(ByteString value)
public FetchMarketplaceCommentsRequest.Builder addNamesBytes(ByteString value) Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the names to add. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
build()
public FetchMarketplaceCommentsRequest build()| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest |
|
buildPartial()
public FetchMarketplaceCommentsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest |
|
clear()
public FetchMarketplaceCommentsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
|
clearNames()
public FetchMarketplaceCommentsRequest.Builder clearNames() Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
clearPageSize()
public FetchMarketplaceCommentsRequest.Builder clearPageSize() Optional. The maximum number of MarketplaceComment objects to return.
The service may return fewer than this value. If unspecified, at most 50
MarketplaceComments will be returned. The maximum value is 1000;
values greater than 1000 will be coerced to 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchMarketplaceCommentsRequest.Builder clearPageToken() Optional. A page token, received from a previous FetchMarketplaceComments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchMarketplaceComments must match the call that provided the page
token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
clearParent()
public FetchMarketplaceCommentsRequest.Builder clearParent() Required. The parent resource where MarketplaceComments will be fetched
from. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
clearSkip()
public FetchMarketplaceCommentsRequest.Builder clearSkip()Optional. Number of individual resources to skip while paginating.
int32 skip = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchMarketplaceCommentsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNames(int index)
public String getNames(int index) Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The names at the given index. |
getNamesBytes(int index)
public ByteString getNamesBytes(int index) Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the names at the given index. |
getNamesCount()
public int getNamesCount() Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of names. |
getNamesList()
public ProtocolStringList getNamesList() Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the names. |
getPageSize()
public int getPageSize() Optional. The maximum number of MarketplaceComment objects to return.
The service may return fewer than this value. If unspecified, at most 50
MarketplaceComments will be returned. The maximum value is 1000;
values greater than 1000 will be coerced to 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous FetchMarketplaceComments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchMarketplaceComments must match the call that provided the page
token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous FetchMarketplaceComments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchMarketplaceComments must match the call that provided the page
token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent() Required. The parent resource where MarketplaceComments will be fetched
from. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource where MarketplaceComments will be fetched
from. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getSkip()
public int getSkip()Optional. Number of individual resources to skip while paginating.
int32 skip = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The skip. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchMarketplaceCommentsRequest other)
public FetchMarketplaceCommentsRequest.Builder mergeFrom(FetchMarketplaceCommentsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchMarketplaceCommentsRequest |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchMarketplaceCommentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchMarketplaceCommentsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
|
setNames(int index, String value)
public FetchMarketplaceCommentsRequest.Builder setNames(int index, String value) Required. The resource names of the Proposals for which to fetch
marketplace comments. A maximum of 50 proposal names can be specified.
Format: networks/{network_code}/proposals/{proposal_id}
repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe names to set. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchMarketplaceCommentsRequest.Builder setPageSize(int value) Optional. The maximum number of MarketplaceComment objects to return.
The service may return fewer than this value. If unspecified, at most 50
MarketplaceComments will be returned. The maximum value is 1000;
values greater than 1000 will be coerced to 1000.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchMarketplaceCommentsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous FetchMarketplaceComments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchMarketplaceComments must match the call that provided the page
token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchMarketplaceCommentsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous FetchMarketplaceComments
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
FetchMarketplaceComments must match the call that provided the page
token.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
setParent(String value)
public FetchMarketplaceCommentsRequest.Builder setParent(String value) Required. The parent resource where MarketplaceComments will be fetched
from. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public FetchMarketplaceCommentsRequest.Builder setParentBytes(ByteString value) Required. The parent resource where MarketplaceComments will be fetched
from. Format: networks/{network_code}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |
setSkip(int value)
public FetchMarketplaceCommentsRequest.Builder setSkip(int value)Optional. Number of individual resources to skip while paginating.
int32 skip = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe skip to set. |
| Returns | |
|---|---|
| Type | Description |
FetchMarketplaceCommentsRequest.Builder |
This builder for chaining. |