public static final class InputAttachment.Builder extends GeneratedMessageV3.Builder<InputAttachment.Builder> implements InputAttachmentOrBuilder
A group of information for attaching an input resource to this channel.
Protobuf type google.cloud.video.livestream.v1.InputAttachment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
public InputAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public InputAttachment build()
Returns
public InputAttachment buildPartial()
Returns
public InputAttachment.Builder clear()
Returns
Overrides
public InputAttachment.Builder clearAutomaticFailover()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Returns
public InputAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public InputAttachment.Builder clearInput()
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
public InputAttachment.Builder clearKey()
A unique key for this input attachment.
string key = 1;
Returns
public InputAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public InputAttachment.Builder clone()
Returns
Overrides
public InputAttachment.AutomaticFailover getAutomaticFailover()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Returns
public InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder()
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
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InputAttachment.Builder mergeAutomaticFailover(InputAttachment.AutomaticFailover value)
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Parameter
Returns
public InputAttachment.Builder mergeFrom(InputAttachment other)
Parameter
Returns
public InputAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public InputAttachment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final InputAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover value)
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Parameter
Returns
public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue)
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
Parameter
Returns
public InputAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public InputAttachment.Builder setInput(String value)
The resource name of an existing input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
string input = 2 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The input to set.
|
Returns
public InputAttachment.Builder setInputBytes(ByteString value)
The resource name of an existing input, in the form of:
projects/{project}/locations/{location}/inputs/{inputId}
.
string input = 2 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for input to set.
|
Returns
public InputAttachment.Builder setKey(String value)
A unique key for this input attachment.
string key = 1;
Parameter
Name | Description |
value | String
The key to set.
|
Returns
public InputAttachment.Builder setKeyBytes(ByteString value)
A unique key for this input attachment.
string key = 1;
Parameter
Name | Description |
value | ByteString
The bytes for key to set.
|
Returns
public InputAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final InputAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides