Send feedback
Class InputAttachment.Builder (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.3.0 keyboard_arrow_down
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]