public static final class SegmentSettings.Builder extends GeneratedMessageV3.Builder<SegmentSettings.Builder> implements SegmentSettingsOrBuilder
Segment settings for "ts"
, "fmp4"
and "vtt"
.
Protobuf type google.cloud.video.transcoder.v1beta1.SegmentSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SegmentSettings.BuilderImplements
SegmentSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SegmentSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SegmentSettings.Builder |
build()
public SegmentSettings build()
Type | Description |
SegmentSettings |
buildPartial()
public SegmentSettings buildPartial()
Type | Description |
SegmentSettings |
clear()
public SegmentSettings.Builder clear()
Type | Description |
SegmentSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public SegmentSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SegmentSettings.Builder |
clearIndividualSegments()
public SegmentSettings.Builder clearIndividualSegments()
Required. Create an individual segment file. The default is false
.
bool individual_segments = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SegmentSettings.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SegmentSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SegmentSettings.Builder |
clearSegmentDuration()
public SegmentSettings.Builder clearSegmentDuration()
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Type | Description |
SegmentSettings.Builder |
clone()
public SegmentSettings.Builder clone()
Type | Description |
SegmentSettings.Builder |
getDefaultInstanceForType()
public SegmentSettings getDefaultInstanceForType()
Type | Description |
SegmentSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIndividualSegments()
public boolean getIndividualSegments()
Required. Create an individual segment file. The default is false
.
bool individual_segments = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | The individualSegments. |
getSegmentDuration()
public Duration getSegmentDuration()
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Type | Description |
Duration | The segmentDuration. |
getSegmentDurationBuilder()
public Duration.Builder getSegmentDurationBuilder()
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Type | Description |
Builder |
getSegmentDurationOrBuilder()
public DurationOrBuilder getSegmentDurationOrBuilder()
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Type | Description |
DurationOrBuilder |
hasSegmentDuration()
public boolean hasSegmentDuration()
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Type | Description |
boolean | Whether the segmentDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SegmentSettings other)
public SegmentSettings.Builder mergeFrom(SegmentSettings other)
Name | Description |
other | SegmentSettings |
Type | Description |
SegmentSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SegmentSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SegmentSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SegmentSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SegmentSettings.Builder |
mergeSegmentDuration(Duration value)
public SegmentSettings.Builder mergeSegmentDuration(Duration value)
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Name | Description |
value | Duration |
Type | Description |
SegmentSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SegmentSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SegmentSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SegmentSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SegmentSettings.Builder |
setIndividualSegments(boolean value)
public SegmentSettings.Builder setIndividualSegments(boolean value)
Required. Create an individual segment file. The default is false
.
bool individual_segments = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | boolean The individualSegments to set. |
Type | Description |
SegmentSettings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SegmentSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SegmentSettings.Builder |
setSegmentDuration(Duration value)
public SegmentSettings.Builder setSegmentDuration(Duration value)
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Name | Description |
value | Duration |
Type | Description |
SegmentSettings.Builder |
setSegmentDuration(Duration.Builder builderForValue)
public SegmentSettings.Builder setSegmentDuration(Duration.Builder builderForValue)
Duration of the segments in seconds. The default is "6.0s"
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
.google.protobuf.Duration segment_duration = 1;
Name | Description |
builderForValue | Builder |
Type | Description |
SegmentSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SegmentSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SegmentSettings.Builder |