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