Class HtmlAdResource (0.15.0)

public final class HtmlAdResource extends GeneratedMessageV3 implements HtmlAdResourceOrBuilder

Metadata for an HTML ad resource.

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

Static Fields

HTML_SOURCE_FIELD_NUMBER

public static final int HTML_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HtmlAdResource getDefaultInstance()
Returns
TypeDescription
HtmlAdResource

getDescriptor()

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

newBuilder()

public static HtmlAdResource.Builder newBuilder()
Returns
TypeDescription
HtmlAdResource.Builder

newBuilder(HtmlAdResource prototype)

public static HtmlAdResource.Builder newBuilder(HtmlAdResource prototype)
Parameter
NameDescription
prototypeHtmlAdResource
Returns
TypeDescription
HtmlAdResource.Builder

parseDelimitedFrom(InputStream input)

public static HtmlAdResource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HtmlAdResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HtmlAdResource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HtmlAdResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HtmlAdResource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HtmlAdResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HtmlAdResource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HtmlAdResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HtmlAdResource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HtmlAdResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HtmlAdResource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HtmlAdResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HtmlAdResource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HtmlAdResource> parser()
Returns
TypeDescription
Parser<HtmlAdResource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HtmlAdResource getDefaultInstanceForType()
Returns
TypeDescription
HtmlAdResource

getHtmlSource()

public String getHtmlSource()

The HTML to display for the ad resource.

string html_source = 1;

Returns
TypeDescription
String

The htmlSource.

getHtmlSourceBytes()

public ByteString getHtmlSourceBytes()

The HTML to display for the ad resource.

string html_source = 1;

Returns
TypeDescription
ByteString

The bytes for htmlSource.

getParserForType()

public Parser<HtmlAdResource> getParserForType()
Returns
TypeDescription
Parser<HtmlAdResource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HtmlAdResource.Builder newBuilderForType()
Returns
TypeDescription
HtmlAdResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HtmlAdResource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HtmlAdResource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HtmlAdResource.Builder toBuilder()
Returns
TypeDescription
HtmlAdResource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException