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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • clear

      public Event.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Event.Builder>
    • getDefaultInstanceForType

      public Event getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Event build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Event buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Event.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>
    • mergeFrom

      public Event.Builder mergeFrom(Event other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>
      Throws:
      IOException
    • getTaskCase

      public Event.TaskCase getTaskCase()
      Specified by:
      getTaskCase in interface EventOrBuilder
    • clearTask

      public Event.Builder clearTask()
    • getName

      public String getName()
       The resource name of the event, in the form of:
       `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
       
      string name = 1;
      Specified by:
      getName in interface EventOrBuilder
      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:
      getNameBytes in interface EventOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Event.Builder setName(String value)
       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

      public Event.Builder 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

      public Event.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasCreateTime in interface EventOrBuilder
      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:
      getCreateTime in interface EventOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Event.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Event.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Event.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The creation time.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Event.Builder 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:
      getCreateTimeOrBuilder in interface EventOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The update time.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface EventOrBuilder
      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:
      getUpdateTime in interface EventOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Event.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The update time.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Event.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The update time.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Event.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The update time.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Event.Builder 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:
      getUpdateTimeOrBuilder in interface EventOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: EventOrBuilder
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface EventOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface EventOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface EventOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface EventOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface EventOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface EventOrBuilder
    • clearLabels

      public Event.Builder clearLabels()
    • removeLabels

      public Event.Builder removeLabels(String key)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Event.Builder putLabels(String key, String value)
       User-defined key/value metadata.
       
      map<string, string> labels = 4;
    • putAllLabels

      public Event.Builder putAllLabels(Map<String,String> values)
       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:
      hasInputSwitch in interface EventOrBuilder
      Returns:
      Whether the inputSwitch field is set.
    • getInputSwitch

      public Event.InputSwitchTask getInputSwitch()
       Switches to another input stream.
       
      .google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;
      Specified by:
      getInputSwitch in interface EventOrBuilder
      Returns:
      The inputSwitch.
    • setInputSwitch

      public Event.Builder setInputSwitch(Event.InputSwitchTask value)
       Switches to another input stream.
       
      .google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;
    • setInputSwitch

      public Event.Builder setInputSwitch(Event.InputSwitchTask.Builder builderForValue)
       Switches to another input stream.
       
      .google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;
    • mergeInputSwitch

      public Event.Builder mergeInputSwitch(Event.InputSwitchTask value)
       Switches to another input stream.
       
      .google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;
    • clearInputSwitch

      public Event.Builder clearInputSwitch()
       Switches to another input stream.
       
      .google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;
    • getInputSwitchBuilder

      public Event.InputSwitchTask.Builder getInputSwitchBuilder()
       Switches to another input stream.
       
      .google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;
    • getInputSwitchOrBuilder

      public Event.InputSwitchTaskOrBuilder getInputSwitchOrBuilder()
       Switches to another input stream.
       
      .google.cloud.video.livestream.v1.Event.InputSwitchTask input_switch = 5;
      Specified by:
      getInputSwitchOrBuilder in interface EventOrBuilder
    • hasAdBreak

      public boolean hasAdBreak()
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
      Specified by:
      hasAdBreak in interface EventOrBuilder
      Returns:
      Whether the adBreak field is set.
    • getAdBreak

      public Event.AdBreakTask getAdBreak()
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
      Specified by:
      getAdBreak in interface EventOrBuilder
      Returns:
      The adBreak.
    • setAdBreak

      public Event.Builder setAdBreak(Event.AdBreakTask value)
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
    • setAdBreak

      public Event.Builder setAdBreak(Event.AdBreakTask.Builder builderForValue)
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
    • mergeAdBreak

      public Event.Builder mergeAdBreak(Event.AdBreakTask value)
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
    • clearAdBreak

      public Event.Builder clearAdBreak()
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
    • getAdBreakBuilder

      public Event.AdBreakTask.Builder getAdBreakBuilder()
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
    • getAdBreakOrBuilder

      public Event.AdBreakTaskOrBuilder getAdBreakOrBuilder()
       Inserts a new ad opportunity.
       
      .google.cloud.video.livestream.v1.Event.AdBreakTask ad_break = 6;
      Specified by:
      getAdBreakOrBuilder in interface EventOrBuilder
    • hasReturnToProgram

      public boolean hasReturnToProgram()
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
      Specified by:
      hasReturnToProgram in interface EventOrBuilder
      Returns:
      Whether the returnToProgram field is set.
    • getReturnToProgram

      public Event.ReturnToProgramTask getReturnToProgram()
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
      Specified by:
      getReturnToProgram in interface EventOrBuilder
      Returns:
      The returnToProgram.
    • setReturnToProgram

      public Event.Builder setReturnToProgram(Event.ReturnToProgramTask value)
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
    • setReturnToProgram

      public Event.Builder setReturnToProgram(Event.ReturnToProgramTask.Builder builderForValue)
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
    • mergeReturnToProgram

      public Event.Builder mergeReturnToProgram(Event.ReturnToProgramTask value)
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
    • clearReturnToProgram

      public Event.Builder clearReturnToProgram()
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
    • getReturnToProgramBuilder

      public Event.ReturnToProgramTask.Builder getReturnToProgramBuilder()
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
    • getReturnToProgramOrBuilder

      public Event.ReturnToProgramTaskOrBuilder getReturnToProgramOrBuilder()
       Stops any running ad break.
       
      .google.cloud.video.livestream.v1.Event.ReturnToProgramTask return_to_program = 13;
      Specified by:
      getReturnToProgramOrBuilder in interface EventOrBuilder
    • hasSlate

      public boolean hasSlate()
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
      Specified by:
      hasSlate in interface EventOrBuilder
      Returns:
      Whether the slate field is set.
    • getSlate

      public Event.SlateTask getSlate()
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
      Specified by:
      getSlate in interface EventOrBuilder
      Returns:
      The slate.
    • setSlate

      public Event.Builder setSlate(Event.SlateTask value)
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
    • setSlate

      public Event.Builder setSlate(Event.SlateTask.Builder builderForValue)
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
    • mergeSlate

      public Event.Builder mergeSlate(Event.SlateTask value)
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
    • clearSlate

      public Event.Builder clearSlate()
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
    • getSlateBuilder

      public Event.SlateTask.Builder getSlateBuilder()
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
    • getSlateOrBuilder

      public Event.SlateTaskOrBuilder getSlateOrBuilder()
       Inserts a slate.
       
      .google.cloud.video.livestream.v1.Event.SlateTask slate = 14;
      Specified by:
      getSlateOrBuilder in interface EventOrBuilder
    • hasMute

      public boolean hasMute()
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
      Specified by:
      hasMute in interface EventOrBuilder
      Returns:
      Whether the mute field is set.
    • getMute

      public Event.MuteTask getMute()
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
      Specified by:
      getMute in interface EventOrBuilder
      Returns:
      The mute.
    • setMute

      public Event.Builder setMute(Event.MuteTask value)
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
    • setMute

      public Event.Builder setMute(Event.MuteTask.Builder builderForValue)
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
    • mergeMute

      public Event.Builder mergeMute(Event.MuteTask value)
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
    • clearMute

      public Event.Builder clearMute()
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
    • getMuteBuilder

      public Event.MuteTask.Builder getMuteBuilder()
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
    • getMuteOrBuilder

      public Event.MuteTaskOrBuilder getMuteOrBuilder()
       Mutes the stream.
       
      .google.cloud.video.livestream.v1.Event.MuteTask mute = 15;
      Specified by:
      getMuteOrBuilder in interface EventOrBuilder
    • hasUnmute

      public boolean hasUnmute()
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
      Specified by:
      hasUnmute in interface EventOrBuilder
      Returns:
      Whether the unmute field is set.
    • getUnmute

      public Event.UnmuteTask getUnmute()
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
      Specified by:
      getUnmute in interface EventOrBuilder
      Returns:
      The unmute.
    • setUnmute

      public Event.Builder setUnmute(Event.UnmuteTask value)
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
    • setUnmute

      public Event.Builder setUnmute(Event.UnmuteTask.Builder builderForValue)
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
    • mergeUnmute

      public Event.Builder mergeUnmute(Event.UnmuteTask value)
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
    • clearUnmute

      public Event.Builder clearUnmute()
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
    • getUnmuteBuilder

      public Event.UnmuteTask.Builder getUnmuteBuilder()
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
    • getUnmuteOrBuilder

      public Event.UnmuteTaskOrBuilder getUnmuteOrBuilder()
       Unmutes the stream.
       
      .google.cloud.video.livestream.v1.Event.UnmuteTask unmute = 16;
      Specified by:
      getUnmuteOrBuilder in interface EventOrBuilder
    • hasUpdateEncryptions

      public boolean hasUpdateEncryptions()
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
      Specified by:
      hasUpdateEncryptions in interface EventOrBuilder
      Returns:
      Whether the updateEncryptions field is set.
    • getUpdateEncryptions

      public Event.UpdateEncryptionsTask getUpdateEncryptions()
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
      Specified by:
      getUpdateEncryptions in interface EventOrBuilder
      Returns:
      The updateEncryptions.
    • setUpdateEncryptions

      public Event.Builder setUpdateEncryptions(Event.UpdateEncryptionsTask value)
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
    • setUpdateEncryptions

      public Event.Builder setUpdateEncryptions(Event.UpdateEncryptionsTask.Builder builderForValue)
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
    • mergeUpdateEncryptions

      public Event.Builder mergeUpdateEncryptions(Event.UpdateEncryptionsTask value)
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
    • clearUpdateEncryptions

      public Event.Builder clearUpdateEncryptions()
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
    • getUpdateEncryptionsBuilder

      public Event.UpdateEncryptionsTask.Builder getUpdateEncryptionsBuilder()
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
    • getUpdateEncryptionsOrBuilder

      public Event.UpdateEncryptionsTaskOrBuilder getUpdateEncryptionsOrBuilder()
       Updates encryption settings.
       
      .google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask update_encryptions = 17;
      Specified by:
      getUpdateEncryptionsOrBuilder in interface EventOrBuilder
    • 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:
      getExecuteNow in interface EventOrBuilder
      Returns:
      The executeNow.
    • setExecuteNow

      public Event.Builder 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.
       
      bool execute_now = 9;
      Parameters:
      value - The executeNow to set.
      Returns:
      This builder for chaining.
    • clearExecuteNow

      public Event.Builder 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:
      hasExecutionTime in interface EventOrBuilder
      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:
      getExecutionTime in interface EventOrBuilder
      Returns:
      The executionTime.
    • setExecutionTime

      public Event.Builder setExecutionTime(com.google.protobuf.Timestamp value)
       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

      public Event.Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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

      public Event.Builder mergeExecutionTime(com.google.protobuf.Timestamp value)
       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

      public Event.Builder 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:
      getExecutionTimeOrBuilder in interface EventOrBuilder
    • 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:
      getStateValue in interface EventOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Event.Builder setStateValue(int value)
       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

      public Event.State 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:
      getState in interface EventOrBuilder
      Returns:
      The state.
    • setState

      public Event.Builder setState(Event.State value)
       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

      public Event.Builder 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:
      hasError in interface EventOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status 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:
      getError in interface EventOrBuilder
      Returns:
      The error.
    • setError

      public Event.Builder setError(Status value)
       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

      public Event.Builder setError(Status.Builder builderForValue)
       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

      public Event.Builder mergeError(Status value)
       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

      public Event.Builder 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

      public Status.Builder 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

      public StatusOrBuilder 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:
      getErrorOrBuilder in interface EventOrBuilder