Class IframeAdResource.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IframeAdResource build()
Returns
TypeDescription
IframeAdResource

buildPartial()

public IframeAdResource buildPartial()
Returns
TypeDescription
IframeAdResource

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public IframeAdResource.Builder clearUri()

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

string uri = 1;

Returns
TypeDescription
IframeAdResource.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public IframeAdResource getDefaultInstanceForType()
Returns
TypeDescription
IframeAdResource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUri()

public String getUri()

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

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

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

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(IframeAdResource other)

public IframeAdResource.Builder mergeFrom(IframeAdResource other)
Parameter
NameDescription
otherIframeAdResource
Returns
TypeDescription
IframeAdResource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final IframeAdResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The uri to set.

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

The bytes for uri to set.

Returns
TypeDescription
IframeAdResource.Builder

This builder for chaining.