Class BatchUpdateOrdersRequest (0.54.0)

public final class BatchUpdateOrdersRequest extends GeneratedMessage implements BatchUpdateOrdersRequestOrBuilder

Request object for BatchUpdateOrders method.

Protobuf type google.ads.admanager.v1.BatchUpdateOrdersRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchUpdateOrdersRequest getDefaultInstance()
Returns
Type Description
BatchUpdateOrdersRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchUpdateOrdersRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchUpdateOrdersRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateOrdersRequest

getParent()

public String getParent()

Required. The parent resource where Orders will be updated. Format: networks/{network_code} The parent field in the UpdateOrderRequest must match this field.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where Orders will be updated. Format: networks/{network_code} The parent field in the UpdateOrderRequest must match this field.

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

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getRequests(int index)

public UpdateOrderRequest getRequests(int index)

Required. The Order objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateOrderRequest

getRequestsCount()

public int getRequestsCount()

Required. The Order objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<UpdateOrderRequest> getRequestsList()

Required. The Order objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<UpdateOrderRequest>

getRequestsOrBuilder(int index)

public UpdateOrderRequestOrBuilder getRequestsOrBuilder(int index)

Required. The Order objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateOrderRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateOrderRequestOrBuilder> getRequestsOrBuilderList()

Required. The Order objects to update. A maximum of 100 objects can be updated in a batch.

repeated .google.ads.admanager.v1.UpdateOrderRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.UpdateOrderRequestOrBuilder>

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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