Class CreateSlateRequest.Builder (0.47.0)

public static final class CreateSlateRequest.Builder extends GeneratedMessageV3.Builder<CreateSlateRequest.Builder> implements CreateSlateRequestOrBuilder

Request message for VideoStitcherService.createSlate.

Protobuf type google.cloud.video.stitcher.v1.CreateSlateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateSlateRequest build()
Returns
Type Description
CreateSlateRequest

buildPartial()

public CreateSlateRequest buildPartial()
Returns
Type Description
CreateSlateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateSlateRequest.Builder clearParent()

Required. The project in which the slate should be created, in the form of projects/{project_number}/locations/{location}.

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

Returns
Type Description
CreateSlateRequest.Builder

This builder for chaining.

clearRequestId()

public CreateSlateRequest.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
CreateSlateRequest.Builder

This builder for chaining.

clearSlate()

public CreateSlateRequest.Builder clearSlate()

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSlateRequest.Builder

clearSlateId()

public CreateSlateRequest.Builder clearSlateId()

Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string slate_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSlateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateSlateRequest getDefaultInstanceForType()
Returns
Type Description
CreateSlateRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The project in which the slate should be created, in the form of projects/{project_number}/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 project in which the slate should be created, in the form of projects/{project_number}/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.

getSlate()

public Slate getSlate()

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Slate

The slate.

getSlateBuilder()

public Slate.Builder getSlateBuilder()

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Slate.Builder

getSlateId()

public String getSlateId()

Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string slate_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The slateId.

getSlateIdBytes()

public ByteString getSlateIdBytes()

Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string slate_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for slateId.

getSlateOrBuilder()

public SlateOrBuilder getSlateOrBuilder()

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SlateOrBuilder

hasSlate()

public boolean hasSlate()

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the slate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSlateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSlate(Slate value)

public CreateSlateRequest.Builder mergeSlate(Slate value)

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Slate
Returns
Type Description
CreateSlateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateSlateRequest.Builder setParent(String value)

Required. The project in which the slate should be created, in the form of projects/{project_number}/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
CreateSlateRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateSlateRequest.Builder setParentBytes(ByteString value)

Required. The project in which the slate should be created, in the form of projects/{project_number}/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
CreateSlateRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public CreateSlateRequest.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
CreateSlateRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateSlateRequest.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
CreateSlateRequest.Builder

This builder for chaining.

setSlate(Slate value)

public CreateSlateRequest.Builder setSlate(Slate value)

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Slate
Returns
Type Description
CreateSlateRequest.Builder

setSlate(Slate.Builder builderForValue)

public CreateSlateRequest.Builder setSlate(Slate.Builder builderForValue)

Required. The slate to create.

.google.cloud.video.stitcher.v1.Slate slate = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Slate.Builder
Returns
Type Description
CreateSlateRequest.Builder

setSlateId(String value)

public CreateSlateRequest.Builder setSlateId(String value)

Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string slate_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The slateId to set.

Returns
Type Description
CreateSlateRequest.Builder

This builder for chaining.

setSlateIdBytes(ByteString value)

public CreateSlateRequest.Builder setSlateIdBytes(ByteString value)

Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

string slate_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for slateId to set.

Returns
Type Description
CreateSlateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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