Class Event.UpdateEncryptionsTask.Builder (0.77.0)

public static final class Event.UpdateEncryptionsTask.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Event.UpdateEncryptionsTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Event.UpdateEncryptionsTask.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Event.UpdateEncryptionsTask.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Event.UpdateEncryptionsTask.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Event.UpdateEncryptionsTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Event.UpdateEncryptionsTask.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Event.UpdateEncryptionsTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public Event.UpdateEncryptionsTask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Event.UpdateEncryptionsTask.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Event.UpdateEncryptionsTask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Event.UpdateEncryptionsTask.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Event.UpdateEncryptionsTask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Event.UpdateEncryptionsTask.Builder
Overrides