Class Event.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
com.google.cloud.video.livestream.v1.Event.Builder
- All Implemented Interfaces:
EventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Event
public static final class Event.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
implements EventOrBuilder
Event is a sub-resource of a channel, which can be scheduled by the user to execute operations on a channel resource without having to stop the channel.Protobuf type
google.cloud.video.livestream.v1.Event-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Inserts a new ad opportunity.Output only.Output only.When this field is set to true, the event will be executed at the earliest time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be populated with the time that the server actually schedules the event.The time to execute the event.Switches to another input stream.Mutes the stream.The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.Stops any running ad break.Inserts a slate.Output only.Unmutes the stream.Updates encryption settings.Output only.booleancontainsLabels(String key) User-defined key/value metadata.Inserts a new ad opportunity.Inserts a new ad opportunity.Inserts a new ad opportunity.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()Output only.Output only.Output only.booleanWhen this field is set to true, the event will be executed at the earliest time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be populated with the time that the server actually schedules the event.com.google.protobuf.TimestampThe time to execute the event.com.google.protobuf.Timestamp.BuilderThe time to execute the event.com.google.protobuf.TimestampOrBuilderThe time to execute the event.Switches to another input stream.Switches to another input stream.Switches to another input stream.Deprecated.intUser-defined key/value metadata.User-defined key/value metadata.getLabelsOrDefault(String key, String defaultValue) User-defined key/value metadata.getLabelsOrThrow(String key) User-defined key/value metadata.Deprecated.getMute()Mutes the stream.Mutes the stream.Mutes the stream.getName()The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.com.google.protobuf.ByteStringThe resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.Stops any running ad break.Stops any running ad break.Stops any running ad break.getSlate()Inserts a slate.Inserts a slate.Inserts a slate.getState()Output only.intOutput only.Unmutes the stream.Unmutes the stream.Unmutes the stream.Updates encryption settings.Updates encryption settings.Updates encryption settings.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanInserts a new ad opportunity.booleanOutput only.booleanhasError()Output only.booleanThe time to execute the event.booleanSwitches to another input stream.booleanhasMute()Mutes the stream.booleanStops any running ad break.booleanhasSlate()Inserts a slate.booleanUnmutes the stream.booleanUpdates encryption settings.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeAdBreak(Event.AdBreakTask value) Inserts a new ad opportunity.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeError(Status value) Output only.mergeExecutionTime(com.google.protobuf.Timestamp value) The time to execute the event.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Switches to another input stream.mergeMute(Event.MuteTask value) Mutes the stream.Stops any running ad break.mergeSlate(Event.SlateTask value) Inserts a slate.mergeUnmute(Event.UnmuteTask value) Unmutes the stream.Updates encryption settings.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) User-defined key/value metadata.User-defined key/value metadata.removeLabels(String key) User-defined key/value metadata.setAdBreak(Event.AdBreakTask value) Inserts a new ad opportunity.setAdBreak(Event.AdBreakTask.Builder builderForValue) Inserts a new ad opportunity.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setError(Status.Builder builderForValue) Output only.setExecuteNow(boolean value) When this field is set to true, the event will be executed at the earliest time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be populated with the time that the server actually schedules the event.setExecutionTime(com.google.protobuf.Timestamp value) The time to execute the event.setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue) The time to execute the event.Switches to another input stream.setInputSwitch(Event.InputSwitchTask.Builder builderForValue) Switches to another input stream.setMute(Event.MuteTask value) Mutes the stream.setMute(Event.MuteTask.Builder builderForValue) Mutes the stream.The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.setNameBytes(com.google.protobuf.ByteString value) The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.Stops any running ad break.setReturnToProgram(Event.ReturnToProgramTask.Builder builderForValue) Stops any running ad break.setSlate(Event.SlateTask value) Inserts a slate.setSlate(Event.SlateTask.Builder builderForValue) Inserts a slate.setState(Event.State value) Output only.setStateValue(int value) Output only.setUnmute(Event.UnmuteTask value) Unmutes the stream.setUnmute(Event.UnmuteTask.Builder builderForValue) Unmutes the stream.Updates encryption settings.setUpdateEncryptions(Event.UpdateEncryptionsTask.Builder builderForValue) Updates encryption settings.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) 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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Event.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<Event.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<Event.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<Event.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Event.Builder>
-
mergeFrom
public Event.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<Event.Builder>- Throws:
IOException
-
getTaskCase
- Specified by:
getTaskCasein interfaceEventOrBuilder
-
clearTask
-
getName
The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.string name = 1;- Specified by:
getNamein interfaceEventOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.string name = 1;- Specified by:
getNameBytesin interfaceEventOrBuilder- Returns:
- The bytes for name.
-
setName
The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The resource name of the event, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceEventOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceEventOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceEventOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceEventOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceEventOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceEventOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:EventOrBuilderUser-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceEventOrBuilder
-
containsLabels
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceEventOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceEventOrBuilder
-
getLabelsMap
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceEventOrBuilder
-
getLabelsOrDefault
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceEventOrBuilder
-
getLabelsOrThrow
User-defined key/value metadata.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceEventOrBuilder
-
clearLabels
-
removeLabels
User-defined key/value metadata.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
User-defined key/value metadata.
map<string, string> labels = 4; -
putAllLabels
User-defined key/value metadata.
map<string, string> labels = 4; -
hasInputSwitch
public boolean hasInputSwitch()Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;- Specified by:
hasInputSwitchin interfaceEventOrBuilder- Returns:
- Whether the inputSwitch field is set.
-
getInputSwitch
Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;- Specified by:
getInputSwitchin interfaceEventOrBuilder- Returns:
- The inputSwitch.
-
setInputSwitch
Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5; -
setInputSwitch
Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5; -
mergeInputSwitch
Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5; -
clearInputSwitch
Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5; -
getInputSwitchBuilder
Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5; -
getInputSwitchOrBuilder
Switches to another input stream.
.google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;- Specified by:
getInputSwitchOrBuilderin interfaceEventOrBuilder
-
hasAdBreak
public boolean hasAdBreak()Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;- Specified by:
hasAdBreakin interfaceEventOrBuilder- Returns:
- Whether the adBreak field is set.
-
getAdBreak
Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;- Specified by:
getAdBreakin interfaceEventOrBuilder- Returns:
- The adBreak.
-
setAdBreak
Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6; -
setAdBreak
Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6; -
mergeAdBreak
Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6; -
clearAdBreak
Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6; -
getAdBreakBuilder
Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6; -
getAdBreakOrBuilder
Inserts a new ad opportunity.
.google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;- Specified by:
getAdBreakOrBuilderin interfaceEventOrBuilder
-
hasReturnToProgram
public boolean hasReturnToProgram()Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;- Specified by:
hasReturnToProgramin interfaceEventOrBuilder- Returns:
- Whether the returnToProgram field is set.
-
getReturnToProgram
Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;- Specified by:
getReturnToProgramin interfaceEventOrBuilder- Returns:
- The returnToProgram.
-
setReturnToProgram
Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13; -
setReturnToProgram
Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13; -
mergeReturnToProgram
Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13; -
clearReturnToProgram
Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13; -
getReturnToProgramBuilder
Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13; -
getReturnToProgramOrBuilder
Stops any running ad break.
.google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;- Specified by:
getReturnToProgramOrBuilderin interfaceEventOrBuilder
-
hasSlate
public boolean hasSlate()Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14;- Specified by:
hasSlatein interfaceEventOrBuilder- Returns:
- Whether the slate field is set.
-
getSlate
Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14;- Specified by:
getSlatein interfaceEventOrBuilder- Returns:
- The slate.
-
setSlate
Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14; -
setSlate
Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14; -
mergeSlate
Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14; -
clearSlate
Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14; -
getSlateBuilder
Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14; -
getSlateOrBuilder
Inserts a slate.
.google.cloud.video.livestream.v1.Event.SlateTask slate = 14;- Specified by:
getSlateOrBuilderin interfaceEventOrBuilder
-
hasMute
public boolean hasMute()Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15;- Specified by:
hasMutein interfaceEventOrBuilder- Returns:
- Whether the mute field is set.
-
getMute
Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15;- Specified by:
getMutein interfaceEventOrBuilder- Returns:
- The mute.
-
setMute
Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15; -
setMute
Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15; -
mergeMute
Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15; -
clearMute
Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15; -
getMuteBuilder
Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15; -
getMuteOrBuilder
Mutes the stream.
.google.cloud.video.livestream.v1.Event.MuteTask mute = 15;- Specified by:
getMuteOrBuilderin interfaceEventOrBuilder
-
hasUnmute
public boolean hasUnmute()Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;- Specified by:
hasUnmutein interfaceEventOrBuilder- Returns:
- Whether the unmute field is set.
-
getUnmute
Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;- Specified by:
getUnmutein interfaceEventOrBuilder- Returns:
- The unmute.
-
setUnmute
Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16; -
setUnmute
Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16; -
mergeUnmute
Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16; -
clearUnmute
Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16; -
getUnmuteBuilder
Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16; -
getUnmuteOrBuilder
Unmutes the stream.
.google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;- Specified by:
getUnmuteOrBuilderin interfaceEventOrBuilder
-
hasUpdateEncryptions
public boolean hasUpdateEncryptions()Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;- Specified by:
hasUpdateEncryptionsin interfaceEventOrBuilder- Returns:
- Whether the updateEncryptions field is set.
-
getUpdateEncryptions
Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;- Specified by:
getUpdateEncryptionsin interfaceEventOrBuilder- Returns:
- The updateEncryptions.
-
setUpdateEncryptions
Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17; -
setUpdateEncryptions
Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17; -
mergeUpdateEncryptions
Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17; -
clearUpdateEncryptions
Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17; -
getUpdateEncryptionsBuilder
Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17; -
getUpdateEncryptionsOrBuilder
Updates encryption settings.
.google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;- Specified by:
getUpdateEncryptionsOrBuilderin interfaceEventOrBuilder
-
getExecuteNow
public boolean getExecuteNow()When this field is set to true, the event will be executed at the earliest time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be populated with the time that the server actually schedules the event.
bool execute_now = 9;- Specified by:
getExecuteNowin interfaceEventOrBuilder- Returns:
- The executeNow.
-
setExecuteNow
When this field is set to true, the event will be executed at the earliest time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be populated with the time that the server actually schedules the event.
bool execute_now = 9;- Parameters:
value- The executeNow to set.- Returns:
- This builder for chaining.
-
clearExecuteNow
When this field is set to true, the event will be executed at the earliest time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be populated with the time that the server actually schedules the event.
bool execute_now = 9;- Returns:
- This builder for chaining.
-
hasExecutionTime
public boolean hasExecutionTime()The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10;- Specified by:
hasExecutionTimein interfaceEventOrBuilder- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
public com.google.protobuf.Timestamp getExecutionTime()The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10;- Specified by:
getExecutionTimein interfaceEventOrBuilder- Returns:
- The executionTime.
-
setExecutionTime
The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10; -
setExecutionTime
The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10; -
mergeExecutionTime
The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10; -
clearExecutionTime
The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10; -
getExecutionTimeBuilder
public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder()The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10; -
getExecutionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()The time to execute the event. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `true`, then do not set this field in the `CreateEvent` request. In this case, the server schedules the event and populates this field. If you set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to `false`, then you must set this field to at least 10 seconds in the future or else the event can't be created.
.google.protobuf.Timestamp execution_time = 10;- Specified by:
getExecutionTimeOrBuilderin interfaceEventOrBuilder
-
getStateValue
public int getStateValue()Output only. The state of the event.
.google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the event.
.google.cloud.video.livestream.v1.Event.State state = 11 [(.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. The state of the event.
.google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceEventOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the event.
.google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the event.
.google.cloud.video.livestream.v1.Event.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasError
public boolean hasError()Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceEventOrBuilder- Returns:
- Whether the error field is set.
-
getError
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceEventOrBuilder- Returns:
- The error.
-
setError
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setError
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeError
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearError
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorBuilder
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorOrBuilder
Output only. An error object that describes the reason for the failure. This property is always present when `state` is `FAILED`.
.google.rpc.Status error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceEventOrBuilder
-