batchedField = $batchedField; } /** * @return string */ public function getBatchedField() { return $this->batchedField; } /** * A list of the fields in the request message. Two requests will be batched * together only if the values of every field specified in * `request_discriminator_fields` is equal between the two requests. * * @param string[] $discriminatorFields */ public function setDiscriminatorFields($discriminatorFields) { $this->discriminatorFields = $discriminatorFields; } /** * @return string[] */ public function getDiscriminatorFields() { return $this->discriminatorFields; } /** * Optional. When present, indicates the field in the response message to be * used to demultiplex the response into multiple response messages, in * correspondence with the multiple request messages originally batched * together. * * @param string $subresponseField */ public function setSubresponseField($subresponseField) { $this->subresponseField = $subresponseField; } /** * @return string */ public function getSubresponseField() { return $this->subresponseField; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BatchingDescriptorProto::class, 'Google_Service_ServiceConsumerManagement_BatchingDescriptorProto');