Class CreateVodSessionRequest.Builder (0.43.0)

public static final class CreateVodSessionRequest.Builder extends GeneratedMessageV3.Builder<CreateVodSessionRequest.Builder> implements CreateVodSessionRequestOrBuilder

Request message for VideoStitcherService.createVodSession

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateVodSessionRequest build()
Returns
Type Description
CreateVodSessionRequest

buildPartial()

public CreateVodSessionRequest buildPartial()
Returns
Type Description
CreateVodSessionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateVodSessionRequest.Builder clearParent()

Required. The project and location in which the VOD session 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
CreateVodSessionRequest.Builder

This builder for chaining.

clearVodSession()

public CreateVodSessionRequest.Builder clearVodSession()

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateVodSessionRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateVodSessionRequest getDefaultInstanceForType()
Returns
Type Description
CreateVodSessionRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The project and location in which the VOD session 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 and location in which the VOD session 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.

getVodSession()

public VodSession getVodSession()

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VodSession

The vodSession.

getVodSessionBuilder()

public VodSession.Builder getVodSessionBuilder()

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VodSession.Builder

getVodSessionOrBuilder()

public VodSessionOrBuilder getVodSessionOrBuilder()

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VodSessionOrBuilder

hasVodSession()

public boolean hasVodSession()

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the vodSession field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateVodSessionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVodSession(VodSession value)

public CreateVodSessionRequest.Builder mergeVodSession(VodSession value)

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value VodSession
Returns
Type Description
CreateVodSessionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateVodSessionRequest.Builder setParent(String value)

Required. The project and location in which the VOD session 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
CreateVodSessionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateVodSessionRequest.Builder setParentBytes(ByteString value)

Required. The project and location in which the VOD session 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
CreateVodSessionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVodSession(VodSession value)

public CreateVodSessionRequest.Builder setVodSession(VodSession value)

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value VodSession
Returns
Type Description
CreateVodSessionRequest.Builder

setVodSession(VodSession.Builder builderForValue)

public CreateVodSessionRequest.Builder setVodSession(VodSession.Builder builderForValue)

Required. Parameters for creating a session.

.google.cloud.video.stitcher.v1.VodSession vod_session = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue VodSession.Builder
Returns
Type Description
CreateVodSessionRequest.Builder