Class SrtPushOutputEndpoint.Builder (0.85.0)

public static final class SrtPushOutputEndpoint.Builder extends GeneratedMessage.Builder<SrtPushOutputEndpoint.Builder> implements SrtPushOutputEndpointOrBuilder

Configurations for an output endpoint using SRT_PUSH as the streaming protocol.

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

Static Methods

getDescriptor()

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

Methods

build()

public SrtPushOutputEndpoint build()
Returns
Type Description
SrtPushOutputEndpoint

buildPartial()

public SrtPushOutputEndpoint buildPartial()
Returns
Type Description
SrtPushOutputEndpoint

clear()

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

clearPassphraseSecretVersion()

public SrtPushOutputEndpoint.Builder clearPassphraseSecretVersion()

The name of the Secret Version containing the SRT encryption passphrase, which is stored in Google Secret Manager. It should be in the format of projects/{project}/secrets/{secret_id}/versions/{version_number}.

string passphrase_secret_version = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
SrtPushOutputEndpoint.Builder

This builder for chaining.

clearPassphraseSource()

public SrtPushOutputEndpoint.Builder clearPassphraseSource()
Returns
Type Description
SrtPushOutputEndpoint.Builder

clearUri()

public SrtPushOutputEndpoint.Builder clearUri()

Required. The full URI of the remote SRT server.

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

Returns
Type Description
SrtPushOutputEndpoint.Builder

This builder for chaining.

getDefaultInstanceForType()

public SrtPushOutputEndpoint getDefaultInstanceForType()
Returns
Type Description
SrtPushOutputEndpoint

getDescriptorForType()

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

getPassphraseSecretVersion()

public String getPassphraseSecretVersion()

The name of the Secret Version containing the SRT encryption passphrase, which is stored in Google Secret Manager. It should be in the format of projects/{project}/secrets/{secret_id}/versions/{version_number}.

string passphrase_secret_version = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The passphraseSecretVersion.

getPassphraseSecretVersionBytes()

public ByteString getPassphraseSecretVersionBytes()

The name of the Secret Version containing the SRT encryption passphrase, which is stored in Google Secret Manager. It should be in the format of projects/{project}/secrets/{secret_id}/versions/{version_number}.

string passphrase_secret_version = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for passphraseSecretVersion.

getPassphraseSourceCase()

public SrtPushOutputEndpoint.PassphraseSourceCase getPassphraseSourceCase()
Returns
Type Description
SrtPushOutputEndpoint.PassphraseSourceCase

getUri()

public String getUri()

Required. The full URI of the remote SRT server.

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

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. The full URI of the remote SRT server.

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

Returns
Type Description
ByteString

The bytes for uri.

hasPassphraseSecretVersion()

public boolean hasPassphraseSecretVersion()

The name of the Secret Version containing the SRT encryption passphrase, which is stored in Google Secret Manager. It should be in the format of projects/{project}/secrets/{secret_id}/versions/{version_number}.

string passphrase_secret_version = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the passphraseSecretVersion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SrtPushOutputEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPassphraseSecretVersion(String value)

public SrtPushOutputEndpoint.Builder setPassphraseSecretVersion(String value)

The name of the Secret Version containing the SRT encryption passphrase, which is stored in Google Secret Manager. It should be in the format of projects/{project}/secrets/{secret_id}/versions/{version_number}.

string passphrase_secret_version = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The passphraseSecretVersion to set.

Returns
Type Description
SrtPushOutputEndpoint.Builder

This builder for chaining.

setPassphraseSecretVersionBytes(ByteString value)

public SrtPushOutputEndpoint.Builder setPassphraseSecretVersionBytes(ByteString value)

The name of the Secret Version containing the SRT encryption passphrase, which is stored in Google Secret Manager. It should be in the format of projects/{project}/secrets/{secret_id}/versions/{version_number}.

string passphrase_secret_version = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for passphraseSecretVersion to set.

Returns
Type Description
SrtPushOutputEndpoint.Builder

This builder for chaining.

setUri(String value)

public SrtPushOutputEndpoint.Builder setUri(String value)

Required. The full URI of the remote SRT server.

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

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
SrtPushOutputEndpoint.Builder

This builder for chaining.

setUriBytes(ByteString value)

public SrtPushOutputEndpoint.Builder setUriBytes(ByteString value)

Required. The full URI of the remote SRT server.

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

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
SrtPushOutputEndpoint.Builder

This builder for chaining.