public final class LineItemTemplate extends GeneratedMessage implements LineItemTemplateOrBuilder
The LineItemTemplate resource.
Protobuf type google.ads.admanager.v1.LineItemTemplate
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CREATIVE_ROTATION_TYPE_FIELD_NUMBER
public static final int CREATIVE_ROTATION_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEFAULT_TEMPLATE_FIELD_NUMBER
public static final int DEFAULT_TEMPLATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DELIVERY_RATE_TYPE_FIELD_NUMBER
public static final int DELIVERY_RATE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LINE_ITEM_DISPLAY_NAME_FIELD_NUMBER
public static final int LINE_ITEM_DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LINE_ITEM_TYPE_FIELD_NUMBER
public static final int LINE_ITEM_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NOTES_FIELD_NUMBER
public static final int NOTES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ROADBLOCKING_TYPE_FIELD_NUMBER
public static final int ROADBLOCKING_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SAME_ADVERTISER_EXCEPTION_ENABLED_FIELD_NUMBER
public static final int SAME_ADVERTISER_EXCEPTION_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LineItemTemplate getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LineItemTemplate.Builder newBuilder()
newBuilder(LineItemTemplate prototype)
public static LineItemTemplate.Builder newBuilder(LineItemTemplate prototype)
public static LineItemTemplate parseDelimitedFrom(InputStream input)
public static LineItemTemplate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LineItemTemplate parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LineItemTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LineItemTemplate parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LineItemTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LineItemTemplate parseFrom(CodedInputStream input)
public static LineItemTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LineItemTemplate parseFrom(InputStream input)
public static LineItemTemplate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LineItemTemplate parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LineItemTemplate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LineItemTemplate> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCreativeRotationType()
public CreativeRotationTypeEnum.CreativeRotationType getCreativeRotationType()
Required. The default
creative_rotation_type
of a new LineItem.
optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED];
getCreativeRotationTypeValue()
public int getCreativeRotationTypeValue()
Required. The default
creative_rotation_type
of a new LineItem.
optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for creativeRotationType.
|
getDefaultInstanceForType()
public LineItemTemplate getDefaultInstanceForType()
getDefaultTemplate()
public boolean getDefaultTemplate()
Output only. Whether or not the LineItemTemplate represents the default
choices for creating a LineItem. Only
one default LineItemTemplate is allowed per
Network.
optional bool default_template = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The defaultTemplate.
|
getDeliveryRateType()
public LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType getDeliveryRateType()
Required. The default
delivery_rate_type
of a new LineItem.
optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 8 [(.google.api.field_behavior) = REQUIRED];
getDeliveryRateTypeValue()
public int getDeliveryRateTypeValue()
Required. The default
delivery_rate_type
of a new LineItem.
optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for deliveryRateType.
|
getDisplayName()
public String getDisplayName()
Required. Display name of the LineItemTemplate. This attribute has a
maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name of the LineItemTemplate. This attribute has a
maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getLineItemDisplayName()
public String getLineItemDisplayName()
Optional. The default
display_name of a new
LineItem. This attribute has a maximum
length of 127 characters.
optional string line_item_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The lineItemDisplayName.
|
getLineItemDisplayNameBytes()
public ByteString getLineItemDisplayNameBytes()
Optional. The default
display_name of a new
LineItem. This attribute has a maximum
length of 127 characters.
optional string line_item_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for lineItemDisplayName.
|
getLineItemType()
public LineItemTypeEnum.LineItemType getLineItemType()
Required. The default
line_item_type of a new
LineItem.
optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 6 [(.google.api.field_behavior) = REQUIRED];
getLineItemTypeValue()
public int getLineItemTypeValue()
Required. The default
line_item_type of a new
LineItem.
optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for lineItemType.
|
getName()
Identifier. The resource name of the LineItemTemplate.
Format:
networks/{network_code}/lineItemTemplates/{line_item_template_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the LineItemTemplate.
Format:
networks/{network_code}/lineItemTemplates/{line_item_template_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getNotes()
Optional. The default notes of a
new LineItem. This attribute has a
maximum length of 65,535 characters.
optional string notes = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The notes.
|
getNotesBytes()
public ByteString getNotesBytes()
Optional. The default notes of a
new LineItem. This attribute has a
maximum length of 65,535 characters.
optional string notes = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for notes.
|
getParserForType()
public Parser<LineItemTemplate> getParserForType()
Overrides
getRoadblockingType()
public RoadblockingTypeEnum.RoadblockingType getRoadblockingType()
Required. The default
roadblocking_type of
a new LineItem.
optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 9 [(.google.api.field_behavior) = REQUIRED];
getRoadblockingTypeValue()
public int getRoadblockingTypeValue()
Required. The default
roadblocking_type of
a new LineItem.
optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for roadblockingType.
|
getSameAdvertiserExceptionEnabled()
public boolean getSameAdvertiserExceptionEnabled()
Optional. The default value for
same_advertiser_exception_enabled
of a new LineItem.
optional bool same_advertiser_exception_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The sameAdvertiserExceptionEnabled.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasCreativeRotationType()
public boolean hasCreativeRotationType()
Required. The default
creative_rotation_type
of a new LineItem.
optional .google.ads.admanager.v1.CreativeRotationTypeEnum.CreativeRotationType creative_rotation_type = 10 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the creativeRotationType field is set.
|
hasDefaultTemplate()
public boolean hasDefaultTemplate()
Output only. Whether or not the LineItemTemplate represents the default
choices for creating a LineItem. Only
one default LineItemTemplate is allowed per
Network.
optional bool default_template = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the defaultTemplate field is set.
|
hasDeliveryRateType()
public boolean hasDeliveryRateType()
Required. The default
delivery_rate_type
of a new LineItem.
optional .google.ads.admanager.v1.LineItemDeliveryRateTypeEnum.LineItemDeliveryRateType delivery_rate_type = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the deliveryRateType field is set.
|
hasDisplayName()
public boolean hasDisplayName()
Required. Display name of the LineItemTemplate. This attribute has a
maximum length of 255 characters.
optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the displayName field is set.
|
hasLineItemDisplayName()
public boolean hasLineItemDisplayName()
Optional. The default
display_name of a new
LineItem. This attribute has a maximum
length of 127 characters.
optional string line_item_display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the lineItemDisplayName field is set.
|
hasLineItemType()
public boolean hasLineItemType()
Required. The default
line_item_type of a new
LineItem.
optional .google.ads.admanager.v1.LineItemTypeEnum.LineItemType line_item_type = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the lineItemType field is set.
|
hasNotes()
public boolean hasNotes()
Optional. The default notes of a
new LineItem. This attribute has a
maximum length of 65,535 characters.
optional string notes = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the notes field is set.
|
hasRoadblockingType()
public boolean hasRoadblockingType()
Required. The default
roadblocking_type of
a new LineItem.
optional .google.ads.admanager.v1.RoadblockingTypeEnum.RoadblockingType roadblocking_type = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the roadblockingType field is set.
|
hasSameAdvertiserExceptionEnabled()
public boolean hasSameAdvertiserExceptionEnabled()
Optional. The default value for
same_advertiser_exception_enabled
of a new LineItem.
optional bool same_advertiser_exception_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the sameAdvertiserExceptionEnabled field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LineItemTemplate.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LineItemTemplate.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public LineItemTemplate.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides