Class ListCustomDimensionsResponse.Builder (0.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1beta.CustomDimension>
Returns
TypeDescription
ListCustomDimensionsResponse.Builder

addCustomDimensions(CustomDimension value)

public ListCustomDimensionsResponse.Builder addCustomDimensions(CustomDimension value)

List of CustomDimensions.

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

Parameter
NameDescription
valueCustomDimension
Returns
TypeDescription
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
NameDescription
builderForValueCustomDimension.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCustomDimension
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCustomDimension.Builder
Returns
TypeDescription
ListCustomDimensionsResponse.Builder

addCustomDimensionsBuilder()

public CustomDimension.Builder addCustomDimensionsBuilder()

List of CustomDimensions.

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

Returns
TypeDescription
CustomDimension.Builder

addCustomDimensionsBuilder(int index)

public CustomDimension.Builder addCustomDimensionsBuilder(int index)

List of CustomDimensions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomDimension.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCustomDimensionsResponse build()
Returns
TypeDescription
ListCustomDimensionsResponse

buildPartial()

public ListCustomDimensionsResponse buildPartial()
Returns
TypeDescription
ListCustomDimensionsResponse

clear()

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

clearCustomDimensions()

public ListCustomDimensionsResponse.Builder clearCustomDimensions()

List of CustomDimensions.

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

Returns
TypeDescription
ListCustomDimensionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomDimensions(int index)

public CustomDimension getCustomDimensions(int index)

List of CustomDimensions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomDimension

getCustomDimensionsBuilder(int index)

public CustomDimension.Builder getCustomDimensionsBuilder(int index)

List of CustomDimensions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomDimension.Builder

getCustomDimensionsBuilderList()

public List<CustomDimension.Builder> getCustomDimensionsBuilderList()

List of CustomDimensions.

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

Returns
TypeDescription
List<Builder>

getCustomDimensionsCount()

public int getCustomDimensionsCount()

List of CustomDimensions.

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

Returns
TypeDescription
int

getCustomDimensionsList()

public List<CustomDimension> getCustomDimensionsList()

List of CustomDimensions.

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

Returns
TypeDescription
List<CustomDimension>

getCustomDimensionsOrBuilder(int index)

public CustomDimensionOrBuilder getCustomDimensionsOrBuilder(int index)

List of CustomDimensions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomDimensionOrBuilder

getCustomDimensionsOrBuilderList()

public List<? extends CustomDimensionOrBuilder> getCustomDimensionsOrBuilderList()

List of CustomDimensions.

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

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

getDefaultInstanceForType()

public ListCustomDimensionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCustomDimensionsResponse

getDescriptorForType()

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

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCustomDimensionsResponse other)

public ListCustomDimensionsResponse.Builder mergeFrom(ListCustomDimensionsResponse other)
Parameter
NameDescription
otherListCustomDimensionsResponse
Returns
TypeDescription
ListCustomDimensionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCustomDimensionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueCustomDimension
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCustomDimension.Builder
Returns
TypeDescription
ListCustomDimensionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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