Class CreateInputRequest.Builder (0.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateInputRequest.Builder
Overrides

build()

public CreateInputRequest build()
Returns
TypeDescription
CreateInputRequest

buildPartial()

public CreateInputRequest buildPartial()
Returns
TypeDescription
CreateInputRequest

clear()

public CreateInputRequest.Builder clear()
Returns
TypeDescription
CreateInputRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateInputRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateInputRequest.Builder

This builder for chaining.

clone()

public CreateInputRequest.Builder clone()
Returns
TypeDescription
CreateInputRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateInputRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateInputRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the input field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateInputRequest other)

public CreateInputRequest.Builder mergeFrom(CreateInputRequest other)
Parameter
NameDescription
otherCreateInputRequest
Returns
TypeDescription
CreateInputRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInputRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateInputRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInput
Returns
TypeDescription
CreateInputRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateInputRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInput
Returns
TypeDescription
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
NameDescription
builderForValueInput.Builder
Returns
TypeDescription
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
NameDescription
valueString

The inputId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inputId to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateInputRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateInputRequest.Builder
Overrides