public static final class RichMediaStudioChildAssetProperty.Builder extends GeneratedMessage.Builder<RichMediaStudioChildAssetProperty.Builder> implements RichMediaStudioChildAssetPropertyOrBuilderRepresents a child asset in RichMediaStudioCreative.
Protobuf type google.ads.admanager.v1.RichMediaStudioChildAssetProperty
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RichMediaStudioChildAssetProperty.BuilderImplements
RichMediaStudioChildAssetPropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RichMediaStudioChildAssetProperty build()| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty |
|
buildPartial()
public RichMediaStudioChildAssetProperty buildPartial()| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty |
|
clear()
public RichMediaStudioChildAssetProperty.Builder clear()| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
|
clearDisplayName()
public RichMediaStudioChildAssetProperty.Builder clearDisplayName()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 |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
clearHeight()
public RichMediaStudioChildAssetProperty.Builder clearHeight()Output only. Height of the widget in pixels.
optional int32 height = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
clearTotalFileSize()
public RichMediaStudioChildAssetProperty.Builder clearTotalFileSize()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 |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
clearType()
public RichMediaStudioChildAssetProperty.Builder clearType()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 |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
clearUrl()
public RichMediaStudioChildAssetProperty.Builder clearUrl()Output only. The URL of the asset.
optional string url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
clearWidth()
public RichMediaStudioChildAssetProperty.Builder clearWidth()Output only. Width of the widget in pixels.
optional int32 width = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RichMediaStudioChildAssetProperty getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RichMediaStudioChildAssetProperty other)
public RichMediaStudioChildAssetProperty.Builder mergeFrom(RichMediaStudioChildAssetProperty other)| Parameter | |
|---|---|
| Name | Description |
other |
RichMediaStudioChildAssetProperty |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RichMediaStudioChildAssetProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RichMediaStudioChildAssetProperty.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
|
setDisplayName(String value)
public RichMediaStudioChildAssetProperty.Builder setDisplayName(String value)Output only. The name of the asset as known by Rich Media Studio.
optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public RichMediaStudioChildAssetProperty.Builder setDisplayNameBytes(ByteString value)Output only. The name of the asset as known by Rich Media Studio.
optional string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setHeight(int value)
public RichMediaStudioChildAssetProperty.Builder setHeight(int value)Output only. Height of the widget in pixels.
optional int32 height = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe height to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setTotalFileSize(long value)
public RichMediaStudioChildAssetProperty.Builder setTotalFileSize(long value)Output only. The total size of the asset in bytes.
optional int64 total_file_size = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe totalFileSize to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setType(RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType value)
public RichMediaStudioChildAssetProperty.Builder setType(RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType value)Output only. Required file type of the asset.
optional .google.ads.admanager.v1.RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setTypeValue(int value)
public RichMediaStudioChildAssetProperty.Builder setTypeValue(int value)Output only. Required file type of the asset.
optional .google.ads.admanager.v1.RichMediaStudioChildAssetTypeEnum.RichMediaStudioChildAssetType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setUrl(String value)
public RichMediaStudioChildAssetProperty.Builder setUrl(String value)Output only. The URL of the asset.
optional string url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public RichMediaStudioChildAssetProperty.Builder setUrlBytes(ByteString value)Output only. The URL of the asset.
optional string url = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |
setWidth(int value)
public RichMediaStudioChildAssetProperty.Builder setWidth(int value)Output only. Width of the widget in pixels.
optional int32 width = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe width to set. |
| Returns | |
|---|---|
| Type | Description |
RichMediaStudioChildAssetProperty.Builder |
This builder for chaining. |