Class CreateLiveSessionRequest.Builder (0.48.0)

public static final class CreateLiveSessionRequest.Builder extends GeneratedMessageV3.Builder<CreateLiveSessionRequest.Builder> implements CreateLiveSessionRequestOrBuilder

Request message for VideoStitcherService.createLiveSession.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateLiveSessionRequest build()
Returns
Type Description
CreateLiveSessionRequest

buildPartial()

public CreateLiveSessionRequest buildPartial()
Returns
Type Description
CreateLiveSessionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLiveSession()

public CreateLiveSessionRequest.Builder clearLiveSession()

Required. Parameters for creating a live session.

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

Returns
Type Description
CreateLiveSessionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateLiveSessionRequest.Builder clearParent()

Required. The project and location in which the live 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
CreateLiveSessionRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateLiveSessionRequest getDefaultInstanceForType()
Returns
Type Description
CreateLiveSessionRequest

getDescriptorForType()

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

getLiveSession()

public LiveSession getLiveSession()

Required. Parameters for creating a live session.

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

Returns
Type Description
LiveSession

The liveSession.

getLiveSessionBuilder()

public LiveSession.Builder getLiveSessionBuilder()

Required. Parameters for creating a live session.

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

Returns
Type Description
LiveSession.Builder

getLiveSessionOrBuilder()

public LiveSessionOrBuilder getLiveSessionOrBuilder()

Required. Parameters for creating a live session.

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

Returns
Type Description
LiveSessionOrBuilder

getParent()

public String getParent()

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

hasLiveSession()

public boolean hasLiveSession()

Required. Parameters for creating a live session.

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

Returns
Type Description
boolean

Whether the liveSession field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateLiveSessionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLiveSession(LiveSession value)

public CreateLiveSessionRequest.Builder mergeLiveSession(LiveSession value)

Required. Parameters for creating a live session.

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

Parameter
Name Description
value LiveSession
Returns
Type Description
CreateLiveSessionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLiveSession(LiveSession value)

public CreateLiveSessionRequest.Builder setLiveSession(LiveSession value)

Required. Parameters for creating a live session.

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

Parameter
Name Description
value LiveSession
Returns
Type Description
CreateLiveSessionRequest.Builder

setLiveSession(LiveSession.Builder builderForValue)

public CreateLiveSessionRequest.Builder setLiveSession(LiveSession.Builder builderForValue)

Required. Parameters for creating a live session.

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

Parameter
Name Description
builderForValue LiveSession.Builder
Returns
Type Description
CreateLiveSessionRequest.Builder

setParent(String value)

public CreateLiveSessionRequest.Builder setParent(String value)

Required. The project and location in which the live 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
CreateLiveSessionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateLiveSessionRequest.Builder setParentBytes(ByteString value)

Required. The project and location in which the live 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
CreateLiveSessionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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