Class VodConfig (0.55.0)

public final class VodConfig extends GeneratedMessageV3 implements VodConfigOrBuilder

Metadata used to register VOD configs.

Protobuf type google.cloud.video.stitcher.v1.VodConfig

Implements

VodConfigOrBuilder

Static Fields

AD_TAG_URI_FIELD_NUMBER

public static final int AD_TAG_URI_FIELD_NUMBER
Field Value
Type Description
int

GAM_VOD_CONFIG_FIELD_NUMBER

public static final int GAM_VOD_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FETCH_OPTIONS_FIELD_NUMBER

public static final int SOURCE_FETCH_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_URI_FIELD_NUMBER

public static final int SOURCE_URI_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VodConfig getDefaultInstance()
Returns
Type Description
VodConfig

getDescriptor()

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

newBuilder()

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

newBuilder(VodConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdTagUri()

public String getAdTagUri()

Required. The default ad tag associated with this VOD config.

string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The adTagUri.

getAdTagUriBytes()

public ByteString getAdTagUriBytes()

Required. The default ad tag associated with this VOD config.

string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for adTagUri.

getDefaultInstanceForType()

public VodConfig getDefaultInstanceForType()
Returns
Type Description
VodConfig

getGamVodConfig()

public GamVodConfig getGamVodConfig()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GamVodConfig

The gamVodConfig.

getGamVodConfigOrBuilder()

public GamVodConfigOrBuilder getGamVodConfigOrBuilder()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GamVodConfigOrBuilder

getName()

public String getName()

Output only. The resource name of the VOD config, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the VOD config, in the form of projects/{project}/locations/{location}/vodConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceFetchOptions()

public FetchOptions getSourceFetchOptions()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
FetchOptions

The sourceFetchOptions.

getSourceFetchOptionsOrBuilder()

public FetchOptionsOrBuilder getSourceFetchOptionsOrBuilder()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
FetchOptionsOrBuilder

getSourceUri()

public String getSourceUri()

Required. Source URI for the VOD stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sourceUri.

getSourceUriBytes()

public ByteString getSourceUriBytes()

Required. Source URI for the VOD stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sourceUri.

getState()

public VodConfig.State getState()

Output only. State of the VOD config.

.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VodConfig.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the VOD config.

.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasGamVodConfig()

public boolean hasGamVodConfig()

Optional. Google Ad Manager (GAM) metadata.

.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gamVodConfig field is set.

hasSourceFetchOptions()

public boolean hasSourceFetchOptions()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;

Returns
Type Description
boolean

Whether the sourceFetchOptions 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 VodConfig.Builder newBuilderForType()
Returns
Type Description
VodConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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