Class ListChildAccountsRequest.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChildAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides

build()

public ListChildAccountsRequest build()
Returns
TypeDescription
ListChildAccountsRequest

buildPartial()

public ListChildAccountsRequest buildPartial()
Returns
TypeDescription
ListChildAccountsRequest

clear()

public ListChildAccountsRequest.Builder clear()
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListChildAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListChildAccountsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChildAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListChildAccountsRequest.Builder

This builder for chaining.

clone()

public ListChildAccountsRequest.Builder clone()
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListChildAccountsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListChildAccountsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the labelId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChildAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListChildAccountsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides

mergeFrom(ListChildAccountsRequest other)

public ListChildAccountsRequest.Builder mergeFrom(ListChildAccountsRequest other)
Parameter
NameDescription
otherListChildAccountsRequest
Returns
TypeDescription
ListChildAccountsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChildAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListChildAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fullName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fullName to set.

Returns
TypeDescription
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
NameDescription
valuelong

The labelId to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChildAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides