Class RichMediaStudioChildAssetProperty (0.62.0)

public final class RichMediaStudioChildAssetProperty extends GeneratedMessage implements RichMediaStudioChildAssetPropertyOrBuilder

Represents a child asset in RichMediaStudioCreative.

Protobuf type google.ads.admanager.v1.RichMediaStudioChildAssetProperty

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RichMediaStudioChildAssetProperty

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

HEIGHT_FIELD_NUMBER

public static final int HEIGHT_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_FILE_SIZE_FIELD_NUMBER

public static final int TOTAL_FILE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

WIDTH_FIELD_NUMBER

public static final int WIDTH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RichMediaStudioChildAssetProperty getDefaultInstance()
Returns
Type Description
RichMediaStudioChildAssetProperty

getDescriptor()

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

newBuilder()

public static RichMediaStudioChildAssetProperty.Builder newBuilder()
Returns
Type Description
RichMediaStudioChildAssetProperty.Builder

newBuilder(RichMediaStudioChildAssetProperty prototype)

public static RichMediaStudioChildAssetProperty.Builder newBuilder(RichMediaStudioChildAssetProperty prototype)
Parameter
Name Description
prototype RichMediaStudioChildAssetProperty
Returns
Type Description
RichMediaStudioChildAssetProperty.Builder

parseDelimitedFrom(InputStream input)

public static RichMediaStudioChildAssetProperty parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RichMediaStudioChildAssetProperty parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RichMediaStudioChildAssetProperty parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RichMediaStudioChildAssetProperty parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RichMediaStudioChildAssetProperty parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RichMediaStudioChildAssetProperty parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RichMediaStudioChildAssetProperty parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RichMediaStudioChildAssetProperty parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RichMediaStudioChildAssetProperty parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RichMediaStudioChildAssetProperty parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RichMediaStudioChildAssetProperty parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RichMediaStudioChildAssetProperty parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RichMediaStudioChildAssetProperty
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RichMediaStudioChildAssetProperty> parser()
Returns
Type Description
Parser<RichMediaStudioChildAssetProperty>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RichMediaStudioChildAssetProperty getDefaultInstanceForType()
Returns
Type Description
RichMediaStudioChildAssetProperty

getDisplayName()

public String getDisplayName()

Output only. The name of the asset as known by Rich Media Studio.

optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The name of the asset as known by Rich Media Studio.

optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getHeight()

public int getHeight()

Output only. Height of the widget in pixels.

optional int32 height = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The height.

getParserForType()

public Parser<RichMediaStudioChildAssetProperty> getParserForType()
Returns
Type Description
Parser<RichMediaStudioChildAssetProperty>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalFileSize()

public long getTotalFileSize()

Output only. The total size of the asset in bytes.

optional int64 total_file_size = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalFileSize.

getType()

public RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType getType()

Output only. Required file type of the asset.

optional .google.ads.admanager.v1.RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType

The type.

getTypeValue()

public int getTypeValue()

Output only. Required file type of the asset.

optional .google.ads.admanager.v1.RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUrl()

public String getUrl()

Output only. The URL of the asset.

optional string url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Output only. The URL of the asset.

optional string url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for url.

getWidth()

public int getWidth()

Output only. Width of the widget in pixels.

optional int32 width = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The width.

hasDisplayName()

public boolean hasDisplayName()

Output only. The name of the asset as known by Rich Media Studio.

optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the displayName field is set.

hasHeight()

public boolean hasHeight()

Output only. Height of the widget in pixels.

optional int32 height = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the height field is set.

hasTotalFileSize()

public boolean hasTotalFileSize()

Output only. The total size of the asset in bytes.

optional int64 total_file_size = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the totalFileSize field is set.

hasType()

public boolean hasType()

Output only. Required file type of the asset.

optional .google.ads.admanager.v1.RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the type field is set.

hasUrl()

public boolean hasUrl()

Output only. The URL of the asset.

optional string url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the url field is set.

hasWidth()

public boolean hasWidth()

Output only. Width of the widget in pixels.

optional int32 width = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the width field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RichMediaStudioChildAssetProperty.Builder newBuilderForType()
Returns
Type Description
RichMediaStudioChildAssetProperty.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RichMediaStudioChildAssetProperty.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RichMediaStudioChildAssetProperty.Builder
Overrides

toBuilder()

public RichMediaStudioChildAssetProperty.Builder toBuilder()
Returns
Type Description
RichMediaStudioChildAssetProperty.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException