public
final
class
Size
extends
GeneratedMessageV3
implements
SizeOrBuilder
Represents the dimensions of an AdUnit, LineItem, or Creative.
Protobuf type google.ads.admanager.v1.Size
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SizeImplements
SizeOrBuilderStatic Fields
HEIGHT_FIELD_NUMBER
public
static
final
int
HEIGHT_FIELD_NUMBER
SIZE_TYPE_FIELD_NUMBER
public
static
final
int
SIZE_TYPE_FIELD_NUMBER
WIDTH_FIELD_NUMBER
public
static
final
int
WIDTH_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Size
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Size
.
Builder
newBuilder
()
newBuilder(Size prototype)
public
static
Size
.
Builder
newBuilder
(
Size
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Size
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Size
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Size
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Size
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Size
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Size
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Size
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Size
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Size
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Size
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Size
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Size
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Size>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getDefaultInstanceForType()
public
Size
getDefaultInstanceForType
()
getHeight()
public
int
getHeight
()
Required. The height of the Creative , AdUnit , or LineItem .
int32 height = 2 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public
Parser<Size>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getSizeType()
public
SizeTypeEnum
.
SizeType
getSizeType
()
Required. The SizeType of the Creative , AdUnit , or LineItem .
.google.ads.admanager.v1.SizeTypeEnum.SizeType size_type = 3 [(.google.api.field_behavior) = REQUIRED];
getSizeTypeValue()
public
int
getSizeTypeValue
()
Required. The SizeType of the Creative , AdUnit , or LineItem .
.google.ads.admanager.v1.SizeTypeEnum.SizeType size_type = 3 [(.google.api.field_behavior) = REQUIRED];
getWidth()
public
int
getWidth
()
Required. The width of the Creative , AdUnit , or LineItem .
int32 width = 1 [(.google.api.field_behavior) = REQUIRED];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Size
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Size
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Size
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)