public static final class Event.SlateTask.Builder extends GeneratedMessageV3.Builder<Event.SlateTask.Builder> implements Event.SlateTaskOrBuilder
Inserts a slate.
Protobuf type google.cloud.video.livestream.v1.Event.SlateTask
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Event.SlateTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Event.SlateTask build()
buildPartial()
public Event.SlateTask buildPartial()
clear()
public Event.SlateTask.Builder clear()
Overrides
clearAsset()
public Event.SlateTask.Builder clearAsset()
Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then it will be looped. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string asset = 2 [(.google.api.resource_reference) = { ... }
clearDuration()
public Event.SlateTask.Builder clearDuration()
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
clearField(Descriptors.FieldDescriptor field)
public Event.SlateTask.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Event.SlateTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Event.SlateTask.Builder clone()
Overrides
getAsset()
Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then it will be looped. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string asset = 2 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The asset.
|
getAssetBytes()
public ByteString getAssetBytes()
Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then it will be looped. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string asset = 2 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for asset.
|
getDefaultInstanceForType()
public Event.SlateTask getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDuration()
public Duration getDuration()
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
Returns |
---|
Type | Description |
Duration | The duration.
|
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
hasDuration()
public boolean hasDuration()
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
Returns |
---|
Type | Description |
boolean | Whether the duration field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDuration(Duration value)
public Event.SlateTask.Builder mergeDuration(Duration value)
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
mergeFrom(Event.SlateTask other)
public Event.SlateTask.Builder mergeFrom(Event.SlateTask other)
public Event.SlateTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Event.SlateTask.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Event.SlateTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAsset(String value)
public Event.SlateTask.Builder setAsset(String value)
Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then it will be looped. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string asset = 2 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The asset to set.
|
setAssetBytes(ByteString value)
public Event.SlateTask.Builder setAssetBytes(ByteString value)
Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then it will be looped. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
string asset = 2 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for asset to set.
|
setDuration(Duration value)
public Event.SlateTask.Builder setDuration(Duration value)
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
setDuration(Duration.Builder builderForValue)
public Event.SlateTask.Builder setDuration(Duration.Builder builderForValue)
Optional. Duration of the slate. Must be greater than 0 if specified.
Omit this field for a long running slate.
.google.protobuf.Duration duration = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public Event.SlateTask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Event.SlateTask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Event.SlateTask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides