Class CreateVodSessionRequest.Builder (0.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateVodSessionRequest build()
Returns
TypeDescription
CreateVodSessionRequest

buildPartial()

public CreateVodSessionRequest buildPartial()
Returns
TypeDescription
CreateVodSessionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CreateVodSessionRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateVodSessionRequest

getDescriptorForType()

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

Whether the vodSession field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateVodSessionRequest other)

public CreateVodSessionRequest.Builder mergeFrom(CreateVodSessionRequest other)
Parameter
NameDescription
otherCreateVodSessionRequest
Returns
TypeDescription
CreateVodSessionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateVodSessionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateVodSessionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateVodSessionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVodSession
Returns
TypeDescription
CreateVodSessionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateVodSessionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateVodSessionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVodSession
Returns
TypeDescription
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
NameDescription
builderForValueVodSession.Builder
Returns
TypeDescription
CreateVodSessionRequest.Builder