Class SrtPushOutputEndpoint.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SrtPushOutputEndpoint.Builder>
com.google.cloud.video.livestream.v1.SrtPushOutputEndpoint.Builder
All Implemented Interfaces:
SrtPushOutputEndpointOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SrtPushOutputEndpoint

public static final class SrtPushOutputEndpoint.Builder extends com.google.protobuf.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SrtPushOutputEndpoint.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SrtPushOutputEndpoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SrtPushOutputEndpoint.Builder>
    • getDefaultInstanceForType

      public SrtPushOutputEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SrtPushOutputEndpoint build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SrtPushOutputEndpoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SrtPushOutputEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SrtPushOutputEndpoint.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SrtPushOutputEndpoint.Builder>
    • mergeFrom

      public SrtPushOutputEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SrtPushOutputEndpoint.Builder>
      Throws:
      IOException
    • getPassphraseSourceCase

      public SrtPushOutputEndpoint.PassphraseSourceCase getPassphraseSourceCase()
      Specified by:
      getPassphraseSourceCase in interface SrtPushOutputEndpointOrBuilder
    • clearPassphraseSource

      public SrtPushOutputEndpoint.Builder clearPassphraseSource()
    • getUri

      public String getUri()
       Required. The full URI of the remote SRT server.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUri in interface SrtPushOutputEndpointOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. The full URI of the remote SRT server.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUriBytes in interface SrtPushOutputEndpointOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public SrtPushOutputEndpoint.Builder setUri(String value)
       Required. The full URI of the remote SRT server.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public SrtPushOutputEndpoint.Builder clearUri()
       Required. The full URI of the remote SRT server.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setUriBytes

      public SrtPushOutputEndpoint.Builder setUriBytes(com.google.protobuf.ByteString value)
       Required. The full URI of the remote SRT server.
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • 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) = { ... }
      Specified by:
      hasPassphraseSecretVersion in interface SrtPushOutputEndpointOrBuilder
      Returns:
      Whether the passphraseSecretVersion field is set.
    • 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) = { ... }
      Specified by:
      getPassphraseSecretVersion in interface SrtPushOutputEndpointOrBuilder
      Returns:
      The passphraseSecretVersion.
    • getPassphraseSecretVersionBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getPassphraseSecretVersionBytes in interface SrtPushOutputEndpointOrBuilder
      Returns:
      The bytes for passphraseSecretVersion.
    • setPassphraseSecretVersion

      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) = { ... }
      Parameters:
      value - The passphraseSecretVersion to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setPassphraseSecretVersionBytes

      public SrtPushOutputEndpoint.Builder setPassphraseSecretVersionBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for passphraseSecretVersion to set.
      Returns:
      This builder for chaining.