Class SrtPushOutputEndpoint.Builder (0.77.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SrtPushOutputEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SrtPushOutputEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SrtPushOutputEndpoint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SrtPushOutputEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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.