Class ListChannelGroupsResponse.Builder (0.56.0)

public static final class ListChannelGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListChannelGroupsResponse.Builder> implements ListChannelGroupsResponseOrBuilder

Response message for ListChannelGroups RPC.

Protobuf type google.analytics.admin.v1alpha.ListChannelGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllChannelGroups(Iterable<? extends ChannelGroup> values)

public ListChannelGroupsResponse.Builder addAllChannelGroups(Iterable<? extends ChannelGroup> values)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.ChannelGroup>
Returns
Type Description
ListChannelGroupsResponse.Builder

addChannelGroups(ChannelGroup value)

public ListChannelGroupsResponse.Builder addChannelGroups(ChannelGroup value)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
value ChannelGroup
Returns
Type Description
ListChannelGroupsResponse.Builder

addChannelGroups(ChannelGroup.Builder builderForValue)

public ListChannelGroupsResponse.Builder addChannelGroups(ChannelGroup.Builder builderForValue)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
builderForValue ChannelGroup.Builder
Returns
Type Description
ListChannelGroupsResponse.Builder

addChannelGroups(int index, ChannelGroup value)

public ListChannelGroupsResponse.Builder addChannelGroups(int index, ChannelGroup value)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameters
Name Description
index int
value ChannelGroup
Returns
Type Description
ListChannelGroupsResponse.Builder

addChannelGroups(int index, ChannelGroup.Builder builderForValue)

public ListChannelGroupsResponse.Builder addChannelGroups(int index, ChannelGroup.Builder builderForValue)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameters
Name Description
index int
builderForValue ChannelGroup.Builder
Returns
Type Description
ListChannelGroupsResponse.Builder

addChannelGroupsBuilder()

public ChannelGroup.Builder addChannelGroupsBuilder()

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Returns
Type Description
ChannelGroup.Builder

addChannelGroupsBuilder(int index)

public ChannelGroup.Builder addChannelGroupsBuilder(int index)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListChannelGroupsResponse build()
Returns
Type Description
ListChannelGroupsResponse

buildPartial()

public ListChannelGroupsResponse buildPartial()
Returns
Type Description
ListChannelGroupsResponse

clear()

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

clearChannelGroups()

public ListChannelGroupsResponse.Builder clearChannelGroups()

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Returns
Type Description
ListChannelGroupsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListChannelGroupsResponse.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
ListChannelGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getChannelGroups(int index)

public ChannelGroup getChannelGroups(int index)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelGroup

getChannelGroupsBuilder(int index)

public ChannelGroup.Builder getChannelGroupsBuilder(int index)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelGroup.Builder

getChannelGroupsBuilderList()

public List<ChannelGroup.Builder> getChannelGroupsBuilderList()

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Returns
Type Description
List<Builder>

getChannelGroupsCount()

public int getChannelGroupsCount()

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Returns
Type Description
int

getChannelGroupsList()

public List<ChannelGroup> getChannelGroupsList()

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Returns
Type Description
List<ChannelGroup>

getChannelGroupsOrBuilder(int index)

public ChannelGroupOrBuilder getChannelGroupsOrBuilder(int index)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelGroupOrBuilder

getChannelGroupsOrBuilderList()

public List<? extends ChannelGroupOrBuilder> getChannelGroupsOrBuilderList()

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>

getDefaultInstanceForType()

public ListChannelGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListChannelGroupsResponse

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(ListChannelGroupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeChannelGroups(int index)

public ListChannelGroupsResponse.Builder removeChannelGroups(int index)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListChannelGroupsResponse.Builder

setChannelGroups(int index, ChannelGroup value)

public ListChannelGroupsResponse.Builder setChannelGroups(int index, ChannelGroup value)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameters
Name Description
index int
value ChannelGroup
Returns
Type Description
ListChannelGroupsResponse.Builder

setChannelGroups(int index, ChannelGroup.Builder builderForValue)

public ListChannelGroupsResponse.Builder setChannelGroups(int index, ChannelGroup.Builder builderForValue)

List of ChannelGroup. These will be ordered stably, but in an arbitrary order.

repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;

Parameters
Name Description
index int
builderForValue ChannelGroup.Builder
Returns
Type Description
ListChannelGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListChannelGroupsResponse.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
ListChannelGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListChannelGroupsResponse.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
ListChannelGroupsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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