public static final class ListLiveStreamsResponse.Builder extends GeneratedMessage.Builder<ListLiveStreamsResponse.Builder> implements ListLiveStreamsResponseOrBuilder Response object for ListLiveStreamsRequest containing matching LiveStream
objects.
Protobuf type google.ads.admanager.v1.ListLiveStreamsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListLiveStreamsResponse.BuilderImplements
ListLiveStreamsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLiveStreams(Iterable<? extends LiveStream> values)
public ListLiveStreamsResponse.Builder addAllLiveStreams(Iterable<? extends LiveStream> values) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.admanager.v1.LiveStream> |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
addLiveStreams(LiveStream value)
public ListLiveStreamsResponse.Builder addLiveStreams(LiveStream value) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
LiveStream |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
addLiveStreams(LiveStream.Builder builderForValue)
public ListLiveStreamsResponse.Builder addLiveStreams(LiveStream.Builder builderForValue) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LiveStream.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
addLiveStreams(int index, LiveStream value)
public ListLiveStreamsResponse.Builder addLiveStreams(int index, LiveStream value) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LiveStream |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
addLiveStreams(int index, LiveStream.Builder builderForValue)
public ListLiveStreamsResponse.Builder addLiveStreams(int index, LiveStream.Builder builderForValue) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LiveStream.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
addLiveStreamsBuilder()
public LiveStream.Builder addLiveStreamsBuilder() The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Returns | |
|---|---|
| Type | Description |
LiveStream.Builder |
|
addLiveStreamsBuilder(int index)
public LiveStream.Builder addLiveStreamsBuilder(int index) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LiveStream.Builder |
|
build()
public ListLiveStreamsResponse build()| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse |
|
buildPartial()
public ListLiveStreamsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse |
|
clear()
public ListLiveStreamsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
clearLiveStreams()
public ListLiveStreamsResponse.Builder clearLiveStreams() The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
clearNextPageToken()
public ListLiveStreamsResponse.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 |
ListLiveStreamsResponse.Builder |
This builder for chaining. |
clearTotalSize()
public ListLiveStreamsResponse.Builder clearTotalSize() Total number of LiveStream objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter $fields or fields, or by using
the HTTP/gRPC header X-Goog-FieldMask.
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListLiveStreamsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLiveStreams(int index)
public LiveStream getLiveStreams(int index) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LiveStream |
|
getLiveStreamsBuilder(int index)
public LiveStream.Builder getLiveStreamsBuilder(int index) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LiveStream.Builder |
|
getLiveStreamsBuilderList()
public List<LiveStream.Builder> getLiveStreamsBuilderList() The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLiveStreamsCount()
public int getLiveStreamsCount() The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLiveStreamsList()
public List<LiveStream> getLiveStreamsList() The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Returns | |
|---|---|
| Type | Description |
List<LiveStream> |
|
getLiveStreamsOrBuilder(int index)
public LiveStreamOrBuilder getLiveStreamsOrBuilder(int index) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LiveStreamOrBuilder |
|
getLiveStreamsOrBuilderList()
public List<? extends LiveStreamOrBuilder> getLiveStreamsOrBuilderList() The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.LiveStreamOrBuilder> |
|
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. |
getTotalSize()
public int getTotalSize() Total number of LiveStream objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter $fields or fields, or by using
the HTTP/gRPC header X-Goog-FieldMask.
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The totalSize. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListLiveStreamsResponse other)
public ListLiveStreamsResponse.Builder mergeFrom(ListLiveStreamsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListLiveStreamsResponse |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLiveStreamsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListLiveStreamsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
removeLiveStreams(int index)
public ListLiveStreamsResponse.Builder removeLiveStreams(int index) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
setLiveStreams(int index, LiveStream value)
public ListLiveStreamsResponse.Builder setLiveStreams(int index, LiveStream value) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LiveStream |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
setLiveStreams(int index, LiveStream.Builder builderForValue)
public ListLiveStreamsResponse.Builder setLiveStreams(int index, LiveStream.Builder builderForValue) The LiveStream objects from the specified network.
repeated .google.ads.admanager.v1.LiveStream live_streams = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LiveStream.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
|
setNextPageToken(String value)
public ListLiveStreamsResponse.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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListLiveStreamsResponse.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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
This builder for chaining. |
setTotalSize(int value)
public ListLiveStreamsResponse.Builder setTotalSize(int value) Total number of LiveStream objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter $fields or fields, or by using
the HTTP/gRPC header X-Goog-FieldMask.
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks
int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListLiveStreamsResponse.Builder |
This builder for chaining. |