public final class InputAttachment extends GeneratedMessageV3 implements InputAttachmentOrBuilder
A group of information for attaching an input resource to this channel.
Protobuf type google.cloud.video.livestream.v1.InputAttachment
Static Fields
public static final int AUTOMATIC_FAILOVER_FIELD_NUMBER
Field Value
public static final int INPUT_FIELD_NUMBER
Field Value
public static final int KEY_FIELD_NUMBER
Field Value
Static Methods
public static InputAttachment getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static InputAttachment.Builder newBuilder()
Returns
public static InputAttachment.Builder newBuilder(InputAttachment prototype)
Parameter
Returns
public static InputAttachment parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InputAttachment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static InputAttachment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static InputAttachment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InputAttachment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InputAttachment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static InputAttachment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<InputAttachment> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public InputAttachment.AutomaticFailover getAutomaticFailover()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Returns
public InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Returns
public InputAttachment getDefaultInstanceForType()
Returns
The resource name of an existing input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
string input = 2 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The input.
|
public ByteString getInputBytes()
The resource name of an existing input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
string input = 2 [(.google.api.resource_reference) = { ... }
Returns
A unique key for this input attachment.
string key = 1;
Returns
public ByteString getKeyBytes()
A unique key for this input attachment.
string key = 1;
Returns
public Parser<InputAttachment> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasAutomaticFailover()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Returns
Type | Description |
boolean | Whether the automaticFailover field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InputAttachment.Builder newBuilderForType()
Returns
protected InputAttachment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public InputAttachment.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions