public static final class InputAttachment.Builder extends GeneratedMessage.Builder<InputAttachment.Builder> implements InputAttachmentOrBuilderA group of information for attaching an input resource to this channel.
Protobuf type google.cloud.video.livestream.v1.InputAttachment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InputAttachment.BuilderImplements
InputAttachmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InputAttachment build()| Returns | |
|---|---|
| Type | Description |
InputAttachment |
|
buildPartial()
public InputAttachment buildPartial()| Returns | |
|---|---|
| Type | Description |
InputAttachment |
|
clear()
public InputAttachment.Builder clear()| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
clearAutomaticFailover()
public InputAttachment.Builder clearAutomaticFailover()Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
clearInput()
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 | |
|---|---|
| Type | Description |
InputAttachment.Builder |
This builder for chaining. |
clearKey()
public InputAttachment.Builder 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 | |
|---|---|
| Type | Description |
InputAttachment.Builder |
This builder for chaining. |
getAutomaticFailover()
public InputAttachment.AutomaticFailover getAutomaticFailover()Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
| Returns | |
|---|---|
| Type | Description |
InputAttachment.AutomaticFailover |
The automaticFailover. |
getAutomaticFailoverBuilder()
public InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder()Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
| Returns | |
|---|---|
| Type | Description |
InputAttachment.AutomaticFailover.Builder |
|
getAutomaticFailoverOrBuilder()
public InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder()Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
| Returns | |
|---|---|
| Type | Description |
InputAttachment.AutomaticFailoverOrBuilder |
|
getDefaultInstanceForType()
public InputAttachment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InputAttachment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInput()
public String 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The input. |
getInputBytes()
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. |
getKey()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
hasAutomaticFailover()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAutomaticFailover(InputAttachment.AutomaticFailover value)
public InputAttachment.Builder mergeAutomaticFailover(InputAttachment.AutomaticFailover value)Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
InputAttachment.AutomaticFailover |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
mergeFrom(InputAttachment other)
public InputAttachment.Builder mergeFrom(InputAttachment other)| Parameter | |
|---|---|
| Name | Description |
other |
InputAttachment |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InputAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InputAttachment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
setAutomaticFailover(InputAttachment.AutomaticFailover value)
public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover value)Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
InputAttachment.AutomaticFailover |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue)
public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue)Automatic failover configurations.
.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InputAttachment.AutomaticFailover.Builder |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
|
setInput(String value)
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 |
StringThe input to set. |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
This builder for chaining. |
setInputBytes(ByteString value)
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 |
ByteStringThe bytes for input to set. |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
This builder for chaining. |
setKey(String value)
public InputAttachment.Builder setKey(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public InputAttachment.Builder setKeyBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
InputAttachment.Builder |
This builder for chaining. |