Class LiveSession.GamSettings.Builder (0.42.0)

public static final class LiveSession.GamSettings.Builder extends GeneratedMessageV3.Builder<LiveSession.GamSettings.Builder> implements LiveSession.GamSettingsOrBuilder

Defines fields related to Google Ad Manager (GAM). This should be set if GAM is being used for ads.

Protobuf type google.cloud.video.stitcher.v1.LiveSession.GamSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LiveSession.GamSettings build()
Returns
Type Description
LiveSession.GamSettings

buildPartial()

public LiveSession.GamSettings buildPartial()
Returns
Type Description
LiveSession.GamSettings

clear()

public LiveSession.GamSettings.Builder clear()
Returns
Type Description
LiveSession.GamSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStreamId()

public LiveSession.GamSettings.Builder clearStreamId()

Required. The stream ID generated by Ad Manager.

string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LiveSession.GamSettings.Builder

This builder for chaining.

clone()

public LiveSession.GamSettings.Builder clone()
Returns
Type Description
LiveSession.GamSettings.Builder
Overrides

getDefaultInstanceForType()

public LiveSession.GamSettings getDefaultInstanceForType()
Returns
Type Description
LiveSession.GamSettings

getDescriptorForType()

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

getStreamId()

public String getStreamId()

Required. The stream ID generated by Ad Manager.

string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The streamId.

getStreamIdBytes()

public ByteString getStreamIdBytes()

Required. The stream ID generated by Ad Manager.

string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for streamId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LiveSession.GamSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStreamId(String value)

public LiveSession.GamSettings.Builder setStreamId(String value)

Required. The stream ID generated by Ad Manager.

string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The streamId to set.

Returns
Type Description
LiveSession.GamSettings.Builder

This builder for chaining.

setStreamIdBytes(ByteString value)

public LiveSession.GamSettings.Builder setStreamIdBytes(ByteString value)

Required. The stream ID generated by Ad Manager.

string stream_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for streamId to set.

Returns
Type Description
LiveSession.GamSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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