Class ListDataStreamsResponse.Builder (0.57.0)

public static final class ListDataStreamsResponse.Builder extends GeneratedMessageV3.Builder<ListDataStreamsResponse.Builder> implements ListDataStreamsResponseOrBuilder

Response message for ListDataStreams RPC.

Protobuf type google.analytics.admin.v1alpha.ListDataStreamsResponse

Static Methods

getDescriptor()

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

Methods

addAllDataStreams(Iterable<? extends DataStream> values)

public ListDataStreamsResponse.Builder addAllDataStreams(Iterable<? extends DataStream> values)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

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

addDataStreams(DataStream value)

public ListDataStreamsResponse.Builder addDataStreams(DataStream value)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
Name Description
value DataStream
Returns
Type Description
ListDataStreamsResponse.Builder

addDataStreams(DataStream.Builder builderForValue)

public ListDataStreamsResponse.Builder addDataStreams(DataStream.Builder builderForValue)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
Name Description
builderForValue DataStream.Builder
Returns
Type Description
ListDataStreamsResponse.Builder

addDataStreams(int index, DataStream value)

public ListDataStreamsResponse.Builder addDataStreams(int index, DataStream value)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameters
Name Description
index int
value DataStream
Returns
Type Description
ListDataStreamsResponse.Builder

addDataStreams(int index, DataStream.Builder builderForValue)

public ListDataStreamsResponse.Builder addDataStreams(int index, DataStream.Builder builderForValue)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameters
Name Description
index int
builderForValue DataStream.Builder
Returns
Type Description
ListDataStreamsResponse.Builder

addDataStreamsBuilder()

public DataStream.Builder addDataStreamsBuilder()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Returns
Type Description
DataStream.Builder

addDataStreamsBuilder(int index)

public DataStream.Builder addDataStreamsBuilder(int index)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
Name Description
index int
Returns
Type Description
DataStream.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataStreamsResponse build()
Returns
Type Description
ListDataStreamsResponse

buildPartial()

public ListDataStreamsResponse buildPartial()
Returns
Type Description
ListDataStreamsResponse

clear()

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

clearDataStreams()

public ListDataStreamsResponse.Builder clearDataStreams()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Returns
Type Description
ListDataStreamsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataStreams(int index)

public DataStream getDataStreams(int index)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
Name Description
index int
Returns
Type Description
DataStream

getDataStreamsBuilder(int index)

public DataStream.Builder getDataStreamsBuilder(int index)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
Name Description
index int
Returns
Type Description
DataStream.Builder

getDataStreamsBuilderList()

public List<DataStream.Builder> getDataStreamsBuilderList()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Returns
Type Description
List<Builder>

getDataStreamsCount()

public int getDataStreamsCount()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Returns
Type Description
int

getDataStreamsList()

public List<DataStream> getDataStreamsList()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Returns
Type Description
List<DataStream>

getDataStreamsOrBuilder(int index)

public DataStreamOrBuilder getDataStreamsOrBuilder(int index)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
Name Description
index int
Returns
Type Description
DataStreamOrBuilder

getDataStreamsOrBuilderList()

public List<? extends DataStreamOrBuilder> getDataStreamsOrBuilderList()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

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

getDefaultInstanceForType()

public ListDataStreamsResponse getDefaultInstanceForType()
Returns
Type Description
ListDataStreamsResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataStreams(int index)

public ListDataStreamsResponse.Builder removeDataStreams(int index)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataStreamsResponse.Builder

setDataStreams(int index, DataStream value)

public ListDataStreamsResponse.Builder setDataStreams(int index, DataStream value)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameters
Name Description
index int
value DataStream
Returns
Type Description
ListDataStreamsResponse.Builder

setDataStreams(int index, DataStream.Builder builderForValue)

public ListDataStreamsResponse.Builder setDataStreams(int index, DataStream.Builder builderForValue)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameters
Name Description
index int
builderForValue DataStream.Builder
Returns
Type Description
ListDataStreamsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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