Class ListChildAccountsRequest.Builder (0.20.0)

public static final class ListChildAccountsRequest.Builder extends GeneratedMessageV3.Builder<ListChildAccountsRequest.Builder> implements ListChildAccountsRequestOrBuilder

The request message for the ListChildAccounts method.

Protobuf type google.shopping.css.v1.ListChildAccountsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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 1000; values above 1000 will be coerced to 1000.

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.

clone()

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

getDefaultInstanceForType()

public ListChildAccountsRequest getDefaultInstanceForType()
Returns
Type Description
ListChildAccountsRequest

getDescriptorForType()

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

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 1000; values above 1000 will be coerced to 1000.

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListChildAccountsRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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 String

The 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 ByteString

The 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 long

The 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 1000; values above 1000 will be coerced to 1000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for parent to set.

Returns
Type Description
ListChildAccountsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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