Class IframeAdResource.Builder (0.47.0)

public static final class IframeAdResource.Builder extends GeneratedMessageV3.Builder<IframeAdResource.Builder> implements IframeAdResourceOrBuilder

Metadata for an IFrame ad resource.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IframeAdResource build()
Returns
Type Description
IframeAdResource

buildPartial()

public IframeAdResource buildPartial()
Returns
Type Description
IframeAdResource

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public IframeAdResource.Builder clearUri()

URI source for an IFrame to display for the ad resource.

string uri = 1;

Returns
Type Description
IframeAdResource.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public IframeAdResource getDefaultInstanceForType()
Returns
Type Description
IframeAdResource

getDescriptorForType()

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

getUri()

public String getUri()

URI source for an IFrame to display for the ad resource.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI source for an IFrame to display for the ad resource.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IframeAdResource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public IframeAdResource.Builder setUri(String value)

URI source for an IFrame to display for the ad resource.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
IframeAdResource.Builder

This builder for chaining.

setUriBytes(ByteString value)

public IframeAdResource.Builder setUriBytes(ByteString value)

URI source for an IFrame to display for the ad resource.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
IframeAdResource.Builder

This builder for chaining.