Class EncryptionUpdate (0.77.0)

public final class EncryptionUpdate extends GeneratedMessageV3 implements EncryptionUpdateOrBuilder

Encryption setting when updating encryption.

Protobuf type google.cloud.video.livestream.v1.EncryptionUpdate

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER

public static final int SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EncryptionUpdate getDefaultInstance()
Returns
Type Description
EncryptionUpdate

getDescriptor()

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

newBuilder()

public static EncryptionUpdate.Builder newBuilder()
Returns
Type Description
EncryptionUpdate.Builder

newBuilder(EncryptionUpdate prototype)

public static EncryptionUpdate.Builder newBuilder(EncryptionUpdate prototype)
Parameter
Name Description
prototype EncryptionUpdate
Returns
Type Description
EncryptionUpdate.Builder

parseDelimitedFrom(InputStream input)

public static EncryptionUpdate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EncryptionUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EncryptionUpdate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EncryptionUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EncryptionUpdate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EncryptionUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EncryptionUpdate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EncryptionUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EncryptionUpdate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EncryptionUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EncryptionUpdate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EncryptionUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EncryptionUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EncryptionUpdate> parser()
Returns
Type Description
Parser<EncryptionUpdate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EncryptionUpdate getDefaultInstanceForType()
Returns
Type Description
EncryptionUpdate

getId()

public String getId()

Required. Identifier for the encryption option to be updated.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Required. Identifier for the encryption option to be updated.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getParserForType()

public Parser<EncryptionUpdate> getParserForType()
Returns
Type Description
Parser<EncryptionUpdate>
Overrides

getSecretManagerKeySource()

public Encryption.SecretManagerSource getSecretManagerKeySource()

For keys stored in Google Secret Manager.

.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;

Returns
Type Description
Encryption.SecretManagerSource

The secretManagerKeySource.

getSecretManagerKeySourceOrBuilder()

public Encryption.SecretManagerSourceOrBuilder getSecretManagerKeySourceOrBuilder()

For keys stored in Google Secret Manager.

.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;

Returns
Type Description
Encryption.SecretManagerSourceOrBuilder

getSecretSourceCase()

public EncryptionUpdate.SecretSourceCase getSecretSourceCase()
Returns
Type Description
EncryptionUpdate.SecretSourceCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasSecretManagerKeySource()

public boolean hasSecretManagerKeySource()

For keys stored in Google Secret Manager.

.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;

Returns
Type Description
boolean

Whether the secretManagerKeySource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EncryptionUpdate.Builder newBuilderForType()
Returns
Type Description
EncryptionUpdate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EncryptionUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EncryptionUpdate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EncryptionUpdate.Builder toBuilder()
Returns
Type Description
EncryptionUpdate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException