Class ListChildAccountsRequest (0.2.0)

public final class ListChildAccountsRequest extends GeneratedMessageV3 implements ListChildAccountsRequestOrBuilder

The request message for the ListChildAccounts method.

Protobuf type google.shopping.css.v1.ListChildAccountsRequest

Static Fields

FULL_NAME_FIELD_NUMBER

public static final int FULL_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LABEL_ID_FIELD_NUMBER

public static final int LABEL_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListChildAccountsRequest getDefaultInstance()
Returns
TypeDescription
ListChildAccountsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListChildAccountsRequest.Builder newBuilder()
Returns
TypeDescription
ListChildAccountsRequest.Builder

newBuilder(ListChildAccountsRequest prototype)

public static ListChildAccountsRequest.Builder newBuilder(ListChildAccountsRequest prototype)
Parameter
NameDescription
prototypeListChildAccountsRequest
Returns
TypeDescription
ListChildAccountsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListChildAccountsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListChildAccountsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListChildAccountsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListChildAccountsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListChildAccountsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListChildAccountsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListChildAccountsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListChildAccountsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListChildAccountsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListChildAccountsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListChildAccountsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListChildAccountsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListChildAccountsRequest> parser()
Returns
TypeDescription
Parser<ListChildAccountsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListChildAccountsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListChildAccountsRequest

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.

getParserForType()

public Parser<ListChildAccountsRequest> getParserForType()
Returns
TypeDescription
Parser<ListChildAccountsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListChildAccountsRequest.Builder newBuilderForType()
Returns
TypeDescription
ListChildAccountsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListChildAccountsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListChildAccountsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListChildAccountsRequest.Builder toBuilder()
Returns
TypeDescription
ListChildAccountsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException