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.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 InputAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InputAttachment build()
public InputAttachment buildPartial()
public InputAttachment.Builder clear()
Overrides
public InputAttachment.Builder clearAutomaticFailover()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
public InputAttachment.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
public InputAttachment.Builder clearKey()
A unique key for this input attachment.
string key = 1;
public InputAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InputAttachment.Builder clone()
Overrides
public InputAttachment.AutomaticFailover getAutomaticFailover()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
public InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
public InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder()
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
public InputAttachment getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for input.
|
A unique key for this input attachment.
string key = 1;
Returns |
Type |
Description |
String |
The key.
|
public ByteString getKeyBytes()
A unique key for this input attachment.
string key = 1;
Returns |
Type |
Description |
ByteString |
The bytes for key.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public InputAttachment.Builder mergeAutomaticFailover(InputAttachment.AutomaticFailover value)
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
public InputAttachment.Builder mergeFrom(InputAttachment other)
public InputAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InputAttachment.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final InputAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover value)
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue)
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
public InputAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
public InputAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InputAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides