Class VodConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VodConfig.Builder>
com.google.cloud.video.stitcher.v1.VodConfig.Builder
- All Implemented Interfaces:
VodConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VodConfig
public static final class VodConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VodConfig.Builder>
implements VodConfigOrBuilder
Metadata used to register VOD configs.Protobuf type
google.cloud.video.stitcher.v1.VodConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.Output only.Options for fetching source manifests and segments.Required.Output only.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.Options for fetching source manifests and segments.Options for fetching source manifests and segments.Options for fetching source manifests and segments.Required.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.booleanOptional.booleanOptions for fetching source manifests and segments.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGamVodConfig(GamVodConfig value) Optional.Options for fetching source manifests and segments.setAdTagUri(String value) Required.setAdTagUriBytes(com.google.protobuf.ByteString value) Required.setGamVodConfig(GamVodConfig value) Optional.setGamVodConfig(GamVodConfig.Builder builderForValue) Optional.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Options for fetching source manifests and segments.setSourceFetchOptions(FetchOptions.Builder builderForValue) Options for fetching source manifests and segments.setSourceUri(String value) Required.setSourceUriBytes(com.google.protobuf.ByteString value) Required.setState(VodConfig.State value) Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VodConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VodConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VodConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VodConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VodConfig.Builder>
-
mergeFrom
public VodConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VodConfig.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceVodConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceVodConfigOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSourceUri
Required. Source URI for the VOD stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceUriin interfaceVodConfigOrBuilder- Returns:
- The sourceUri.
-
getSourceUriBytes
public com.google.protobuf.ByteString getSourceUriBytes()Required. Source URI for the VOD stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceUriBytesin interfaceVodConfigOrBuilder- Returns:
- The bytes for sourceUri.
-
setSourceUri
Required. Source URI for the VOD stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The sourceUri to set.- Returns:
- This builder for chaining.
-
clearSourceUri
Required. Source URI for the VOD stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setSourceUriBytes
Required. Source URI for the VOD stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for sourceUri to set.- Returns:
- This builder for chaining.
-
getAdTagUri
Required. The default ad tag associated with this VOD config.
string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTagUriin interfaceVodConfigOrBuilder- Returns:
- The adTagUri.
-
getAdTagUriBytes
public com.google.protobuf.ByteString getAdTagUriBytes()Required. The default ad tag associated with this VOD config.
string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTagUriBytesin interfaceVodConfigOrBuilder- Returns:
- The bytes for adTagUri.
-
setAdTagUri
Required. The default ad tag associated with this VOD config.
string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The adTagUri to set.- Returns:
- This builder for chaining.
-
clearAdTagUri
Required. The default ad tag associated with this VOD config.
string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setAdTagUriBytes
Required. The default ad tag associated with this VOD config.
string ad_tag_uri = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for adTagUri to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasGamVodConfigin interfaceVodConfigOrBuilder- Returns:
- Whether the gamVodConfig field is set.
-
getGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGamVodConfigin interfaceVodConfigOrBuilder- Returns:
- The gamVodConfig.
-
setGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearGamVodConfig
Optional. Google Ad Manager (GAM) metadata.
.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getGamVodConfigBuilder
Optional. Google Ad Manager (GAM) metadata.
.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getGamVodConfigOrBuilder
Optional. Google Ad Manager (GAM) metadata.
.google.cloud.video.stitcher.v1.GamVodConfig gam_vod_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGamVodConfigOrBuilderin interfaceVodConfigOrBuilder
-
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];- Specified by:
getStateValuein interfaceVodConfigOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the VOD config.
.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the VOD config.
.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceVodConfigOrBuilder- Returns:
- The state.
-
setState
Output only. State of the VOD config.
.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the VOD config.
.google.cloud.video.stitcher.v1.VodConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasSourceFetchOptions
public boolean hasSourceFetchOptions()Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;- Specified by:
hasSourceFetchOptionsin interfaceVodConfigOrBuilder- Returns:
- Whether the sourceFetchOptions field is set.
-
getSourceFetchOptions
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;- Specified by:
getSourceFetchOptionsin interfaceVodConfigOrBuilder- Returns:
- The sourceFetchOptions.
-
setSourceFetchOptions
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8; -
setSourceFetchOptions
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8; -
mergeSourceFetchOptions
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8; -
clearSourceFetchOptions
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8; -
getSourceFetchOptionsBuilder
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8; -
getSourceFetchOptionsOrBuilder
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 8;- Specified by:
getSourceFetchOptionsOrBuilderin interfaceVodConfigOrBuilder
-