Class QueryAudienceListRequest.Builder (0.48.0)

public static final class QueryAudienceListRequest.Builder extends GeneratedMessageV3.Builder<QueryAudienceListRequest.Builder> implements QueryAudienceListRequestOrBuilder

A request to list users in an audience list.

Protobuf type google.analytics.data.v1alpha.QueryAudienceListRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryAudienceListRequest build()
Returns
TypeDescription
QueryAudienceListRequest

buildPartial()

public QueryAudienceListRequest buildPartial()
Returns
TypeDescription
QueryAudienceListRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public QueryAudienceListRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryAudienceListRequest.Builder
Overrides

clearLimit()

public QueryAudienceListRequest.Builder clearLimit()

Optional. The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. limit must be positive.

The API can also return fewer rows than the requested limit, if there aren't as many dimension values as the limit.

To learn more about this pagination parameter, see Pagination.

int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryAudienceListRequest.Builder

This builder for chaining.

clearName()

public QueryAudienceListRequest.Builder clearName()

Required. The name of the audience list to retrieve users from. Format: properties/{property}/audienceLists/{audience_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
QueryAudienceListRequest.Builder

This builder for chaining.

clearOffset()

public QueryAudienceListRequest.Builder clearOffset()

Optional. The row count of the start row. The first row is counted as row 0.

When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first limit of rows. The second request sets offset to the limit of the first request; the second request returns the second limit of rows.

To learn more about this pagination parameter, see Pagination.

int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryAudienceListRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryAudienceListRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QueryAudienceListRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public QueryAudienceListRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryAudienceListRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLimit()

public long getLimit()

Optional. The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. limit must be positive.

The API can also return fewer rows than the requested limit, if there aren't as many dimension values as the limit.

To learn more about this pagination parameter, see Pagination.

int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The limit.

getName()

public String getName()

Required. The name of the audience list to retrieve users from. Format: properties/{property}/audienceLists/{audience_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the audience list to retrieve users from. Format: properties/{property}/audienceLists/{audience_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getOffset()

public long getOffset()

Optional. The row count of the start row. The first row is counted as row 0.

When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first limit of rows. The second request sets offset to the limit of the first request; the second request returns the second limit of rows.

To learn more about this pagination parameter, see Pagination.

int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
long

The offset.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryAudienceListRequest other)

public QueryAudienceListRequest.Builder mergeFrom(QueryAudienceListRequest other)
Parameter
NameDescription
otherQueryAudienceListRequest
Returns
TypeDescription
QueryAudienceListRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLimit(long value)

public QueryAudienceListRequest.Builder setLimit(long value)

Optional. The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. limit must be positive.

The API can also return fewer rows than the requested limit, if there aren't as many dimension values as the limit.

To learn more about this pagination parameter, see Pagination.

int64 limit = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuelong

The limit to set.

Returns
TypeDescription
QueryAudienceListRequest.Builder

This builder for chaining.

setName(String value)

public QueryAudienceListRequest.Builder setName(String value)

Required. The name of the audience list to retrieve users from. Format: properties/{property}/audienceLists/{audience_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
QueryAudienceListRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public QueryAudienceListRequest.Builder setNameBytes(ByteString value)

Required. The name of the audience list to retrieve users from. Format: properties/{property}/audienceLists/{audience_list}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
QueryAudienceListRequest.Builder

This builder for chaining.

setOffset(long value)

public QueryAudienceListRequest.Builder setOffset(long value)

Optional. The row count of the start row. The first row is counted as row 0.

When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first limit of rows. The second request sets offset to the limit of the first request; the second request returns the second limit of rows.

To learn more about this pagination parameter, see Pagination.

int64 offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuelong

The offset to set.

Returns
TypeDescription
QueryAudienceListRequest.Builder

This builder for chaining.

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

public QueryAudienceListRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryAudienceListRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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