Class CreateSlateRequest.Builder (0.5.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}.

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

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}.

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}.

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

Returns
TypeDescription
ByteString

The bytes for parent.

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}.

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}.

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

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