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()
Returns
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>
|
Returns
addAudiences(Audience value)
public ListAudiencesResponse.Builder addAudiences(Audience value)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
addAudiences(Audience.Builder builderForValue)
public ListAudiencesResponse.Builder addAudiences(Audience.Builder builderForValue)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
addAudiences(int index, Audience value)
public ListAudiencesResponse.Builder addAudiences(int index, Audience value)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameters
Returns
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;
Parameters
Returns
addAudiencesBuilder()
public Audience.Builder addAudiencesBuilder()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
addAudiencesBuilder(int index)
public Audience.Builder addAudiencesBuilder(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAudiencesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAudiencesResponse build()
Returns
buildPartial()
public ListAudiencesResponse buildPartial()
Returns
clear()
public ListAudiencesResponse.Builder clear()
Returns
Overrides
clearAudiences()
public ListAudiencesResponse.Builder clearAudiences()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAudiencesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAudiencesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListAudiencesResponse.Builder clone()
Returns
Overrides
getAudiences(int index)
public Audience getAudiences(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
getAudiencesBuilder(int index)
public Audience.Builder getAudiencesBuilder(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
getAudiencesBuilderList()
public List<Audience.Builder> getAudiencesBuilderList()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
getAudiencesCount()
public int getAudiencesCount()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
getAudiencesList()
public List<Audience> getAudiencesList()
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Returns
getAudiencesOrBuilder(int index)
public AudienceOrBuilder getAudiencesOrBuilder(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListAudiencesResponse other)
public ListAudiencesResponse.Builder mergeFrom(ListAudiencesResponse other)
Parameter
Returns
public ListAudiencesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAudiencesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAudiencesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAudiences(int index)
public ListAudiencesResponse.Builder removeAudiences(int index)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameter
Returns
setAudiences(int index, Audience value)
public ListAudiencesResponse.Builder setAudiences(int index, Audience value)
List of Audiences.
repeated .google.analytics.admin.v1alpha.Audience audiences = 1;
Parameters
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAudiencesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAudiencesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAudiencesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides