Class LiveSession.GamSettings.Builder (0.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LiveSession.GamSettings build()
Returns
TypeDescription
LiveSession.GamSettings

buildPartial()

public LiveSession.GamSettings buildPartial()
Returns
TypeDescription
LiveSession.GamSettings

clear()

public LiveSession.GamSettings.Builder clear()
Returns
TypeDescription
LiveSession.GamSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public LiveSession.GamSettings.Builder clone()
Returns
TypeDescription
LiveSession.GamSettings.Builder
Overrides

getDefaultInstanceForType()

public LiveSession.GamSettings getDefaultInstanceForType()
Returns
TypeDescription
LiveSession.GamSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStreamId()

public String getStreamId()

Required. The stream ID generated by Ad Manager.

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for streamId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LiveSession.GamSettings other)

public LiveSession.GamSettings.Builder mergeFrom(LiveSession.GamSettings other)
Parameter
NameDescription
otherLiveSession.GamSettings
Returns
TypeDescription
LiveSession.GamSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The streamId to set.

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

The bytes for streamId to set.

Returns
TypeDescription
LiveSession.GamSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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