Class ListChannelGroupsResponse.Builder (0.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.ChannelGroup>
Returns
TypeDescription
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
NameDescription
valueChannelGroup
Returns
TypeDescription
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
NameDescription
builderForValueChannelGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueChannelGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChannelGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ChannelGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListChannelGroupsResponse build()
Returns
TypeDescription
ListChannelGroupsResponse

buildPartial()

public ListChannelGroupsResponse buildPartial()
Returns
TypeDescription
ListChannelGroupsResponse

clear()

public ListChannelGroupsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListChannelGroupsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListChannelGroupsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>

getDefaultInstanceForType()

public ListChannelGroupsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListChannelGroupsResponse

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

public ListChannelGroupsResponse.Builder mergeFrom(ListChannelGroupsResponse other)
Parameter
NameDescription
otherListChannelGroupsResponse
Returns
TypeDescription
ListChannelGroupsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueChannelGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChannelGroup.Builder
Returns
TypeDescription
ListChannelGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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