Class CreateLiveSessionRequest.Builder (0.3.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateLiveSessionRequest build()
Returns
TypeDescription
CreateLiveSessionRequest

buildPartial()

public CreateLiveSessionRequest buildPartial()
Returns
TypeDescription
CreateLiveSessionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateLiveSessionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CreateLiveSessionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateLiveSessionRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateLiveSessionRequest

getDescriptorForType()

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

Whether the liveSession field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateLiveSessionRequest other)

public CreateLiveSessionRequest.Builder mergeFrom(CreateLiveSessionRequest other)
Parameter
NameDescription
otherCreateLiveSessionRequest
Returns
TypeDescription
CreateLiveSessionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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