Class CreateInputRequest.Builder (0.46.0)

public static final class CreateInputRequest.Builder extends GeneratedMessageV3.Builder<CreateInputRequest.Builder> implements CreateInputRequestOrBuilder

Request message for "LivestreamService.CreateInput".

Protobuf type google.cloud.video.livestream.v1.CreateInputRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateInputRequest.Builder
Overrides

build()

public CreateInputRequest build()
Returns
Type Description
CreateInputRequest

buildPartial()

public CreateInputRequest buildPartial()
Returns
Type Description
CreateInputRequest

clear()

public CreateInputRequest.Builder clear()
Returns
Type Description
CreateInputRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateInputRequest.Builder
Overrides

clearInput()

public CreateInputRequest.Builder clearInput()

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInputRequest.Builder

clearInputId()

public CreateInputRequest.Builder clearInputId()

Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with [a-z0-9], could contain dashes (-) in between.

string input_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateInputRequest.Builder
Overrides

clearParent()

public CreateInputRequest.Builder clearParent()

Required. The parent location for the resource, in the form of: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

clearRequestId()

public CreateInputRequest.Builder clearRequestId()

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

clone()

public CreateInputRequest.Builder clone()
Returns
Type Description
CreateInputRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateInputRequest getDefaultInstanceForType()
Returns
Type Description
CreateInputRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInput()

public Input getInput()

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Input

The input.

getInputBuilder()

public Input.Builder getInputBuilder()

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Input.Builder

getInputId()

public String getInputId()

Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with [a-z0-9], could contain dashes (-) in between.

string input_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The inputId.

getInputIdBytes()

public ByteString getInputIdBytes()

Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with [a-z0-9], could contain dashes (-) in between.

string input_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for inputId.

getInputOrBuilder()

public InputOrBuilder getInputOrBuilder()

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputOrBuilder

getParent()

public String getParent()

Required. The parent location for the resource, in the form of: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location for the resource, in the form of: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Returns
Type Description
ByteString

The bytes for requestId.

hasInput()

public boolean hasInput()

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the input field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateInputRequest other)

public CreateInputRequest.Builder mergeFrom(CreateInputRequest other)
Parameter
Name Description
other CreateInputRequest
Returns
Type Description
CreateInputRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateInputRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateInputRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateInputRequest.Builder
Overrides

mergeInput(Input value)

public CreateInputRequest.Builder mergeInput(Input value)

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Input
Returns
Type Description
CreateInputRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateInputRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateInputRequest.Builder
Overrides

setInput(Input value)

public CreateInputRequest.Builder setInput(Input value)

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Input
Returns
Type Description
CreateInputRequest.Builder

setInput(Input.Builder builderForValue)

public CreateInputRequest.Builder setInput(Input.Builder builderForValue)

Required. The input resource to be created.

.google.cloud.video.livestream.v1.Input input = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Input.Builder
Returns
Type Description
CreateInputRequest.Builder

setInputId(String value)

public CreateInputRequest.Builder setInputId(String value)

Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with [a-z0-9], could contain dashes (-) in between.

string input_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The inputId to set.

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

setInputIdBytes(ByteString value)

public CreateInputRequest.Builder setInputIdBytes(ByteString value)

Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with [a-z0-9], could contain dashes (-) in between.

string input_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for inputId to set.

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

setParent(String value)

public CreateInputRequest.Builder setParent(String value)

Required. The parent location for the resource, in the form of: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateInputRequest.Builder setParentBytes(ByteString value)

Required. The parent location for the resource, in the form of: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateInputRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateInputRequest.Builder
Overrides

setRequestId(String value)

public CreateInputRequest.Builder setRequestId(String value)

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateInputRequest.Builder setRequestIdBytes(ByteString value)

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateInputRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateInputRequest.Builder
Overrides