public static final class ListChildAccountsRequest.Builder extends GeneratedMessage.Builder<ListChildAccountsRequest.Builder> implements ListChildAccountsRequestOrBuilder The request message for the ListChildAccounts method.
Protobuf type google.shopping.css.v1.ListChildAccountsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListChildAccountsRequest.BuilderImplements
ListChildAccountsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListChildAccountsRequest build()| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest |
|
buildPartial()
public ListChildAccountsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest |
|
clear()
public ListChildAccountsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
|
clearFullName()
public ListChildAccountsRequest.Builder clearFullName()If set, only the MC accounts with the given name (case sensitive) will be returned.
optional string full_name = 3;
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
clearLabelId()
public ListChildAccountsRequest.Builder clearLabelId()If set, only the MC accounts with the given label ID will be returned.
optional int64 label_id = 2;
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListChildAccountsRequest.Builder clearPageSize()Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 100; values above 100 will be coerced to 100.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListChildAccountsRequest.Builder clearPageToken() Optional. A page token, received from a previous ListChildAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListChildAccounts must
match the call that provided the page token.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
clearParent()
public ListChildAccountsRequest.Builder clearParent()Required. The parent account. Must be a CSS group or domain. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListChildAccountsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFullName()
public String getFullName()If set, only the MC accounts with the given name (case sensitive) will be returned.
optional string full_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The fullName. |
getFullNameBytes()
public ByteString getFullNameBytes()If set, only the MC accounts with the given name (case sensitive) will be returned.
optional string full_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fullName. |
getLabelId()
public long getLabelId()If set, only the MC accounts with the given label ID will be returned.
optional int64 label_id = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The labelId. |
getPageSize()
public int getPageSize()Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 100; values above 100 will be coerced to 100.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous ListChildAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListChildAccounts must
match the call that provided the page token.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous ListChildAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListChildAccounts must
match the call that provided the page token.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The parent account. Must be a CSS group or domain. 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 parent account. Must be a CSS group or domain. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasFullName()
public boolean hasFullName()If set, only the MC accounts with the given name (case sensitive) will be returned.
optional string full_name = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fullName field is set. |
hasLabelId()
public boolean hasLabelId()If set, only the MC accounts with the given label ID will be returned.
optional int64 label_id = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the labelId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListChildAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListChildAccountsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
|
mergeFrom(ListChildAccountsRequest other)
public ListChildAccountsRequest.Builder mergeFrom(ListChildAccountsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListChildAccountsRequest |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
|
setFullName(String value)
public ListChildAccountsRequest.Builder setFullName(String value)If set, only the MC accounts with the given name (case sensitive) will be returned.
optional string full_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fullName to set. |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
setFullNameBytes(ByteString value)
public ListChildAccountsRequest.Builder setFullNameBytes(ByteString value)If set, only the MC accounts with the given name (case sensitive) will be returned.
optional string full_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fullName to set. |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
setLabelId(long value)
public ListChildAccountsRequest.Builder setLabelId(long value)If set, only the MC accounts with the given label ID will be returned.
optional int64 label_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe labelId to set. |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListChildAccountsRequest.Builder setPageSize(int value)Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 100; values above 100 will be coerced to 100.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListChildAccountsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous ListChildAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListChildAccounts must
match the call that provided the page token.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListChildAccountsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous ListChildAccounts call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListChildAccounts must
match the call that provided the page token.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListChildAccountsRequest.Builder setParent(String value)Required. The parent account. Must be a CSS group or domain. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListChildAccountsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListChildAccountsRequest.Builder setParentBytes(ByteString value)Required. The parent account. Must be a CSS group or domain. Format: accounts/{account}
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 |
ListChildAccountsRequest.Builder |
This builder for chaining. |