Class AdTag.Builder (0.4.0)

public static final class AdTag.Builder extends GeneratedMessageV3.Builder<AdTag.Builder> implements AdTagOrBuilder

Metadata of an ad tag.

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

Implements

AdTagOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdTag build()
Returns
TypeDescription
AdTag

buildPartial()

public AdTag buildPartial()
Returns
TypeDescription
AdTag

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AdTag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AdTag.Builder
Overrides

clearUri()

public AdTag.Builder clearUri()

Ad tag URI template.

string uri = 1;

Returns
TypeDescription
AdTag.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AdTag getDefaultInstanceForType()
Returns
TypeDescription
AdTag

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUri()

public String getUri()

Ad tag URI template.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Ad tag URI template.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdTag other)

public AdTag.Builder mergeFrom(AdTag other)
Parameter
NameDescription
otherAdTag
Returns
TypeDescription
AdTag.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AdTag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AdTag.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public AdTag.Builder setUri(String value)

Ad tag URI template.

string uri = 1;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
AdTag.Builder

This builder for chaining.

setUriBytes(ByteString value)

public AdTag.Builder setUriBytes(ByteString value)

Ad tag URI template.

string uri = 1;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
AdTag.Builder

This builder for chaining.