public static final class InputConfig.Builder extends GeneratedMessageV3.Builder<InputConfig.Builder> implements InputConfigOrBuilder
Configuration for the input sources of a channel.
Protobuf type google.cloud.video.livestream.v1.InputConfig
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public InputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InputConfig build()
public InputConfig buildPartial()
public InputConfig.Builder clear()
Overrides
public InputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InputConfig.Builder clearInputSwitchMode()
Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY
.
.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode input_switch_mode = 1;
public InputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InputConfig.Builder clone()
Overrides
public InputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public InputConfig.InputSwitchMode getInputSwitchMode()
Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY
.
.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode input_switch_mode = 1;
public int getInputSwitchModeValue()
Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY
.
.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode input_switch_mode = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for inputSwitchMode.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InputConfig.Builder mergeFrom(InputConfig other)
public InputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InputConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final InputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InputConfig.Builder setInputSwitchMode(InputConfig.InputSwitchMode value)
Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY
.
.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode input_switch_mode = 1;
public InputConfig.Builder setInputSwitchModeValue(int value)
Input switch mode. Default mode is FAILOVER_PREFER_PRIMARY
.
.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode input_switch_mode = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for inputSwitchMode to set.
|
public InputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides