public static final class ListAudiencesResponse.Builder extends GeneratedMessageV3.Builder<ListAudiencesResponse.Builder> implements ListAudiencesResponseOrBuilder
Response message for ListAudiences RPC.
Protobuf type google.analytics.admin.v1alpha.ListAudiencesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAudiences(Iterable<? extends Audience> values)
public ListAudiencesResponse.Builder addAllAudiences(Iterable<? extends Audience> values)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.analytics.admin.v1alpha.Audience>
|
addAudiences(Audience value)
public ListAudiencesResponse.Builder addAudiences(Audience value)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter |
Name |
Description |
value |
Audience
|
addAudiences(Audience.Builder builderForValue)
public ListAudiencesResponse.Builder addAudiences(Audience.Builder builderForValue)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
addAudiences(int index, Audience value)
public ListAudiencesResponse.Builder addAudiences(int index, Audience value)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
addAudiences(int index, Audience.Builder builderForValue)
public ListAudiencesResponse.Builder addAudiences(int index, Audience.Builder builderForValue)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
addAudiencesBuilder()
public Audience.Builder addAudiencesBuilder()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
addAudiencesBuilder(int index)
public Audience.Builder addAudiencesBuilder(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAudiencesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAudiencesResponse build()
buildPartial()
public ListAudiencesResponse buildPartial()
clear()
public ListAudiencesResponse.Builder clear()
Overrides
clearAudiences()
public ListAudiencesResponse.Builder clearAudiences()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAudiencesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAudiencesResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAudiencesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAudiencesResponse.Builder clone()
Overrides
getAudiences(int index)
public Audience getAudiences(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter |
Name |
Description |
index |
int
|
getAudiencesBuilder(int index)
public Audience.Builder getAudiencesBuilder(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter |
Name |
Description |
index |
int
|
getAudiencesBuilderList()
public List<Audience.Builder> getAudiencesBuilderList()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
getAudiencesCount()
public int getAudiencesCount()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns |
Type |
Description |
int |
|
getAudiencesList()
public List<Audience> getAudiencesList()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
getAudiencesOrBuilder(int index)
public AudienceOrBuilder getAudiencesOrBuilder(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter |
Name |
Description |
index |
int
|
getAudiencesOrBuilderList()
public List<? extends AudienceOrBuilder> getAudiencesOrBuilderList()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns |
Type |
Description |
List<? extends com.google.analytics.admin.v1alpha.AudienceOrBuilder> |
|
getDefaultInstanceForType()
public ListAudiencesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAudiencesResponse other)
public ListAudiencesResponse.Builder mergeFrom(ListAudiencesResponse other)
public ListAudiencesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAudiencesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAudiencesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAudiences(int index)
public ListAudiencesResponse.Builder removeAudiences(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter |
Name |
Description |
index |
int
|
setAudiences(int index, Audience value)
public ListAudiencesResponse.Builder setAudiences(int index, Audience value)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
setAudiences(int index, Audience.Builder builderForValue)
public ListAudiencesResponse.Builder setAudiences(int index, Audience.Builder builderForValue)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAudiencesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListAudiencesResponse.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.
|
setNextPageTokenBytes(ByteString value)
public ListAudiencesResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAudiencesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAudiencesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides