Send feedback
Class InputAttachment.AutomaticFailover.Builder (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
public static final class InputAttachment . AutomaticFailover . Builder extends GeneratedMessageV3 . Builder<InputAttachment . AutomaticFailover . Builder > implements InputAttachment . AutomaticFailoverOrBuilder
Configurations to follow when automatic failover happens.
Protobuf type google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public InputAttachment . AutomaticFailover . Builder addAllInputKeys ( Iterable<String> values )
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Parameter
Returns
public InputAttachment . AutomaticFailover . Builder addInputKeys ( String value )
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Parameter
Name Description value String
The inputKeys to add.
Returns
public InputAttachment . AutomaticFailover . Builder addInputKeysBytes ( ByteString value )
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Parameter
Name Description value ByteString
The bytes of the inputKeys to add.
Returns
public InputAttachment . AutomaticFailover . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public InputAttachment . AutomaticFailover build ()
Returns
public InputAttachment . AutomaticFailover buildPartial ()
Returns
public InputAttachment . AutomaticFailover . Builder clear ()
Returns
Overrides
public InputAttachment . AutomaticFailover . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public InputAttachment . AutomaticFailover . Builder clearInputKeys ()
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Returns
public InputAttachment . AutomaticFailover . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public InputAttachment . AutomaticFailover . Builder clone ()
Returns
Overrides
public InputAttachment . AutomaticFailover getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public String getInputKeys ( int index )
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Parameter
Name Description index int
The index of the element to return.
Returns
Type Description String The inputKeys at the given index.
public ByteString getInputKeysBytes ( int index )
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Parameter
Name Description index int
The index of the value to return.
Returns
Type Description ByteString The bytes of the inputKeys at the given index.
public int getInputKeysCount ()
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Returns
Type Description int The count of inputKeys.
public ProtocolStringList getInputKeysList ()
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Returns
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public InputAttachment . AutomaticFailover . Builder mergeFrom ( InputAttachment . AutomaticFailover other )
Parameter
Returns
public InputAttachment . AutomaticFailover . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public InputAttachment . AutomaticFailover . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final InputAttachment . AutomaticFailover . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public InputAttachment . AutomaticFailover . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public InputAttachment . AutomaticFailover . Builder setInputKeys ( int index , String value )
The InputAttachment.key s of inputs to failover to when this input is
disconnected. Currently, only up to one backup input is supported.
repeated string input_keys = 1;
Parameters
Name Description index int
The index to set the value at.
value String
The inputKeys to set.
Returns
public InputAttachment . AutomaticFailover . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final InputAttachment . AutomaticFailover . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]