Class ListCustomDimensionsResponse.Builder (0.57.0)

public static final class ListCustomDimensionsResponse.Builder extends GeneratedMessageV3.Builder<ListCustomDimensionsResponse.Builder> implements ListCustomDimensionsResponseOrBuilder

Response message for ListCustomDimensions RPC.

Protobuf type google.analytics.admin.v1beta.ListCustomDimensionsResponse

Static Methods

getDescriptor()

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

Methods

addAllCustomDimensions(Iterable<? extends CustomDimension> values)

public ListCustomDimensionsResponse.Builder addAllCustomDimensions(Iterable<? extends CustomDimension> values)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1beta.CustomDimension>
Returns
Type Description
ListCustomDimensionsResponse.Builder

addCustomDimensions(CustomDimension value)

public ListCustomDimensionsResponse.Builder addCustomDimensions(CustomDimension value)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
value CustomDimension
Returns
Type Description
ListCustomDimensionsResponse.Builder

addCustomDimensions(CustomDimension.Builder builderForValue)

public ListCustomDimensionsResponse.Builder addCustomDimensions(CustomDimension.Builder builderForValue)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
builderForValue CustomDimension.Builder
Returns
Type Description
ListCustomDimensionsResponse.Builder

addCustomDimensions(int index, CustomDimension value)

public ListCustomDimensionsResponse.Builder addCustomDimensions(int index, CustomDimension value)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameters
Name Description
index int
value CustomDimension
Returns
Type Description
ListCustomDimensionsResponse.Builder

addCustomDimensions(int index, CustomDimension.Builder builderForValue)

public ListCustomDimensionsResponse.Builder addCustomDimensions(int index, CustomDimension.Builder builderForValue)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameters
Name Description
index int
builderForValue CustomDimension.Builder
Returns
Type Description
ListCustomDimensionsResponse.Builder

addCustomDimensionsBuilder()

public CustomDimension.Builder addCustomDimensionsBuilder()

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Returns
Type Description
CustomDimension.Builder

addCustomDimensionsBuilder(int index)

public CustomDimension.Builder addCustomDimensionsBuilder(int index)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomDimension.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCustomDimensionsResponse build()
Returns
Type Description
ListCustomDimensionsResponse

buildPartial()

public ListCustomDimensionsResponse buildPartial()
Returns
Type Description
ListCustomDimensionsResponse

clear()

public ListCustomDimensionsResponse.Builder clear()
Returns
Type Description
ListCustomDimensionsResponse.Builder
Overrides

clearCustomDimensions()

public ListCustomDimensionsResponse.Builder clearCustomDimensions()

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Returns
Type Description
ListCustomDimensionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCustomDimensionsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListCustomDimensionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomDimensions(int index)

public CustomDimension getCustomDimensions(int index)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomDimension

getCustomDimensionsBuilder(int index)

public CustomDimension.Builder getCustomDimensionsBuilder(int index)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomDimension.Builder

getCustomDimensionsBuilderList()

public List<CustomDimension.Builder> getCustomDimensionsBuilderList()

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Returns
Type Description
List<Builder>

getCustomDimensionsCount()

public int getCustomDimensionsCount()

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Returns
Type Description
int

getCustomDimensionsList()

public List<CustomDimension> getCustomDimensionsList()

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Returns
Type Description
List<CustomDimension>

getCustomDimensionsOrBuilder(int index)

public CustomDimensionOrBuilder getCustomDimensionsOrBuilder(int index)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomDimensionOrBuilder

getCustomDimensionsOrBuilderList()

public List<? extends CustomDimensionOrBuilder> getCustomDimensionsOrBuilderList()

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1beta.CustomDimensionOrBuilder>

getDefaultInstanceForType()

public ListCustomDimensionsResponse getDefaultInstanceForType()
Returns
Type Description
ListCustomDimensionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCustomDimensionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCustomDimensionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCustomDimensionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCustomDimensions(int index)

public ListCustomDimensionsResponse.Builder removeCustomDimensions(int index)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCustomDimensionsResponse.Builder

setCustomDimensions(int index, CustomDimension value)

public ListCustomDimensionsResponse.Builder setCustomDimensions(int index, CustomDimension value)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameters
Name Description
index int
value CustomDimension
Returns
Type Description
ListCustomDimensionsResponse.Builder

setCustomDimensions(int index, CustomDimension.Builder builderForValue)

public ListCustomDimensionsResponse.Builder setCustomDimensions(int index, CustomDimension.Builder builderForValue)

List of CustomDimensions.

repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1;

Parameters
Name Description
index int
builderForValue CustomDimension.Builder
Returns
Type Description
ListCustomDimensionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCustomDimensionsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListCustomDimensionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCustomDimensionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListCustomDimensionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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