public static final class EncryptionUpdate.Builder extends GeneratedMessage.Builder<EncryptionUpdate.Builder> implements EncryptionUpdateOrBuilderEncryption setting when updating encryption.
Protobuf type google.cloud.video.livestream.v1.EncryptionUpdate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EncryptionUpdate.BuilderImplements
EncryptionUpdateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EncryptionUpdate build()| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate |
|
buildPartial()
public EncryptionUpdate buildPartial()| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate |
|
clear()
public EncryptionUpdate.Builder clear()| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
clearId()
public EncryptionUpdate.Builder clearId()Required. Identifier for the encryption option to be updated.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
This builder for chaining. |
clearSecretManagerKeySource()
public EncryptionUpdate.Builder clearSecretManagerKeySource()For keys stored in Google Secret Manager.
.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
clearSecretSource()
public EncryptionUpdate.Builder clearSecretSource()| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
getDefaultInstanceForType()
public EncryptionUpdate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
getSecretManagerKeySourceBuilder()
public Encryption.SecretManagerSource.Builder getSecretManagerKeySourceBuilder()For keys stored in Google Secret Manager.
.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;
| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EncryptionUpdate other)
public EncryptionUpdate.Builder mergeFrom(EncryptionUpdate other)| Parameter | |
|---|---|
| Name | Description |
other |
EncryptionUpdate |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EncryptionUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EncryptionUpdate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
mergeSecretManagerKeySource(Encryption.SecretManagerSource value)
public EncryptionUpdate.Builder mergeSecretManagerKeySource(Encryption.SecretManagerSource value)For keys stored in Google Secret Manager.
.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Encryption.SecretManagerSource |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
setId(String value)
public EncryptionUpdate.Builder setId(String value)Required. Identifier for the encryption option to be updated.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public EncryptionUpdate.Builder setIdBytes(ByteString value)Required. Identifier for the encryption option to be updated.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
This builder for chaining. |
setSecretManagerKeySource(Encryption.SecretManagerSource value)
public EncryptionUpdate.Builder setSecretManagerKeySource(Encryption.SecretManagerSource value)For keys stored in Google Secret Manager.
.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Encryption.SecretManagerSource |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|
setSecretManagerKeySource(Encryption.SecretManagerSource.Builder builderForValue)
public EncryptionUpdate.Builder setSecretManagerKeySource(Encryption.SecretManagerSource.Builder builderForValue)For keys stored in Google Secret Manager.
.google.cloud.video.livestream.v1.Encryption.SecretManagerSource secret_manager_key_source = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Encryption.SecretManagerSource.Builder |
| Returns | |
|---|---|
| Type | Description |
EncryptionUpdate.Builder |
|