Class BatchUpdateLiveStreamsRequest.Builder (0.54.0)

public static final class BatchUpdateLiveStreamsRequest.Builder extends GeneratedMessage.Builder<BatchUpdateLiveStreamsRequest.Builder> implements BatchUpdateLiveStreamsRequestOrBuilder

Request object for BatchUpdateLiveStreams method.

Protobuf type google.ads.admanager.v1.BatchUpdateLiveStreamsRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdateLiveStreamRequest> values)

public BatchUpdateLiveStreamsRequest.Builder addAllRequests(Iterable<? extends UpdateLiveStreamRequest> values)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.UpdateLiveStreamRequest>
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

addRequests(UpdateLiveStreamRequest value)

public BatchUpdateLiveStreamsRequest.Builder addRequests(UpdateLiveStreamRequest value)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UpdateLiveStreamRequest
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

addRequests(UpdateLiveStreamRequest.Builder builderForValue)

public BatchUpdateLiveStreamsRequest.Builder addRequests(UpdateLiveStreamRequest.Builder builderForValue)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UpdateLiveStreamRequest.Builder
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

addRequests(int index, UpdateLiveStreamRequest value)

public BatchUpdateLiveStreamsRequest.Builder addRequests(int index, UpdateLiveStreamRequest value)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value UpdateLiveStreamRequest
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

addRequests(int index, UpdateLiveStreamRequest.Builder builderForValue)

public BatchUpdateLiveStreamsRequest.Builder addRequests(int index, UpdateLiveStreamRequest.Builder builderForValue)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue UpdateLiveStreamRequest.Builder
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

addRequestsBuilder()

public UpdateLiveStreamRequest.Builder addRequestsBuilder()

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateLiveStreamRequest.Builder

addRequestsBuilder(int index)

public UpdateLiveStreamRequest.Builder addRequestsBuilder(int index)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateLiveStreamRequest.Builder

build()

public BatchUpdateLiveStreamsRequest build()
Returns
Type Description
BatchUpdateLiveStreamsRequest

buildPartial()

public BatchUpdateLiveStreamsRequest buildPartial()
Returns
Type Description
BatchUpdateLiveStreamsRequest

clear()

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

clearParent()

public BatchUpdateLiveStreamsRequest.Builder clearParent()

Required. The parent resource where LiveStreams will be updated. Format: networks/{network_code} The parent field in the UpdateLiveStreamRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateLiveStreamsRequest.Builder clearRequests()

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

getDefaultInstanceForType()

public BatchUpdateLiveStreamsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateLiveStreamsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent resource where LiveStreams will be updated. Format: networks/{network_code} The parent field in the UpdateLiveStreamRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where LiveStreams will be updated. Format: networks/{network_code} The parent field in the UpdateLiveStreamRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public UpdateLiveStreamRequest getRequests(int index)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateLiveStreamRequest

getRequestsBuilder(int index)

public UpdateLiveStreamRequest.Builder getRequestsBuilder(int index)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateLiveStreamRequest.Builder

getRequestsBuilderList()

public List<UpdateLiveStreamRequest.Builder> getRequestsBuilderList()

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<UpdateLiveStreamRequest> getRequestsList()

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<UpdateLiveStreamRequest>

getRequestsOrBuilder(int index)

public UpdateLiveStreamRequestOrBuilder getRequestsOrBuilder(int index)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateLiveStreamRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateLiveStreamRequestOrBuilder> getRequestsOrBuilderList()

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.UpdateLiveStreamRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateLiveStreamsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRequests(int index)

public BatchUpdateLiveStreamsRequest.Builder removeRequests(int index)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

setParent(String value)

public BatchUpdateLiveStreamsRequest.Builder setParent(String value)

Required. The parent resource where LiveStreams will be updated. Format: networks/{network_code} The parent field in the UpdateLiveStreamRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateLiveStreamsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where LiveStreams will be updated. Format: networks/{network_code} The parent field in the UpdateLiveStreamRequest must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

This builder for chaining.

setRequests(int index, UpdateLiveStreamRequest value)

public BatchUpdateLiveStreamsRequest.Builder setRequests(int index, UpdateLiveStreamRequest value)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value UpdateLiveStreamRequest
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder

setRequests(int index, UpdateLiveStreamRequest.Builder builderForValue)

public BatchUpdateLiveStreamsRequest.Builder setRequests(int index, UpdateLiveStreamRequest.Builder builderForValue)

Required. The LiveStream objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateLiveStreamRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue UpdateLiveStreamRequest.Builder
Returns
Type Description
BatchUpdateLiveStreamsRequest.Builder