public static final class Event.InputSwitchTask.Builder extends GeneratedMessageV3.Builder<Event.InputSwitchTask.Builder> implements Event.InputSwitchTaskOrBuilder
Switches to another input stream. Automatic failover is then disabled.
Protobuf type google.cloud.video.livestream.v1.Event.InputSwitchTask
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Event.InputSwitchTask.BuilderImplements
Event.InputSwitchTaskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Event.InputSwitchTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
build()
public Event.InputSwitchTask build()
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask |
buildPartial()
public Event.InputSwitchTask buildPartial()
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask |
clear()
public Event.InputSwitchTask.Builder clear()
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
clearField(Descriptors.FieldDescriptor field)
public Event.InputSwitchTask.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
clearInputKey()
public Event.InputSwitchTask.Builder clearInputKey()
The InputAttachment.key of the input to switch to.
string input_key = 1;
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Event.InputSwitchTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
clone()
public Event.InputSwitchTask.Builder clone()
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
getDefaultInstanceForType()
public Event.InputSwitchTask getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInputKey()
public String getInputKey()
The InputAttachment.key of the input to switch to.
string input_key = 1;
Returns | |
---|---|
Type | Description |
String | The inputKey. |
getInputKeyBytes()
public ByteString getInputKeyBytes()
The InputAttachment.key of the input to switch to.
string input_key = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for inputKey. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Event.InputSwitchTask other)
public Event.InputSwitchTask.Builder mergeFrom(Event.InputSwitchTask other)
Parameter | |
---|---|
Name | Description |
other | Event.InputSwitchTask |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Event.InputSwitchTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Event.InputSwitchTask.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Event.InputSwitchTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Event.InputSwitchTask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
setInputKey(String value)
public Event.InputSwitchTask.Builder setInputKey(String value)
The InputAttachment.key of the input to switch to.
string input_key = 1;
Parameter | |
---|---|
Name | Description |
value | String The inputKey to set. |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder | This builder for chaining. |
setInputKeyBytes(ByteString value)
public Event.InputSwitchTask.Builder setInputKeyBytes(ByteString value)
The InputAttachment.key of the input to switch to.
string input_key = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for inputKey to set. |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Event.InputSwitchTask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Event.InputSwitchTask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Event.InputSwitchTask.Builder |