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
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
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
addDataStreams(DataStream value)
public ListDataStreamsResponse.Builder addDataStreams(DataStream value)
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Parameter
Returns
addDataStreams(DataStream.Builder builderForValue)
public ListDataStreamsResponse.Builder addDataStreams(DataStream.Builder builderForValue)
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Parameter
Returns
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
Returns
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
Returns
addDataStreamsBuilder()
public DataStream.Builder addDataStreamsBuilder()
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Returns
addDataStreamsBuilder(int index)
public DataStream.Builder addDataStreamsBuilder(int index)
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDataStreamsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDataStreamsResponse build()
Returns
buildPartial()
public ListDataStreamsResponse buildPartial()
Returns
clear()
public ListDataStreamsResponse.Builder clear()
Returns
Overrides
clearDataStreams()
public ListDataStreamsResponse.Builder clearDataStreams()
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDataStreamsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDataStreamsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDataStreamsResponse.Builder clone()
Returns
Overrides
getDataStreams(int index)
public DataStream getDataStreams(int index)
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Parameter
Returns
getDataStreamsBuilder(int index)
public DataStream.Builder getDataStreamsBuilder(int index)
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Parameter
Returns
getDataStreamsBuilderList()
public List<DataStream.Builder> getDataStreamsBuilderList()
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Returns
getDataStreamsCount()
public int getDataStreamsCount()
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Returns
getDataStreamsList()
public List<DataStream> getDataStreamsList()
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Returns
getDataStreamsOrBuilder(int index)
public DataStreamOrBuilder getDataStreamsOrBuilder(int index)
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Parameter
Returns
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
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(ListDataStreamsResponse other)
public ListDataStreamsResponse.Builder mergeFrom(ListDataStreamsResponse other)
Parameter
Returns
public ListDataStreamsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDataStreamsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDataStreamsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDataStreams(int index)
public ListDataStreamsResponse.Builder removeDataStreams(int index)
List of DataStreams.
repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDataStreamsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDataStreamsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDataStreamsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides