Class Event.UpdateEncryptionsTask.Builder (0.85.0)

public static final class Event.UpdateEncryptionsTask.Builder extends GeneratedMessage.Builder<Event.UpdateEncryptionsTask.Builder> implements Event.UpdateEncryptionsTaskOrBuilder

Update encryption settings.

Protobuf type google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask

Static Methods

getDescriptor()

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

Methods

addAllEncryptions(Iterable<? extends EncryptionUpdate> values)

public Event.UpdateEncryptionsTask.Builder addAllEncryptions(Iterable<? extends EncryptionUpdate> values)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.EncryptionUpdate>
Returns
Type Description
Event.UpdateEncryptionsTask.Builder

addEncryptions(EncryptionUpdate value)

public Event.UpdateEncryptionsTask.Builder addEncryptions(EncryptionUpdate value)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EncryptionUpdate
Returns
Type Description
Event.UpdateEncryptionsTask.Builder

addEncryptions(EncryptionUpdate.Builder builderForValue)

public Event.UpdateEncryptionsTask.Builder addEncryptions(EncryptionUpdate.Builder builderForValue)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EncryptionUpdate.Builder
Returns
Type Description
Event.UpdateEncryptionsTask.Builder

addEncryptions(int index, EncryptionUpdate value)

public Event.UpdateEncryptionsTask.Builder addEncryptions(int index, EncryptionUpdate value)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value EncryptionUpdate
Returns
Type Description
Event.UpdateEncryptionsTask.Builder

addEncryptions(int index, EncryptionUpdate.Builder builderForValue)

public Event.UpdateEncryptionsTask.Builder addEncryptions(int index, EncryptionUpdate.Builder builderForValue)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue EncryptionUpdate.Builder
Returns
Type Description
Event.UpdateEncryptionsTask.Builder

addEncryptionsBuilder()

public EncryptionUpdate.Builder addEncryptionsBuilder()

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EncryptionUpdate.Builder

addEncryptionsBuilder(int index)

public EncryptionUpdate.Builder addEncryptionsBuilder(int index)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EncryptionUpdate.Builder

build()

public Event.UpdateEncryptionsTask build()
Returns
Type Description
Event.UpdateEncryptionsTask

buildPartial()

public Event.UpdateEncryptionsTask buildPartial()
Returns
Type Description
Event.UpdateEncryptionsTask

clear()

public Event.UpdateEncryptionsTask.Builder clear()
Returns
Type Description
Event.UpdateEncryptionsTask.Builder
Overrides

clearEncryptions()

public Event.UpdateEncryptionsTask.Builder clearEncryptions()

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Event.UpdateEncryptionsTask.Builder

getDefaultInstanceForType()

public Event.UpdateEncryptionsTask getDefaultInstanceForType()
Returns
Type Description
Event.UpdateEncryptionsTask

getDescriptorForType()

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

getEncryptions(int index)

public EncryptionUpdate getEncryptions(int index)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EncryptionUpdate

getEncryptionsBuilder(int index)

public EncryptionUpdate.Builder getEncryptionsBuilder(int index)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EncryptionUpdate.Builder

getEncryptionsBuilderList()

public List<EncryptionUpdate.Builder> getEncryptionsBuilderList()

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getEncryptionsCount()

public int getEncryptionsCount()

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getEncryptionsList()

public List<EncryptionUpdate> getEncryptionsList()

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<EncryptionUpdate>

getEncryptionsOrBuilder(int index)

public EncryptionUpdateOrBuilder getEncryptionsOrBuilder(int index)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EncryptionUpdateOrBuilder

getEncryptionsOrBuilderList()

public List<? extends EncryptionUpdateOrBuilder> getEncryptionsOrBuilderList()

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.video.livestream.v1.EncryptionUpdateOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Event.UpdateEncryptionsTask other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeEncryptions(int index)

public Event.UpdateEncryptionsTask.Builder removeEncryptions(int index)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Event.UpdateEncryptionsTask.Builder

setEncryptions(int index, EncryptionUpdate value)

public Event.UpdateEncryptionsTask.Builder setEncryptions(int index, EncryptionUpdate value)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value EncryptionUpdate
Returns
Type Description
Event.UpdateEncryptionsTask.Builder

setEncryptions(int index, EncryptionUpdate.Builder builderForValue)

public Event.UpdateEncryptionsTask.Builder setEncryptions(int index, EncryptionUpdate.Builder builderForValue)

Required. A list of EncryptionUpdates that updates the existing encryption settings.

repeated .google.cloud.video.livestream.v1.EncryptionUpdate encryptions = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue EncryptionUpdate.Builder
Returns
Type Description
Event.UpdateEncryptionsTask.Builder