Class StaticAdResource (0.21.0)

public final class StaticAdResource extends GeneratedMessageV3 implements StaticAdResourceOrBuilder

Metadata for a static ad resource.

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

Static Fields

CREATIVE_TYPE_FIELD_NUMBER

public static final int CREATIVE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StaticAdResource getDefaultInstance()
Returns
TypeDescription
StaticAdResource

getDescriptor()

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

newBuilder()

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

newBuilder(StaticAdResource prototype)

public static StaticAdResource.Builder newBuilder(StaticAdResource prototype)
Parameter
NameDescription
prototypeStaticAdResource
Returns
TypeDescription
StaticAdResource.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreativeType()

public String getCreativeType()

Describes the MIME type of the ad resource.

string creative_type = 2;

Returns
TypeDescription
String

The creativeType.

getCreativeTypeBytes()

public ByteString getCreativeTypeBytes()

Describes the MIME type of the ad resource.

string creative_type = 2;

Returns
TypeDescription
ByteString

The bytes for creativeType.

getDefaultInstanceForType()

public StaticAdResource getDefaultInstanceForType()
Returns
TypeDescription
StaticAdResource

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

URI to the static file for the ad resource.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI to the static file for the ad resource.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

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 StaticAdResource.Builder newBuilderForType()
Returns
TypeDescription
StaticAdResource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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