Class InputAttachment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
com.google.cloud.video.livestream.v1.InputAttachment.Builder
- All Implemented Interfaces:
InputAttachmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InputAttachment
public static final class InputAttachment.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Automatic failover configurations.The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.clearKey()A unique key for this input attachment.Automatic failover configurations.Automatic failover configurations.Automatic failover configurations.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInput()The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.com.google.protobuf.ByteStringThe resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.getKey()A unique key for this input attachment.com.google.protobuf.ByteStringA unique key for this input attachment.booleanAutomatic failover configurations.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAutomatic failover configurations.mergeFrom(InputAttachment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Automatic failover configurations.setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue) Automatic failover configurations.The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.setInputBytes(com.google.protobuf.ByteString value) The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.A unique key for this input attachment.setKeyBytes(com.google.protobuf.ByteString value) A unique key for this input attachment.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InputAttachment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InputAttachment.Builder>
-
mergeFrom
public InputAttachment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InputAttachment.Builder>- Throws:
IOException
-
getKey
A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1;- Specified by:
getKeyin interfaceInputAttachmentOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1;- Specified by:
getKeyBytesin interfaceInputAttachmentOrBuilder- Returns:
- The bytes for key.
-
setKey
A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1;- Returns:
- This builder for chaining.
-
setKeyBytes
A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
getInput
The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.string input = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getInputin interfaceInputAttachmentOrBuilder- Returns:
- The input.
-
getInputBytes
public com.google.protobuf.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) = { ... }- Specified by:
getInputBytesin interfaceInputAttachmentOrBuilder- Returns:
- The bytes for input.
-
setInput
The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.string input = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The input to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setInputBytes
The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.string input = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for input to set.- Returns:
- This builder for chaining.
-
hasAutomaticFailover
public boolean hasAutomaticFailover()Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;- Specified by:
hasAutomaticFailoverin interfaceInputAttachmentOrBuilder- Returns:
- Whether the automaticFailover field is set.
-
getAutomaticFailover
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;- Specified by:
getAutomaticFailoverin interfaceInputAttachmentOrBuilder- Returns:
- The automaticFailover.
-
setAutomaticFailover
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; -
setAutomaticFailover
public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue) Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; -
mergeAutomaticFailover
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; -
clearAutomaticFailover
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; -
getAutomaticFailoverBuilder
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3; -
getAutomaticFailoverOrBuilder
Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;- Specified by:
getAutomaticFailoverOrBuilderin interfaceInputAttachmentOrBuilder
-