Class CreateSlateRequest.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateSlateRequest build()
Returns
TypeDescription
CreateSlateRequest

buildPartial()

public CreateSlateRequest buildPartial()
Returns
TypeDescription
CreateSlateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateSlateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateSlateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateSlateRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateSlateRequest

getDescriptorForType()

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

getSlate()

public Slate getSlate()

Required. The slate to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SlateOrBuilder

hasSlate()

public boolean hasSlate()

Required. The slate to create.

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

Returns
TypeDescription
boolean

Whether the slate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateSlateRequest other)

public CreateSlateRequest.Builder mergeFrom(CreateSlateRequest other)
Parameter
NameDescription
otherCreateSlateRequest
Returns
TypeDescription
CreateSlateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

The requestId to set.

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

The bytes for requestId to set.

Returns
TypeDescription
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
NameDescription
valueSlate
Returns
TypeDescription
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
NameDescription
builderForValueSlate.Builder
Returns
TypeDescription
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
NameDescription
valueString

The slateId to set.

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

The bytes for slateId to set.

Returns
TypeDescription
CreateSlateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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