Send feedback
Class ListAudiencesResponse.Builder (0.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.31.0 keyboard_arrow_down
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.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;
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]