Class ExistingLineItemList (0.62.0)

public final class ExistingLineItemList extends GeneratedMessage implements ExistingLineItemListOrBuilder

ExistingLineItemList is a wrapper around a repeated field of string representing a LineItem resource name.

Protobuf type google.ads.admanager.v1.ExistingLineItemList

Static Fields

LINE_ITEMS_FIELD_NUMBER

public static final int LINE_ITEMS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExistingLineItemList getDefaultInstance()
Returns
Type Description
ExistingLineItemList

getDescriptor()

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

newBuilder()

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

newBuilder(ExistingLineItemList prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExistingLineItemList getDefaultInstanceForType()
Returns
Type Description
ExistingLineItemList

getLineItems(int index)

public String getLineItems(int index)

Required. The list of LineItem resource names to be forecasted. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string line_items = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The lineItems at the given index.

getLineItemsBytes(int index)

public ByteString getLineItemsBytes(int index)

Required. The list of LineItem resource names to be forecasted. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string line_items = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the lineItems at the given index.

getLineItemsCount()

public int getLineItemsCount()

Required. The list of LineItem resource names to be forecasted. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string line_items = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of lineItems.

getLineItemsList()

public ProtocolStringList getLineItemsList()

Required. The list of LineItem resource names to be forecasted. Format: networks/{network_code}/lineItems/{line_item_id}

repeated string line_items = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the lineItems.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ExistingLineItemList.Builder newBuilderForType()
Returns
Type Description
ExistingLineItemList.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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