diff --git a/BigQueryStorage/metadata/V1/Annotations.php b/BigQueryStorage/metadata/V1/Annotations.php index e94a47965444..1201e2f28fdf 100644 --- a/BigQueryStorage/metadata/V1/Annotations.php +++ b/BigQueryStorage/metadata/V1/Annotations.php @@ -15,10 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -2google/cloud/bigquery/storage/v1/annotations.proto google.cloud.bigquery.storage.v1 google/protobuf/descriptor.protoB -$com.google.cloud.bigquery.storage.v1BAnnotationsProtoPZ>cloud.google.com/go/bigquery/storage/apiv1/storagepb;storagepb Google.Cloud.BigQuery.Storage.V1 Google\\Cloud\\BigQuery\\Storage\\V1bproto3' + "\x0A\xC3\x02\x0A2google/cloud/bigquery/storage/v1/annotations.proto\x12 google.cloud.bigquery.storage.v1\x1A google/protobuf/descriptor.protoB\xC0\x01\x0A\$com.google.cloud.bigquery.storage.v1B\x10AnnotationsProtoP\x01Z>cloud.google.com/go/bigquery/storage/apiv1/storagepb;storagepb\xAA\x02 Google.Cloud.BigQuery.Storage.V1\xCA\x02 Google\\Cloud\\BigQuery\\Storage\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/BigQueryStorage/metadata/V1/Arrow.php b/BigQueryStorage/metadata/V1/Arrow.php index a68b00603b48..b3f36d333f99 100644 Binary files a/BigQueryStorage/metadata/V1/Arrow.php and b/BigQueryStorage/metadata/V1/Arrow.php differ diff --git a/BigQueryStorage/metadata/V1/Avro.php b/BigQueryStorage/metadata/V1/Avro.php index 6a5e3518c346..ae9403c293b3 100644 Binary files a/BigQueryStorage/metadata/V1/Avro.php and b/BigQueryStorage/metadata/V1/Avro.php differ diff --git a/BigQueryStorage/metadata/V1/Protobuf.php b/BigQueryStorage/metadata/V1/Protobuf.php index b136e094cddd..655e16fcf808 100644 --- a/BigQueryStorage/metadata/V1/Protobuf.php +++ b/BigQueryStorage/metadata/V1/Protobuf.php @@ -15,14 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -/google/cloud/bigquery/storage/v1/protobuf.proto google.cloud.bigquery.storage.v1 google/protobuf/descriptor.proto"I - ProtoSchema: -proto_descriptor ( 2 .google.protobuf.DescriptorProto"$ - ProtoRows -serialized_rows ( B -$com.google.cloud.bigquery.storage.v1B ProtoBufProtoPZ>cloud.google.com/go/bigquery/storage/apiv1/storagepb;storagepb Google.Cloud.BigQuery.Storage.V1 Google\\Cloud\\BigQuery\\Storage\\V1bproto3' + "\x0A\xAE\x03\x0A/google/cloud/bigquery/storage/v1/protobuf.proto\x12 google.cloud.bigquery.storage.v1\x1A google/protobuf/descriptor.proto\"I\x0A\x0BProtoSchema\x12:\x0A\x10proto_descriptor\x18\x01 \x01(\x0B2 .google.protobuf.DescriptorProto\"\$\x0A\x09ProtoRows\x12\x17\x0A\x0Fserialized_rows\x18\x01 \x03(\x0CB\xBD\x01\x0A\$com.google.cloud.bigquery.storage.v1B\x0DProtoBufProtoP\x01Z>cloud.google.com/go/bigquery/storage/apiv1/storagepb;storagepb\xAA\x02 Google.Cloud.BigQuery.Storage.V1\xCA\x02 Google\\Cloud\\BigQuery\\Storage\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/BigQueryStorage/metadata/V1/Storage.php b/BigQueryStorage/metadata/V1/Storage.php index b6dc4a5859a8..53329d9258c3 100644 Binary files a/BigQueryStorage/metadata/V1/Storage.php and b/BigQueryStorage/metadata/V1/Storage.php differ diff --git a/BigQueryStorage/metadata/V1/Stream.php b/BigQueryStorage/metadata/V1/Stream.php index 1188a7a2d0f0..35a5cd3299b6 100644 Binary files a/BigQueryStorage/metadata/V1/Stream.php and b/BigQueryStorage/metadata/V1/Stream.php differ diff --git a/BigQueryStorage/metadata/V1/Table.php b/BigQueryStorage/metadata/V1/Table.php index 6e188dd225b2..35eca1cfedcb 100644 Binary files a/BigQueryStorage/metadata/V1/Table.php and b/BigQueryStorage/metadata/V1/Table.php differ diff --git a/BigQueryStorage/src/V1/AppendRowsRequest.php b/BigQueryStorage/src/V1/AppendRowsRequest.php index e15cf6931d4f..06309ad6dcbf 100644 --- a/BigQueryStorage/src/V1/AppendRowsRequest.php +++ b/BigQueryStorage/src/V1/AppendRowsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `AppendRows`. @@ -35,8 +35,8 @@ class AppendRowsRequest extends \Google\Protobuf\Internal\Message * An example of a possible sequence of requests with write_stream fields * within a single connection: * * r1: {write_stream: stream_name_1} - * * r2: {write_stream: /*omit*/} - * * r3: {write_stream: /*omit*/} + * * r2: {write_stream: /*omit{@*}} + * * r3: {write_stream: /*omit{@*}} * * r4: {write_stream: stream_name_2} * * r5: {write_stream: stream_name_2} * The destination changed in request_4, so the write_stream field must be @@ -161,8 +161,8 @@ public static function build(string $writeStream): self * An example of a possible sequence of requests with write_stream fields * within a single connection: * * r1: {write_stream: stream_name_1} - * * r2: {write_stream: /*omit*/} - * * r3: {write_stream: /*omit*/} + * * r2: {write_stream: /*omit{@*}} + * * r3: {write_stream: /*omit{@*}} * * r4: {write_stream: stream_name_2} * * r5: {write_stream: stream_name_2} * The destination changed in request_4, so the write_stream field must be @@ -225,8 +225,8 @@ public function __construct($data = NULL) { * An example of a possible sequence of requests with write_stream fields * within a single connection: * * r1: {write_stream: stream_name_1} - * * r2: {write_stream: /*omit*/} - * * r3: {write_stream: /*omit*/} + * * r2: {write_stream: /*omit{@*}} + * * r3: {write_stream: /*omit{@*}} * * r4: {write_stream: stream_name_2} * * r5: {write_stream: stream_name_2} * The destination changed in request_4, so the write_stream field must be @@ -254,8 +254,8 @@ public function getWriteStream() * An example of a possible sequence of requests with write_stream fields * within a single connection: * * r1: {write_stream: stream_name_1} - * * r2: {write_stream: /*omit*/} - * * r3: {write_stream: /*omit*/} + * * r2: {write_stream: /*omit{@*}} + * * r3: {write_stream: /*omit{@*}} * * r4: {write_stream: stream_name_2} * * r5: {write_stream: stream_name_2} * The destination changed in request_4, so the write_stream field must be diff --git a/BigQueryStorage/src/V1/AppendRowsRequest/ArrowData.php b/BigQueryStorage/src/V1/AppendRowsRequest/ArrowData.php index ccdc1e2de208..8569f74e00c1 100644 --- a/BigQueryStorage/src/V1/AppendRowsRequest/ArrowData.php +++ b/BigQueryStorage/src/V1/AppendRowsRequest/ArrowData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1\AppendRowsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Arrow schema and data. @@ -119,4 +119,3 @@ public function setRows($var) } - diff --git a/BigQueryStorage/src/V1/AppendRowsRequest/MissingValueInterpretation.php b/BigQueryStorage/src/V1/AppendRowsRequest/MissingValueInterpretation.php index b0fcd15041ca..402c780095b4 100644 --- a/BigQueryStorage/src/V1/AppendRowsRequest/MissingValueInterpretation.php +++ b/BigQueryStorage/src/V1/AppendRowsRequest/MissingValueInterpretation.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/AppendRowsRequest/ProtoData.php b/BigQueryStorage/src/V1/AppendRowsRequest/ProtoData.php index e20f6dd1a4ce..0be07e61683c 100644 --- a/BigQueryStorage/src/V1/AppendRowsRequest/ProtoData.php +++ b/BigQueryStorage/src/V1/AppendRowsRequest/ProtoData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1\AppendRowsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ProtoData contains the data rows and schema when constructing append @@ -148,4 +148,3 @@ public function setRows($var) } - diff --git a/BigQueryStorage/src/V1/AppendRowsResponse.php b/BigQueryStorage/src/V1/AppendRowsResponse.php index 0b2fff4bf05a..21eb7c1a4efc 100644 --- a/BigQueryStorage/src/V1/AppendRowsResponse.php +++ b/BigQueryStorage/src/V1/AppendRowsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `AppendRows`. @@ -67,7 +67,7 @@ class AppendRowsResponse extends \Google\Protobuf\Internal\Message * If backend detects a schema update, pass it to user so that user can * use it to input new type of message. It will be empty when no schema * updates have occurred. - * @type array<\Google\Cloud\BigQuery\Storage\V1\RowError>|\Google\Protobuf\Internal\RepeatedField $row_errors + * @type \Google\Cloud\BigQuery\Storage\V1\RowError[] $row_errors * If a request failed due to corrupted rows, no rows in the batch will be * appended. The API will return row level error info, so that the caller can * remove the bad rows and retry the request. @@ -215,7 +215,7 @@ public function setUpdatedSchema($var) * remove the bad rows and retry the request. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BigQuery\Storage\V1\RowError> */ public function getRowErrors() { @@ -228,7 +228,7 @@ public function getRowErrors() * remove the bad rows and retry the request. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4; - * @param array<\Google\Cloud\BigQuery\Storage\V1\RowError>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BigQuery\Storage\V1\RowError[] $var * @return $this */ public function setRowErrors($var) diff --git a/BigQueryStorage/src/V1/AppendRowsResponse/AppendResult.php b/BigQueryStorage/src/V1/AppendRowsResponse/AppendResult.php index 8d1550ae5024..7ff2509cb36a 100644 --- a/BigQueryStorage/src/V1/AppendRowsResponse/AppendResult.php +++ b/BigQueryStorage/src/V1/AppendRowsResponse/AppendResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1\AppendRowsResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AppendResult is returned for successful append requests. @@ -108,4 +108,3 @@ public function setOffsetUnwrapped($var) } - diff --git a/BigQueryStorage/src/V1/ArrowRecordBatch.php b/BigQueryStorage/src/V1/ArrowRecordBatch.php index c042bbd8d00f..792e714a6bf9 100644 --- a/BigQueryStorage/src/V1/ArrowRecordBatch.php +++ b/BigQueryStorage/src/V1/ArrowRecordBatch.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Arrow RecordBatch. diff --git a/BigQueryStorage/src/V1/ArrowSchema.php b/BigQueryStorage/src/V1/ArrowSchema.php index 0e081bad2c8d..6f5f9866a54f 100644 --- a/BigQueryStorage/src/V1/ArrowSchema.php +++ b/BigQueryStorage/src/V1/ArrowSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Arrow schema as specified in diff --git a/BigQueryStorage/src/V1/ArrowSerializationOptions.php b/BigQueryStorage/src/V1/ArrowSerializationOptions.php index 1f69a084fbe4..25ce3c41cd6c 100644 --- a/BigQueryStorage/src/V1/ArrowSerializationOptions.php +++ b/BigQueryStorage/src/V1/ArrowSerializationOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains options specific to Arrow Serialization. diff --git a/BigQueryStorage/src/V1/ArrowSerializationOptions/CompressionCodec.php b/BigQueryStorage/src/V1/ArrowSerializationOptions/CompressionCodec.php index 0c17ec24e928..b32b64cba715 100644 --- a/BigQueryStorage/src/V1/ArrowSerializationOptions/CompressionCodec.php +++ b/BigQueryStorage/src/V1/ArrowSerializationOptions/CompressionCodec.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/ArrowSerializationOptions/PicosTimestampPrecision.php b/BigQueryStorage/src/V1/ArrowSerializationOptions/PicosTimestampPrecision.php index f17a127d6ba8..29a0e80ab9a7 100644 --- a/BigQueryStorage/src/V1/ArrowSerializationOptions/PicosTimestampPrecision.php +++ b/BigQueryStorage/src/V1/ArrowSerializationOptions/PicosTimestampPrecision.php @@ -72,4 +72,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/AvroRows.php b/BigQueryStorage/src/V1/AvroRows.php index 6088e8e07754..3f4259a47315 100644 --- a/BigQueryStorage/src/V1/AvroRows.php +++ b/BigQueryStorage/src/V1/AvroRows.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Avro rows. diff --git a/BigQueryStorage/src/V1/AvroSchema.php b/BigQueryStorage/src/V1/AvroSchema.php index 95f031edf513..46229d3779e8 100644 --- a/BigQueryStorage/src/V1/AvroSchema.php +++ b/BigQueryStorage/src/V1/AvroSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Avro schema. diff --git a/BigQueryStorage/src/V1/AvroSerializationOptions.php b/BigQueryStorage/src/V1/AvroSerializationOptions.php index 3981225d7fab..a5d87ce8dd53 100644 --- a/BigQueryStorage/src/V1/AvroSerializationOptions.php +++ b/BigQueryStorage/src/V1/AvroSerializationOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains options specific to Avro Serialization. diff --git a/BigQueryStorage/src/V1/AvroSerializationOptions/PicosTimestampPrecision.php b/BigQueryStorage/src/V1/AvroSerializationOptions/PicosTimestampPrecision.php index 8604d304b622..852bc808c1ff 100644 --- a/BigQueryStorage/src/V1/AvroSerializationOptions/PicosTimestampPrecision.php +++ b/BigQueryStorage/src/V1/AvroSerializationOptions/PicosTimestampPrecision.php @@ -72,4 +72,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/BatchCommitWriteStreamsRequest.php b/BigQueryStorage/src/V1/BatchCommitWriteStreamsRequest.php index 50e1addd8cf0..0e92d0d05a9d 100644 --- a/BigQueryStorage/src/V1/BatchCommitWriteStreamsRequest.php +++ b/BigQueryStorage/src/V1/BatchCommitWriteStreamsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `BatchCommitWriteStreams`. @@ -53,7 +53,7 @@ public static function build(string $parent): self * @type string $parent * Required. Parent table that all the streams should belong to, in the form * of `projects/{project}/datasets/{dataset}/tables/{table}`. - * @type array|\Google\Protobuf\Internal\RepeatedField $write_streams + * @type string[] $write_streams * Required. The group of streams that will be committed atomically. * } */ @@ -94,7 +94,7 @@ public function setParent($var) * Required. The group of streams that will be committed atomically. * * Generated from protobuf field repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getWriteStreams() { @@ -105,7 +105,7 @@ public function getWriteStreams() * Required. The group of streams that will be committed atomically. * * Generated from protobuf field repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setWriteStreams($var) diff --git a/BigQueryStorage/src/V1/BatchCommitWriteStreamsResponse.php b/BigQueryStorage/src/V1/BatchCommitWriteStreamsResponse.php index a3647346dc3b..01cfeb6ae5ae 100644 --- a/BigQueryStorage/src/V1/BatchCommitWriteStreamsResponse.php +++ b/BigQueryStorage/src/V1/BatchCommitWriteStreamsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `BatchCommitWriteStreams`. @@ -44,7 +44,7 @@ class BatchCommitWriteStreamsResponse extends \Google\Protobuf\Internal\Message * The time at which streams were committed in microseconds granularity. * This field will only exist when there are no stream errors. * **Note** if this field is not set, it means the commit was not successful. - * @type array<\Google\Cloud\BigQuery\Storage\V1\StorageError>|\Google\Protobuf\Internal\RepeatedField $stream_errors + * @type \Google\Cloud\BigQuery\Storage\V1\StorageError[] $stream_errors * Stream level error if commit failed. Only streams with error will be in * the list. * If empty, there is no error and all streams are committed successfully. @@ -105,7 +105,7 @@ public function setCommitTime($var) * to atomicity guarantee. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BigQuery\Storage\V1\StorageError> */ public function getStreamErrors() { @@ -120,7 +120,7 @@ public function getStreamErrors() * to atomicity guarantee. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2; - * @param array<\Google\Cloud\BigQuery\Storage\V1\StorageError>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BigQuery\Storage\V1\StorageError[] $var * @return $this */ public function setStreamErrors($var) diff --git a/BigQueryStorage/src/V1/CreateReadSessionRequest.php b/BigQueryStorage/src/V1/CreateReadSessionRequest.php index b27b6f13ecc3..9acbf4524904 100644 --- a/BigQueryStorage/src/V1/CreateReadSessionRequest.php +++ b/BigQueryStorage/src/V1/CreateReadSessionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `CreateReadSession`. diff --git a/BigQueryStorage/src/V1/CreateWriteStreamRequest.php b/BigQueryStorage/src/V1/CreateWriteStreamRequest.php index 5f861cd2387f..7576f9641267 100644 --- a/BigQueryStorage/src/V1/CreateWriteStreamRequest.php +++ b/BigQueryStorage/src/V1/CreateWriteStreamRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `CreateWriteStream`. diff --git a/BigQueryStorage/src/V1/FinalizeWriteStreamRequest.php b/BigQueryStorage/src/V1/FinalizeWriteStreamRequest.php index 320ada00d1f1..5da0ae9c76de 100644 --- a/BigQueryStorage/src/V1/FinalizeWriteStreamRequest.php +++ b/BigQueryStorage/src/V1/FinalizeWriteStreamRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for invoking `FinalizeWriteStream`. diff --git a/BigQueryStorage/src/V1/FinalizeWriteStreamResponse.php b/BigQueryStorage/src/V1/FinalizeWriteStreamResponse.php index 8e028e4fa78a..0e9572c7bf95 100644 --- a/BigQueryStorage/src/V1/FinalizeWriteStreamResponse.php +++ b/BigQueryStorage/src/V1/FinalizeWriteStreamResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `FinalizeWriteStream`. diff --git a/BigQueryStorage/src/V1/FlushRowsRequest.php b/BigQueryStorage/src/V1/FlushRowsRequest.php index c89d647475b8..260f3267b322 100644 --- a/BigQueryStorage/src/V1/FlushRowsRequest.php +++ b/BigQueryStorage/src/V1/FlushRowsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `FlushRows`. diff --git a/BigQueryStorage/src/V1/FlushRowsResponse.php b/BigQueryStorage/src/V1/FlushRowsResponse.php index 2bf496a5d445..eeb13512e3a5 100644 --- a/BigQueryStorage/src/V1/FlushRowsResponse.php +++ b/BigQueryStorage/src/V1/FlushRowsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Respond message for `FlushRows`. diff --git a/BigQueryStorage/src/V1/GetWriteStreamRequest.php b/BigQueryStorage/src/V1/GetWriteStreamRequest.php index 9c23aa9e45f1..f15c60c10723 100644 --- a/BigQueryStorage/src/V1/GetWriteStreamRequest.php +++ b/BigQueryStorage/src/V1/GetWriteStreamRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `GetWriteStreamRequest`. diff --git a/BigQueryStorage/src/V1/ProtoRows.php b/BigQueryStorage/src/V1/ProtoRows.php index da06f296e683..59135967461f 100644 --- a/BigQueryStorage/src/V1/ProtoRows.php +++ b/BigQueryStorage/src/V1/ProtoRows.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.bigquery.storage.v1.ProtoRows @@ -28,7 +28,7 @@ class ProtoRows extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $serialized_rows + * @type string[] $serialized_rows * A sequence of rows serialized as a Protocol Buffer. * See https://developers.google.com/protocol-buffers/docs/overview for more * information on deserializing this field. @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * information on deserializing this field. * * Generated from protobuf field repeated bytes serialized_rows = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSerializedRows() { @@ -58,7 +58,7 @@ public function getSerializedRows() * information on deserializing this field. * * Generated from protobuf field repeated bytes serialized_rows = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSerializedRows($var) diff --git a/BigQueryStorage/src/V1/ProtoSchema.php b/BigQueryStorage/src/V1/ProtoSchema.php index 6f20a5f57e4e..dc21f45f5a56 100644 --- a/BigQueryStorage/src/V1/ProtoSchema.php +++ b/BigQueryStorage/src/V1/ProtoSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ProtoSchema describes the schema of the serialized protocol buffer data rows. diff --git a/BigQueryStorage/src/V1/ReadRowsRequest.php b/BigQueryStorage/src/V1/ReadRowsRequest.php index c8a2f8817402..d36c96d41b71 100644 --- a/BigQueryStorage/src/V1/ReadRowsRequest.php +++ b/BigQueryStorage/src/V1/ReadRowsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `ReadRows`. diff --git a/BigQueryStorage/src/V1/ReadRowsResponse.php b/BigQueryStorage/src/V1/ReadRowsResponse.php index 870309d3a0eb..f49fe2c2d7fd 100644 --- a/BigQueryStorage/src/V1/ReadRowsResponse.php +++ b/BigQueryStorage/src/V1/ReadRowsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response from calling `ReadRows` may include row data, progress and diff --git a/BigQueryStorage/src/V1/ReadSession.php b/BigQueryStorage/src/V1/ReadSession.php index c574355892c3..b0f585b7874a 100644 --- a/BigQueryStorage/src/V1/ReadSession.php +++ b/BigQueryStorage/src/V1/ReadSession.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the ReadSession. @@ -135,7 +135,7 @@ class ReadSession extends \Google\Protobuf\Internal\Message * table. * @type \Google\Cloud\BigQuery\Storage\V1\ReadSession\TableReadOptions $read_options * Optional. Read options for this session (e.g. column selection, filters). - * @type array<\Google\Cloud\BigQuery\Storage\V1\ReadStream>|\Google\Protobuf\Internal\RepeatedField $streams + * @type \Google\Cloud\BigQuery\Storage\V1\ReadStream[] $streams * Output only. A list of streams created with the session. * At least one stream is created with the session. In the future, larger * request_stream_count values *may* result in this list being unpopulated, @@ -438,7 +438,7 @@ public function setReadOptions($var) * instead, which is not yet available. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BigQuery\Storage\V1\ReadStream> */ public function getStreams() { @@ -453,7 +453,7 @@ public function getStreams() * instead, which is not yet available. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\BigQuery\Storage\V1\ReadStream>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BigQuery\Storage\V1\ReadStream[] $var * @return $this */ public function setStreams($var) diff --git a/BigQueryStorage/src/V1/ReadSession/TableModifiers.php b/BigQueryStorage/src/V1/ReadSession/TableModifiers.php index 2b53487781b8..5e8fe27974c0 100644 --- a/BigQueryStorage/src/V1/ReadSession/TableModifiers.php +++ b/BigQueryStorage/src/V1/ReadSession/TableModifiers.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1\ReadSession; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Additional attributes when reading a table. @@ -75,4 +75,3 @@ public function setSnapshotTime($var) } - diff --git a/BigQueryStorage/src/V1/ReadSession/TableReadOptions.php b/BigQueryStorage/src/V1/ReadSession/TableReadOptions.php index 148f74935844..4f4d0257a3b0 100644 --- a/BigQueryStorage/src/V1/ReadSession/TableReadOptions.php +++ b/BigQueryStorage/src/V1/ReadSession/TableReadOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1\ReadSession; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options dictating how we read a table. @@ -98,7 +98,7 @@ class TableReadOptions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $selected_fields + * @type string[] $selected_fields * Optional. The names of the fields in the table to be returned. If no * field names are specified, then all fields in the table are returned. * Nested fields -- the child elements of a STRUCT field -- can be selected @@ -210,7 +210,7 @@ public function __construct($data = NULL) { * specified in this list. * * Generated from protobuf field repeated string selected_fields = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSelectedFields() { @@ -259,7 +259,7 @@ public function getSelectedFields() * specified in this list. * * Generated from protobuf field repeated string selected_fields = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSelectedFields($var) @@ -466,4 +466,3 @@ public function getOutputFormatSerializationOptions() } - diff --git a/BigQueryStorage/src/V1/ReadSession/TableReadOptions/ResponseCompressionCodec.php b/BigQueryStorage/src/V1/ReadSession/TableReadOptions/ResponseCompressionCodec.php index 3f536199f4e2..1859e5878b39 100644 --- a/BigQueryStorage/src/V1/ReadSession/TableReadOptions/ResponseCompressionCodec.php +++ b/BigQueryStorage/src/V1/ReadSession/TableReadOptions/ResponseCompressionCodec.php @@ -58,4 +58,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/ReadStream.php b/BigQueryStorage/src/V1/ReadStream.php index c2f22fa51496..c8fc31bb6496 100644 --- a/BigQueryStorage/src/V1/ReadStream.php +++ b/BigQueryStorage/src/V1/ReadStream.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about a single stream that gets data out of the storage system. diff --git a/BigQueryStorage/src/V1/RowError.php b/BigQueryStorage/src/V1/RowError.php index 123eae533c94..955953ea2ffa 100644 --- a/BigQueryStorage/src/V1/RowError.php +++ b/BigQueryStorage/src/V1/RowError.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The message that presents row level error info in a request. diff --git a/BigQueryStorage/src/V1/RowError/RowErrorCode.php b/BigQueryStorage/src/V1/RowError/RowErrorCode.php index 71e0b9961fad..ff92a25fe952 100644 --- a/BigQueryStorage/src/V1/RowError/RowErrorCode.php +++ b/BigQueryStorage/src/V1/RowError/RowErrorCode.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/SplitReadStreamRequest.php b/BigQueryStorage/src/V1/SplitReadStreamRequest.php index 7536ed18b71f..01ab892a64b7 100644 --- a/BigQueryStorage/src/V1/SplitReadStreamRequest.php +++ b/BigQueryStorage/src/V1/SplitReadStreamRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `SplitReadStream`. diff --git a/BigQueryStorage/src/V1/SplitReadStreamResponse.php b/BigQueryStorage/src/V1/SplitReadStreamResponse.php index 272562b4ea98..c50e2e479971 100644 --- a/BigQueryStorage/src/V1/SplitReadStreamResponse.php +++ b/BigQueryStorage/src/V1/SplitReadStreamResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `SplitReadStream`. diff --git a/BigQueryStorage/src/V1/StorageError.php b/BigQueryStorage/src/V1/StorageError.php index c5d4423b5b73..f9a706a3fc96 100644 --- a/BigQueryStorage/src/V1/StorageError.php +++ b/BigQueryStorage/src/V1/StorageError.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Structured custom BigQuery Storage error message. The error can be attached diff --git a/BigQueryStorage/src/V1/StorageError/StorageErrorCode.php b/BigQueryStorage/src/V1/StorageError/StorageErrorCode.php index 41ab9e509526..345644145ca7 100644 --- a/BigQueryStorage/src/V1/StorageError/StorageErrorCode.php +++ b/BigQueryStorage/src/V1/StorageError/StorageErrorCode.php @@ -149,4 +149,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/StreamStats.php b/BigQueryStorage/src/V1/StreamStats.php index 595b148d28d7..e6bad4c17a87 100644 --- a/BigQueryStorage/src/V1/StreamStats.php +++ b/BigQueryStorage/src/V1/StreamStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Estimated stream statistics for a given read Stream. diff --git a/BigQueryStorage/src/V1/StreamStats/Progress.php b/BigQueryStorage/src/V1/StreamStats/Progress.php index f873dfe0e663..b51dc198fc26 100644 --- a/BigQueryStorage/src/V1/StreamStats/Progress.php +++ b/BigQueryStorage/src/V1/StreamStats/Progress.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1\StreamStats; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.bigquery.storage.v1.StreamStats.Progress @@ -137,4 +137,3 @@ public function setAtResponseEnd($var) } - diff --git a/BigQueryStorage/src/V1/TableFieldSchema.php b/BigQueryStorage/src/V1/TableFieldSchema.php index 1a13d706d25c..350a1c329842 100644 --- a/BigQueryStorage/src/V1/TableFieldSchema.php +++ b/BigQueryStorage/src/V1/TableFieldSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * TableFieldSchema defines a single field/column within a table schema. @@ -138,7 +138,7 @@ class TableFieldSchema extends \Google\Protobuf\Internal\Message * Required. The field data type. * @type int $mode * Optional. The field mode. The default value is NULLABLE. - * @type array<\Google\Cloud\BigQuery\Storage\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\BigQuery\Storage\V1\TableFieldSchema[] $fields * Optional. Describes the nested schema fields if the type property is set to * STRUCT. * @type string $description @@ -288,7 +288,7 @@ public function setMode($var) * STRUCT. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BigQuery\Storage\V1\TableFieldSchema> */ public function getFields() { @@ -300,7 +300,7 @@ public function getFields() * STRUCT. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\BigQuery\Storage\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BigQuery\Storage\V1\TableFieldSchema[] $var * @return $this */ public function setFields($var) diff --git a/BigQueryStorage/src/V1/TableFieldSchema/FieldElementType.php b/BigQueryStorage/src/V1/TableFieldSchema/FieldElementType.php index 7d13cb7e167f..809b1016dfb5 100644 --- a/BigQueryStorage/src/V1/TableFieldSchema/FieldElementType.php +++ b/BigQueryStorage/src/V1/TableFieldSchema/FieldElementType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1\TableFieldSchema; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the type of a field element. @@ -65,4 +65,3 @@ public function setType($var) } - diff --git a/BigQueryStorage/src/V1/TableFieldSchema/Mode.php b/BigQueryStorage/src/V1/TableFieldSchema/Mode.php index 33961fbb98c2..63488bd93973 100644 --- a/BigQueryStorage/src/V1/TableFieldSchema/Mode.php +++ b/BigQueryStorage/src/V1/TableFieldSchema/Mode.php @@ -58,4 +58,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/TableFieldSchema/Type.php b/BigQueryStorage/src/V1/TableFieldSchema/Type.php index 0cd6cfbf2c54..bf05cfc40023 100644 --- a/BigQueryStorage/src/V1/TableFieldSchema/Type.php +++ b/BigQueryStorage/src/V1/TableFieldSchema/Type.php @@ -155,4 +155,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/TableSchema.php b/BigQueryStorage/src/V1/TableSchema.php index 8aaba43df1d9..015763ccaee8 100644 --- a/BigQueryStorage/src/V1/TableSchema.php +++ b/BigQueryStorage/src/V1/TableSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Schema of a table. This schema is a subset of @@ -30,7 +30,7 @@ class TableSchema extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\BigQuery\Storage\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\BigQuery\Storage\V1\TableFieldSchema[] $fields * Describes the fields in a table. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * Describes the fields in a table. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BigQuery\Storage\V1\TableFieldSchema> */ public function getFields() { @@ -54,7 +54,7 @@ public function getFields() * Describes the fields in a table. * * Generated from protobuf field repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; - * @param array<\Google\Cloud\BigQuery\Storage\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BigQuery\Storage\V1\TableFieldSchema[] $var * @return $this */ public function setFields($var) diff --git a/BigQueryStorage/src/V1/ThrottleState.php b/BigQueryStorage/src/V1/ThrottleState.php index 2680abd3dee0..415b26639acb 100644 --- a/BigQueryStorage/src/V1/ThrottleState.php +++ b/BigQueryStorage/src/V1/ThrottleState.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information on if the current connection is being throttled. diff --git a/BigQueryStorage/src/V1/WriteStream.php b/BigQueryStorage/src/V1/WriteStream.php index 7cc6c85e9317..520d82efd76a 100644 --- a/BigQueryStorage/src/V1/WriteStream.php +++ b/BigQueryStorage/src/V1/WriteStream.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BigQuery\Storage\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about a single stream that gets data inside the storage system. diff --git a/BigQueryStorage/src/V1/WriteStream/Type.php b/BigQueryStorage/src/V1/WriteStream/Type.php index b201fc49061c..180141b213cb 100644 --- a/BigQueryStorage/src/V1/WriteStream/Type.php +++ b/BigQueryStorage/src/V1/WriteStream/Type.php @@ -67,4 +67,3 @@ public static function value($name) } } - diff --git a/BigQueryStorage/src/V1/WriteStream/WriteMode.php b/BigQueryStorage/src/V1/WriteStream/WriteMode.php index 5a35d406b144..2a3355379e36 100644 --- a/BigQueryStorage/src/V1/WriteStream/WriteMode.php +++ b/BigQueryStorage/src/V1/WriteStream/WriteMode.php @@ -53,4 +53,3 @@ public static function value($name) } } - diff --git a/Bigtable/metadata/Admin/V2/BigtableInstanceAdmin.php b/Bigtable/metadata/Admin/V2/BigtableInstanceAdmin.php index da2a695c5c36..51a2dba513a4 100644 Binary files a/Bigtable/metadata/Admin/V2/BigtableInstanceAdmin.php and b/Bigtable/metadata/Admin/V2/BigtableInstanceAdmin.php differ diff --git a/Bigtable/metadata/Admin/V2/BigtableTableAdmin.php b/Bigtable/metadata/Admin/V2/BigtableTableAdmin.php index 4fe42a3e98c9..782e00f9ead5 100644 Binary files a/Bigtable/metadata/Admin/V2/BigtableTableAdmin.php and b/Bigtable/metadata/Admin/V2/BigtableTableAdmin.php differ diff --git a/Bigtable/metadata/Admin/V2/Common.php b/Bigtable/metadata/Admin/V2/Common.php index 3fe1a1d11e7f..1650cd3fe290 100644 Binary files a/Bigtable/metadata/Admin/V2/Common.php and b/Bigtable/metadata/Admin/V2/Common.php differ diff --git a/Bigtable/metadata/Admin/V2/Instance.php b/Bigtable/metadata/Admin/V2/Instance.php index b5fad509e8e9..6c968ae0011c 100644 Binary files a/Bigtable/metadata/Admin/V2/Instance.php and b/Bigtable/metadata/Admin/V2/Instance.php differ diff --git a/Bigtable/metadata/Admin/V2/Table.php b/Bigtable/metadata/Admin/V2/Table.php index 280f2061a9d8..c765dbf15a86 100644 Binary files a/Bigtable/metadata/Admin/V2/Table.php and b/Bigtable/metadata/Admin/V2/Table.php differ diff --git a/Bigtable/metadata/Admin/V2/Types.php b/Bigtable/metadata/Admin/V2/Types.php index cdcfa30de255..544c640ab6c3 100644 Binary files a/Bigtable/metadata/Admin/V2/Types.php and b/Bigtable/metadata/Admin/V2/Types.php differ diff --git a/Bigtable/metadata/V2/Bigtable.php b/Bigtable/metadata/V2/Bigtable.php index 0caf61533537..eff71ec7cc0b 100644 Binary files a/Bigtable/metadata/V2/Bigtable.php and b/Bigtable/metadata/V2/Bigtable.php differ diff --git a/Bigtable/metadata/V2/Data.php b/Bigtable/metadata/V2/Data.php index 7b69573eed4b..f717d8f3ddbb 100644 Binary files a/Bigtable/metadata/V2/Data.php and b/Bigtable/metadata/V2/Data.php differ diff --git a/Bigtable/metadata/V2/FeatureFlags.php b/Bigtable/metadata/V2/FeatureFlags.php index 9f13f71f82c0..e61f0dfaca92 100644 --- a/Bigtable/metadata/V2/FeatureFlags.php +++ b/Bigtable/metadata/V2/FeatureFlags.php @@ -15,23 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -&google/bigtable/v2/feature_flags.protogoogle.bigtable.v2" - FeatureFlags - reverse_scans ( -mutate_rows_rate_limit ( -mutate_rows_rate_limit2 (" -last_scanned_row_responses ( -routing_cookie ( - -retry_info (# -client_side_metrics_enabled ( -traffic_director_enabled ( -direct_access_requested - ( - peer_info (B -com.google.bigtable.v2BFeatureFlagsProtoPZ8cloud.google.com/go/bigtable/apiv2/bigtablepb;bigtablepbGoogle.Cloud.Bigtable.V2Google\\Cloud\\Bigtable\\V2Google::Cloud::Bigtable::V2bproto3' + "\x0A\xB6\x04\x0A&google/bigtable/v2/feature_flags.proto\x12\x12google.bigtable.v2\"\xB1\x02\x0A\x0CFeatureFlags\x12\x15\x0A\x0Dreverse_scans\x18\x01 \x01(\x08\x12\x1E\x0A\x16mutate_rows_rate_limit\x18\x03 \x01(\x08\x12\x1F\x0A\x17mutate_rows_rate_limit2\x18\x05 \x01(\x08\x12\"\x0A\x1Alast_scanned_row_responses\x18\x04 \x01(\x08\x12\x16\x0A\x0Erouting_cookie\x18\x06 \x01(\x08\x12\x12\x0A\x0Aretry_info\x18\x07 \x01(\x08\x12#\x0A\x1Bclient_side_metrics_enabled\x18\x08 \x01(\x08\x12 \x0A\x18traffic_director_enabled\x18\x09 \x01(\x08\x12\x1F\x0A\x17direct_access_requested\x18\x0A \x01(\x08\x12\x11\x0A\x09peer_info\x18\x0B \x01(\x08B\xBB\x01\x0A\x16com.google.bigtable.v2B\x11FeatureFlagsProtoP\x01Z8cloud.google.com/go/bigtable/apiv2/bigtablepb;bigtablepb\xAA\x02\x18Google.Cloud.Bigtable.V2\xCA\x02\x18Google\\Cloud\\Bigtable\\V2\xEA\x02\x1BGoogle::Cloud::Bigtable::V2b\x06proto3" , true); static::$is_initialized = true; diff --git a/Bigtable/metadata/V2/PeerInfo.php b/Bigtable/metadata/V2/PeerInfo.php index 50064ca78550..87f25f93fd89 100644 Binary files a/Bigtable/metadata/V2/PeerInfo.php and b/Bigtable/metadata/V2/PeerInfo.php differ diff --git a/Bigtable/metadata/V2/RequestStats.php b/Bigtable/metadata/V2/RequestStats.php index e0ba5ca1e11e..861dbd204c88 100644 Binary files a/Bigtable/metadata/V2/RequestStats.php and b/Bigtable/metadata/V2/RequestStats.php differ diff --git a/Bigtable/metadata/V2/ResponseParams.php b/Bigtable/metadata/V2/ResponseParams.php index f8a7971efdb1..3aa59f156669 100644 Binary files a/Bigtable/metadata/V2/ResponseParams.php and b/Bigtable/metadata/V2/ResponseParams.php differ diff --git a/Bigtable/metadata/V2/Types.php b/Bigtable/metadata/V2/Types.php index 0a03c370ec01..22732f7abedd 100644 Binary files a/Bigtable/metadata/V2/Types.php and b/Bigtable/metadata/V2/Types.php differ diff --git a/Bigtable/src/Admin/V2/AppProfile.php b/Bigtable/src/Admin/V2/AppProfile.php index 1a0d5a021746..44f8716f61c4 100644 --- a/Bigtable/src/Admin/V2/AppProfile.php +++ b/Bigtable/src/Admin/V2/AppProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A configuration object describing how Cloud Bigtable should treat traffic diff --git a/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly.php b/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly.php index ece2754a4581..7649f858de25 100644 --- a/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly.php +++ b/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\AppProfile; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Data Boost is a serverless compute capability that lets you run @@ -79,6 +79,3 @@ public function setComputeBillingOwner($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DataBoostIsolationReadOnly::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_DataBoostIsolationReadOnly::class); - diff --git a/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly/ComputeBillingOwner.php b/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly/ComputeBillingOwner.php index 7da3c3942452..839958b1b4ec 100644 --- a/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly/ComputeBillingOwner.php +++ b/Bigtable/src/Admin/V2/AppProfile/DataBoostIsolationReadOnly/ComputeBillingOwner.php @@ -55,6 +55,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ComputeBillingOwner::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_DataBoostIsolationReadOnly_ComputeBillingOwner::class); - diff --git a/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny.php b/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny.php index 455a007dbf2b..da58d84965e7 100644 --- a/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny.php +++ b/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\AppProfile; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Read/write requests are routed to the nearest cluster in the instance, and @@ -34,7 +34,7 @@ class MultiClusterRoutingUseAny extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $cluster_ids + * @type string[] $cluster_ids * The set of clusters to route to. The order is ignored; clusters will be * tried in order of distance. If left empty, all clusters are eligible. * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny\RowAffinity $row_affinity @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * tried in order of distance. If left empty, all clusters are eligible. * * Generated from protobuf field repeated string cluster_ids = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getClusterIds() { @@ -64,7 +64,7 @@ public function getClusterIds() * tried in order of distance. If left empty, all clusters are eligible. * * Generated from protobuf field repeated string cluster_ids = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setClusterIds($var) @@ -118,6 +118,3 @@ public function getAffinity() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MultiClusterRoutingUseAny::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_MultiClusterRoutingUseAny::class); - diff --git a/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny/RowAffinity.php b/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny/RowAffinity.php index f553b0a42fad..8204201d7237 100644 --- a/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny/RowAffinity.php +++ b/Bigtable/src/Admin/V2/AppProfile/MultiClusterRoutingUseAny/RowAffinity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\AppProfile\MultiClusterRoutingUseAny; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * If enabled, Bigtable will route the request based on the row key of the @@ -39,6 +39,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RowAffinity::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_MultiClusterRoutingUseAny_RowAffinity::class); - diff --git a/Bigtable/src/Admin/V2/AppProfile/Priority.php b/Bigtable/src/Admin/V2/AppProfile/Priority.php index df376e17c64e..fc95d4cbd0eb 100644 --- a/Bigtable/src/Admin/V2/AppProfile/Priority.php +++ b/Bigtable/src/Admin/V2/AppProfile/Priority.php @@ -62,6 +62,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Priority::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_Priority::class); - diff --git a/Bigtable/src/Admin/V2/AppProfile/SingleClusterRouting.php b/Bigtable/src/Admin/V2/AppProfile/SingleClusterRouting.php index 5bd27b02ed0b..12ae6eb0923b 100644 --- a/Bigtable/src/Admin/V2/AppProfile/SingleClusterRouting.php +++ b/Bigtable/src/Admin/V2/AppProfile/SingleClusterRouting.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\AppProfile; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Unconditionally routes all read/write requests to a specific cluster. @@ -109,6 +109,3 @@ public function setAllowTransactionalWrites($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SingleClusterRouting::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_SingleClusterRouting::class); - diff --git a/Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php b/Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php index 3638ebc75214..f89709f2c423 100644 --- a/Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php +++ b/Bigtable/src/Admin/V2/AppProfile/StandardIsolation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\AppProfile; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Standard options for isolating this app profile's traffic from other use @@ -66,6 +66,3 @@ public function setPriority($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(StandardIsolation::class, \Google\Cloud\Bigtable\Admin\V2\AppProfile_StandardIsolation::class); - diff --git a/Bigtable/src/Admin/V2/AuthorizedView.php b/Bigtable/src/Admin/V2/AuthorizedView.php index a5533981fbc1..e0cbcf28c5ad 100644 --- a/Bigtable/src/Admin/V2/AuthorizedView.php +++ b/Bigtable/src/Admin/V2/AuthorizedView.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AuthorizedViews represent subsets of a particular Cloud Bigtable table. Users diff --git a/Bigtable/src/Admin/V2/AuthorizedView/FamilySubsets.php b/Bigtable/src/Admin/V2/AuthorizedView/FamilySubsets.php index 3a6359fca96d..27732e4ca766 100644 --- a/Bigtable/src/Admin/V2/AuthorizedView/FamilySubsets.php +++ b/Bigtable/src/Admin/V2/AuthorizedView/FamilySubsets.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\AuthorizedView; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Subsets of a column family that are included in this AuthorizedView. @@ -38,9 +38,9 @@ class FamilySubsets extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $qualifiers + * @type string[] $qualifiers * Individual exact column qualifiers to be included in the AuthorizedView. - * @type array|\Google\Protobuf\Internal\RepeatedField $qualifier_prefixes + * @type string[] $qualifier_prefixes * Prefixes for qualifiers to be included in the AuthorizedView. Every * qualifier starting with one of these prefixes is included in the * AuthorizedView. To provide access to all qualifiers, include the empty @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * Individual exact column qualifiers to be included in the AuthorizedView. * * Generated from protobuf field repeated bytes qualifiers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getQualifiers() { @@ -68,7 +68,7 @@ public function getQualifiers() * Individual exact column qualifiers to be included in the AuthorizedView. * * Generated from protobuf field repeated bytes qualifiers = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setQualifiers($var) @@ -87,7 +87,7 @@ public function setQualifiers($var) * (""). * * Generated from protobuf field repeated bytes qualifier_prefixes = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getQualifierPrefixes() { @@ -102,7 +102,7 @@ public function getQualifierPrefixes() * (""). * * Generated from protobuf field repeated bytes qualifier_prefixes = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setQualifierPrefixes($var) @@ -115,6 +115,3 @@ public function setQualifierPrefixes($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FamilySubsets::class, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView_FamilySubsets::class); - diff --git a/Bigtable/src/Admin/V2/AuthorizedView/ResponseView.php b/Bigtable/src/Admin/V2/AuthorizedView/ResponseView.php index de81a7c072d4..3f695a9ad555 100644 --- a/Bigtable/src/Admin/V2/AuthorizedView/ResponseView.php +++ b/Bigtable/src/Admin/V2/AuthorizedView/ResponseView.php @@ -67,6 +67,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponseView::class, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView_ResponseView::class); - diff --git a/Bigtable/src/Admin/V2/AuthorizedView/SubsetView.php b/Bigtable/src/Admin/V2/AuthorizedView/SubsetView.php index e20712a5b644..1daea5adaf19 100644 --- a/Bigtable/src/Admin/V2/AuthorizedView/SubsetView.php +++ b/Bigtable/src/Admin/V2/AuthorizedView/SubsetView.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\AuthorizedView; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a simple AuthorizedView that is a subset of the underlying Table. @@ -36,7 +36,7 @@ class SubsetView extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $row_prefixes + * @type string[] $row_prefixes * Row prefixes to be included in the AuthorizedView. * To provide access to all rows, include the empty string as a prefix (""). * @type array|\Google\Protobuf\Internal\MapField $family_subsets @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * To provide access to all rows, include the empty string as a prefix (""). * * Generated from protobuf field repeated bytes row_prefixes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRowPrefixes() { @@ -66,7 +66,7 @@ public function getRowPrefixes() * To provide access to all rows, include the empty string as a prefix (""). * * Generated from protobuf field repeated bytes row_prefixes = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRowPrefixes($var) @@ -107,6 +107,3 @@ public function setFamilySubsets($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SubsetView::class, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView_SubsetView::class); - diff --git a/Bigtable/src/Admin/V2/AutoscalingLimits.php b/Bigtable/src/Admin/V2/AutoscalingLimits.php index 87c9350253d9..e492e9555856 100644 --- a/Bigtable/src/Admin/V2/AutoscalingLimits.php +++ b/Bigtable/src/Admin/V2/AutoscalingLimits.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Limits for the number of nodes a Cluster can autoscale up/down to. diff --git a/Bigtable/src/Admin/V2/AutoscalingTargets.php b/Bigtable/src/Admin/V2/AutoscalingTargets.php index 4825251531fe..533ef12a6549 100644 --- a/Bigtable/src/Admin/V2/AutoscalingTargets.php +++ b/Bigtable/src/Admin/V2/AutoscalingTargets.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The Autoscaling targets for a Cluster. These determine the recommended nodes. diff --git a/Bigtable/src/Admin/V2/Backup.php b/Bigtable/src/Admin/V2/Backup.php index f5dc03ee44e3..e615febf1f43 100644 --- a/Bigtable/src/Admin/V2/Backup.php +++ b/Bigtable/src/Admin/V2/Backup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A backup of a Cloud Bigtable table. diff --git a/Bigtable/src/Admin/V2/Backup/BackupType.php b/Bigtable/src/Admin/V2/Backup/BackupType.php index cf2244ea9b7e..667637049b85 100644 --- a/Bigtable/src/Admin/V2/Backup/BackupType.php +++ b/Bigtable/src/Admin/V2/Backup/BackupType.php @@ -64,6 +64,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BackupType::class, \Google\Cloud\Bigtable\Admin\V2\Backup_BackupType::class); - diff --git a/Bigtable/src/Admin/V2/Backup/State.php b/Bigtable/src/Admin/V2/Backup/State.php index 1e7867d2bd8a..35028722cc23 100644 --- a/Bigtable/src/Admin/V2/Backup/State.php +++ b/Bigtable/src/Admin/V2/Backup/State.php @@ -60,6 +60,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Backup_State::class); - diff --git a/Bigtable/src/Admin/V2/BackupInfo.php b/Bigtable/src/Admin/V2/BackupInfo.php index a9680225f63e..87930a9c2158 100644 --- a/Bigtable/src/Admin/V2/BackupInfo.php +++ b/Bigtable/src/Admin/V2/BackupInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about a backup. diff --git a/Bigtable/src/Admin/V2/ChangeStreamConfig.php b/Bigtable/src/Admin/V2/ChangeStreamConfig.php index 49dbf3a36659..c49d0acce35d 100644 --- a/Bigtable/src/Admin/V2/ChangeStreamConfig.php +++ b/Bigtable/src/Admin/V2/ChangeStreamConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Change stream configuration. diff --git a/Bigtable/src/Admin/V2/CheckConsistencyRequest.php b/Bigtable/src/Admin/V2/CheckConsistencyRequest.php index 543b4f861565..a0f9e2cc3577 100644 --- a/Bigtable/src/Admin/V2/CheckConsistencyRequest.php +++ b/Bigtable/src/Admin/V2/CheckConsistencyRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/CheckConsistencyResponse.php b/Bigtable/src/Admin/V2/CheckConsistencyResponse.php index 86e789432683..62e5dd4edf2c 100644 --- a/Bigtable/src/Admin/V2/CheckConsistencyResponse.php +++ b/Bigtable/src/Admin/V2/CheckConsistencyResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Bigtable/src/Admin/V2/Cluster.php b/Bigtable/src/Admin/V2/Cluster.php index d16d1c4c75f7..9f6db5475275 100644 --- a/Bigtable/src/Admin/V2/Cluster.php +++ b/Bigtable/src/Admin/V2/Cluster.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A resizable group of nodes in a particular cloud location, capable diff --git a/Bigtable/src/Admin/V2/Cluster/ClusterAutoscalingConfig.php b/Bigtable/src/Admin/V2/Cluster/ClusterAutoscalingConfig.php index 997961367dd3..ffdf17e79840 100644 --- a/Bigtable/src/Admin/V2/Cluster/ClusterAutoscalingConfig.php +++ b/Bigtable/src/Admin/V2/Cluster/ClusterAutoscalingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Cluster; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Autoscaling config for a cluster. @@ -119,6 +119,3 @@ public function setAutoscalingTargets($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ClusterAutoscalingConfig::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_ClusterAutoscalingConfig::class); - diff --git a/Bigtable/src/Admin/V2/Cluster/ClusterConfig.php b/Bigtable/src/Admin/V2/Cluster/ClusterConfig.php index b8856b291e62..7f6d38f7e1f8 100644 --- a/Bigtable/src/Admin/V2/Cluster/ClusterConfig.php +++ b/Bigtable/src/Admin/V2/Cluster/ClusterConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Cluster; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for a cluster. @@ -75,6 +75,3 @@ public function setClusterAutoscalingConfig($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ClusterConfig::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_ClusterConfig::class); - diff --git a/Bigtable/src/Admin/V2/Cluster/EncryptionConfig.php b/Bigtable/src/Admin/V2/Cluster/EncryptionConfig.php index 12bcfd3dbd83..c792565f5067 100644 --- a/Bigtable/src/Admin/V2/Cluster/EncryptionConfig.php +++ b/Bigtable/src/Admin/V2/Cluster/EncryptionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Cluster; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected @@ -98,6 +98,3 @@ public function setKmsKeyName($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EncryptionConfig::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_EncryptionConfig::class); - diff --git a/Bigtable/src/Admin/V2/Cluster/NodeScalingFactor.php b/Bigtable/src/Admin/V2/Cluster/NodeScalingFactor.php index c5f625fd27e6..3ba9f0bddb91 100644 --- a/Bigtable/src/Admin/V2/Cluster/NodeScalingFactor.php +++ b/Bigtable/src/Admin/V2/Cluster/NodeScalingFactor.php @@ -62,6 +62,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NodeScalingFactor::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_NodeScalingFactor::class); - diff --git a/Bigtable/src/Admin/V2/Cluster/State.php b/Bigtable/src/Admin/V2/Cluster/State.php index fc392006912f..6ae42297374e 100644 --- a/Bigtable/src/Admin/V2/Cluster/State.php +++ b/Bigtable/src/Admin/V2/Cluster/State.php @@ -80,6 +80,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Cluster_State::class); - diff --git a/Bigtable/src/Admin/V2/ColumnFamily.php b/Bigtable/src/Admin/V2/ColumnFamily.php index 12959e605d65..5d75d43506d1 100644 --- a/Bigtable/src/Admin/V2/ColumnFamily.php +++ b/Bigtable/src/Admin/V2/ColumnFamily.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A set of columns within a table which share a common configuration. diff --git a/Bigtable/src/Admin/V2/CopyBackupMetadata.php b/Bigtable/src/Admin/V2/CopyBackupMetadata.php index 0efc355bd7d8..c4c374604f9f 100644 --- a/Bigtable/src/Admin/V2/CopyBackupMetadata.php +++ b/Bigtable/src/Admin/V2/CopyBackupMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata type for the google.longrunning.Operation returned by diff --git a/Bigtable/src/Admin/V2/CopyBackupRequest.php b/Bigtable/src/Admin/V2/CopyBackupRequest.php index 8f004b2b6ee0..7d084fe1c6ad 100644 --- a/Bigtable/src/Admin/V2/CopyBackupRequest.php +++ b/Bigtable/src/Admin/V2/CopyBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/CreateAppProfileRequest.php b/Bigtable/src/Admin/V2/CreateAppProfileRequest.php index 12b67e4093aa..ab2483a1f6b4 100644 --- a/Bigtable/src/Admin/V2/CreateAppProfileRequest.php +++ b/Bigtable/src/Admin/V2/CreateAppProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.CreateAppProfile. diff --git a/Bigtable/src/Admin/V2/CreateAuthorizedViewMetadata.php b/Bigtable/src/Admin/V2/CreateAuthorizedViewMetadata.php index b6e98cfec0ed..84c7ab170a69 100644 --- a/Bigtable/src/Admin/V2/CreateAuthorizedViewMetadata.php +++ b/Bigtable/src/Admin/V2/CreateAuthorizedViewMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by CreateAuthorizedView. diff --git a/Bigtable/src/Admin/V2/CreateAuthorizedViewRequest.php b/Bigtable/src/Admin/V2/CreateAuthorizedViewRequest.php index 0329adcb6e04..19f1183c2dbb 100644 --- a/Bigtable/src/Admin/V2/CreateAuthorizedViewRequest.php +++ b/Bigtable/src/Admin/V2/CreateAuthorizedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/CreateBackupMetadata.php b/Bigtable/src/Admin/V2/CreateBackupMetadata.php index 557de786e6de..5036db2c1c2a 100644 --- a/Bigtable/src/Admin/V2/CreateBackupMetadata.php +++ b/Bigtable/src/Admin/V2/CreateBackupMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata type for the operation returned by diff --git a/Bigtable/src/Admin/V2/CreateBackupRequest.php b/Bigtable/src/Admin/V2/CreateBackupRequest.php index 8022a0ae61ec..7f1d41473c51 100644 --- a/Bigtable/src/Admin/V2/CreateBackupRequest.php +++ b/Bigtable/src/Admin/V2/CreateBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/CreateClusterMetadata.php b/Bigtable/src/Admin/V2/CreateClusterMetadata.php index c752a40618c5..bd6a207bdf16 100644 --- a/Bigtable/src/Admin/V2/CreateClusterMetadata.php +++ b/Bigtable/src/Admin/V2/CreateClusterMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by CreateCluster. diff --git a/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress.php b/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress.php index 6fbf11f7cc3b..1811f46e542c 100644 --- a/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress.php +++ b/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Progress info for copying a table's data to the new cluster. @@ -134,6 +134,3 @@ public function setState($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TableProgress::class, \Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata_TableProgress::class); - diff --git a/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress/State.php b/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress/State.php index f5fc34634589..baf338c6c6d2 100644 --- a/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress/State.php +++ b/Bigtable/src/Admin/V2/CreateClusterMetadata/TableProgress/State.php @@ -71,6 +71,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\CreateClusterMetadata_TableProgress_State::class); - diff --git a/Bigtable/src/Admin/V2/CreateClusterRequest.php b/Bigtable/src/Admin/V2/CreateClusterRequest.php index 8a849b579320..30b5c3cc9267 100644 --- a/Bigtable/src/Admin/V2/CreateClusterRequest.php +++ b/Bigtable/src/Admin/V2/CreateClusterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.CreateCluster. diff --git a/Bigtable/src/Admin/V2/CreateInstanceMetadata.php b/Bigtable/src/Admin/V2/CreateInstanceMetadata.php index dd7f505c0775..2a67465dfe70 100644 --- a/Bigtable/src/Admin/V2/CreateInstanceMetadata.php +++ b/Bigtable/src/Admin/V2/CreateInstanceMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by CreateInstance. diff --git a/Bigtable/src/Admin/V2/CreateInstanceRequest.php b/Bigtable/src/Admin/V2/CreateInstanceRequest.php index 6d9e23667c52..6bf8c1effdc5 100644 --- a/Bigtable/src/Admin/V2/CreateInstanceRequest.php +++ b/Bigtable/src/Admin/V2/CreateInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.CreateInstance. diff --git a/Bigtable/src/Admin/V2/CreateLogicalViewMetadata.php b/Bigtable/src/Admin/V2/CreateLogicalViewMetadata.php index 2b4d24d2182d..d98dff167592 100644 --- a/Bigtable/src/Admin/V2/CreateLogicalViewMetadata.php +++ b/Bigtable/src/Admin/V2/CreateLogicalViewMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by CreateLogicalView. diff --git a/Bigtable/src/Admin/V2/CreateLogicalViewRequest.php b/Bigtable/src/Admin/V2/CreateLogicalViewRequest.php index 8122ea5b1eb0..6de5e7a107fb 100644 --- a/Bigtable/src/Admin/V2/CreateLogicalViewRequest.php +++ b/Bigtable/src/Admin/V2/CreateLogicalViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.CreateLogicalView. diff --git a/Bigtable/src/Admin/V2/CreateMaterializedViewMetadata.php b/Bigtable/src/Admin/V2/CreateMaterializedViewMetadata.php index 5dcbca45c0a5..5a64639d95a0 100644 --- a/Bigtable/src/Admin/V2/CreateMaterializedViewMetadata.php +++ b/Bigtable/src/Admin/V2/CreateMaterializedViewMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by CreateMaterializedView. diff --git a/Bigtable/src/Admin/V2/CreateMaterializedViewRequest.php b/Bigtable/src/Admin/V2/CreateMaterializedViewRequest.php index 31ea2e117c7e..06ee6f517c2a 100644 --- a/Bigtable/src/Admin/V2/CreateMaterializedViewRequest.php +++ b/Bigtable/src/Admin/V2/CreateMaterializedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.CreateMaterializedView. diff --git a/Bigtable/src/Admin/V2/CreateSchemaBundleMetadata.php b/Bigtable/src/Admin/V2/CreateSchemaBundleMetadata.php index 66ad9c251810..490ce8feb5bb 100644 --- a/Bigtable/src/Admin/V2/CreateSchemaBundleMetadata.php +++ b/Bigtable/src/Admin/V2/CreateSchemaBundleMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by diff --git a/Bigtable/src/Admin/V2/CreateSchemaBundleRequest.php b/Bigtable/src/Admin/V2/CreateSchemaBundleRequest.php index 282f655647fc..1616b339f81b 100644 --- a/Bigtable/src/Admin/V2/CreateSchemaBundleRequest.php +++ b/Bigtable/src/Admin/V2/CreateSchemaBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/CreateTableFromSnapshotMetadata.php b/Bigtable/src/Admin/V2/CreateTableFromSnapshotMetadata.php index ad6178e78b9b..ed5fef6e7fc3 100644 --- a/Bigtable/src/Admin/V2/CreateTableFromSnapshotMetadata.php +++ b/Bigtable/src/Admin/V2/CreateTableFromSnapshotMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by CreateTableFromSnapshot. diff --git a/Bigtable/src/Admin/V2/CreateTableFromSnapshotRequest.php b/Bigtable/src/Admin/V2/CreateTableFromSnapshotRequest.php index 2dfa7bc94901..bf89301d7cc3 100644 --- a/Bigtable/src/Admin/V2/CreateTableFromSnapshotRequest.php +++ b/Bigtable/src/Admin/V2/CreateTableFromSnapshotRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/CreateTableRequest.php b/Bigtable/src/Admin/V2/CreateTableRequest.php index 06608297cf48..d9362cf910bc 100644 --- a/Bigtable/src/Admin/V2/CreateTableRequest.php +++ b/Bigtable/src/Admin/V2/CreateTableRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -93,7 +93,7 @@ public static function build(string $parent, string $tableId, \Google\Cloud\Bigt * Maximum 50 characters. * @type \Google\Cloud\Bigtable\Admin\V2\Table $table * Required. The Table to create. - * @type array<\Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split>|\Google\Protobuf\Internal\RepeatedField $initial_splits + * @type \Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split[] $initial_splits * The optional list of row keys that will be used to initially split the * table into several tablets (tablets are similar to HBase regions). * Given two split keys, `s1` and `s2`, three tablets will be created, @@ -226,7 +226,7 @@ public function setTable($var) * - Tablet 5 `[other, ) => {"other", "zz"}.` * * Generated from protobuf field repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split> */ public function getInitialSplits() { @@ -250,7 +250,7 @@ public function getInitialSplits() * - Tablet 5 `[other, ) => {"other", "zz"}.` * * Generated from protobuf field repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4; - * @param array<\Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\CreateTableRequest\Split[] $var * @return $this */ public function setInitialSplits($var) diff --git a/Bigtable/src/Admin/V2/CreateTableRequest/Split.php b/Bigtable/src/Admin/V2/CreateTableRequest/Split.php index af1990b8531e..f7577a6c5764 100644 --- a/Bigtable/src/Admin/V2/CreateTableRequest/Split.php +++ b/Bigtable/src/Admin/V2/CreateTableRequest/Split.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\CreateTableRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An initial split point for a newly created table. @@ -65,6 +65,3 @@ public function setKey($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Split::class, \Google\Cloud\Bigtable\Admin\V2\CreateTableRequest_Split::class); - diff --git a/Bigtable/src/Admin/V2/DataBoostReadLocalWrites.php b/Bigtable/src/Admin/V2/DataBoostReadLocalWrites.php index 6d8e2927312c..afe11e54aba3 100644 --- a/Bigtable/src/Admin/V2/DataBoostReadLocalWrites.php +++ b/Bigtable/src/Admin/V2/DataBoostReadLocalWrites.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Checks that all writes before the consistency token was generated in the same diff --git a/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php b/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php index aa6abaf5f995..ea908e1f44c8 100644 --- a/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php +++ b/Bigtable/src/Admin/V2/DeleteAppProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.DeleteAppProfile. diff --git a/Bigtable/src/Admin/V2/DeleteAuthorizedViewRequest.php b/Bigtable/src/Admin/V2/DeleteAuthorizedViewRequest.php index e623fe8ebb9d..6a87ddb9e3ef 100644 --- a/Bigtable/src/Admin/V2/DeleteAuthorizedViewRequest.php +++ b/Bigtable/src/Admin/V2/DeleteAuthorizedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/DeleteBackupRequest.php b/Bigtable/src/Admin/V2/DeleteBackupRequest.php index 6bd500313c94..c5907898439e 100644 --- a/Bigtable/src/Admin/V2/DeleteBackupRequest.php +++ b/Bigtable/src/Admin/V2/DeleteBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/DeleteClusterRequest.php b/Bigtable/src/Admin/V2/DeleteClusterRequest.php index 690cdb21a15f..6b61df42324d 100644 --- a/Bigtable/src/Admin/V2/DeleteClusterRequest.php +++ b/Bigtable/src/Admin/V2/DeleteClusterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.DeleteCluster. diff --git a/Bigtable/src/Admin/V2/DeleteInstanceRequest.php b/Bigtable/src/Admin/V2/DeleteInstanceRequest.php index bcbc1c1a1e58..c1fd6d506afa 100644 --- a/Bigtable/src/Admin/V2/DeleteInstanceRequest.php +++ b/Bigtable/src/Admin/V2/DeleteInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.DeleteInstance. diff --git a/Bigtable/src/Admin/V2/DeleteLogicalViewRequest.php b/Bigtable/src/Admin/V2/DeleteLogicalViewRequest.php index 63ca7191e518..19e81cd4cbe3 100644 --- a/Bigtable/src/Admin/V2/DeleteLogicalViewRequest.php +++ b/Bigtable/src/Admin/V2/DeleteLogicalViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.DeleteLogicalView. diff --git a/Bigtable/src/Admin/V2/DeleteMaterializedViewRequest.php b/Bigtable/src/Admin/V2/DeleteMaterializedViewRequest.php index 48e21cfa6b8a..18c611d3dcbb 100644 --- a/Bigtable/src/Admin/V2/DeleteMaterializedViewRequest.php +++ b/Bigtable/src/Admin/V2/DeleteMaterializedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.DeleteMaterializedView. diff --git a/Bigtable/src/Admin/V2/DeleteSchemaBundleRequest.php b/Bigtable/src/Admin/V2/DeleteSchemaBundleRequest.php index 6ca29ffdde1c..08ee99e2647f 100644 --- a/Bigtable/src/Admin/V2/DeleteSchemaBundleRequest.php +++ b/Bigtable/src/Admin/V2/DeleteSchemaBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/DeleteSnapshotRequest.php b/Bigtable/src/Admin/V2/DeleteSnapshotRequest.php index b83ec8b2043b..570368330898 100644 --- a/Bigtable/src/Admin/V2/DeleteSnapshotRequest.php +++ b/Bigtable/src/Admin/V2/DeleteSnapshotRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/DeleteTableRequest.php b/Bigtable/src/Admin/V2/DeleteTableRequest.php index 3bd4eac51dc3..31bb5546fd8f 100644 --- a/Bigtable/src/Admin/V2/DeleteTableRequest.php +++ b/Bigtable/src/Admin/V2/DeleteTableRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/DropRowRangeRequest.php b/Bigtable/src/Admin/V2/DropRowRangeRequest.php index a005c44024c4..3671ae8b79c6 100644 --- a/Bigtable/src/Admin/V2/DropRowRangeRequest.php +++ b/Bigtable/src/Admin/V2/DropRowRangeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/EncryptionInfo.php b/Bigtable/src/Admin/V2/EncryptionInfo.php index d13861cd38e2..418c19e2c0ef 100644 --- a/Bigtable/src/Admin/V2/EncryptionInfo.php +++ b/Bigtable/src/Admin/V2/EncryptionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encryption information for a given resource. diff --git a/Bigtable/src/Admin/V2/EncryptionInfo/EncryptionType.php b/Bigtable/src/Admin/V2/EncryptionInfo/EncryptionType.php index 076657b976c4..8a6ea595fdf2 100644 --- a/Bigtable/src/Admin/V2/EncryptionInfo/EncryptionType.php +++ b/Bigtable/src/Admin/V2/EncryptionInfo/EncryptionType.php @@ -67,6 +67,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EncryptionType::class, \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo_EncryptionType::class); - diff --git a/Bigtable/src/Admin/V2/GcRule.php b/Bigtable/src/Admin/V2/GcRule.php index 58f3cb15f627..3158524db68b 100644 --- a/Bigtable/src/Admin/V2/GcRule.php +++ b/Bigtable/src/Admin/V2/GcRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rule for determining which cells to delete during garbage collection. diff --git a/Bigtable/src/Admin/V2/GcRule/Intersection.php b/Bigtable/src/Admin/V2/GcRule/Intersection.php index 3cdcac56ac62..9b5476e44bc8 100644 --- a/Bigtable/src/Admin/V2/GcRule/Intersection.php +++ b/Bigtable/src/Admin/V2/GcRule/Intersection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\GcRule; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A GcRule which deletes cells matching all of the given rules. @@ -28,7 +28,7 @@ class Intersection extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Cloud\Bigtable\Admin\V2\GcRule[] $rules * Only delete cells which would be deleted by every element of `rules`. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Only delete cells which would be deleted by every element of `rules`. * * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\GcRule> */ public function getRules() { @@ -52,7 +52,7 @@ public function getRules() * Only delete cells which would be deleted by every element of `rules`. * * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\GcRule[] $var * @return $this */ public function setRules($var) @@ -65,6 +65,3 @@ public function setRules($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Intersection::class, \Google\Cloud\Bigtable\Admin\V2\GcRule_Intersection::class); - diff --git a/Bigtable/src/Admin/V2/GcRule/Union.php b/Bigtable/src/Admin/V2/GcRule/Union.php index 0569197be3ac..737923812851 100644 --- a/Bigtable/src/Admin/V2/GcRule/Union.php +++ b/Bigtable/src/Admin/V2/GcRule/Union.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\GcRule; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A GcRule which deletes cells matching any of the given rules. @@ -28,7 +28,7 @@ class Union extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Cloud\Bigtable\Admin\V2\GcRule[] $rules * Delete cells which would be deleted by any element of `rules`. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Delete cells which would be deleted by any element of `rules`. * * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\GcRule> */ public function getRules() { @@ -52,7 +52,7 @@ public function getRules() * Delete cells which would be deleted by any element of `rules`. * * Generated from protobuf field repeated .google.bigtable.admin.v2.GcRule rules = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\GcRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\GcRule[] $var * @return $this */ public function setRules($var) @@ -65,6 +65,3 @@ public function setRules($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Union::class, \Google\Cloud\Bigtable\Admin\V2\GcRule_Union::class); - diff --git a/Bigtable/src/Admin/V2/GenerateConsistencyTokenRequest.php b/Bigtable/src/Admin/V2/GenerateConsistencyTokenRequest.php index de27631825e5..d228f07dea14 100644 --- a/Bigtable/src/Admin/V2/GenerateConsistencyTokenRequest.php +++ b/Bigtable/src/Admin/V2/GenerateConsistencyTokenRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/GenerateConsistencyTokenResponse.php b/Bigtable/src/Admin/V2/GenerateConsistencyTokenResponse.php index 6b02098b9ffc..770033e3fb6a 100644 --- a/Bigtable/src/Admin/V2/GenerateConsistencyTokenResponse.php +++ b/Bigtable/src/Admin/V2/GenerateConsistencyTokenResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Bigtable/src/Admin/V2/GetAppProfileRequest.php b/Bigtable/src/Admin/V2/GetAppProfileRequest.php index 017793bbb5ff..3cf6bf079212 100644 --- a/Bigtable/src/Admin/V2/GetAppProfileRequest.php +++ b/Bigtable/src/Admin/V2/GetAppProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.GetAppProfile. diff --git a/Bigtable/src/Admin/V2/GetAuthorizedViewRequest.php b/Bigtable/src/Admin/V2/GetAuthorizedViewRequest.php index 385c1c34c266..4f9ebb278f01 100644 --- a/Bigtable/src/Admin/V2/GetAuthorizedViewRequest.php +++ b/Bigtable/src/Admin/V2/GetAuthorizedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/GetBackupRequest.php b/Bigtable/src/Admin/V2/GetBackupRequest.php index 5f73e6f2900e..55594fbcbd8d 100644 --- a/Bigtable/src/Admin/V2/GetBackupRequest.php +++ b/Bigtable/src/Admin/V2/GetBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/GetClusterRequest.php b/Bigtable/src/Admin/V2/GetClusterRequest.php index 037844cc19a3..5fcb4c52f7a2 100644 --- a/Bigtable/src/Admin/V2/GetClusterRequest.php +++ b/Bigtable/src/Admin/V2/GetClusterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.GetCluster. diff --git a/Bigtable/src/Admin/V2/GetInstanceRequest.php b/Bigtable/src/Admin/V2/GetInstanceRequest.php index 28ca52c590cd..03a2189b6abb 100644 --- a/Bigtable/src/Admin/V2/GetInstanceRequest.php +++ b/Bigtable/src/Admin/V2/GetInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.GetInstance. diff --git a/Bigtable/src/Admin/V2/GetLogicalViewRequest.php b/Bigtable/src/Admin/V2/GetLogicalViewRequest.php index 1fb02ecd383e..0a301028ac35 100644 --- a/Bigtable/src/Admin/V2/GetLogicalViewRequest.php +++ b/Bigtable/src/Admin/V2/GetLogicalViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.GetLogicalView. diff --git a/Bigtable/src/Admin/V2/GetMaterializedViewRequest.php b/Bigtable/src/Admin/V2/GetMaterializedViewRequest.php index 46586ff10806..068bd86b7207 100644 --- a/Bigtable/src/Admin/V2/GetMaterializedViewRequest.php +++ b/Bigtable/src/Admin/V2/GetMaterializedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.GetMaterializedView. diff --git a/Bigtable/src/Admin/V2/GetSchemaBundleRequest.php b/Bigtable/src/Admin/V2/GetSchemaBundleRequest.php index a58890a44c8f..4552a19e304b 100644 --- a/Bigtable/src/Admin/V2/GetSchemaBundleRequest.php +++ b/Bigtable/src/Admin/V2/GetSchemaBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/GetSnapshotRequest.php b/Bigtable/src/Admin/V2/GetSnapshotRequest.php index 5b3547a68e7a..f6b7e6309cbf 100644 --- a/Bigtable/src/Admin/V2/GetSnapshotRequest.php +++ b/Bigtable/src/Admin/V2/GetSnapshotRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/GetTableRequest.php b/Bigtable/src/Admin/V2/GetTableRequest.php index 34142b7797a5..f462d8b10c8f 100644 --- a/Bigtable/src/Admin/V2/GetTableRequest.php +++ b/Bigtable/src/Admin/V2/GetTableRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/HotTablet.php b/Bigtable/src/Admin/V2/HotTablet.php index 4d75a90e66ee..6d8f6493e7ac 100644 --- a/Bigtable/src/Admin/V2/HotTablet.php +++ b/Bigtable/src/Admin/V2/HotTablet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A tablet is a defined by a start and end key and is explained in diff --git a/Bigtable/src/Admin/V2/Instance.php b/Bigtable/src/Admin/V2/Instance.php index d5cd541624a3..3dce09935b67 100644 --- a/Bigtable/src/Admin/V2/Instance.php +++ b/Bigtable/src/Admin/V2/Instance.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and diff --git a/Bigtable/src/Admin/V2/Instance/State.php b/Bigtable/src/Admin/V2/Instance/State.php index 8442f3728c83..15676479aa98 100644 --- a/Bigtable/src/Admin/V2/Instance/State.php +++ b/Bigtable/src/Admin/V2/Instance/State.php @@ -61,6 +61,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Instance_State::class); - diff --git a/Bigtable/src/Admin/V2/Instance/Type.php b/Bigtable/src/Admin/V2/Instance/Type.php index 8e68c47b9d0f..95f13f349b5e 100644 --- a/Bigtable/src/Admin/V2/Instance/Type.php +++ b/Bigtable/src/Admin/V2/Instance/Type.php @@ -63,6 +63,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Type::class, \Google\Cloud\Bigtable\Admin\V2\Instance_Type::class); - diff --git a/Bigtable/src/Admin/V2/ListAppProfilesRequest.php b/Bigtable/src/Admin/V2/ListAppProfilesRequest.php index 42d6c478cd5c..16285157945e 100644 --- a/Bigtable/src/Admin/V2/ListAppProfilesRequest.php +++ b/Bigtable/src/Admin/V2/ListAppProfilesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.ListAppProfiles. diff --git a/Bigtable/src/Admin/V2/ListAppProfilesResponse.php b/Bigtable/src/Admin/V2/ListAppProfilesResponse.php index c49770b40a07..d015c975a483 100644 --- a/Bigtable/src/Admin/V2/ListAppProfilesResponse.php +++ b/Bigtable/src/Admin/V2/ListAppProfilesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for BigtableInstanceAdmin.ListAppProfiles. @@ -45,13 +45,13 @@ class ListAppProfilesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\AppProfile>|\Google\Protobuf\Internal\RepeatedField $app_profiles + * @type \Google\Cloud\Bigtable\Admin\V2\AppProfile[] $app_profiles * The list of requested app profiles. * @type string $next_page_token * Set if not all app profiles could be returned in a single response. * Pass this value to `page_token` in another request to get the next * page of results. - * @type array|\Google\Protobuf\Internal\RepeatedField $failed_locations + * @type string[] $failed_locations * Locations from which AppProfile information could not be retrieved, * due to an outage or some other transient condition. * AppProfiles from these locations may be missing from `app_profiles`. @@ -67,7 +67,7 @@ public function __construct($data = NULL) { * The list of requested app profiles. * * Generated from protobuf field repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\AppProfile> */ public function getAppProfiles() { @@ -78,7 +78,7 @@ public function getAppProfiles() * The list of requested app profiles. * * Generated from protobuf field repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\AppProfile>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\AppProfile[] $var * @return $this */ public function setAppProfiles($var) @@ -126,7 +126,7 @@ public function setNextPageToken($var) * Values are of the form `projects//locations/` * * Generated from protobuf field repeated string failed_locations = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFailedLocations() { @@ -140,7 +140,7 @@ public function getFailedLocations() * Values are of the form `projects//locations/` * * Generated from protobuf field repeated string failed_locations = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFailedLocations($var) diff --git a/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php b/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php index 9b3f4e16ca1b..bfdd8117a160 100644 --- a/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php +++ b/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/ListAuthorizedViewsResponse.php b/Bigtable/src/Admin/V2/ListAuthorizedViewsResponse.php index 83d26b843966..620aada6530a 100644 --- a/Bigtable/src/Admin/V2/ListAuthorizedViewsResponse.php +++ b/Bigtable/src/Admin/V2/ListAuthorizedViewsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -37,7 +37,7 @@ class ListAuthorizedViewsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\AuthorizedView>|\Google\Protobuf\Internal\RepeatedField $authorized_views + * @type \Google\Cloud\Bigtable\Admin\V2\AuthorizedView[] $authorized_views * The AuthorizedViews present in the requested table. * @type string $next_page_token * Set if not all tables could be returned in a single response. @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * The AuthorizedViews present in the requested table. * * Generated from protobuf field repeated .google.bigtable.admin.v2.AuthorizedView authorized_views = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\AuthorizedView> */ public function getAuthorizedViews() { @@ -65,7 +65,7 @@ public function getAuthorizedViews() * The AuthorizedViews present in the requested table. * * Generated from protobuf field repeated .google.bigtable.admin.v2.AuthorizedView authorized_views = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\AuthorizedView>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\AuthorizedView[] $var * @return $this */ public function setAuthorizedViews($var) diff --git a/Bigtable/src/Admin/V2/ListBackupsRequest.php b/Bigtable/src/Admin/V2/ListBackupsRequest.php index 6f5666e3bdbd..c9aa5b59aaec 100644 --- a/Bigtable/src/Admin/V2/ListBackupsRequest.php +++ b/Bigtable/src/Admin/V2/ListBackupsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/ListBackupsResponse.php b/Bigtable/src/Admin/V2/ListBackupsResponse.php index c9792bd915b6..8f1bb0929254 100644 --- a/Bigtable/src/Admin/V2/ListBackupsResponse.php +++ b/Bigtable/src/Admin/V2/ListBackupsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for @@ -37,7 +37,7 @@ class ListBackupsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\Backup>|\Google\Protobuf\Internal\RepeatedField $backups + * @type \Google\Cloud\Bigtable\Admin\V2\Backup[] $backups * The list of matching backups. * @type string $next_page_token * `next_page_token` can be sent in a subsequent @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * The list of matching backups. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Backup backups = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\Backup> */ public function getBackups() { @@ -65,7 +65,7 @@ public function getBackups() * The list of matching backups. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Backup backups = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\Backup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\Backup[] $var * @return $this */ public function setBackups($var) diff --git a/Bigtable/src/Admin/V2/ListClustersRequest.php b/Bigtable/src/Admin/V2/ListClustersRequest.php index 00a12138e516..ce37dfa00e0c 100644 --- a/Bigtable/src/Admin/V2/ListClustersRequest.php +++ b/Bigtable/src/Admin/V2/ListClustersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.ListClusters. diff --git a/Bigtable/src/Admin/V2/ListClustersResponse.php b/Bigtable/src/Admin/V2/ListClustersResponse.php index 84ccf514aa70..22820a8317a2 100644 --- a/Bigtable/src/Admin/V2/ListClustersResponse.php +++ b/Bigtable/src/Admin/V2/ListClustersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for BigtableInstanceAdmin.ListClusters. @@ -44,9 +44,9 @@ class ListClustersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\Cluster>|\Google\Protobuf\Internal\RepeatedField $clusters + * @type \Google\Cloud\Bigtable\Admin\V2\Cluster[] $clusters * The list of requested clusters. - * @type array|\Google\Protobuf\Internal\RepeatedField $failed_locations + * @type string[] $failed_locations * Locations from which Cluster information could not be retrieved, * due to an outage or some other transient condition. * Clusters from these locations may be missing from `clusters`, @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * The list of requested clusters. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Cluster clusters = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\Cluster> */ public function getClusters() { @@ -76,7 +76,7 @@ public function getClusters() * The list of requested clusters. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Cluster clusters = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\Cluster>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\Cluster[] $var * @return $this */ public function setClusters($var) @@ -95,7 +95,7 @@ public function setClusters($var) * Values are of the form `projects//locations/` * * Generated from protobuf field repeated string failed_locations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFailedLocations() { @@ -110,7 +110,7 @@ public function getFailedLocations() * Values are of the form `projects//locations/` * * Generated from protobuf field repeated string failed_locations = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFailedLocations($var) diff --git a/Bigtable/src/Admin/V2/ListHotTabletsRequest.php b/Bigtable/src/Admin/V2/ListHotTabletsRequest.php index 2fcefef12c29..9ef12b38a811 100644 --- a/Bigtable/src/Admin/V2/ListHotTabletsRequest.php +++ b/Bigtable/src/Admin/V2/ListHotTabletsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.ListHotTablets. diff --git a/Bigtable/src/Admin/V2/ListHotTabletsResponse.php b/Bigtable/src/Admin/V2/ListHotTabletsResponse.php index 39b6a733dade..5dcee9d36b53 100644 --- a/Bigtable/src/Admin/V2/ListHotTabletsResponse.php +++ b/Bigtable/src/Admin/V2/ListHotTabletsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for BigtableInstanceAdmin.ListHotTablets. @@ -40,7 +40,7 @@ class ListHotTabletsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\HotTablet>|\Google\Protobuf\Internal\RepeatedField $hot_tablets + * @type \Google\Cloud\Bigtable\Admin\V2\HotTablet[] $hot_tablets * List of hot tablets in the tables of the requested cluster that fall * within the requested time range. Hot tablets are ordered by node cpu usage * percent. If there are multiple hot tablets that correspond to the same @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * node cpu usage will be included in the response. * * Generated from protobuf field repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\HotTablet> */ public function getHotTablets() { @@ -80,7 +80,7 @@ public function getHotTablets() * node cpu usage will be included in the response. * * Generated from protobuf field repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\HotTablet>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\HotTablet[] $var * @return $this */ public function setHotTablets($var) diff --git a/Bigtable/src/Admin/V2/ListInstancesRequest.php b/Bigtable/src/Admin/V2/ListInstancesRequest.php index e0d88b2803fa..45ef9cd53fa6 100644 --- a/Bigtable/src/Admin/V2/ListInstancesRequest.php +++ b/Bigtable/src/Admin/V2/ListInstancesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.ListInstances. diff --git a/Bigtable/src/Admin/V2/ListInstancesResponse.php b/Bigtable/src/Admin/V2/ListInstancesResponse.php index 6e08425dbe3e..dfdc3cab1ffe 100644 --- a/Bigtable/src/Admin/V2/ListInstancesResponse.php +++ b/Bigtable/src/Admin/V2/ListInstancesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for BigtableInstanceAdmin.ListInstances. @@ -45,9 +45,9 @@ class ListInstancesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\Instance>|\Google\Protobuf\Internal\RepeatedField $instances + * @type \Google\Cloud\Bigtable\Admin\V2\Instance[] $instances * The list of requested instances. - * @type array|\Google\Protobuf\Internal\RepeatedField $failed_locations + * @type string[] $failed_locations * Locations from which Instance information could not be retrieved, * due to an outage or some other transient condition. * Instances whose Clusters are all in one of the failed locations @@ -67,7 +67,7 @@ public function __construct($data = NULL) { * The list of requested instances. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Instance instances = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\Instance> */ public function getInstances() { @@ -78,7 +78,7 @@ public function getInstances() * The list of requested instances. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Instance instances = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\Instance>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\Instance[] $var * @return $this */ public function setInstances($var) @@ -98,7 +98,7 @@ public function setInstances($var) * Values are of the form `projects//locations/` * * Generated from protobuf field repeated string failed_locations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFailedLocations() { @@ -114,7 +114,7 @@ public function getFailedLocations() * Values are of the form `projects//locations/` * * Generated from protobuf field repeated string failed_locations = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFailedLocations($var) diff --git a/Bigtable/src/Admin/V2/ListLogicalViewsRequest.php b/Bigtable/src/Admin/V2/ListLogicalViewsRequest.php index 1360de45968e..f4bf5a310f50 100644 --- a/Bigtable/src/Admin/V2/ListLogicalViewsRequest.php +++ b/Bigtable/src/Admin/V2/ListLogicalViewsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.ListLogicalViews. diff --git a/Bigtable/src/Admin/V2/ListLogicalViewsResponse.php b/Bigtable/src/Admin/V2/ListLogicalViewsResponse.php index bf90993f4dd0..70a363bfd0a9 100644 --- a/Bigtable/src/Admin/V2/ListLogicalViewsResponse.php +++ b/Bigtable/src/Admin/V2/ListLogicalViewsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for BigtableInstanceAdmin.ListLogicalViews. @@ -35,7 +35,7 @@ class ListLogicalViewsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\LogicalView>|\Google\Protobuf\Internal\RepeatedField $logical_views + * @type \Google\Cloud\Bigtable\Admin\V2\LogicalView[] $logical_views * The list of requested logical views. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The list of requested logical views. * * Generated from protobuf field repeated .google.bigtable.admin.v2.LogicalView logical_views = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\LogicalView> */ public function getLogicalViews() { @@ -62,7 +62,7 @@ public function getLogicalViews() * The list of requested logical views. * * Generated from protobuf field repeated .google.bigtable.admin.v2.LogicalView logical_views = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\LogicalView>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\LogicalView[] $var * @return $this */ public function setLogicalViews($var) diff --git a/Bigtable/src/Admin/V2/ListMaterializedViewsRequest.php b/Bigtable/src/Admin/V2/ListMaterializedViewsRequest.php index c21d2528a0ff..341056cfb7d0 100644 --- a/Bigtable/src/Admin/V2/ListMaterializedViewsRequest.php +++ b/Bigtable/src/Admin/V2/ListMaterializedViewsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.ListMaterializedViews. diff --git a/Bigtable/src/Admin/V2/ListMaterializedViewsResponse.php b/Bigtable/src/Admin/V2/ListMaterializedViewsResponse.php index b2a96e6fc420..d368245f002d 100644 --- a/Bigtable/src/Admin/V2/ListMaterializedViewsResponse.php +++ b/Bigtable/src/Admin/V2/ListMaterializedViewsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for BigtableInstanceAdmin.ListMaterializedViews. @@ -35,7 +35,7 @@ class ListMaterializedViewsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\MaterializedView>|\Google\Protobuf\Internal\RepeatedField $materialized_views + * @type \Google\Cloud\Bigtable\Admin\V2\MaterializedView[] $materialized_views * The list of requested materialized views. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The list of requested materialized views. * * Generated from protobuf field repeated .google.bigtable.admin.v2.MaterializedView materialized_views = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\MaterializedView> */ public function getMaterializedViews() { @@ -62,7 +62,7 @@ public function getMaterializedViews() * The list of requested materialized views. * * Generated from protobuf field repeated .google.bigtable.admin.v2.MaterializedView materialized_views = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\MaterializedView>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\MaterializedView[] $var * @return $this */ public function setMaterializedViews($var) diff --git a/Bigtable/src/Admin/V2/ListSchemaBundlesRequest.php b/Bigtable/src/Admin/V2/ListSchemaBundlesRequest.php index 529d38173701..00eb8c83d2d1 100644 --- a/Bigtable/src/Admin/V2/ListSchemaBundlesRequest.php +++ b/Bigtable/src/Admin/V2/ListSchemaBundlesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/ListSchemaBundlesResponse.php b/Bigtable/src/Admin/V2/ListSchemaBundlesResponse.php index 32721e6849f9..f2b0c9ba0bc8 100644 --- a/Bigtable/src/Admin/V2/ListSchemaBundlesResponse.php +++ b/Bigtable/src/Admin/V2/ListSchemaBundlesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for @@ -36,7 +36,7 @@ class ListSchemaBundlesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\SchemaBundle>|\Google\Protobuf\Internal\RepeatedField $schema_bundles + * @type \Google\Cloud\Bigtable\Admin\V2\SchemaBundle[] $schema_bundles * The schema bundles from the specified table. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The schema bundles from the specified table. * * Generated from protobuf field repeated .google.bigtable.admin.v2.SchemaBundle schema_bundles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\SchemaBundle> */ public function getSchemaBundles() { @@ -63,7 +63,7 @@ public function getSchemaBundles() * The schema bundles from the specified table. * * Generated from protobuf field repeated .google.bigtable.admin.v2.SchemaBundle schema_bundles = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\SchemaBundle>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\SchemaBundle[] $var * @return $this */ public function setSchemaBundles($var) diff --git a/Bigtable/src/Admin/V2/ListSnapshotsRequest.php b/Bigtable/src/Admin/V2/ListSnapshotsRequest.php index 5ee84a207816..31c292781dba 100644 --- a/Bigtable/src/Admin/V2/ListSnapshotsRequest.php +++ b/Bigtable/src/Admin/V2/ListSnapshotsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/ListSnapshotsResponse.php b/Bigtable/src/Admin/V2/ListSnapshotsResponse.php index c3d9df13f7e0..bdad986caa78 100644 --- a/Bigtable/src/Admin/V2/ListSnapshotsResponse.php +++ b/Bigtable/src/Admin/V2/ListSnapshotsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -41,7 +41,7 @@ class ListSnapshotsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\Snapshot>|\Google\Protobuf\Internal\RepeatedField $snapshots + * @type \Google\Cloud\Bigtable\Admin\V2\Snapshot[] $snapshots * The snapshots present in the requested cluster. * @type string $next_page_token * Set if not all snapshots could be returned in a single response. @@ -58,7 +58,7 @@ public function __construct($data = NULL) { * The snapshots present in the requested cluster. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\Snapshot> */ public function getSnapshots() { @@ -69,7 +69,7 @@ public function getSnapshots() * The snapshots present in the requested cluster. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\Snapshot>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\Snapshot[] $var * @return $this */ public function setSnapshots($var) diff --git a/Bigtable/src/Admin/V2/ListTablesRequest.php b/Bigtable/src/Admin/V2/ListTablesRequest.php index d10580296a66..875f87394fee 100644 --- a/Bigtable/src/Admin/V2/ListTablesRequest.php +++ b/Bigtable/src/Admin/V2/ListTablesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/ListTablesResponse.php b/Bigtable/src/Admin/V2/ListTablesResponse.php index 1dac80ef82f5..c1127dfeb520 100644 --- a/Bigtable/src/Admin/V2/ListTablesResponse.php +++ b/Bigtable/src/Admin/V2/ListTablesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -37,7 +37,7 @@ class ListTablesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\Table>|\Google\Protobuf\Internal\RepeatedField $tables + * @type \Google\Cloud\Bigtable\Admin\V2\Table[] $tables * The tables present in the requested instance. * @type string $next_page_token * Set if not all tables could be returned in a single response. @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * The tables present in the requested instance. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Table tables = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\Table> */ public function getTables() { @@ -65,7 +65,7 @@ public function getTables() * The tables present in the requested instance. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Table tables = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\Table>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\Table[] $var * @return $this */ public function setTables($var) diff --git a/Bigtable/src/Admin/V2/LogicalView.php b/Bigtable/src/Admin/V2/LogicalView.php index 0074bb0c873c..5e5b780bfaf6 100644 --- a/Bigtable/src/Admin/V2/LogicalView.php +++ b/Bigtable/src/Admin/V2/LogicalView.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A SQL logical view object that can be referenced in SQL queries. diff --git a/Bigtable/src/Admin/V2/MaterializedView.php b/Bigtable/src/Admin/V2/MaterializedView.php index a8cd9053b4d4..424ccf0c098e 100644 --- a/Bigtable/src/Admin/V2/MaterializedView.php +++ b/Bigtable/src/Admin/V2/MaterializedView.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A materialized view object that can be referenced in SQL queries. diff --git a/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest.php b/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest.php index 8960e4680f7d..45a0468fc18e 100644 --- a/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest.php +++ b/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -71,7 +71,7 @@ public static function build(string $name, array $modifications): self * Required. The unique name of the table whose families should be modified. * Values are of the form * `projects/{project}/instances/{instance}/tables/{table}`. - * @type array<\Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification>|\Google\Protobuf\Internal\RepeatedField $modifications + * @type \Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification[] $modifications * Required. Modifications to be atomically applied to the specified table's * families. Entries are applied in order, meaning that earlier modifications * can be masked by later ones (in the case of repeated updates to the same @@ -122,7 +122,7 @@ public function setName($var) * family, for example). * * Generated from protobuf field repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification> */ public function getModifications() { @@ -136,7 +136,7 @@ public function getModifications() * family, for example). * * Generated from protobuf field repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest\Modification[] $var * @return $this */ public function setModifications($var) diff --git a/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest/Modification.php b/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest/Modification.php index 0675f7d22032..7ff496a85e7b 100644 --- a/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest/Modification.php +++ b/Bigtable/src/Admin/V2/ModifyColumnFamiliesRequest/Modification.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A create, update, or delete of a particular column family. @@ -234,6 +234,3 @@ public function getMod() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Modification::class, \Google\Cloud\Bigtable\Admin\V2\ModifyColumnFamiliesRequest_Modification::class); - diff --git a/Bigtable/src/Admin/V2/OperationProgress.php b/Bigtable/src/Admin/V2/OperationProgress.php index 31e8504969ea..48a295008362 100644 --- a/Bigtable/src/Admin/V2/OperationProgress.php +++ b/Bigtable/src/Admin/V2/OperationProgress.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encapsulates progress related information for a Cloud Bigtable long diff --git a/Bigtable/src/Admin/V2/OptimizeRestoredTableMetadata.php b/Bigtable/src/Admin/V2/OptimizeRestoredTableMetadata.php index 6a51fb65bbe8..f3a663ffebe4 100644 --- a/Bigtable/src/Admin/V2/OptimizeRestoredTableMetadata.php +++ b/Bigtable/src/Admin/V2/OptimizeRestoredTableMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata type for the long-running operation used to track the progress diff --git a/Bigtable/src/Admin/V2/PartialUpdateClusterMetadata.php b/Bigtable/src/Admin/V2/PartialUpdateClusterMetadata.php index 60d2f7c47f64..f789f773a9c8 100644 --- a/Bigtable/src/Admin/V2/PartialUpdateClusterMetadata.php +++ b/Bigtable/src/Admin/V2/PartialUpdateClusterMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by PartialUpdateCluster. diff --git a/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php b/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php index c5cb2b443eef..53d6441df8fb 100644 --- a/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php +++ b/Bigtable/src/Admin/V2/PartialUpdateClusterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.PartialUpdateCluster. diff --git a/Bigtable/src/Admin/V2/PartialUpdateInstanceRequest.php b/Bigtable/src/Admin/V2/PartialUpdateInstanceRequest.php index 91e4ac7d79eb..cbfedfdd991b 100644 --- a/Bigtable/src/Admin/V2/PartialUpdateInstanceRequest.php +++ b/Bigtable/src/Admin/V2/PartialUpdateInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.PartialUpdateInstance. diff --git a/Bigtable/src/Admin/V2/ProtoSchema.php b/Bigtable/src/Admin/V2/ProtoSchema.php index 01091b2cd547..1a0c279fa73c 100644 --- a/Bigtable/src/Admin/V2/ProtoSchema.php +++ b/Bigtable/src/Admin/V2/ProtoSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a protobuf schema. diff --git a/Bigtable/src/Admin/V2/RestoreInfo.php b/Bigtable/src/Admin/V2/RestoreInfo.php index d470c27dc7b8..2eb860b8226b 100644 --- a/Bigtable/src/Admin/V2/RestoreInfo.php +++ b/Bigtable/src/Admin/V2/RestoreInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about a table restore. diff --git a/Bigtable/src/Admin/V2/RestoreTableMetadata.php b/Bigtable/src/Admin/V2/RestoreTableMetadata.php index c487dd2c61b1..7f28a6913149 100644 --- a/Bigtable/src/Admin/V2/RestoreTableMetadata.php +++ b/Bigtable/src/Admin/V2/RestoreTableMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata type for the long-running operation returned by diff --git a/Bigtable/src/Admin/V2/RestoreTableRequest.php b/Bigtable/src/Admin/V2/RestoreTableRequest.php index abdc023aa9c7..47beb2eedce4 100644 --- a/Bigtable/src/Admin/V2/RestoreTableRequest.php +++ b/Bigtable/src/Admin/V2/RestoreTableRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/SchemaBundle.php b/Bigtable/src/Admin/V2/SchemaBundle.php index 152b5eefab61..b728233c5d62 100644 --- a/Bigtable/src/Admin/V2/SchemaBundle.php +++ b/Bigtable/src/Admin/V2/SchemaBundle.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A named collection of related schemas. diff --git a/Bigtable/src/Admin/V2/Snapshot.php b/Bigtable/src/Admin/V2/Snapshot.php index ed150a235f5b..a83c939824bf 100644 --- a/Bigtable/src/Admin/V2/Snapshot.php +++ b/Bigtable/src/Admin/V2/Snapshot.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A snapshot of a table at a particular time. A snapshot can be used as a diff --git a/Bigtable/src/Admin/V2/Snapshot/State.php b/Bigtable/src/Admin/V2/Snapshot/State.php index 07c31a2775e2..e7cabe4033f7 100644 --- a/Bigtable/src/Admin/V2/Snapshot/State.php +++ b/Bigtable/src/Admin/V2/Snapshot/State.php @@ -61,6 +61,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Bigtable\Admin\V2\Snapshot_State::class); - diff --git a/Bigtable/src/Admin/V2/SnapshotTableMetadata.php b/Bigtable/src/Admin/V2/SnapshotTableMetadata.php index 62d29e1d1bfa..b8b0646de448 100644 --- a/Bigtable/src/Admin/V2/SnapshotTableMetadata.php +++ b/Bigtable/src/Admin/V2/SnapshotTableMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by SnapshotTable. diff --git a/Bigtable/src/Admin/V2/SnapshotTableRequest.php b/Bigtable/src/Admin/V2/SnapshotTableRequest.php index 007e4b8c67ae..c5adaf5bbb40 100644 --- a/Bigtable/src/Admin/V2/SnapshotTableRequest.php +++ b/Bigtable/src/Admin/V2/SnapshotTableRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/StandardReadRemoteWrites.php b/Bigtable/src/Admin/V2/StandardReadRemoteWrites.php index bc59f6b84f19..76fcfbeb6c69 100644 --- a/Bigtable/src/Admin/V2/StandardReadRemoteWrites.php +++ b/Bigtable/src/Admin/V2/StandardReadRemoteWrites.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Checks that all writes before the consistency token was generated are diff --git a/Bigtable/src/Admin/V2/Table.php b/Bigtable/src/Admin/V2/Table.php index 9ecfa2e24cfd..65881a8be02d 100644 --- a/Bigtable/src/Admin/V2/Table.php +++ b/Bigtable/src/Admin/V2/Table.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of user data indexed by row, column, and timestamp. diff --git a/Bigtable/src/Admin/V2/Table/AutomatedBackupPolicy.php b/Bigtable/src/Admin/V2/Table/AutomatedBackupPolicy.php index 4befbef5a7dd..197cff0389f3 100644 --- a/Bigtable/src/Admin/V2/Table/AutomatedBackupPolicy.php +++ b/Bigtable/src/Admin/V2/Table/AutomatedBackupPolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Table; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines an automated backup policy for a table @@ -127,6 +127,3 @@ public function setFrequency($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AutomatedBackupPolicy::class, \Google\Cloud\Bigtable\Admin\V2\Table_AutomatedBackupPolicy::class); - diff --git a/Bigtable/src/Admin/V2/Table/ClusterState.php b/Bigtable/src/Admin/V2/Table/ClusterState.php index 73802c4ea588..e98702103c8c 100644 --- a/Bigtable/src/Admin/V2/Table/ClusterState.php +++ b/Bigtable/src/Admin/V2/Table/ClusterState.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Table; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The state of a table's data in a particular cluster. @@ -40,7 +40,7 @@ class ClusterState extends \Google\Protobuf\Internal\Message * * @type int $replication_state * Output only. The state of replication for the table in this cluster. - * @type array<\Google\Cloud\Bigtable\Admin\V2\EncryptionInfo>|\Google\Protobuf\Internal\RepeatedField $encryption_info + * @type \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo[] $encryption_info * Output only. The encryption information for the table in this cluster. * If the encryption key protecting this resource is customer managed, then * its version can be rotated in Cloud Key Management Service (Cloud KMS). @@ -87,7 +87,7 @@ public function setReplicationState($var) * changes propagate from Cloud KMS. * * Generated from protobuf field repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\EncryptionInfo> */ public function getEncryptionInfo() { @@ -102,7 +102,7 @@ public function getEncryptionInfo() * changes propagate from Cloud KMS. * * Generated from protobuf field repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Bigtable\Admin\V2\EncryptionInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\EncryptionInfo[] $var * @return $this */ public function setEncryptionInfo($var) @@ -115,6 +115,3 @@ public function setEncryptionInfo($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ClusterState::class, \Google\Cloud\Bigtable\Admin\V2\Table_ClusterState::class); - diff --git a/Bigtable/src/Admin/V2/Table/ClusterState/ReplicationState.php b/Bigtable/src/Admin/V2/Table/ClusterState/ReplicationState.php index 483a7181036d..1ce574fd5312 100644 --- a/Bigtable/src/Admin/V2/Table/ClusterState/ReplicationState.php +++ b/Bigtable/src/Admin/V2/Table/ClusterState/ReplicationState.php @@ -88,6 +88,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ReplicationState::class, \Google\Cloud\Bigtable\Admin\V2\Table_ClusterState_ReplicationState::class); - diff --git a/Bigtable/src/Admin/V2/Table/TimestampGranularity.php b/Bigtable/src/Admin/V2/Table/TimestampGranularity.php index 67b1b6d1f95f..df2edb453322 100644 --- a/Bigtable/src/Admin/V2/Table/TimestampGranularity.php +++ b/Bigtable/src/Admin/V2/Table/TimestampGranularity.php @@ -54,6 +54,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TimestampGranularity::class, \Google\Cloud\Bigtable\Admin\V2\Table_TimestampGranularity::class); - diff --git a/Bigtable/src/Admin/V2/Table/View.php b/Bigtable/src/Admin/V2/Table/View.php index f2355cc4aa83..57306a4bc7bd 100644 --- a/Bigtable/src/Admin/V2/Table/View.php +++ b/Bigtable/src/Admin/V2/Table/View.php @@ -81,6 +81,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(View::class, \Google\Cloud\Bigtable\Admin\V2\Table_View::class); - diff --git a/Bigtable/src/Admin/V2/TieredStorageConfig.php b/Bigtable/src/Admin/V2/TieredStorageConfig.php index a96dbdea972a..8eb26bc0e1dd 100644 --- a/Bigtable/src/Admin/V2/TieredStorageConfig.php +++ b/Bigtable/src/Admin/V2/TieredStorageConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config for tiered storage. diff --git a/Bigtable/src/Admin/V2/TieredStorageRule.php b/Bigtable/src/Admin/V2/TieredStorageRule.php index 376238bbabcb..b3e999dd98cf 100644 --- a/Bigtable/src/Admin/V2/TieredStorageRule.php +++ b/Bigtable/src/Admin/V2/TieredStorageRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rule to specify what data is stored in a storage tier. diff --git a/Bigtable/src/Admin/V2/Type.php b/Bigtable/src/Admin/V2/Type.php index 047f7b7129e0..d39384a88b57 100644 --- a/Bigtable/src/Admin/V2/Type.php +++ b/Bigtable/src/Admin/V2/Type.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Type` represents the type of data that is written to, read from, or stored diff --git a/Bigtable/src/Admin/V2/Type/Aggregate.php b/Bigtable/src/Admin/V2/Type/Aggregate.php index 9c28110eabb3..7304bbfc22f6 100644 --- a/Bigtable/src/Admin/V2/Type/Aggregate.php +++ b/Bigtable/src/Admin/V2/Type/Aggregate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A value that combines incremental updates into a summarized value. @@ -279,6 +279,3 @@ public function getAggregator() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Aggregate::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate::class); - diff --git a/Bigtable/src/Admin/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php b/Bigtable/src/Admin/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php index 1c9423fe762e..9766958b1027 100644 --- a/Bigtable/src/Admin/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php +++ b/Bigtable/src/Admin/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes an approximate unique count over the input values. When using @@ -37,6 +37,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HyperLogLogPlusPlusUniqueCount::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_HyperLogLogPlusPlusUniqueCount::class); - diff --git a/Bigtable/src/Admin/V2/Type/Aggregate/Max.php b/Bigtable/src/Admin/V2/Type/Aggregate/Max.php index a1ebe235ad1e..c48a536e3b91 100644 --- a/Bigtable/src/Admin/V2/Type/Aggregate/Max.php +++ b/Bigtable/src/Admin/V2/Type/Aggregate/Max.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes the max of the input values. @@ -33,6 +33,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Max::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_Max::class); - diff --git a/Bigtable/src/Admin/V2/Type/Aggregate/Min.php b/Bigtable/src/Admin/V2/Type/Aggregate/Min.php index a9adbf1cddd1..45ebd904bf52 100644 --- a/Bigtable/src/Admin/V2/Type/Aggregate/Min.php +++ b/Bigtable/src/Admin/V2/Type/Aggregate/Min.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes the min of the input values. @@ -33,6 +33,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Min::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_Min::class); - diff --git a/Bigtable/src/Admin/V2/Type/Aggregate/Sum.php b/Bigtable/src/Admin/V2/Type/Aggregate/Sum.php index 209569e18bcc..0d316912f3a0 100644 --- a/Bigtable/src/Admin/V2/Type/Aggregate/Sum.php +++ b/Bigtable/src/Admin/V2/Type/Aggregate/Sum.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes the sum of the input values. @@ -33,6 +33,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Sum::class, \Google\Cloud\Bigtable\Admin\V2\Type_Aggregate_Sum::class); - diff --git a/Bigtable/src/Admin/V2/Type/Bytes.php b/Bigtable/src/Admin/V2/Type/Bytes.php index 08ce2d3353c2..3cc75aa0d6a3 100644 --- a/Bigtable/src/Admin/V2/Type/Bytes.php +++ b/Bigtable/src/Admin/V2/Type/Bytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Bytes @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Bytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bytes::class); - diff --git a/Bigtable/src/Admin/V2/Type/Bytes/Encoding.php b/Bigtable/src/Admin/V2/Type/Bytes/Encoding.php index 9c80a6287508..993b209ddf23 100644 --- a/Bigtable/src/Admin/V2/Type/Bytes/Encoding.php +++ b/Bigtable/src/Admin/V2/Type/Bytes/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Bytes; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -73,6 +73,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bytes_Encoding::class); - diff --git a/Bigtable/src/Admin/V2/Type/Bytes/Encoding/Raw.php b/Bigtable/src/Admin/V2/Type/Bytes/Encoding/Raw.php index dfdca4ba1820..d41d5e8c76e2 100644 --- a/Bigtable/src/Admin/V2/Type/Bytes/Encoding/Raw.php +++ b/Bigtable/src/Admin/V2/Type/Bytes/Encoding/Raw.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Bytes\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Leaves the value as-is. @@ -33,6 +33,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Raw::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bytes_Encoding_Raw::class); - diff --git a/Bigtable/src/Admin/V2/Type/Date.php b/Bigtable/src/Admin/V2/Type/Date.php index 45c6dfa345e8..15dd64a0eecc 100644 --- a/Bigtable/src/Admin/V2/Type/Date.php +++ b/Bigtable/src/Admin/V2/Type/Date.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Date @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Date::class, \Google\Cloud\Bigtable\Admin\V2\Type_Date::class); - diff --git a/Bigtable/src/Admin/V2/Type/Enum.php b/Bigtable/src/Admin/V2/Type/Enum.php index be3e85af8e33..c062b81ea28c 100644 --- a/Bigtable/src/Admin/V2/Type/Enum.php +++ b/Bigtable/src/Admin/V2/Type/Enum.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A protobuf enum type. @@ -104,6 +104,3 @@ public function setEnumName($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Enum::class, \Google\Cloud\Bigtable\Admin\V2\Type_Enum::class); - diff --git a/Bigtable/src/Admin/V2/Type/Float32.php b/Bigtable/src/Admin/V2/Type/Float32.php index adedacc80961..5f49aa029d66 100644 --- a/Bigtable/src/Admin/V2/Type/Float32.php +++ b/Bigtable/src/Admin/V2/Type/Float32.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Float32 @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Float32::class, \Google\Cloud\Bigtable\Admin\V2\Type_Float32::class); - diff --git a/Bigtable/src/Admin/V2/Type/Float64.php b/Bigtable/src/Admin/V2/Type/Float64.php index d28be7adc3a9..3b6811a39598 100644 --- a/Bigtable/src/Admin/V2/Type/Float64.php +++ b/Bigtable/src/Admin/V2/Type/Float64.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Float64 @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Float64::class, \Google\Cloud\Bigtable\Admin\V2\Type_Float64::class); - diff --git a/Bigtable/src/Admin/V2/Type/Int64.php b/Bigtable/src/Admin/V2/Type/Int64.php index beec21a7ada2..325abee6f69d 100644 --- a/Bigtable/src/Admin/V2/Type/Int64.php +++ b/Bigtable/src/Admin/V2/Type/Int64.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Int64 @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Int64::class, \Google\Cloud\Bigtable\Admin\V2\Type_Int64::class); - diff --git a/Bigtable/src/Admin/V2/Type/Int64/Encoding.php b/Bigtable/src/Admin/V2/Type/Int64/Encoding.php index 3efc258c368e..7fbd0d44ea0f 100644 --- a/Bigtable/src/Admin/V2/Type/Int64/Encoding.php +++ b/Bigtable/src/Admin/V2/Type/Int64/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Int64; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -106,6 +106,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_Int64_Encoding::class); - diff --git a/Bigtable/src/Admin/V2/Type/Int64/Encoding/BigEndianBytes.php b/Bigtable/src/Admin/V2/Type/Int64/Encoding/BigEndianBytes.php index 8351374fa7b2..736c307b55a2 100644 --- a/Bigtable/src/Admin/V2/Type/Int64/Encoding/BigEndianBytes.php +++ b/Bigtable/src/Admin/V2/Type/Int64/Encoding/BigEndianBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encodes the value as an 8-byte big-endian two's complement value. @@ -92,6 +92,3 @@ public function setBytesType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BigEndianBytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_Int64_Encoding_BigEndianBytes::class); - diff --git a/Bigtable/src/Admin/V2/Type/Int64/Encoding/OrderedCodeBytes.php b/Bigtable/src/Admin/V2/Type/Int64/Encoding/OrderedCodeBytes.php index cbb4e0aa8428..18c29960fa3f 100644 --- a/Bigtable/src/Admin/V2/Type/Int64/Encoding/OrderedCodeBytes.php +++ b/Bigtable/src/Admin/V2/Type/Int64/Encoding/OrderedCodeBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encodes the value in a variable length binary format of up to 10 bytes. @@ -34,6 +34,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OrderedCodeBytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_Int64_Encoding_OrderedCodeBytes::class); - diff --git a/Bigtable/src/Admin/V2/Type/Map.php b/Bigtable/src/Admin/V2/Type/Map.php index a5090f55b29d..191950d5cbfd 100644 --- a/Bigtable/src/Admin/V2/Type/Map.php +++ b/Bigtable/src/Admin/V2/Type/Map.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A mapping of keys to values of a given type. @@ -129,6 +129,3 @@ public function setValueType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Map::class, \Google\Cloud\Bigtable\Admin\V2\Type_Map::class); - diff --git a/Bigtable/src/Admin/V2/Type/PBArray.php b/Bigtable/src/Admin/V2/Type/PBArray.php index 92cf7364257f..8001121d0488 100644 --- a/Bigtable/src/Admin/V2/Type/PBArray.php +++ b/Bigtable/src/Admin/V2/Type/PBArray.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An ordered list of elements of a given type. @@ -76,6 +76,3 @@ public function setElementType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PBArray::class, \Google\Cloud\Bigtable\Admin\V2\Type_Array::class); - diff --git a/Bigtable/src/Admin/V2/Type/PBBool.php b/Bigtable/src/Admin/V2/Type/PBBool.php index 562251784d1c..29daecdd3e86 100644 --- a/Bigtable/src/Admin/V2/Type/PBBool.php +++ b/Bigtable/src/Admin/V2/Type/PBBool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * bool @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PBBool::class, \Google\Cloud\Bigtable\Admin\V2\Type_Bool::class); - diff --git a/Bigtable/src/Admin/V2/Type/PBString.php b/Bigtable/src/Admin/V2/Type/PBString.php index 9e78a668b453..4583cc1ce63f 100644 --- a/Bigtable/src/Admin/V2/Type/PBString.php +++ b/Bigtable/src/Admin/V2/Type/PBString.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * String @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PBString::class, \Google\Cloud\Bigtable\Admin\V2\Type_String::class); - diff --git a/Bigtable/src/Admin/V2/Type/PBString/Encoding.php b/Bigtable/src/Admin/V2/Type/PBString/Encoding.php index 128f11603e23..3fd433f39874 100644 --- a/Bigtable/src/Admin/V2/Type/PBString/Encoding.php +++ b/Bigtable/src/Admin/V2/Type/PBString/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\PBString; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -115,6 +115,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_String_Encoding::class); - diff --git a/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Bytes.php b/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Bytes.php index 777c1bd716db..ab79a1b9eeb4 100644 --- a/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Bytes.php +++ b/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Bytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * UTF-8 encoding. @@ -39,6 +39,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Utf8Bytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_String_Encoding_Utf8Bytes::class); - diff --git a/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Raw.php b/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Raw.php index 810e88c04499..f292bc602c83 100644 --- a/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Raw.php +++ b/Bigtable/src/Admin/V2/Type/PBString/Encoding/Utf8Raw.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deprecated: prefer the equivalent `Utf8Bytes`. @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Utf8Raw::class, \Google\Cloud\Bigtable\Admin\V2\Type_String_Encoding_Utf8Raw::class); - diff --git a/Bigtable/src/Admin/V2/Type/Proto.php b/Bigtable/src/Admin/V2/Type/Proto.php index affef53bb33f..08adcf4ba2c1 100644 --- a/Bigtable/src/Admin/V2/Type/Proto.php +++ b/Bigtable/src/Admin/V2/Type/Proto.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A protobuf message type. @@ -104,6 +104,3 @@ public function setMessageName($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Proto::class, \Google\Cloud\Bigtable\Admin\V2\Type_Proto::class); - diff --git a/Bigtable/src/Admin/V2/Type/Struct.php b/Bigtable/src/Admin/V2/Type/Struct.php index 836cf2f70ee9..2975abb23717 100644 --- a/Bigtable/src/Admin/V2/Type/Struct.php +++ b/Bigtable/src/Admin/V2/Type/Struct.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A structured data value, consisting of fields which map to dynamically @@ -37,7 +37,7 @@ class Struct extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field[] $fields * The names and types of the fields in this struct. * @type \Google\Cloud\Bigtable\Admin\V2\Type\Struct\Encoding $encoding * The encoding to use when converting to or from lower level types. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The names and types of the fields in this struct. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Type.Struct.Field fields = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field> */ public function getFields() { @@ -63,7 +63,7 @@ public function getFields() * The names and types of the fields in this struct. * * Generated from protobuf field repeated .google.bigtable.admin.v2.Type.Struct.Field fields = 1; - * @param array<\Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field[] $var * @return $this */ public function setFields($var) @@ -112,6 +112,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Struct::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct::class); - diff --git a/Bigtable/src/Admin/V2/Type/Struct/Encoding.php b/Bigtable/src/Admin/V2/Type/Struct/Encoding.php index b3049c22083e..3830c5205d0e 100644 --- a/Bigtable/src/Admin/V2/Type/Struct/Encoding.php +++ b/Bigtable/src/Admin/V2/Type/Struct/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Struct; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -139,6 +139,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct_Encoding::class); - diff --git a/Bigtable/src/Admin/V2/Type/Struct/Encoding/DelimitedBytes.php b/Bigtable/src/Admin/V2/Type/Struct/Encoding/DelimitedBytes.php index 7d8e1cdca94a..9e787b1699ac 100644 --- a/Bigtable/src/Admin/V2/Type/Struct/Encoding/DelimitedBytes.php +++ b/Bigtable/src/Admin/V2/Type/Struct/Encoding/DelimitedBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Struct\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Fields are encoded independently and concatenated with a configurable @@ -79,6 +79,3 @@ public function setDelimiter($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DelimitedBytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct_Encoding_DelimitedBytes::class); - diff --git a/Bigtable/src/Admin/V2/Type/Struct/Encoding/OrderedCodeBytes.php b/Bigtable/src/Admin/V2/Type/Struct/Encoding/OrderedCodeBytes.php index dadf34af0256..ffecbff176e8 100644 --- a/Bigtable/src/Admin/V2/Type/Struct/Encoding/OrderedCodeBytes.php +++ b/Bigtable/src/Admin/V2/Type/Struct/Encoding/OrderedCodeBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Struct\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Fields are encoded independently and concatenated with the fixed byte @@ -60,6 +60,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OrderedCodeBytes::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct_Encoding_OrderedCodeBytes::class); - diff --git a/Bigtable/src/Admin/V2/Type/Struct/Encoding/Singleton.php b/Bigtable/src/Admin/V2/Type/Struct/Encoding/Singleton.php index ef0f45a36fd8..c1632a6b60f6 100644 --- a/Bigtable/src/Admin/V2/Type/Struct/Encoding/Singleton.php +++ b/Bigtable/src/Admin/V2/Type/Struct/Encoding/Singleton.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Struct\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Uses the encoding of `fields[0].type` as-is. @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Singleton::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct_Encoding_Singleton::class); - diff --git a/Bigtable/src/Admin/V2/Type/Struct/Field.php b/Bigtable/src/Admin/V2/Type/Struct/Field.php index e90bceae51ec..8dbc5e0d4c50 100644 --- a/Bigtable/src/Admin/V2/Type/Struct/Field.php +++ b/Bigtable/src/Admin/V2/Type/Struct/Field.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Struct; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A struct field and its type. @@ -113,6 +113,3 @@ public function setType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Field::class, \Google\Cloud\Bigtable\Admin\V2\Type_Struct_Field::class); - diff --git a/Bigtable/src/Admin/V2/Type/Timestamp.php b/Bigtable/src/Admin/V2/Type/Timestamp.php index 263913b49243..b1e2a22ec9fe 100644 --- a/Bigtable/src/Admin/V2/Type/Timestamp.php +++ b/Bigtable/src/Admin/V2/Type/Timestamp.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Timestamp @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Timestamp::class, \Google\Cloud\Bigtable\Admin\V2\Type_Timestamp::class); - diff --git a/Bigtable/src/Admin/V2/Type/Timestamp/Encoding.php b/Bigtable/src/Admin/V2/Type/Timestamp/Encoding.php index 5eba68f45e61..09f3d6eeaf5e 100644 --- a/Bigtable/src/Admin/V2/Type/Timestamp/Encoding.php +++ b/Bigtable/src/Admin/V2/Type/Timestamp/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2\Type\Timestamp; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -82,6 +82,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\Admin\V2\Type_Timestamp_Encoding::class); - diff --git a/Bigtable/src/Admin/V2/UndeleteTableMetadata.php b/Bigtable/src/Admin/V2/UndeleteTableMetadata.php index b847a234a946..843a9e86df51 100644 --- a/Bigtable/src/Admin/V2/UndeleteTableMetadata.php +++ b/Bigtable/src/Admin/V2/UndeleteTableMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata type for the operation returned by diff --git a/Bigtable/src/Admin/V2/UndeleteTableRequest.php b/Bigtable/src/Admin/V2/UndeleteTableRequest.php index d3ead7ced6a2..e177268e6c75 100644 --- a/Bigtable/src/Admin/V2/UndeleteTableRequest.php +++ b/Bigtable/src/Admin/V2/UndeleteTableRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Bigtable/src/Admin/V2/UpdateAppProfileMetadata.php b/Bigtable/src/Admin/V2/UpdateAppProfileMetadata.php index aa4ccbf47fe0..b9f8cc371bae 100644 --- a/Bigtable/src/Admin/V2/UpdateAppProfileMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateAppProfileMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by UpdateAppProfile. diff --git a/Bigtable/src/Admin/V2/UpdateAppProfileRequest.php b/Bigtable/src/Admin/V2/UpdateAppProfileRequest.php index 5933bed32b54..4b567f7c1c26 100644 --- a/Bigtable/src/Admin/V2/UpdateAppProfileRequest.php +++ b/Bigtable/src/Admin/V2/UpdateAppProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.UpdateAppProfile. diff --git a/Bigtable/src/Admin/V2/UpdateAuthorizedViewMetadata.php b/Bigtable/src/Admin/V2/UpdateAuthorizedViewMetadata.php index 1457fd96929c..4d78c94037b6 100644 --- a/Bigtable/src/Admin/V2/UpdateAuthorizedViewMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateAuthorizedViewMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for the google.longrunning.Operation returned by diff --git a/Bigtable/src/Admin/V2/UpdateAuthorizedViewRequest.php b/Bigtable/src/Admin/V2/UpdateAuthorizedViewRequest.php index 1cd560d01850..f53334143f16 100644 --- a/Bigtable/src/Admin/V2/UpdateAuthorizedViewRequest.php +++ b/Bigtable/src/Admin/V2/UpdateAuthorizedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/UpdateBackupRequest.php b/Bigtable/src/Admin/V2/UpdateBackupRequest.php index b450460b852b..9edda2e6eb45 100644 --- a/Bigtable/src/Admin/V2/UpdateBackupRequest.php +++ b/Bigtable/src/Admin/V2/UpdateBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/UpdateClusterMetadata.php b/Bigtable/src/Admin/V2/UpdateClusterMetadata.php index 09fcde08400d..d7139cf84ced 100644 --- a/Bigtable/src/Admin/V2/UpdateClusterMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateClusterMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by UpdateCluster. diff --git a/Bigtable/src/Admin/V2/UpdateInstanceMetadata.php b/Bigtable/src/Admin/V2/UpdateInstanceMetadata.php index 5caa3d20f2a2..7fcdbe7516d3 100644 --- a/Bigtable/src/Admin/V2/UpdateInstanceMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateInstanceMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by UpdateInstance. diff --git a/Bigtable/src/Admin/V2/UpdateLogicalViewMetadata.php b/Bigtable/src/Admin/V2/UpdateLogicalViewMetadata.php index cc3a4f4140aa..876b577a1c09 100644 --- a/Bigtable/src/Admin/V2/UpdateLogicalViewMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateLogicalViewMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by UpdateLogicalView. diff --git a/Bigtable/src/Admin/V2/UpdateLogicalViewRequest.php b/Bigtable/src/Admin/V2/UpdateLogicalViewRequest.php index 46dd6fe15dae..8bd3742a86ee 100644 --- a/Bigtable/src/Admin/V2/UpdateLogicalViewRequest.php +++ b/Bigtable/src/Admin/V2/UpdateLogicalViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.UpdateLogicalView. diff --git a/Bigtable/src/Admin/V2/UpdateMaterializedViewMetadata.php b/Bigtable/src/Admin/V2/UpdateMaterializedViewMetadata.php index 134f48cf740f..8251e78e78af 100644 --- a/Bigtable/src/Admin/V2/UpdateMaterializedViewMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateMaterializedViewMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by UpdateMaterializedView. diff --git a/Bigtable/src/Admin/V2/UpdateMaterializedViewRequest.php b/Bigtable/src/Admin/V2/UpdateMaterializedViewRequest.php index f25b365f57a9..7bca5a110f88 100644 --- a/Bigtable/src/Admin/V2/UpdateMaterializedViewRequest.php +++ b/Bigtable/src/Admin/V2/UpdateMaterializedViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableInstanceAdmin.UpdateMaterializedView. diff --git a/Bigtable/src/Admin/V2/UpdateSchemaBundleMetadata.php b/Bigtable/src/Admin/V2/UpdateSchemaBundleMetadata.php index aeb87e1fa592..efbbafae3700 100644 --- a/Bigtable/src/Admin/V2/UpdateSchemaBundleMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateSchemaBundleMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for the Operation returned by diff --git a/Bigtable/src/Admin/V2/UpdateSchemaBundleRequest.php b/Bigtable/src/Admin/V2/UpdateSchemaBundleRequest.php index 1f615480f97a..44e9ca35100e 100644 --- a/Bigtable/src/Admin/V2/UpdateSchemaBundleRequest.php +++ b/Bigtable/src/Admin/V2/UpdateSchemaBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/Admin/V2/UpdateTableMetadata.php b/Bigtable/src/Admin/V2/UpdateTableMetadata.php index ab407c9bfd1b..37698ff4ff7f 100644 --- a/Bigtable/src/Admin/V2/UpdateTableMetadata.php +++ b/Bigtable/src/Admin/V2/UpdateTableMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata type for the operation returned by diff --git a/Bigtable/src/Admin/V2/UpdateTableRequest.php b/Bigtable/src/Admin/V2/UpdateTableRequest.php index a4c2d40420b8..e79976c2d793 100644 --- a/Bigtable/src/Admin/V2/UpdateTableRequest.php +++ b/Bigtable/src/Admin/V2/UpdateTableRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\Admin\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for diff --git a/Bigtable/src/V2/ArrayValue.php b/Bigtable/src/V2/ArrayValue.php index cb872d55e982..88a88072bdd3 100644 --- a/Bigtable/src/V2/ArrayValue.php +++ b/Bigtable/src/V2/ArrayValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `ArrayValue` is an ordered list of `Value`. @@ -28,7 +28,7 @@ class ArrayValue extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\Value>|\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Cloud\Bigtable\V2\Value[] $values * The ordered elements in the array. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The ordered elements in the array. * * Generated from protobuf field repeated .google.bigtable.v2.Value values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Value> */ public function getValues() { @@ -52,7 +52,7 @@ public function getValues() * The ordered elements in the array. * * Generated from protobuf field repeated .google.bigtable.v2.Value values = 1; - * @param array<\Google\Cloud\Bigtable\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Value[] $var * @return $this */ public function setValues($var) diff --git a/Bigtable/src/V2/Cell.php b/Bigtable/src/V2/Cell.php index ae97f1e167af..d3d11ad27e82 100644 --- a/Bigtable/src/V2/Cell.php +++ b/Bigtable/src/V2/Cell.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies (some of) the contents of a single row/column/timestamp of a table. @@ -58,7 +58,7 @@ class Cell extends \Google\Protobuf\Internal\Message * The value stored in the cell. * May contain any byte string, including the empty string, up to 100MiB in * length. - * @type array|\Google\Protobuf\Internal\RepeatedField $labels + * @type string[] $labels * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * } */ @@ -137,7 +137,7 @@ public function setValue($var) * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * * Generated from protobuf field repeated string labels = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLabels() { @@ -148,7 +148,7 @@ public function getLabels() * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. * * Generated from protobuf field repeated string labels = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLabels($var) diff --git a/Bigtable/src/V2/CheckAndMutateRowRequest.php b/Bigtable/src/V2/CheckAndMutateRowRequest.php index 71dc9e6065dd..6a2e215f8b0b 100644 --- a/Bigtable/src/V2/CheckAndMutateRowRequest.php +++ b/Bigtable/src/V2/CheckAndMutateRowRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Bigtable.CheckAndMutateRow. @@ -183,13 +183,13 @@ public static function buildFromTableNameRowKeyPredicateFilterTrueMutationsFalse * on whether or not any results are yielded, either `true_mutations` or * `false_mutations` will be executed. If unset, checks that the row contains * any values at all. - * @type array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $true_mutations + * @type \Google\Cloud\Bigtable\V2\Mutation[] $true_mutations * Changes to be atomically applied to the specified row if `predicate_filter` * yields at least one cell when applied to `row_key`. Entries are applied in * order, meaning that earlier mutations can be masked by later ones. * Must contain at least one entry if `false_mutations` is empty, and at most * 100000. - * @type array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $false_mutations + * @type \Google\Cloud\Bigtable\V2\Mutation[] $false_mutations * Changes to be atomically applied to the specified row if `predicate_filter` * does not yield any cells when applied to `row_key`. Entries are applied in * order, meaning that earlier mutations can be masked by later ones. @@ -372,7 +372,7 @@ public function setPredicateFilter($var) * 100000. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation true_mutations = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Mutation> */ public function getTrueMutations() { @@ -387,7 +387,7 @@ public function getTrueMutations() * 100000. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation true_mutations = 4; - * @param array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Mutation[] $var * @return $this */ public function setTrueMutations($var) @@ -406,7 +406,7 @@ public function setTrueMutations($var) * 100000. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation false_mutations = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Mutation> */ public function getFalseMutations() { @@ -421,7 +421,7 @@ public function getFalseMutations() * 100000. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation false_mutations = 5; - * @param array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Mutation[] $var * @return $this */ public function setFalseMutations($var) diff --git a/Bigtable/src/V2/CheckAndMutateRowResponse.php b/Bigtable/src/V2/CheckAndMutateRowResponse.php index ea562f574e70..4efd11f80ffa 100644 --- a/Bigtable/src/V2/CheckAndMutateRowResponse.php +++ b/Bigtable/src/V2/CheckAndMutateRowResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.CheckAndMutateRow. diff --git a/Bigtable/src/V2/Column.php b/Bigtable/src/V2/Column.php index b2f46bdf290b..8bcede78d40e 100644 --- a/Bigtable/src/V2/Column.php +++ b/Bigtable/src/V2/Column.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies (some of) the contents of a single row/column intersection of a @@ -45,7 +45,7 @@ class Column extends \Google\Protobuf\Internal\Message * which sets its `column_qualifier_regex_filter` field. * May contain any byte string, including the empty string, up to 16kiB in * length. - * @type array<\Google\Cloud\Bigtable\V2\Cell>|\Google\Protobuf\Internal\RepeatedField $cells + * @type \Google\Cloud\Bigtable\V2\Cell[] $cells * Must not be empty. Sorted in order of decreasing "timestamp_micros". * } */ @@ -92,7 +92,7 @@ public function setQualifier($var) * Must not be empty. Sorted in order of decreasing "timestamp_micros". * * Generated from protobuf field repeated .google.bigtable.v2.Cell cells = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Cell> */ public function getCells() { @@ -103,7 +103,7 @@ public function getCells() * Must not be empty. Sorted in order of decreasing "timestamp_micros". * * Generated from protobuf field repeated .google.bigtable.v2.Cell cells = 2; - * @param array<\Google\Cloud\Bigtable\V2\Cell>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Cell[] $var * @return $this */ public function setCells($var) diff --git a/Bigtable/src/V2/ColumnMetadata.php b/Bigtable/src/V2/ColumnMetadata.php index 35f3c975b0f7..4738addc9a74 100644 --- a/Bigtable/src/V2/ColumnMetadata.php +++ b/Bigtable/src/V2/ColumnMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a column in a Bigtable Query Language result set. diff --git a/Bigtable/src/V2/ColumnRange.php b/Bigtable/src/V2/ColumnRange.php index d5ff522b00d6..5a7c43ac4185 100644 --- a/Bigtable/src/V2/ColumnRange.php +++ b/Bigtable/src/V2/ColumnRange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a contiguous range of columns within a single column family. diff --git a/Bigtable/src/V2/ExecuteQueryRequest.php b/Bigtable/src/V2/ExecuteQueryRequest.php index b304a410ad8b..5885a4f8debd 100644 --- a/Bigtable/src/V2/ExecuteQueryRequest.php +++ b/Bigtable/src/V2/ExecuteQueryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Bigtable.ExecuteQuery @@ -67,16 +67,16 @@ class ExecuteQueryRequest extends \Google\Protobuf\Internal\Message * Required. params contains string type keys and Bigtable type values that * bind to placeholders in the query string. In query string, a parameter * placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. * For example, if * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` - * then `@firstName` will be replaced with googlesql bytes value "foo" in the + * then `\@firstName` will be replaced with googlesql bytes value "foo" in the * query string during query evaluation. * If `Value.kind` is not set, the value is treated as a NULL value of the * given type. For example, if * `params["firstName"] = type {string_type {}}` - * then `@firstName` will be replaced with googlesql null string. + * then `\@firstName` will be replaced with googlesql null string. * If `query` is set, any empty `Value.type` in the map will be rejected with * `INVALID_ARGUMENT`. * If `prepared_query` is set, any empty `Value.type` in the map will be @@ -174,16 +174,16 @@ public static function buildFromInstanceNameQueryAppProfileId(string $instanceNa * Required. params contains string type keys and Bigtable type values that * bind to placeholders in the query string. In query string, a parameter * placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. * For example, if * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` - * then `@firstName` will be replaced with googlesql bytes value "foo" in the + * then `\@firstName` will be replaced with googlesql bytes value "foo" in the * query string during query evaluation. * If `Value.kind` is not set, the value is treated as a NULL value of the * given type. For example, if * `params["firstName"] = type {string_type {}}` - * then `@firstName` will be replaced with googlesql null string. + * then `\@firstName` will be replaced with googlesql null string. * If `query` is set, any empty `Value.type` in the map will be rejected with * `INVALID_ARGUMENT`. * If `prepared_query` is set, any empty `Value.type` in the map will be @@ -413,16 +413,16 @@ public function setResumeToken($var) * Required. params contains string type keys and Bigtable type values that * bind to placeholders in the query string. In query string, a parameter * placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. * For example, if * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` - * then `@firstName` will be replaced with googlesql bytes value "foo" in the + * then `\@firstName` will be replaced with googlesql bytes value "foo" in the * query string during query evaluation. * If `Value.kind` is not set, the value is treated as a NULL value of the * given type. For example, if * `params["firstName"] = type {string_type {}}` - * then `@firstName` will be replaced with googlesql null string. + * then `\@firstName` will be replaced with googlesql null string. * If `query` is set, any empty `Value.type` in the map will be rejected with * `INVALID_ARGUMENT`. * If `prepared_query` is set, any empty `Value.type` in the map will be @@ -442,16 +442,16 @@ public function getParams() * Required. params contains string type keys and Bigtable type values that * bind to placeholders in the query string. In query string, a parameter * placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. * For example, if * `params["firstName"] = bytes_value: "foo" type {bytes_type {}}` - * then `@firstName` will be replaced with googlesql bytes value "foo" in the + * then `\@firstName` will be replaced with googlesql bytes value "foo" in the * query string during query evaluation. * If `Value.kind` is not set, the value is treated as a NULL value of the * given type. For example, if * `params["firstName"] = type {string_type {}}` - * then `@firstName` will be replaced with googlesql null string. + * then `\@firstName` will be replaced with googlesql null string. * If `query` is set, any empty `Value.type` in the map will be rejected with * `INVALID_ARGUMENT`. * If `prepared_query` is set, any empty `Value.type` in the map will be diff --git a/Bigtable/src/V2/ExecuteQueryResponse.php b/Bigtable/src/V2/ExecuteQueryResponse.php index d007d3387015..ceb7b1d23857 100644 --- a/Bigtable/src/V2/ExecuteQueryResponse.php +++ b/Bigtable/src/V2/ExecuteQueryResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.ExecuteQuery diff --git a/Bigtable/src/V2/Family.php b/Bigtable/src/V2/Family.php index 429023c4587d..eac2d588ee54 100644 --- a/Bigtable/src/V2/Family.php +++ b/Bigtable/src/V2/Family.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies (some of) the contents of a single row/column family intersection @@ -47,7 +47,7 @@ class Family extends \Google\Protobuf\Internal\Message * Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may * produce cells in a sentinel family with an empty name. * Must be no greater than 64 characters in length. - * @type array<\Google\Cloud\Bigtable\V2\Column>|\Google\Protobuf\Internal\RepeatedField $columns + * @type \Google\Cloud\Bigtable\V2\Column[] $columns * Must not be empty. Sorted in order of increasing "qualifier". * } */ @@ -96,7 +96,7 @@ public function setName($var) * Must not be empty. Sorted in order of increasing "qualifier". * * Generated from protobuf field repeated .google.bigtable.v2.Column columns = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Column> */ public function getColumns() { @@ -107,7 +107,7 @@ public function getColumns() * Must not be empty. Sorted in order of increasing "qualifier". * * Generated from protobuf field repeated .google.bigtable.v2.Column columns = 2; - * @param array<\Google\Cloud\Bigtable\V2\Column>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Column[] $var * @return $this */ public function setColumns($var) diff --git a/Bigtable/src/V2/FeatureFlags.php b/Bigtable/src/V2/FeatureFlags.php index fc91c6e7847d..b70fa1d23e87 100644 --- a/Bigtable/src/V2/FeatureFlags.php +++ b/Bigtable/src/V2/FeatureFlags.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Feature flags supported or enabled by a client. diff --git a/Bigtable/src/V2/FullReadStatsView.php b/Bigtable/src/V2/FullReadStatsView.php index 3376ecb5017e..f1e5d5e430ca 100644 --- a/Bigtable/src/V2/FullReadStatsView.php +++ b/Bigtable/src/V2/FullReadStatsView.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * FullReadStatsView captures all known information about a read. diff --git a/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsRequest.php b/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsRequest.php index 67233adb93bf..674d75fbcac1 100644 --- a/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsRequest.php +++ b/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NOTE: This API is intended to be used by Apache Beam BigtableIO. diff --git a/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsResponse.php b/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsResponse.php index 26f241b3bd8c..9fe28a539fbd 100644 --- a/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsResponse.php +++ b/Bigtable/src/V2/GenerateInitialChangeStreamPartitionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NOTE: This API is intended to be used by Apache Beam BigtableIO. diff --git a/Bigtable/src/V2/Idempotency.php b/Bigtable/src/V2/Idempotency.php index 60ba68feca16..82c4c421096a 100644 --- a/Bigtable/src/V2/Idempotency.php +++ b/Bigtable/src/V2/Idempotency.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Parameters on mutations where clients want to ensure idempotency (i.e. diff --git a/Bigtable/src/V2/MutateRowRequest.php b/Bigtable/src/V2/MutateRowRequest.php index 43c1739ea6aa..34179938a13f 100644 --- a/Bigtable/src/V2/MutateRowRequest.php +++ b/Bigtable/src/V2/MutateRowRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Bigtable.MutateRow. @@ -134,7 +134,7 @@ public static function buildFromTableNameRowKeyMutationsAppProfileId(string $tab * "default" application profile will be used. * @type string $row_key * Required. The key of the row to which the mutation should be applied. - * @type array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $mutations + * @type \Google\Cloud\Bigtable\V2\Mutation[] $mutations * Required. Changes to be atomically applied to the specified row. Entries * are applied in order, meaning that earlier mutations can be masked by later * ones. Must contain at least one entry and at most 100000. @@ -272,7 +272,7 @@ public function setRowKey($var) * ones. Must contain at least one entry and at most 100000. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Mutation> */ public function getMutations() { @@ -285,7 +285,7 @@ public function getMutations() * ones. Must contain at least one entry and at most 100000. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Mutation[] $var * @return $this */ public function setMutations($var) diff --git a/Bigtable/src/V2/MutateRowResponse.php b/Bigtable/src/V2/MutateRowResponse.php index 2a2cc243d6aa..3430a3917d03 100644 --- a/Bigtable/src/V2/MutateRowResponse.php +++ b/Bigtable/src/V2/MutateRowResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.MutateRow. diff --git a/Bigtable/src/V2/MutateRowsRequest.php b/Bigtable/src/V2/MutateRowsRequest.php index 64ce09021ece..c01b0bb6feae 100644 --- a/Bigtable/src/V2/MutateRowsRequest.php +++ b/Bigtable/src/V2/MutateRowsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for BigtableService.MutateRows. @@ -121,7 +121,7 @@ public static function buildFromTableNameEntriesAppProfileId(string $tableName, * @type string $app_profile_id * This value specifies routing for replication. If not specified, the * "default" application profile will be used. - * @type array<\Google\Cloud\Bigtable\V2\MutateRowsRequest\Entry>|\Google\Protobuf\Internal\RepeatedField $entries + * @type \Google\Cloud\Bigtable\V2\MutateRowsRequest\Entry[] $entries * Required. The row keys and corresponding mutations to be applied in bulk. * Each entry is applied as an atomic mutation, but the entries may be * applied in arbitrary order (even between entries for the same row). @@ -234,7 +234,7 @@ public function setAppProfileId($var) * contain at most 100000 mutations. * * Generated from protobuf field repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\MutateRowsRequest\Entry> */ public function getEntries() { @@ -249,7 +249,7 @@ public function getEntries() * contain at most 100000 mutations. * * Generated from protobuf field repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Bigtable\V2\MutateRowsRequest\Entry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\MutateRowsRequest\Entry[] $var * @return $this */ public function setEntries($var) diff --git a/Bigtable/src/V2/MutateRowsRequest/Entry.php b/Bigtable/src/V2/MutateRowsRequest/Entry.php index 8cd990761b19..65d678fb953a 100644 --- a/Bigtable/src/V2/MutateRowsRequest/Entry.php +++ b/Bigtable/src/V2/MutateRowsRequest/Entry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\MutateRowsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A mutation for a given row. @@ -45,7 +45,7 @@ class Entry extends \Google\Protobuf\Internal\Message * * @type string $row_key * The key of the row to which the `mutations` should be applied. - * @type array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $mutations + * @type \Google\Cloud\Bigtable\V2\Mutation[] $mutations * Required. Changes to be atomically applied to the specified row. * Mutations are applied in order, meaning that earlier mutations can be * masked by later ones. You must specify at least one mutation. @@ -91,7 +91,7 @@ public function setRowKey($var) * masked by later ones. You must specify at least one mutation. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Mutation> */ public function getMutations() { @@ -104,7 +104,7 @@ public function getMutations() * masked by later ones. You must specify at least one mutation. * * Generated from protobuf field repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Bigtable\V2\Mutation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Mutation[] $var * @return $this */ public function setMutations($var) @@ -155,6 +155,3 @@ public function setIdempotency($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Entry::class, \Google\Cloud\Bigtable\V2\MutateRowsRequest_Entry::class); - diff --git a/Bigtable/src/V2/MutateRowsResponse.php b/Bigtable/src/V2/MutateRowsResponse.php index 9467b61e1b39..a56b8e8d2a6c 100644 --- a/Bigtable/src/V2/MutateRowsResponse.php +++ b/Bigtable/src/V2/MutateRowsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for BigtableService.MutateRows. @@ -36,7 +36,7 @@ class MutateRowsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\MutateRowsResponse\Entry>|\Google\Protobuf\Internal\RepeatedField $entries + * @type \Google\Cloud\Bigtable\V2\MutateRowsResponse\Entry[] $entries * One or more results for Entries from the batch request. * @type \Google\Cloud\Bigtable\V2\RateLimitInfo $rate_limit_info * Information about how client should limit the rate (QPS). Primirily used by @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * One or more results for Entries from the batch request. * * Generated from protobuf field repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\MutateRowsResponse\Entry> */ public function getEntries() { @@ -64,7 +64,7 @@ public function getEntries() * One or more results for Entries from the batch request. * * Generated from protobuf field repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; - * @param array<\Google\Cloud\Bigtable\V2\MutateRowsResponse\Entry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\MutateRowsResponse\Entry[] $var * @return $this */ public function setEntries($var) diff --git a/Bigtable/src/V2/MutateRowsResponse/Entry.php b/Bigtable/src/V2/MutateRowsResponse/Entry.php index a6049b0d0792..18528e12b129 100644 --- a/Bigtable/src/V2/MutateRowsResponse/Entry.php +++ b/Bigtable/src/V2/MutateRowsResponse/Entry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\MutateRowsResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The result of applying a passed mutation in the original request. @@ -125,6 +125,3 @@ public function setStatus($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Entry::class, \Google\Cloud\Bigtable\V2\MutateRowsResponse_Entry::class); - diff --git a/Bigtable/src/V2/Mutation.php b/Bigtable/src/V2/Mutation.php index 24f7bf5f7d59..6953dfd5a830 100644 --- a/Bigtable/src/V2/Mutation.php +++ b/Bigtable/src/V2/Mutation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a particular change to be made to the contents of a row. diff --git a/Bigtable/src/V2/Mutation/AddToCell.php b/Bigtable/src/V2/Mutation/AddToCell.php index 2ef613a1e015..aec294ebca32 100644 --- a/Bigtable/src/V2/Mutation/AddToCell.php +++ b/Bigtable/src/V2/Mutation/AddToCell.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Mutation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Mutation which incrementally updates a cell in an `Aggregate` family. @@ -217,6 +217,3 @@ public function setInput($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AddToCell::class, \Google\Cloud\Bigtable\V2\Mutation_AddToCell::class); - diff --git a/Bigtable/src/V2/Mutation/DeleteFromColumn.php b/Bigtable/src/V2/Mutation/DeleteFromColumn.php index a91638edfa4a..ad5dfcf7cd70 100644 --- a/Bigtable/src/V2/Mutation/DeleteFromColumn.php +++ b/Bigtable/src/V2/Mutation/DeleteFromColumn.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Mutation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Mutation which deletes cells from the specified column, optionally @@ -152,6 +152,3 @@ public function setTimeRange($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DeleteFromColumn::class, \Google\Cloud\Bigtable\V2\Mutation_DeleteFromColumn::class); - diff --git a/Bigtable/src/V2/Mutation/DeleteFromFamily.php b/Bigtable/src/V2/Mutation/DeleteFromFamily.php index 66cdb291bf3c..4de40638b789 100644 --- a/Bigtable/src/V2/Mutation/DeleteFromFamily.php +++ b/Bigtable/src/V2/Mutation/DeleteFromFamily.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Mutation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Mutation which deletes all cells from the specified column family. @@ -69,6 +69,3 @@ public function setFamilyName($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DeleteFromFamily::class, \Google\Cloud\Bigtable\V2\Mutation_DeleteFromFamily::class); - diff --git a/Bigtable/src/V2/Mutation/DeleteFromRow.php b/Bigtable/src/V2/Mutation/DeleteFromRow.php index 9200902a1780..aaaeaf2d1f7a 100644 --- a/Bigtable/src/V2/Mutation/DeleteFromRow.php +++ b/Bigtable/src/V2/Mutation/DeleteFromRow.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Mutation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Mutation which deletes all cells from the containing row. @@ -31,6 +31,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DeleteFromRow::class, \Google\Cloud\Bigtable\V2\Mutation_DeleteFromRow::class); - diff --git a/Bigtable/src/V2/Mutation/MergeToCell.php b/Bigtable/src/V2/Mutation/MergeToCell.php index 391e80f1aeea..e29ed7c0484c 100644 --- a/Bigtable/src/V2/Mutation/MergeToCell.php +++ b/Bigtable/src/V2/Mutation/MergeToCell.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Mutation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Mutation which merges accumulated state into a cell in an `Aggregate` @@ -222,6 +222,3 @@ public function setInput($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MergeToCell::class, \Google\Cloud\Bigtable\V2\Mutation_MergeToCell::class); - diff --git a/Bigtable/src/V2/Mutation/SetCell.php b/Bigtable/src/V2/Mutation/SetCell.php index b156e5d5d564..06de56b590d8 100644 --- a/Bigtable/src/V2/Mutation/SetCell.php +++ b/Bigtable/src/V2/Mutation/SetCell.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Mutation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Mutation which sets the value of the specified cell. @@ -191,6 +191,3 @@ public function setValue($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SetCell::class, \Google\Cloud\Bigtable\V2\Mutation_SetCell::class); - diff --git a/Bigtable/src/V2/PartialResultSet.php b/Bigtable/src/V2/PartialResultSet.php index 2c46d8e1b7eb..98531f4aea1b 100644 --- a/Bigtable/src/V2/PartialResultSet.php +++ b/Bigtable/src/V2/PartialResultSet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A partial result set from the streaming query API. diff --git a/Bigtable/src/V2/PeerInfo.php b/Bigtable/src/V2/PeerInfo.php index 2a35e13b0286..7c958236187c 100644 --- a/Bigtable/src/V2/PeerInfo.php +++ b/Bigtable/src/V2/PeerInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * PeerInfo contains information about the peer that the client is diff --git a/Bigtable/src/V2/PeerInfo/TransportType.php b/Bigtable/src/V2/PeerInfo/TransportType.php index 3da2cc62be33..1630e34a1f7a 100644 --- a/Bigtable/src/V2/PeerInfo/TransportType.php +++ b/Bigtable/src/V2/PeerInfo/TransportType.php @@ -98,6 +98,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TransportType::class, \Google\Cloud\Bigtable\V2\PeerInfo_TransportType::class); - diff --git a/Bigtable/src/V2/PingAndWarmRequest.php b/Bigtable/src/V2/PingAndWarmRequest.php index 4daf892b444f..1220a3bb167b 100644 --- a/Bigtable/src/V2/PingAndWarmRequest.php +++ b/Bigtable/src/V2/PingAndWarmRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for client connection keep-alive and warming. diff --git a/Bigtable/src/V2/PingAndWarmResponse.php b/Bigtable/src/V2/PingAndWarmResponse.php index a14857274660..fb68c25dfec2 100644 --- a/Bigtable/src/V2/PingAndWarmResponse.php +++ b/Bigtable/src/V2/PingAndWarmResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.PingAndWarm connection keepalive and warming. diff --git a/Bigtable/src/V2/PrepareQueryRequest.php b/Bigtable/src/V2/PrepareQueryRequest.php index cc1aafc05c27..7523d30bc56f 100644 --- a/Bigtable/src/V2/PrepareQueryRequest.php +++ b/Bigtable/src/V2/PrepareQueryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Bigtable.PrepareQuery @@ -43,9 +43,9 @@ class PrepareQueryRequest extends \Google\Protobuf\Internal\Message * Required. `param_types` is a map of parameter identifier strings to their * `Type`s. * In query string, a parameter placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. - * For example, if param_types["firstName"] = Bytes then @firstName will be a + * For example, if param_types["firstName"] = Bytes then \@firstName will be a * query parameter of type Bytes. The specific `Value` to be used for the * query execution must be sent in `ExecuteQueryRequest` in the `params` map. * @@ -121,9 +121,9 @@ public static function buildFromInstanceNameQueryAppProfileId(string $instanceNa * Required. `param_types` is a map of parameter identifier strings to their * `Type`s. * In query string, a parameter placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. - * For example, if param_types["firstName"] = Bytes then @firstName will be a + * For example, if param_types["firstName"] = Bytes then \@firstName will be a * query parameter of type Bytes. The specific `Value` to be used for the * query execution must be sent in `ExecuteQueryRequest` in the `params` map. * } @@ -260,9 +260,9 @@ public function setProtoFormat($var) * Required. `param_types` is a map of parameter identifier strings to their * `Type`s. * In query string, a parameter placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. - * For example, if param_types["firstName"] = Bytes then @firstName will be a + * For example, if param_types["firstName"] = Bytes then \@firstName will be a * query parameter of type Bytes. The specific `Value` to be used for the * query execution must be sent in `ExecuteQueryRequest` in the `params` map. * @@ -278,9 +278,9 @@ public function getParamTypes() * Required. `param_types` is a map of parameter identifier strings to their * `Type`s. * In query string, a parameter placeholder consists of the - * `@` character followed by the parameter name (for example, `@firstName`) in + * `\@` character followed by the parameter name (for example, `\@firstName`) in * the query string. - * For example, if param_types["firstName"] = Bytes then @firstName will be a + * For example, if param_types["firstName"] = Bytes then \@firstName will be a * query parameter of type Bytes. The specific `Value` to be used for the * query execution must be sent in `ExecuteQueryRequest` in the `params` map. * diff --git a/Bigtable/src/V2/PrepareQueryResponse.php b/Bigtable/src/V2/PrepareQueryResponse.php index 3422eb76786f..a0c58f80a4b4 100644 --- a/Bigtable/src/V2/PrepareQueryResponse.php +++ b/Bigtable/src/V2/PrepareQueryResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.PrepareQueryResponse diff --git a/Bigtable/src/V2/ProtoFormat.php b/Bigtable/src/V2/ProtoFormat.php index 3317d0383327..36b5d95ef7c0 100644 --- a/Bigtable/src/V2/ProtoFormat.php +++ b/Bigtable/src/V2/ProtoFormat.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Protocol buffers format descriptor, as described by Messages ProtoSchema and diff --git a/Bigtable/src/V2/ProtoRows.php b/Bigtable/src/V2/ProtoRows.php index 42447f5b08bf..f5afe029a8c9 100644 --- a/Bigtable/src/V2/ProtoRows.php +++ b/Bigtable/src/V2/ProtoRows.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rows represented in proto format. @@ -33,7 +33,7 @@ class ProtoRows extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\Value>|\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Cloud\Bigtable\V2\Value[] $values * A proto rows message consists of a list of values. Every N complete values * defines a row, where N is equal to the number of entries in the * `metadata.proto_schema.columns` value received in the first response. @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * `metadata.proto_schema.columns` value received in the first response. * * Generated from protobuf field repeated .google.bigtable.v2.Value values = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Value> */ public function getValues() { @@ -63,7 +63,7 @@ public function getValues() * `metadata.proto_schema.columns` value received in the first response. * * Generated from protobuf field repeated .google.bigtable.v2.Value values = 2; - * @param array<\Google\Cloud\Bigtable\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Value[] $var * @return $this */ public function setValues($var) diff --git a/Bigtable/src/V2/ProtoRowsBatch.php b/Bigtable/src/V2/ProtoRowsBatch.php index 93e122f36cfd..ee67558f7420 100644 --- a/Bigtable/src/V2/ProtoRowsBatch.php +++ b/Bigtable/src/V2/ProtoRowsBatch.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A part of a serialized `ProtoRows` message. diff --git a/Bigtable/src/V2/ProtoSchema.php b/Bigtable/src/V2/ProtoSchema.php index efd883b7c5e2..70d004f67c09 100644 --- a/Bigtable/src/V2/ProtoSchema.php +++ b/Bigtable/src/V2/ProtoSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResultSet schema in proto format @@ -28,7 +28,7 @@ class ProtoSchema extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\ColumnMetadata>|\Google\Protobuf\Internal\RepeatedField $columns + * @type \Google\Cloud\Bigtable\V2\ColumnMetadata[] $columns * The columns in the result set. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The columns in the result set. * * Generated from protobuf field repeated .google.bigtable.v2.ColumnMetadata columns = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\ColumnMetadata> */ public function getColumns() { @@ -52,7 +52,7 @@ public function getColumns() * The columns in the result set. * * Generated from protobuf field repeated .google.bigtable.v2.ColumnMetadata columns = 1; - * @param array<\Google\Cloud\Bigtable\V2\ColumnMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\ColumnMetadata[] $var * @return $this */ public function setColumns($var) diff --git a/Bigtable/src/V2/RateLimitInfo.php b/Bigtable/src/V2/RateLimitInfo.php index f862f359e72c..90be8af42fde 100644 --- a/Bigtable/src/V2/RateLimitInfo.php +++ b/Bigtable/src/V2/RateLimitInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about how client should adjust the load to Bigtable. diff --git a/Bigtable/src/V2/ReadChangeStreamRequest.php b/Bigtable/src/V2/ReadChangeStreamRequest.php index c5cbfb41ec8a..a80c119f70db 100644 --- a/Bigtable/src/V2/ReadChangeStreamRequest.php +++ b/Bigtable/src/V2/ReadChangeStreamRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NOTE: This API is intended to be used by Apache Beam BigtableIO. diff --git a/Bigtable/src/V2/ReadChangeStreamResponse.php b/Bigtable/src/V2/ReadChangeStreamResponse.php index bdacae25dce3..eb65b2eb99cc 100644 --- a/Bigtable/src/V2/ReadChangeStreamResponse.php +++ b/Bigtable/src/V2/ReadChangeStreamResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NOTE: This API is intended to be used by Apache Beam BigtableIO. diff --git a/Bigtable/src/V2/ReadChangeStreamResponse/CloseStream.php b/Bigtable/src/V2/ReadChangeStreamResponse/CloseStream.php index 96de7de7d23a..d20c88c0c265 100644 --- a/Bigtable/src/V2/ReadChangeStreamResponse/CloseStream.php +++ b/Bigtable/src/V2/ReadChangeStreamResponse/CloseStream.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\ReadChangeStreamResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message indicating that the client should stop reading from the stream. @@ -64,10 +64,10 @@ class CloseStream extends \Google\Protobuf\Internal\Message * * @type \Google\Rpc\Status $status * The status of the stream. - * @type array<\Google\Cloud\Bigtable\V2\StreamContinuationToken>|\Google\Protobuf\Internal\RepeatedField $continuation_tokens + * @type \Google\Cloud\Bigtable\V2\StreamContinuationToken[] $continuation_tokens * If non-empty, contains the information needed to resume reading their * associated partitions. - * @type array<\Google\Cloud\Bigtable\V2\StreamPartition>|\Google\Protobuf\Internal\RepeatedField $new_partitions + * @type \Google\Cloud\Bigtable\V2\StreamPartition[] $new_partitions * If non-empty, contains the new partitions to start reading from, which * are related to but not necessarily identical to the partitions for the * above `continuation_tokens`. @@ -119,7 +119,7 @@ public function setStatus($var) * associated partitions. * * Generated from protobuf field repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\StreamContinuationToken> */ public function getContinuationTokens() { @@ -131,7 +131,7 @@ public function getContinuationTokens() * associated partitions. * * Generated from protobuf field repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2; - * @param array<\Google\Cloud\Bigtable\V2\StreamContinuationToken>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\StreamContinuationToken[] $var * @return $this */ public function setContinuationTokens($var) @@ -148,7 +148,7 @@ public function setContinuationTokens($var) * above `continuation_tokens`. * * Generated from protobuf field repeated .google.bigtable.v2.StreamPartition new_partitions = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\StreamPartition> */ public function getNewPartitions() { @@ -161,7 +161,7 @@ public function getNewPartitions() * above `continuation_tokens`. * * Generated from protobuf field repeated .google.bigtable.v2.StreamPartition new_partitions = 3; - * @param array<\Google\Cloud\Bigtable\V2\StreamPartition>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\StreamPartition[] $var * @return $this */ public function setNewPartitions($var) @@ -174,6 +174,3 @@ public function setNewPartitions($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CloseStream::class, \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse_CloseStream::class); - diff --git a/Bigtable/src/V2/ReadChangeStreamResponse/DataChange.php b/Bigtable/src/V2/ReadChangeStreamResponse/DataChange.php index 37d4b7116bf3..2a7017ba9c82 100644 --- a/Bigtable/src/V2/ReadChangeStreamResponse/DataChange.php +++ b/Bigtable/src/V2/ReadChangeStreamResponse/DataChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\ReadChangeStreamResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message corresponding to one or more mutations to the partition @@ -118,7 +118,7 @@ class DataChange extends \Google\Protobuf\Internal\Message * timestamp are modified on different clusters at the same * `commit_timestamp`, the mutation with the larger `tiebreaker` will be the * one chosen for the eventually consistent state of the system. - * @type array<\Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk>|\Google\Protobuf\Internal\RepeatedField $chunks + * @type \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk[] $chunks * The mutations associated with this change to the partition. * May contain complete mutations or chunks of a multi-message chunked * `DataChange` record. @@ -306,7 +306,7 @@ public function setTiebreaker($var) * `DataChange` record. * * Generated from protobuf field repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk> */ public function getChunks() { @@ -319,7 +319,7 @@ public function getChunks() * `DataChange` record. * * Generated from protobuf field repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * @param array<\Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk[] $var * @return $this */ public function setChunks($var) @@ -434,6 +434,3 @@ public function setEstimatedLowWatermark($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DataChange::class, \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse_DataChange::class); - diff --git a/Bigtable/src/V2/ReadChangeStreamResponse/DataChange/Type.php b/Bigtable/src/V2/ReadChangeStreamResponse/DataChange/Type.php index 0eb4b8204f45..7ec3437cf671 100644 --- a/Bigtable/src/V2/ReadChangeStreamResponse/DataChange/Type.php +++ b/Bigtable/src/V2/ReadChangeStreamResponse/DataChange/Type.php @@ -67,6 +67,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Type::class, \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse_DataChange_Type::class); - diff --git a/Bigtable/src/V2/ReadChangeStreamResponse/Heartbeat.php b/Bigtable/src/V2/ReadChangeStreamResponse/Heartbeat.php index 7f633ba19775..83cd2e0e6fc1 100644 --- a/Bigtable/src/V2/ReadChangeStreamResponse/Heartbeat.php +++ b/Bigtable/src/V2/ReadChangeStreamResponse/Heartbeat.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\ReadChangeStreamResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A periodic message with information that can be used to checkpoint @@ -144,6 +144,3 @@ public function setEstimatedLowWatermark($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Heartbeat::class, \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse_Heartbeat::class); - diff --git a/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk.php b/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk.php index 861921c6235d..34cf91422ec1 100644 --- a/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk.php +++ b/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\ReadChangeStreamResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A partial or complete mutation. @@ -131,6 +131,3 @@ public function setMutation($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MutationChunk::class, \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse_MutationChunk::class); - diff --git a/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php b/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php index f8a6c673c8bf..a4ff7736a1f9 100644 --- a/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php +++ b/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the chunking of this mutation. @@ -139,6 +139,3 @@ public function setLastChunk($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChunkInfo::class, \Google\Cloud\Bigtable\V2\ReadChangeStreamResponse_MutationChunk_ChunkInfo::class); - diff --git a/Bigtable/src/V2/ReadIterationStats.php b/Bigtable/src/V2/ReadIterationStats.php index f226aa85abc9..2f9fbf18b90c 100644 --- a/Bigtable/src/V2/ReadIterationStats.php +++ b/Bigtable/src/V2/ReadIterationStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ReadIterationStats captures information about the iteration of rows or cells diff --git a/Bigtable/src/V2/ReadModifyWriteRowRequest.php b/Bigtable/src/V2/ReadModifyWriteRowRequest.php index b5ef9c063684..566cff663dce 100644 --- a/Bigtable/src/V2/ReadModifyWriteRowRequest.php +++ b/Bigtable/src/V2/ReadModifyWriteRowRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Bigtable.ReadModifyWriteRow. @@ -134,7 +134,7 @@ public static function buildFromTableNameRowKeyRulesAppProfileId(string $tableNa * @type string $row_key * Required. The key of the row to which the read/modify/write rules should be * applied. - * @type array<\Google\Cloud\Bigtable\V2\ReadModifyWriteRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Cloud\Bigtable\V2\ReadModifyWriteRule[] $rules * Required. Rules specifying how the specified row's contents are to be * transformed into writes. Entries are applied in order, meaning that earlier * rules will affect the results of later ones. At least one entry must be @@ -273,7 +273,7 @@ public function setRowKey($var) * specified, and there can be at most 100000 rules. * * Generated from protobuf field repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\ReadModifyWriteRule> */ public function getRules() { @@ -287,7 +287,7 @@ public function getRules() * specified, and there can be at most 100000 rules. * * Generated from protobuf field repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Bigtable\V2\ReadModifyWriteRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\ReadModifyWriteRule[] $var * @return $this */ public function setRules($var) diff --git a/Bigtable/src/V2/ReadModifyWriteRowResponse.php b/Bigtable/src/V2/ReadModifyWriteRowResponse.php index 1b1c1cdac4a9..6b06171fd145 100644 --- a/Bigtable/src/V2/ReadModifyWriteRowResponse.php +++ b/Bigtable/src/V2/ReadModifyWriteRowResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.ReadModifyWriteRow. diff --git a/Bigtable/src/V2/ReadModifyWriteRule.php b/Bigtable/src/V2/ReadModifyWriteRule.php index 1afafb1f597a..3c48cb605ab5 100644 --- a/Bigtable/src/V2/ReadModifyWriteRule.php +++ b/Bigtable/src/V2/ReadModifyWriteRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies an atomic read/modify/write operation on the latest value of the diff --git a/Bigtable/src/V2/ReadRowsRequest.php b/Bigtable/src/V2/ReadRowsRequest.php index 1c53d003f1e1..0315e2c54645 100644 --- a/Bigtable/src/V2/ReadRowsRequest.php +++ b/Bigtable/src/V2/ReadRowsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Bigtable.ReadRows. diff --git a/Bigtable/src/V2/ReadRowsRequest/RequestStatsView.php b/Bigtable/src/V2/ReadRowsRequest/RequestStatsView.php index 9dd641bbd6dc..dca09d863b82 100644 --- a/Bigtable/src/V2/ReadRowsRequest/RequestStatsView.php +++ b/Bigtable/src/V2/ReadRowsRequest/RequestStatsView.php @@ -62,6 +62,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RequestStatsView::class, \Google\Cloud\Bigtable\V2\ReadRowsRequest_RequestStatsView::class); - diff --git a/Bigtable/src/V2/ReadRowsResponse.php b/Bigtable/src/V2/ReadRowsResponse.php index 454a96ae9df0..162fc0564b5d 100644 --- a/Bigtable/src/V2/ReadRowsResponse.php +++ b/Bigtable/src/V2/ReadRowsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.ReadRows. @@ -50,7 +50,7 @@ class ReadRowsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\ReadRowsResponse\CellChunk>|\Google\Protobuf\Internal\RepeatedField $chunks + * @type \Google\Cloud\Bigtable\V2\ReadRowsResponse\CellChunk[] $chunks * A collection of a row's contents as part of the read request. * @type string $last_scanned_row_key * Optionally the server might return the row key of the last row it @@ -77,7 +77,7 @@ public function __construct($data = NULL) { * A collection of a row's contents as part of the read request. * * Generated from protobuf field repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\ReadRowsResponse\CellChunk> */ public function getChunks() { @@ -88,7 +88,7 @@ public function getChunks() * A collection of a row's contents as part of the read request. * * Generated from protobuf field repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; - * @param array<\Google\Cloud\Bigtable\V2\ReadRowsResponse\CellChunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\ReadRowsResponse\CellChunk[] $var * @return $this */ public function setChunks($var) diff --git a/Bigtable/src/V2/ReadRowsResponse/CellChunk.php b/Bigtable/src/V2/ReadRowsResponse/CellChunk.php index 0ff8217f7de4..5b45ccafeb20 100644 --- a/Bigtable/src/V2/ReadRowsResponse/CellChunk.php +++ b/Bigtable/src/V2/ReadRowsResponse/CellChunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\ReadRowsResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a piece of a row's contents returned as part of the read @@ -121,7 +121,7 @@ class CellChunk extends \Google\Protobuf\Internal\Message * only allow values of `timestamp_micros` which are multiples of * 1000. Timestamps are only set in the first CellChunk per cell * (for cells split into multiple chunks). - * @type array|\Google\Protobuf\Internal\RepeatedField $labels + * @type string[] $labels * Labels applied to the cell by a * [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set * on the first CellChunk per cell. @@ -389,7 +389,7 @@ public function setTimestampMicros($var) * on the first CellChunk per cell. * * Generated from protobuf field repeated string labels = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLabels() { @@ -402,7 +402,7 @@ public function getLabels() * on the first CellChunk per cell. * * Generated from protobuf field repeated string labels = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLabels($var) @@ -555,6 +555,3 @@ public function getRowStatus() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CellChunk::class, \Google\Cloud\Bigtable\V2\ReadRowsResponse_CellChunk::class); - diff --git a/Bigtable/src/V2/RequestLatencyStats.php b/Bigtable/src/V2/RequestLatencyStats.php index 26a852ba8ea8..d1c8e1a63121 100644 --- a/Bigtable/src/V2/RequestLatencyStats.php +++ b/Bigtable/src/V2/RequestLatencyStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RequestLatencyStats provides a measurement of the latency of the request as diff --git a/Bigtable/src/V2/RequestStats.php b/Bigtable/src/V2/RequestStats.php index 249531085130..1a0afe79fa16 100644 --- a/Bigtable/src/V2/RequestStats.php +++ b/Bigtable/src/V2/RequestStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RequestStats is the container for additional information pertaining to a diff --git a/Bigtable/src/V2/ResponseParams.php b/Bigtable/src/V2/ResponseParams.php index 91569456ec27..d4173d64c814 100644 --- a/Bigtable/src/V2/ResponseParams.php +++ b/Bigtable/src/V2/ResponseParams.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response metadata proto diff --git a/Bigtable/src/V2/ResultSetMetadata.php b/Bigtable/src/V2/ResultSetMetadata.php index 9e61567a09bd..5d1ae458d85b 100644 --- a/Bigtable/src/V2/ResultSetMetadata.php +++ b/Bigtable/src/V2/ResultSetMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the structure of a Bigtable result set. diff --git a/Bigtable/src/V2/Row.php b/Bigtable/src/V2/Row.php index ad1d56187e7a..871a946202da 100644 --- a/Bigtable/src/V2/Row.php +++ b/Bigtable/src/V2/Row.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the complete (requested) contents of a single row of a table. @@ -42,7 +42,7 @@ class Row extends \Google\Protobuf\Internal\Message * The unique key which identifies this row within its table. This is the same * key that's used to identify the row in, for example, a MutateRowRequest. * May contain any non-empty byte string up to 4KiB in length. - * @type array<\Google\Cloud\Bigtable\V2\Family>|\Google\Protobuf\Internal\RepeatedField $families + * @type \Google\Cloud\Bigtable\V2\Family[] $families * May be empty, but only if the entire row is empty. * The mutual ordering of column families is not specified. * } @@ -87,7 +87,7 @@ public function setKey($var) * The mutual ordering of column families is not specified. * * Generated from protobuf field repeated .google.bigtable.v2.Family families = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Family> */ public function getFamilies() { @@ -99,7 +99,7 @@ public function getFamilies() * The mutual ordering of column families is not specified. * * Generated from protobuf field repeated .google.bigtable.v2.Family families = 2; - * @param array<\Google\Cloud\Bigtable\V2\Family>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Family[] $var * @return $this */ public function setFamilies($var) diff --git a/Bigtable/src/V2/RowFilter.php b/Bigtable/src/V2/RowFilter.php index 3d05e40a7922..c728a28a7fe6 100644 --- a/Bigtable/src/V2/RowFilter.php +++ b/Bigtable/src/V2/RowFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Takes a row as input and produces an alternate view of the row based on diff --git a/Bigtable/src/V2/RowFilter/Chain.php b/Bigtable/src/V2/RowFilter/Chain.php index 5d9a60a3cea2..e787c62b001f 100644 --- a/Bigtable/src/V2/RowFilter/Chain.php +++ b/Bigtable/src/V2/RowFilter/Chain.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\RowFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A RowFilter which sends rows through several RowFilters in sequence. @@ -30,7 +30,7 @@ class Chain extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\RowFilter>|\Google\Protobuf\Internal\RepeatedField $filters + * @type \Google\Cloud\Bigtable\V2\RowFilter[] $filters * The elements of "filters" are chained together to process the input row: * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row * The full chain is executed atomically. @@ -47,7 +47,7 @@ public function __construct($data = NULL) { * The full chain is executed atomically. * * Generated from protobuf field repeated .google.bigtable.v2.RowFilter filters = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\RowFilter> */ public function getFilters() { @@ -60,7 +60,7 @@ public function getFilters() * The full chain is executed atomically. * * Generated from protobuf field repeated .google.bigtable.v2.RowFilter filters = 1; - * @param array<\Google\Cloud\Bigtable\V2\RowFilter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\RowFilter[] $var * @return $this */ public function setFilters($var) @@ -73,6 +73,3 @@ public function setFilters($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Chain::class, \Google\Cloud\Bigtable\V2\RowFilter_Chain::class); - diff --git a/Bigtable/src/V2/RowFilter/Condition.php b/Bigtable/src/V2/RowFilter/Condition.php index f7e66bf81817..be91977c48d5 100644 --- a/Bigtable/src/V2/RowFilter/Condition.php +++ b/Bigtable/src/V2/RowFilter/Condition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\RowFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A RowFilter which evaluates one of two possible RowFilters, depending on @@ -184,6 +184,3 @@ public function setFalseFilter($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Condition::class, \Google\Cloud\Bigtable\V2\RowFilter_Condition::class); - diff --git a/Bigtable/src/V2/RowFilter/Interleave.php b/Bigtable/src/V2/RowFilter/Interleave.php index 92485f18e91d..0d67d0ae5ad0 100644 --- a/Bigtable/src/V2/RowFilter/Interleave.php +++ b/Bigtable/src/V2/RowFilter/Interleave.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\RowFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A RowFilter which sends each row to each of several component @@ -51,7 +51,7 @@ class Interleave extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\RowFilter>|\Google\Protobuf\Internal\RepeatedField $filters + * @type \Google\Cloud\Bigtable\V2\RowFilter[] $filters * The elements of "filters" all process a copy of the input row, and the * results are pooled, sorted, and combined into a single output row. * If multiple cells are produced with the same column and timestamp, @@ -108,7 +108,7 @@ public function __construct($data = NULL) { * All interleaved filters are executed atomically. * * Generated from protobuf field repeated .google.bigtable.v2.RowFilter filters = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\RowFilter> */ public function getFilters() { @@ -141,7 +141,7 @@ public function getFilters() * All interleaved filters are executed atomically. * * Generated from protobuf field repeated .google.bigtable.v2.RowFilter filters = 1; - * @param array<\Google\Cloud\Bigtable\V2\RowFilter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\RowFilter[] $var * @return $this */ public function setFilters($var) @@ -154,6 +154,3 @@ public function setFilters($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Interleave::class, \Google\Cloud\Bigtable\V2\RowFilter_Interleave::class); - diff --git a/Bigtable/src/V2/RowRange.php b/Bigtable/src/V2/RowRange.php index f4782f92295a..9f3d47997a59 100644 --- a/Bigtable/src/V2/RowRange.php +++ b/Bigtable/src/V2/RowRange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a contiguous range of rows. diff --git a/Bigtable/src/V2/RowSet.php b/Bigtable/src/V2/RowSet.php index 5c8335823bb8..6ba6a39ae425 100644 --- a/Bigtable/src/V2/RowSet.php +++ b/Bigtable/src/V2/RowSet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a non-contiguous set of rows. @@ -34,9 +34,9 @@ class RowSet extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $row_keys + * @type string[] $row_keys * Single rows included in the set. - * @type array<\Google\Cloud\Bigtable\V2\RowRange>|\Google\Protobuf\Internal\RepeatedField $row_ranges + * @type \Google\Cloud\Bigtable\V2\RowRange[] $row_ranges * Contiguous row ranges included in the set. * } */ @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * Single rows included in the set. * * Generated from protobuf field repeated bytes row_keys = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRowKeys() { @@ -60,7 +60,7 @@ public function getRowKeys() * Single rows included in the set. * * Generated from protobuf field repeated bytes row_keys = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRowKeys($var) @@ -75,7 +75,7 @@ public function setRowKeys($var) * Contiguous row ranges included in the set. * * Generated from protobuf field repeated .google.bigtable.v2.RowRange row_ranges = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\RowRange> */ public function getRowRanges() { @@ -86,7 +86,7 @@ public function getRowRanges() * Contiguous row ranges included in the set. * * Generated from protobuf field repeated .google.bigtable.v2.RowRange row_ranges = 2; - * @param array<\Google\Cloud\Bigtable\V2\RowRange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\RowRange[] $var * @return $this */ public function setRowRanges($var) diff --git a/Bigtable/src/V2/SampleRowKeysRequest.php b/Bigtable/src/V2/SampleRowKeysRequest.php index 5fd59d7b2d89..995d244018aa 100644 --- a/Bigtable/src/V2/SampleRowKeysRequest.php +++ b/Bigtable/src/V2/SampleRowKeysRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Bigtable.SampleRowKeys. diff --git a/Bigtable/src/V2/SampleRowKeysResponse.php b/Bigtable/src/V2/SampleRowKeysResponse.php index 1c38c831d343..d261b6417f82 100644 --- a/Bigtable/src/V2/SampleRowKeysResponse.php +++ b/Bigtable/src/V2/SampleRowKeysResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Bigtable.SampleRowKeys. diff --git a/Bigtable/src/V2/StreamContinuationToken.php b/Bigtable/src/V2/StreamContinuationToken.php index 9a623c62ebaa..928fe8f6da84 100644 --- a/Bigtable/src/V2/StreamContinuationToken.php +++ b/Bigtable/src/V2/StreamContinuationToken.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NOTE: This API is intended to be used by Apache Beam BigtableIO. diff --git a/Bigtable/src/V2/StreamContinuationTokens.php b/Bigtable/src/V2/StreamContinuationTokens.php index 471a816ecaeb..cbade22e3170 100644 --- a/Bigtable/src/V2/StreamContinuationTokens.php +++ b/Bigtable/src/V2/StreamContinuationTokens.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NOTE: This API is intended to be used by Apache Beam BigtableIO. @@ -30,7 +30,7 @@ class StreamContinuationTokens extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\StreamContinuationToken>|\Google\Protobuf\Internal\RepeatedField $tokens + * @type \Google\Cloud\Bigtable\V2\StreamContinuationToken[] $tokens * List of continuation tokens. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * List of continuation tokens. * * Generated from protobuf field repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\StreamContinuationToken> */ public function getTokens() { @@ -54,7 +54,7 @@ public function getTokens() * List of continuation tokens. * * Generated from protobuf field repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; - * @param array<\Google\Cloud\Bigtable\V2\StreamContinuationToken>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\StreamContinuationToken[] $var * @return $this */ public function setTokens($var) diff --git a/Bigtable/src/V2/StreamPartition.php b/Bigtable/src/V2/StreamPartition.php index 2efb7f58fd23..e10cd04fd0c4 100644 --- a/Bigtable/src/V2/StreamPartition.php +++ b/Bigtable/src/V2/StreamPartition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NOTE: This API is intended to be used by Apache Beam BigtableIO. diff --git a/Bigtable/src/V2/TimestampRange.php b/Bigtable/src/V2/TimestampRange.php index ddd1bcea30d4..221d079b7fa6 100644 --- a/Bigtable/src/V2/TimestampRange.php +++ b/Bigtable/src/V2/TimestampRange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specified a contiguous range of microsecond timestamps. diff --git a/Bigtable/src/V2/Type.php b/Bigtable/src/V2/Type.php index e79ce13b018b..64f69d060e5d 100644 --- a/Bigtable/src/V2/Type.php +++ b/Bigtable/src/V2/Type.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Type` represents the type of data that is written to, read from, or stored diff --git a/Bigtable/src/V2/Type/Aggregate.php b/Bigtable/src/V2/Type/Aggregate.php index 0f66035b2dad..bb7fbcf9abf5 100644 --- a/Bigtable/src/V2/Type/Aggregate.php +++ b/Bigtable/src/V2/Type/Aggregate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A value that combines incremental updates into a summarized value. @@ -275,6 +275,3 @@ public function getAggregator() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Aggregate::class, \Google\Cloud\Bigtable\V2\Type_Aggregate::class); - diff --git a/Bigtable/src/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php b/Bigtable/src/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php index 4c4bfed012b3..aaff34217e4b 100644 --- a/Bigtable/src/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php +++ b/Bigtable/src/V2/Type/Aggregate/HyperLogLogPlusPlusUniqueCount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes an approximate unique count over the input values. When using @@ -37,6 +37,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HyperLogLogPlusPlusUniqueCount::class, \Google\Cloud\Bigtable\V2\Type_Aggregate_HyperLogLogPlusPlusUniqueCount::class); - diff --git a/Bigtable/src/V2/Type/Aggregate/Max.php b/Bigtable/src/V2/Type/Aggregate/Max.php index eb735d381cdf..f5a95ba6be6f 100644 --- a/Bigtable/src/V2/Type/Aggregate/Max.php +++ b/Bigtable/src/V2/Type/Aggregate/Max.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes the max of the input values. @@ -33,6 +33,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Max::class, \Google\Cloud\Bigtable\V2\Type_Aggregate_Max::class); - diff --git a/Bigtable/src/V2/Type/Aggregate/Min.php b/Bigtable/src/V2/Type/Aggregate/Min.php index 13500014fafb..0e29f67740b0 100644 --- a/Bigtable/src/V2/Type/Aggregate/Min.php +++ b/Bigtable/src/V2/Type/Aggregate/Min.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes the min of the input values. @@ -33,6 +33,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Min::class, \Google\Cloud\Bigtable\V2\Type_Aggregate_Min::class); - diff --git a/Bigtable/src/V2/Type/Aggregate/Sum.php b/Bigtable/src/V2/Type/Aggregate/Sum.php index df53d9cbe95f..da948f5ca5ef 100644 --- a/Bigtable/src/V2/Type/Aggregate/Sum.php +++ b/Bigtable/src/V2/Type/Aggregate/Sum.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Aggregate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Computes the sum of the input values. @@ -33,6 +33,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Sum::class, \Google\Cloud\Bigtable\V2\Type_Aggregate_Sum::class); - diff --git a/Bigtable/src/V2/Type/Bytes.php b/Bigtable/src/V2/Type/Bytes.php index 5cb99cf53d30..ff0ee34a558d 100644 --- a/Bigtable/src/V2/Type/Bytes.php +++ b/Bigtable/src/V2/Type/Bytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Bytes @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Bytes::class, \Google\Cloud\Bigtable\V2\Type_Bytes::class); - diff --git a/Bigtable/src/V2/Type/Bytes/Encoding.php b/Bigtable/src/V2/Type/Bytes/Encoding.php index 4665150ba1f0..7678a4016f7d 100644 --- a/Bigtable/src/V2/Type/Bytes/Encoding.php +++ b/Bigtable/src/V2/Type/Bytes/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Bytes; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -73,6 +73,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\V2\Type_Bytes_Encoding::class); - diff --git a/Bigtable/src/V2/Type/Bytes/Encoding/Raw.php b/Bigtable/src/V2/Type/Bytes/Encoding/Raw.php index f7392446ccdd..3fca5b77eac6 100644 --- a/Bigtable/src/V2/Type/Bytes/Encoding/Raw.php +++ b/Bigtable/src/V2/Type/Bytes/Encoding/Raw.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Bytes\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Leaves the value as-is. @@ -75,6 +75,3 @@ public function setEscapeNulls($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Raw::class, \Google\Cloud\Bigtable\V2\Type_Bytes_Encoding_Raw::class); - diff --git a/Bigtable/src/V2/Type/Date.php b/Bigtable/src/V2/Type/Date.php index fdcf13439190..77d15d9afd8a 100644 --- a/Bigtable/src/V2/Type/Date.php +++ b/Bigtable/src/V2/Type/Date.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Date @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Date::class, \Google\Cloud\Bigtable\V2\Type_Date::class); - diff --git a/Bigtable/src/V2/Type/Enum.php b/Bigtable/src/V2/Type/Enum.php index 0e71242b1a83..836e2d25dea9 100644 --- a/Bigtable/src/V2/Type/Enum.php +++ b/Bigtable/src/V2/Type/Enum.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A protobuf enum type. @@ -104,6 +104,3 @@ public function setEnumName($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Enum::class, \Google\Cloud\Bigtable\V2\Type_Enum::class); - diff --git a/Bigtable/src/V2/Type/Float32.php b/Bigtable/src/V2/Type/Float32.php index fb0d845917a3..89b481f884c2 100644 --- a/Bigtable/src/V2/Type/Float32.php +++ b/Bigtable/src/V2/Type/Float32.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Float32 @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Float32::class, \Google\Cloud\Bigtable\V2\Type_Float32::class); - diff --git a/Bigtable/src/V2/Type/Float64.php b/Bigtable/src/V2/Type/Float64.php index d8e9770f447a..6407fc30e3e8 100644 --- a/Bigtable/src/V2/Type/Float64.php +++ b/Bigtable/src/V2/Type/Float64.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Float64 @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Float64::class, \Google\Cloud\Bigtable\V2\Type_Float64::class); - diff --git a/Bigtable/src/V2/Type/Int64.php b/Bigtable/src/V2/Type/Int64.php index 819aceb1bcd7..b98eae059dd8 100644 --- a/Bigtable/src/V2/Type/Int64.php +++ b/Bigtable/src/V2/Type/Int64.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Int64 @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Int64::class, \Google\Cloud\Bigtable\V2\Type_Int64::class); - diff --git a/Bigtable/src/V2/Type/Int64/Encoding.php b/Bigtable/src/V2/Type/Int64/Encoding.php index 2141b2e3e586..cc46e5216faf 100644 --- a/Bigtable/src/V2/Type/Int64/Encoding.php +++ b/Bigtable/src/V2/Type/Int64/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Int64; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -106,6 +106,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\V2\Type_Int64_Encoding::class); - diff --git a/Bigtable/src/V2/Type/Int64/Encoding/BigEndianBytes.php b/Bigtable/src/V2/Type/Int64/Encoding/BigEndianBytes.php index eb612252b8b1..ea09145311c7 100644 --- a/Bigtable/src/V2/Type/Int64/Encoding/BigEndianBytes.php +++ b/Bigtable/src/V2/Type/Int64/Encoding/BigEndianBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Int64\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encodes the value as an 8-byte big-endian two's complement value. @@ -92,6 +92,3 @@ public function setBytesType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BigEndianBytes::class, \Google\Cloud\Bigtable\V2\Type_Int64_Encoding_BigEndianBytes::class); - diff --git a/Bigtable/src/V2/Type/Int64/Encoding/OrderedCodeBytes.php b/Bigtable/src/V2/Type/Int64/Encoding/OrderedCodeBytes.php index 6c00fefdd653..883d75b7ced4 100644 --- a/Bigtable/src/V2/Type/Int64/Encoding/OrderedCodeBytes.php +++ b/Bigtable/src/V2/Type/Int64/Encoding/OrderedCodeBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Int64\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encodes the value in a variable length binary format of up to 10 bytes. @@ -34,6 +34,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OrderedCodeBytes::class, \Google\Cloud\Bigtable\V2\Type_Int64_Encoding_OrderedCodeBytes::class); - diff --git a/Bigtable/src/V2/Type/Map.php b/Bigtable/src/V2/Type/Map.php index 3e1ca5948521..4ce046163ff3 100644 --- a/Bigtable/src/V2/Type/Map.php +++ b/Bigtable/src/V2/Type/Map.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A mapping of keys to values of a given type. @@ -129,6 +129,3 @@ public function setValueType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Map::class, \Google\Cloud\Bigtable\V2\Type_Map::class); - diff --git a/Bigtable/src/V2/Type/PBArray.php b/Bigtable/src/V2/Type/PBArray.php index 71bbb92cadac..81dd868fe574 100644 --- a/Bigtable/src/V2/Type/PBArray.php +++ b/Bigtable/src/V2/Type/PBArray.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An ordered list of elements of a given type. @@ -76,6 +76,3 @@ public function setElementType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PBArray::class, \Google\Cloud\Bigtable\V2\Type_Array::class); - diff --git a/Bigtable/src/V2/Type/PBBool.php b/Bigtable/src/V2/Type/PBBool.php index 9de6cd8f9cab..cd89d0e61987 100644 --- a/Bigtable/src/V2/Type/PBBool.php +++ b/Bigtable/src/V2/Type/PBBool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * bool @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PBBool::class, \Google\Cloud\Bigtable\V2\Type_Bool::class); - diff --git a/Bigtable/src/V2/Type/PBString.php b/Bigtable/src/V2/Type/PBString.php index af6e468e37a1..cd57897fb756 100644 --- a/Bigtable/src/V2/Type/PBString.php +++ b/Bigtable/src/V2/Type/PBString.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * String @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PBString::class, \Google\Cloud\Bigtable\V2\Type_String::class); - diff --git a/Bigtable/src/V2/Type/PBString/Encoding.php b/Bigtable/src/V2/Type/PBString/Encoding.php index 43aad4dcbd48..e2d39c02eafc 100644 --- a/Bigtable/src/V2/Type/PBString/Encoding.php +++ b/Bigtable/src/V2/Type/PBString/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\PBString; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -115,6 +115,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\V2\Type_String_Encoding::class); - diff --git a/Bigtable/src/V2/Type/PBString/Encoding/Utf8Bytes.php b/Bigtable/src/V2/Type/PBString/Encoding/Utf8Bytes.php index c30d0b3586b7..aacdc881792e 100644 --- a/Bigtable/src/V2/Type/PBString/Encoding/Utf8Bytes.php +++ b/Bigtable/src/V2/Type/PBString/Encoding/Utf8Bytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\PBString\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * UTF-8 encoding. @@ -97,6 +97,3 @@ public function setNullEscapeChar($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Utf8Bytes::class, \Google\Cloud\Bigtable\V2\Type_String_Encoding_Utf8Bytes::class); - diff --git a/Bigtable/src/V2/Type/PBString/Encoding/Utf8Raw.php b/Bigtable/src/V2/Type/PBString/Encoding/Utf8Raw.php index 22a1bf75dcaa..727aeed07210 100644 --- a/Bigtable/src/V2/Type/PBString/Encoding/Utf8Raw.php +++ b/Bigtable/src/V2/Type/PBString/Encoding/Utf8Raw.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\PBString\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deprecated: prefer the equivalent `Utf8Bytes`. @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Utf8Raw::class, \Google\Cloud\Bigtable\V2\Type_String_Encoding_Utf8Raw::class); - diff --git a/Bigtable/src/V2/Type/Proto.php b/Bigtable/src/V2/Type/Proto.php index e565689e8ee6..b216efdc72fb 100644 --- a/Bigtable/src/V2/Type/Proto.php +++ b/Bigtable/src/V2/Type/Proto.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A protobuf message type. @@ -104,6 +104,3 @@ public function setMessageName($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Proto::class, \Google\Cloud\Bigtable\V2\Type_Proto::class); - diff --git a/Bigtable/src/V2/Type/Struct.php b/Bigtable/src/V2/Type/Struct.php index 8d1bbe4e3a50..35bd81647102 100644 --- a/Bigtable/src/V2/Type/Struct.php +++ b/Bigtable/src/V2/Type/Struct.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A structured data value, consisting of fields which map to dynamically @@ -37,7 +37,7 @@ class Struct extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Bigtable\V2\Type\Struct\Field>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\Bigtable\V2\Type\Struct\Field[] $fields * The names and types of the fields in this struct. * @type \Google\Cloud\Bigtable\V2\Type\Struct\Encoding $encoding * The encoding to use when converting to or from lower level types. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The names and types of the fields in this struct. * * Generated from protobuf field repeated .google.bigtable.v2.Type.Struct.Field fields = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Bigtable\V2\Type\Struct\Field> */ public function getFields() { @@ -63,7 +63,7 @@ public function getFields() * The names and types of the fields in this struct. * * Generated from protobuf field repeated .google.bigtable.v2.Type.Struct.Field fields = 1; - * @param array<\Google\Cloud\Bigtable\V2\Type\Struct\Field>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Bigtable\V2\Type\Struct\Field[] $var * @return $this */ public function setFields($var) @@ -112,6 +112,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Struct::class, \Google\Cloud\Bigtable\V2\Type_Struct::class); - diff --git a/Bigtable/src/V2/Type/Struct/Encoding.php b/Bigtable/src/V2/Type/Struct/Encoding.php index 8509939a8045..a66b52335d34 100644 --- a/Bigtable/src/V2/Type/Struct/Encoding.php +++ b/Bigtable/src/V2/Type/Struct/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Struct; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -139,6 +139,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\V2\Type_Struct_Encoding::class); - diff --git a/Bigtable/src/V2/Type/Struct/Encoding/DelimitedBytes.php b/Bigtable/src/V2/Type/Struct/Encoding/DelimitedBytes.php index dacb72c46333..1f3a52002493 100644 --- a/Bigtable/src/V2/Type/Struct/Encoding/DelimitedBytes.php +++ b/Bigtable/src/V2/Type/Struct/Encoding/DelimitedBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Struct\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Fields are encoded independently and concatenated with a configurable @@ -79,6 +79,3 @@ public function setDelimiter($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DelimitedBytes::class, \Google\Cloud\Bigtable\V2\Type_Struct_Encoding_DelimitedBytes::class); - diff --git a/Bigtable/src/V2/Type/Struct/Encoding/OrderedCodeBytes.php b/Bigtable/src/V2/Type/Struct/Encoding/OrderedCodeBytes.php index b66fd3c223ff..b657ca6de19a 100644 --- a/Bigtable/src/V2/Type/Struct/Encoding/OrderedCodeBytes.php +++ b/Bigtable/src/V2/Type/Struct/Encoding/OrderedCodeBytes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Struct\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Fields are encoded independently and concatenated with the fixed byte @@ -62,6 +62,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OrderedCodeBytes::class, \Google\Cloud\Bigtable\V2\Type_Struct_Encoding_OrderedCodeBytes::class); - diff --git a/Bigtable/src/V2/Type/Struct/Encoding/Singleton.php b/Bigtable/src/V2/Type/Struct/Encoding/Singleton.php index 828b3e40690b..100680827198 100644 --- a/Bigtable/src/V2/Type/Struct/Encoding/Singleton.php +++ b/Bigtable/src/V2/Type/Struct/Encoding/Singleton.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Struct\Encoding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Uses the encoding of `fields[0].type` as-is. @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Singleton::class, \Google\Cloud\Bigtable\V2\Type_Struct_Encoding_Singleton::class); - diff --git a/Bigtable/src/V2/Type/Struct/Field.php b/Bigtable/src/V2/Type/Struct/Field.php index 0aa221b2a746..25a419649209 100644 --- a/Bigtable/src/V2/Type/Struct/Field.php +++ b/Bigtable/src/V2/Type/Struct/Field.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Struct; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A struct field and its type. @@ -113,6 +113,3 @@ public function setType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Field::class, \Google\Cloud\Bigtable\V2\Type_Struct_Field::class); - diff --git a/Bigtable/src/V2/Type/Timestamp.php b/Bigtable/src/V2/Type/Timestamp.php index acd890b1910c..ce09b95c510c 100644 --- a/Bigtable/src/V2/Type/Timestamp.php +++ b/Bigtable/src/V2/Type/Timestamp.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Timestamp @@ -76,6 +76,3 @@ public function setEncoding($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Timestamp::class, \Google\Cloud\Bigtable\V2\Type_Timestamp::class); - diff --git a/Bigtable/src/V2/Type/Timestamp/Encoding.php b/Bigtable/src/V2/Type/Timestamp/Encoding.php index 507705c83d7f..38a5f31ef910 100644 --- a/Bigtable/src/V2/Type/Timestamp/Encoding.php +++ b/Bigtable/src/V2/Type/Timestamp/Encoding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2\Type\Timestamp; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rules used to convert to or from lower level types. @@ -82,6 +82,3 @@ public function getEncoding() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\Bigtable\V2\Type_Timestamp_Encoding::class); - diff --git a/Bigtable/src/V2/Value.php b/Bigtable/src/V2/Value.php index 5835c59f0378..449cdd374254 100644 --- a/Bigtable/src/V2/Value.php +++ b/Bigtable/src/V2/Value.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Value` represents a dynamically typed value. diff --git a/Bigtable/src/V2/ValueRange.php b/Bigtable/src/V2/ValueRange.php index a3dc913e427c..dca9e83e65e0 100644 --- a/Bigtable/src/V2/ValueRange.php +++ b/Bigtable/src/V2/ValueRange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Bigtable\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a contiguous range of raw byte values. diff --git a/Billing/metadata/V1/CloudBilling.php b/Billing/metadata/V1/CloudBilling.php index 347c8864bf66..72fb8479adf8 100644 Binary files a/Billing/metadata/V1/CloudBilling.php and b/Billing/metadata/V1/CloudBilling.php differ diff --git a/Billing/metadata/V1/CloudCatalog.php b/Billing/metadata/V1/CloudCatalog.php index 8e865f3b7a26..a2b25921d8fd 100644 Binary files a/Billing/metadata/V1/CloudCatalog.php and b/Billing/metadata/V1/CloudCatalog.php differ diff --git a/Billing/src/V1/AggregationInfo.php b/Billing/src/V1/AggregationInfo.php index d8930f249f8d..115992db8b6a 100644 --- a/Billing/src/V1/AggregationInfo.php +++ b/Billing/src/V1/AggregationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the aggregation level and interval for pricing of a single SKU. diff --git a/Billing/src/V1/AggregationInfo/AggregationInterval.php b/Billing/src/V1/AggregationInfo/AggregationInterval.php index 5ca6f44db863..cee4e43f7b31 100644 --- a/Billing/src/V1/AggregationInfo/AggregationInterval.php +++ b/Billing/src/V1/AggregationInfo/AggregationInterval.php @@ -55,4 +55,3 @@ public static function value($name) } } - diff --git a/Billing/src/V1/AggregationInfo/AggregationLevel.php b/Billing/src/V1/AggregationInfo/AggregationLevel.php index 563bd6c52f15..c7701913fd79 100644 --- a/Billing/src/V1/AggregationInfo/AggregationLevel.php +++ b/Billing/src/V1/AggregationInfo/AggregationLevel.php @@ -55,4 +55,3 @@ public static function value($name) } } - diff --git a/Billing/src/V1/BillingAccount.php b/Billing/src/V1/BillingAccount.php index 4d00bb6b8198..ac7a0ffeb06c 100644 --- a/Billing/src/V1/BillingAccount.php +++ b/Billing/src/V1/BillingAccount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A billing account in the diff --git a/Billing/src/V1/Category.php b/Billing/src/V1/Category.php index 85efb2d9828d..ec4ad8169abb 100644 --- a/Billing/src/V1/Category.php +++ b/Billing/src/V1/Category.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the category hierarchy of a SKU. diff --git a/Billing/src/V1/CreateBillingAccountRequest.php b/Billing/src/V1/CreateBillingAccountRequest.php index f4908a58e921..6081481bf796 100644 --- a/Billing/src/V1/CreateBillingAccountRequest.php +++ b/Billing/src/V1/CreateBillingAccountRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `CreateBillingAccount`. diff --git a/Billing/src/V1/GeoTaxonomy.php b/Billing/src/V1/GeoTaxonomy.php index 62a3391e2bd0..9f6014c7d1d6 100644 --- a/Billing/src/V1/GeoTaxonomy.php +++ b/Billing/src/V1/GeoTaxonomy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encapsulates the geographic taxonomy data for a sku. @@ -37,7 +37,7 @@ class GeoTaxonomy extends \Google\Protobuf\Internal\Message * * @type int $type * The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL. - * @type array|\Google\Protobuf\Internal\RepeatedField $regions + * @type string[] $regions * The list of regions associated with a sku. Empty for Global skus, which are * associated with all Google Cloud regions. * } @@ -78,7 +78,7 @@ public function setType($var) * associated with all Google Cloud regions. * * Generated from protobuf field repeated string regions = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRegions() { @@ -90,7 +90,7 @@ public function getRegions() * associated with all Google Cloud regions. * * Generated from protobuf field repeated string regions = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRegions($var) diff --git a/Billing/src/V1/GeoTaxonomy/Type.php b/Billing/src/V1/GeoTaxonomy/Type.php index 899e1cf2d7f8..92ebe54001e4 100644 --- a/Billing/src/V1/GeoTaxonomy/Type.php +++ b/Billing/src/V1/GeoTaxonomy/Type.php @@ -72,4 +72,3 @@ public static function value($name) } } - diff --git a/Billing/src/V1/GetBillingAccountRequest.php b/Billing/src/V1/GetBillingAccountRequest.php index b98ae19f16c9..5edd16f0efd2 100644 --- a/Billing/src/V1/GetBillingAccountRequest.php +++ b/Billing/src/V1/GetBillingAccountRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `GetBillingAccount`. diff --git a/Billing/src/V1/GetProjectBillingInfoRequest.php b/Billing/src/V1/GetProjectBillingInfoRequest.php index 80d4f29f30bc..e64497fee77d 100644 --- a/Billing/src/V1/GetProjectBillingInfoRequest.php +++ b/Billing/src/V1/GetProjectBillingInfoRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `GetProjectBillingInfo`. diff --git a/Billing/src/V1/ListBillingAccountsRequest.php b/Billing/src/V1/ListBillingAccountsRequest.php index 8a5225f250ca..82c7c0aa0c66 100644 --- a/Billing/src/V1/ListBillingAccountsRequest.php +++ b/Billing/src/V1/ListBillingAccountsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `ListBillingAccounts`. diff --git a/Billing/src/V1/ListBillingAccountsResponse.php b/Billing/src/V1/ListBillingAccountsResponse.php index f5588f486fbc..20915e184a0c 100644 --- a/Billing/src/V1/ListBillingAccountsResponse.php +++ b/Billing/src/V1/ListBillingAccountsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `ListBillingAccounts`. @@ -36,7 +36,7 @@ class ListBillingAccountsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Billing\V1\BillingAccount>|\Google\Protobuf\Internal\RepeatedField $billing_accounts + * @type \Google\Cloud\Billing\V1\BillingAccount[] $billing_accounts * A list of billing accounts. * @type string $next_page_token * A token to retrieve the next page of results. To retrieve the next page, @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * A list of billing accounts. * * Generated from protobuf field repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\V1\BillingAccount> */ public function getBillingAccounts() { @@ -64,7 +64,7 @@ public function getBillingAccounts() * A list of billing accounts. * * Generated from protobuf field repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; - * @param array<\Google\Cloud\Billing\V1\BillingAccount>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\V1\BillingAccount[] $var * @return $this */ public function setBillingAccounts($var) diff --git a/Billing/src/V1/ListProjectBillingInfoRequest.php b/Billing/src/V1/ListProjectBillingInfoRequest.php index 30ca6e1f929f..aea6705ff7f3 100644 --- a/Billing/src/V1/ListProjectBillingInfoRequest.php +++ b/Billing/src/V1/ListProjectBillingInfoRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `ListProjectBillingInfo`. diff --git a/Billing/src/V1/ListProjectBillingInfoResponse.php b/Billing/src/V1/ListProjectBillingInfoResponse.php index f2a9c1eb6519..4ff5d1e8cb58 100644 --- a/Billing/src/V1/ListProjectBillingInfoResponse.php +++ b/Billing/src/V1/ListProjectBillingInfoResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `ListProjectBillingInfoResponse`. @@ -37,7 +37,7 @@ class ListProjectBillingInfoResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Billing\V1\ProjectBillingInfo>|\Google\Protobuf\Internal\RepeatedField $project_billing_info + * @type \Google\Cloud\Billing\V1\ProjectBillingInfo[] $project_billing_info * A list of `ProjectBillingInfo` resources representing the projects * associated with the billing account. * @type string $next_page_token @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * associated with the billing account. * * Generated from protobuf field repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\V1\ProjectBillingInfo> */ public function getProjectBillingInfo() { @@ -68,7 +68,7 @@ public function getProjectBillingInfo() * associated with the billing account. * * Generated from protobuf field repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1; - * @param array<\Google\Cloud\Billing\V1\ProjectBillingInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\V1\ProjectBillingInfo[] $var * @return $this */ public function setProjectBillingInfo($var) diff --git a/Billing/src/V1/ListServicesRequest.php b/Billing/src/V1/ListServicesRequest.php index 5588e0ded1a6..2504d794b1b6 100644 --- a/Billing/src/V1/ListServicesRequest.php +++ b/Billing/src/V1/ListServicesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `ListServices`. diff --git a/Billing/src/V1/ListServicesResponse.php b/Billing/src/V1/ListServicesResponse.php index 4961aae23306..accb45f3b525 100644 --- a/Billing/src/V1/ListServicesResponse.php +++ b/Billing/src/V1/ListServicesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `ListServices`. @@ -36,7 +36,7 @@ class ListServicesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Billing\V1\Service>|\Google\Protobuf\Internal\RepeatedField $services + * @type \Google\Cloud\Billing\V1\Service[] $services * A list of services. * @type string $next_page_token * A token to retrieve the next page of results. To retrieve the next page, @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * A list of services. * * Generated from protobuf field repeated .google.cloud.billing.v1.Service services = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\V1\Service> */ public function getServices() { @@ -64,7 +64,7 @@ public function getServices() * A list of services. * * Generated from protobuf field repeated .google.cloud.billing.v1.Service services = 1; - * @param array<\Google\Cloud\Billing\V1\Service>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\V1\Service[] $var * @return $this */ public function setServices($var) diff --git a/Billing/src/V1/ListSkusRequest.php b/Billing/src/V1/ListSkusRequest.php index 4c0ec5d04aec..6e00f2d94d12 100644 --- a/Billing/src/V1/ListSkusRequest.php +++ b/Billing/src/V1/ListSkusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `ListSkus`. diff --git a/Billing/src/V1/ListSkusResponse.php b/Billing/src/V1/ListSkusResponse.php index 64aa6cbc0ee9..bfd9b65a1a76 100644 --- a/Billing/src/V1/ListSkusResponse.php +++ b/Billing/src/V1/ListSkusResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `ListSkus`. @@ -36,7 +36,7 @@ class ListSkusResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Billing\V1\Sku>|\Google\Protobuf\Internal\RepeatedField $skus + * @type \Google\Cloud\Billing\V1\Sku[] $skus * The list of public SKUs of the given service. * @type string $next_page_token * A token to retrieve the next page of results. To retrieve the next page, @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * The list of public SKUs of the given service. * * Generated from protobuf field repeated .google.cloud.billing.v1.Sku skus = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\V1\Sku> */ public function getSkus() { @@ -64,7 +64,7 @@ public function getSkus() * The list of public SKUs of the given service. * * Generated from protobuf field repeated .google.cloud.billing.v1.Sku skus = 1; - * @param array<\Google\Cloud\Billing\V1\Sku>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\V1\Sku[] $var * @return $this */ public function setSkus($var) diff --git a/Billing/src/V1/MoveBillingAccountRequest.php b/Billing/src/V1/MoveBillingAccountRequest.php index 98e023593485..8cb542ea0ef5 100644 --- a/Billing/src/V1/MoveBillingAccountRequest.php +++ b/Billing/src/V1/MoveBillingAccountRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `MoveBillingAccount` RPC. diff --git a/Billing/src/V1/PricingExpression.php b/Billing/src/V1/PricingExpression.php index 4b6c2ec6c177..4e5c96eb924a 100644 --- a/Billing/src/V1/PricingExpression.php +++ b/Billing/src/V1/PricingExpression.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Expresses a mathematical pricing formula. For Example:- @@ -100,7 +100,7 @@ class PricingExpression extends \Google\Protobuf\Internal\Message * Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and * the display_quantity is "1000" then the recommended way of displaying the * pricing info is "0.10 USD per 1000 GB" - * @type array<\Google\Cloud\Billing\V1\PricingExpression\TierRate>|\Google\Protobuf\Internal\RepeatedField $tiered_rates + * @type \Google\Cloud\Billing\V1\PricingExpression\TierRate[] $tiered_rates * The list of tiered rates for this pricing. The total cost is computed by * applying each of the tiered rates on usage. This repeated list is sorted * by ascending order of start_usage_amount. @@ -200,7 +200,7 @@ public function setDisplayQuantity($var) * by ascending order of start_usage_amount. * * Generated from protobuf field repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\V1\PricingExpression\TierRate> */ public function getTieredRates() { @@ -213,7 +213,7 @@ public function getTieredRates() * by ascending order of start_usage_amount. * * Generated from protobuf field repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3; - * @param array<\Google\Cloud\Billing\V1\PricingExpression\TierRate>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\V1\PricingExpression\TierRate[] $var * @return $this */ public function setTieredRates($var) diff --git a/Billing/src/V1/PricingExpression/TierRate.php b/Billing/src/V1/PricingExpression/TierRate.php index aa5425920ebd..870e7fc744e1 100644 --- a/Billing/src/V1/PricingExpression/TierRate.php +++ b/Billing/src/V1/PricingExpression/TierRate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1\PricingExpression; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The price rate indicating starting usage and its corresponding price. @@ -121,4 +121,3 @@ public function setUnitPrice($var) } - diff --git a/Billing/src/V1/PricingInfo.php b/Billing/src/V1/PricingInfo.php index 2c7ad6e6c20d..67b0a5c35699 100644 --- a/Billing/src/V1/PricingInfo.php +++ b/Billing/src/V1/PricingInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the pricing information for a SKU at a single point of time. diff --git a/Billing/src/V1/ProjectBillingInfo.php b/Billing/src/V1/ProjectBillingInfo.php index 27b7019fb7d8..7dfa913d7c32 100644 --- a/Billing/src/V1/ProjectBillingInfo.php +++ b/Billing/src/V1/ProjectBillingInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encapsulation of billing information for a Google Cloud Console project. A diff --git a/Billing/src/V1/Service.php b/Billing/src/V1/Service.php index 72890292bfc8..a91ac48d7e43 100644 --- a/Billing/src/V1/Service.php +++ b/Billing/src/V1/Service.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encapsulates a single service in Google Cloud Platform. diff --git a/Billing/src/V1/Sku.php b/Billing/src/V1/Sku.php index c96446d386ce..cb80c693c996 100644 --- a/Billing/src/V1/Sku.php +++ b/Billing/src/V1/Sku.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encapsulates a single SKU in Google Cloud @@ -87,11 +87,11 @@ class Sku extends \Google\Protobuf\Internal\Message * characters. * @type \Google\Cloud\Billing\V1\Category $category * The category hierarchy of this SKU, purely for organizational purpose. - * @type array|\Google\Protobuf\Internal\RepeatedField $service_regions + * @type string[] $service_regions * List of service regions this SKU is offered at. * Example: "asia-east1" * Service regions can be found at https://cloud.google.com/about/locations/ - * @type array<\Google\Cloud\Billing\V1\PricingInfo>|\Google\Protobuf\Internal\RepeatedField $pricing_info + * @type \Google\Cloud\Billing\V1\PricingInfo[] $pricing_info * A timeline of pricing info for this SKU in chronological order. * @type string $service_provider_name * Identifies the service provider. @@ -231,7 +231,7 @@ public function setCategory($var) * Service regions can be found at https://cloud.google.com/about/locations/ * * Generated from protobuf field repeated string service_regions = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getServiceRegions() { @@ -244,7 +244,7 @@ public function getServiceRegions() * Service regions can be found at https://cloud.google.com/about/locations/ * * Generated from protobuf field repeated string service_regions = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setServiceRegions($var) @@ -259,7 +259,7 @@ public function setServiceRegions($var) * A timeline of pricing info for this SKU in chronological order. * * Generated from protobuf field repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\V1\PricingInfo> */ public function getPricingInfo() { @@ -270,7 +270,7 @@ public function getPricingInfo() * A timeline of pricing info for this SKU in chronological order. * * Generated from protobuf field repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6; - * @param array<\Google\Cloud\Billing\V1\PricingInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\V1\PricingInfo[] $var * @return $this */ public function setPricingInfo($var) diff --git a/Billing/src/V1/UpdateBillingAccountRequest.php b/Billing/src/V1/UpdateBillingAccountRequest.php index 79a12b28f130..1428c6ff0ab0 100644 --- a/Billing/src/V1/UpdateBillingAccountRequest.php +++ b/Billing/src/V1/UpdateBillingAccountRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `UpdateBillingAccount`. diff --git a/Billing/src/V1/UpdateProjectBillingInfoRequest.php b/Billing/src/V1/UpdateProjectBillingInfoRequest.php index 3e5bdc3369ac..9d68fc190467 100644 --- a/Billing/src/V1/UpdateProjectBillingInfoRequest.php +++ b/Billing/src/V1/UpdateProjectBillingInfoRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `UpdateProjectBillingInfo`. diff --git a/BillingBudgets/metadata/V1/BudgetModel.php b/BillingBudgets/metadata/V1/BudgetModel.php index ac3eb139bb53..d0de611b3307 100644 Binary files a/BillingBudgets/metadata/V1/BudgetModel.php and b/BillingBudgets/metadata/V1/BudgetModel.php differ diff --git a/BillingBudgets/metadata/V1/BudgetService.php b/BillingBudgets/metadata/V1/BudgetService.php index 031bf94e9cfc..8b7aaf58d96b 100644 --- a/BillingBudgets/metadata/V1/BudgetService.php +++ b/BillingBudgets/metadata/V1/BudgetService.php @@ -22,37 +22,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); $pool->internalAddGeneratedFile( - ' - -4google/cloud/billing/budgets/v1/budget_service.protogoogle.cloud.billing.budgets.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto2google/cloud/billing/budgets/v1/budget_model.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateBudgetRequest< -parent ( B,AA&$billingbudgets.googleapis.com/Budget< -budget ( 2\'.google.cloud.billing.budgets.v1.BudgetBA" -UpdateBudgetRequest< -budget ( 2\'.google.cloud.billing.budgets.v1.BudgetBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"N -GetBudgetRequest: -name ( B,AA& -$billingbudgets.googleapis.com/Budget" -ListBudgetsRequest< -parent ( B,AA&$billingbudgets.googleapis.com/Budget -scope ( BA - page_size (BA - -page_token ( BA"h -ListBudgetsResponse8 -budgets ( 2\'.google.cloud.billing.budgets.v1.Budget -next_page_token ( "Q -DeleteBudgetRequest: -name ( B,AA& -$billingbudgets.googleapis.com/Budget2 - BudgetService - CreateBudget4.google.cloud.billing.budgets.v1.CreateBudgetRequest\'.google.cloud.billing.budgets.v1.Budget"FA parent,budget0"&/v1/{parent=billingAccounts/*}/budgets:budget - UpdateBudget4.google.cloud.billing.budgets.v1.UpdateBudgetRequest\'.google.cloud.billing.budgets.v1.Budget"RAbudget,update_mask72-/v1/{budget.name=billingAccounts/*/budgets/*}:budget - GetBudget1.google.cloud.billing.budgets.v1.GetBudgetRequest\'.google.cloud.billing.budgets.v1.Budget"5Aname(&/v1/{name=billingAccounts/*/budgets/*} - ListBudgets3.google.cloud.billing.budgets.v1.ListBudgetsRequest4.google.cloud.billing.budgets.v1.ListBudgetsResponse"7Aparent(&/v1/{parent=billingAccounts/*}/budgets - DeleteBudget4.google.cloud.billing.budgets.v1.DeleteBudgetRequest.google.protobuf.Empty"5Aname(*&/v1/{name=billingAccounts/*/budgets/*}Abillingbudgets.googleapis.comA\\https://www.googleapis.com/auth/cloud-billing,https://www.googleapis.com/auth/cloud-platformBz -#com.google.cloud.billing.budgets.v1BBudgetServiceProtoPZ=cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspbbproto3' + "\x0A\xE4\x10\x0A4google/cloud/billing/budgets/v1/budget_service.proto\x12\x1Fgoogle.cloud.billing.budgets.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A2google/cloud/billing/budgets/v1/budget_model.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\x91\x01\x0A\x13CreateBudgetRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x12\$billingbudgets.googleapis.com/Budget\x12<\x0A\x06budget\x18\x02 \x01(\x0B2'.google.cloud.billing.budgets.v1.BudgetB\x03\xE0A\x02\"\x89\x01\x0A\x13UpdateBudgetRequest\x12<\x0A\x06budget\x18\x01 \x01(\x0B2'.google.cloud.billing.budgets.v1.BudgetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"N\x0A\x10GetBudgetRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$billingbudgets.googleapis.com/Budget\"\x97\x01\x0A\x12ListBudgetsRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x12\$billingbudgets.googleapis.com/Budget\x12\x12\x0A\x05scope\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"h\x0A\x13ListBudgetsResponse\x128\x0A\x07budgets\x18\x01 \x03(\x0B2'.google.cloud.billing.budgets.v1.Budget\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"Q\x0A\x13DeleteBudgetRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$billingbudgets.googleapis.com/Budget2\xF7\x07\x0A\x0DBudgetService\x12\xB5\x01\x0A\x0CCreateBudget\x124.google.cloud.billing.budgets.v1.CreateBudgetRequest\x1A'.google.cloud.billing.budgets.v1.Budget\"F\xDAA\x0Dparent,budget\x82\xD3\xE4\x93\x020\"&/v1/{parent=billingAccounts/*}/budgets:\x06budget\x12\xC1\x01\x0A\x0CUpdateBudget\x124.google.cloud.billing.budgets.v1.UpdateBudgetRequest\x1A'.google.cloud.billing.budgets.v1.Budget\"R\xDAA\x12budget,update_mask\x82\xD3\xE4\x93\x0272-/v1/{budget.name=billingAccounts/*/budgets/*}:\x06budget\x12\x9E\x01\x0A\x09GetBudget\x121.google.cloud.billing.budgets.v1.GetBudgetRequest\x1A'.google.cloud.billing.budgets.v1.Budget\"5\xDAA\x04name\x82\xD3\xE4\x93\x02(\x12&/v1/{name=billingAccounts/*/budgets/*}\x12\xB1\x01\x0A\x0BListBudgets\x123.google.cloud.billing.budgets.v1.ListBudgetsRequest\x1A4.google.cloud.billing.budgets.v1.ListBudgetsResponse\"7\xDAA\x06parent\x82\xD3\xE4\x93\x02(\x12&/v1/{parent=billingAccounts/*}/budgets\x12\x93\x01\x0A\x0CDeleteBudget\x124.google.cloud.billing.budgets.v1.DeleteBudgetRequest\x1A\x16.google.protobuf.Empty\"5\xDAA\x04name\x82\xD3\xE4\x93\x02(*&/v1/{name=billingAccounts/*/budgets/*}\x1A\x7F\xCAA\x1Dbillingbudgets.googleapis.com\xD2A\\https://www.googleapis.com/auth/cloud-billing,https://www.googleapis.com/auth/cloud-platformBz\x0A#com.google.cloud.billing.budgets.v1B\x12BudgetServiceProtoP\x01Z=cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspbb\x06proto3" , true); static::$is_initialized = true; diff --git a/BillingBudgets/src/V1/Budget.php b/BillingBudgets/src/V1/Budget.php index 0da2acd85199..1ec24728b0dc 100644 --- a/BillingBudgets/src/V1/Budget.php +++ b/BillingBudgets/src/V1/Budget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A budget is a plan that describes what you expect to spend on Cloud @@ -92,7 +92,7 @@ class Budget extends \Google\Protobuf\Internal\Message * budget's time period, as well as other filters. * @type \Google\Cloud\Billing\Budgets\V1\BudgetAmount $amount * Required. Budgeted amount. - * @type array<\Google\Cloud\Billing\Budgets\V1\ThresholdRule>|\Google\Protobuf\Internal\RepeatedField $threshold_rules + * @type \Google\Cloud\Billing\Budgets\V1\ThresholdRule[] $threshold_rules * Optional. Rules that trigger alerts (notifications of thresholds * being crossed) when spend exceeds the specified percentages of the budget. * Optional for `pubsubTopic` notifications. @@ -252,7 +252,7 @@ public function setAmount($var) * Required if using email notifications. * * Generated from protobuf field repeated .google.cloud.billing.budgets.v1.ThresholdRule threshold_rules = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\Budgets\V1\ThresholdRule> */ public function getThresholdRules() { @@ -266,7 +266,7 @@ public function getThresholdRules() * Required if using email notifications. * * Generated from protobuf field repeated .google.cloud.billing.budgets.v1.ThresholdRule threshold_rules = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Billing\Budgets\V1\ThresholdRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\Budgets\V1\ThresholdRule[] $var * @return $this */ public function setThresholdRules($var) diff --git a/BillingBudgets/src/V1/BudgetAmount.php b/BillingBudgets/src/V1/BudgetAmount.php index b63478635cbd..d011b2674d90 100644 --- a/BillingBudgets/src/V1/BudgetAmount.php +++ b/BillingBudgets/src/V1/BudgetAmount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The budgeted amount for each usage period. diff --git a/BillingBudgets/src/V1/CreateBudgetRequest.php b/BillingBudgets/src/V1/CreateBudgetRequest.php index a1bb4781c765..6074a620563e 100644 --- a/BillingBudgets/src/V1/CreateBudgetRequest.php +++ b/BillingBudgets/src/V1/CreateBudgetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for CreateBudget diff --git a/BillingBudgets/src/V1/CustomPeriod.php b/BillingBudgets/src/V1/CustomPeriod.php index e7b18a2688b0..d0909e89af7f 100644 --- a/BillingBudgets/src/V1/CustomPeriod.php +++ b/BillingBudgets/src/V1/CustomPeriod.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * All date times begin at 12 AM US and Canadian Pacific Time (UTC-8). diff --git a/BillingBudgets/src/V1/DeleteBudgetRequest.php b/BillingBudgets/src/V1/DeleteBudgetRequest.php index 4bdbd4788aa0..c468bc105904 100644 --- a/BillingBudgets/src/V1/DeleteBudgetRequest.php +++ b/BillingBudgets/src/V1/DeleteBudgetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for DeleteBudget diff --git a/BillingBudgets/src/V1/Filter.php b/BillingBudgets/src/V1/Filter.php index a9a8df097c50..c861f6e45f8d 100644 --- a/BillingBudgets/src/V1/Filter.php +++ b/BillingBudgets/src/V1/Filter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A filter for a budget, limiting the scope of the cost to calculate. @@ -98,12 +98,12 @@ class Filter extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $projects + * @type string[] $projects * Optional. A set of projects of the form `projects/{project}`, * specifying that usage from only this set of projects should be * included in the budget. If omitted, the report includes all usage for * the billing account, regardless of which project the usage occurred on. - * @type array|\Google\Protobuf\Internal\RepeatedField $resource_ancestors + * @type string[] $resource_ancestors * Optional. A set of folder and organization names of the form * `folders/{folderId}` or `organizations/{organizationId}`, specifying that * usage from only this set of folders and organizations should be included in @@ -111,7 +111,7 @@ class Filter extends \Google\Protobuf\Internal\Message * account pays for. If the folder or organization contains projects that are * paid for by a different Cloud Billing account, the budget *doesn't* apply * to those projects. - * @type array|\Google\Protobuf\Internal\RepeatedField $credit_types + * @type string[] $credit_types * Optional. If * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1.Filter.credit_types_treatment] * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be @@ -123,14 +123,14 @@ class Filter extends \Google\Protobuf\Internal\Message * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. * @type int $credit_types_treatment * Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. - * @type array|\Google\Protobuf\Internal\RepeatedField $services + * @type string[] $services * Optional. A set of services of the form `services/{service_id}`, * specifying that usage from only this set of services should be * included in the budget. If omitted, the report includes usage for * all the services. * The service names are available through the Catalog API: * https://cloud.google.com/billing/v1/how-tos/catalog-api. - * @type array|\Google\Protobuf\Internal\RepeatedField $subaccounts + * @type string[] $subaccounts * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, * specifying that usage from only this set of subaccounts should be included * in the budget. If a subaccount is set to the name of the parent account, @@ -169,7 +169,7 @@ public function __construct($data = NULL) { * the billing account, regardless of which project the usage occurred on. * * Generated from protobuf field repeated string projects = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getProjects() { @@ -183,7 +183,7 @@ public function getProjects() * the billing account, regardless of which project the usage occurred on. * * Generated from protobuf field repeated string projects = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setProjects($var) @@ -204,7 +204,7 @@ public function setProjects($var) * to those projects. * * Generated from protobuf field repeated string resource_ancestors = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getResourceAncestors() { @@ -221,7 +221,7 @@ public function getResourceAncestors() * to those projects. * * Generated from protobuf field repeated string resource_ancestors = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setResourceAncestors($var) @@ -244,7 +244,7 @@ public function setResourceAncestors($var) * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. * * Generated from protobuf field repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCreditTypes() { @@ -263,7 +263,7 @@ public function getCreditTypes() * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. * * Generated from protobuf field repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCreditTypes($var) @@ -309,7 +309,7 @@ public function setCreditTypesTreatment($var) * https://cloud.google.com/billing/v1/how-tos/catalog-api. * * Generated from protobuf field repeated string services = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getServices() { @@ -325,7 +325,7 @@ public function getServices() * https://cloud.google.com/billing/v1/how-tos/catalog-api. * * Generated from protobuf field repeated string services = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setServices($var) @@ -345,7 +345,7 @@ public function setServices($var) * if they exist. * * Generated from protobuf field repeated string subaccounts = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSubaccounts() { @@ -361,7 +361,7 @@ public function getSubaccounts() * if they exist. * * Generated from protobuf field repeated string subaccounts = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSubaccounts($var) diff --git a/BillingBudgets/src/V1/Filter/CreditTypesTreatment.php b/BillingBudgets/src/V1/Filter/CreditTypesTreatment.php index 223f48cbfb28..fe3732f36bfa 100644 --- a/BillingBudgets/src/V1/Filter/CreditTypesTreatment.php +++ b/BillingBudgets/src/V1/Filter/CreditTypesTreatment.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/BillingBudgets/src/V1/GetBudgetRequest.php b/BillingBudgets/src/V1/GetBudgetRequest.php index 1c12b459606a..52f1278171e4 100644 --- a/BillingBudgets/src/V1/GetBudgetRequest.php +++ b/BillingBudgets/src/V1/GetBudgetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for GetBudget diff --git a/BillingBudgets/src/V1/LastPeriodAmount.php b/BillingBudgets/src/V1/LastPeriodAmount.php index 9849a3486905..6ab2b12f0855 100644 --- a/BillingBudgets/src/V1/LastPeriodAmount.php +++ b/BillingBudgets/src/V1/LastPeriodAmount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a budget amount targeted to the last diff --git a/BillingBudgets/src/V1/ListBudgetsRequest.php b/BillingBudgets/src/V1/ListBudgetsRequest.php index cc94ff1ad6ac..649a7afc71d6 100644 --- a/BillingBudgets/src/V1/ListBudgetsRequest.php +++ b/BillingBudgets/src/V1/ListBudgetsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for ListBudgets diff --git a/BillingBudgets/src/V1/ListBudgetsResponse.php b/BillingBudgets/src/V1/ListBudgetsResponse.php index c00fba71972a..d75635e00056 100644 --- a/BillingBudgets/src/V1/ListBudgetsResponse.php +++ b/BillingBudgets/src/V1/ListBudgetsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for ListBudgets @@ -35,7 +35,7 @@ class ListBudgetsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Billing\Budgets\V1\Budget>|\Google\Protobuf\Internal\RepeatedField $budgets + * @type \Google\Cloud\Billing\Budgets\V1\Budget[] $budgets * List of the budgets owned by the requested billing account. * @type string $next_page_token * If not empty, indicates that there may be more budgets that match the @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of the budgets owned by the requested billing account. * * Generated from protobuf field repeated .google.cloud.billing.budgets.v1.Budget budgets = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Billing\Budgets\V1\Budget> */ public function getBudgets() { @@ -62,7 +62,7 @@ public function getBudgets() * List of the budgets owned by the requested billing account. * * Generated from protobuf field repeated .google.cloud.billing.budgets.v1.Budget budgets = 1; - * @param array<\Google\Cloud\Billing\Budgets\V1\Budget>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Billing\Budgets\V1\Budget[] $var * @return $this */ public function setBudgets($var) diff --git a/BillingBudgets/src/V1/NotificationsRule.php b/BillingBudgets/src/V1/NotificationsRule.php index cb57f006391a..b1d299081c3e 100644 --- a/BillingBudgets/src/V1/NotificationsRule.php +++ b/BillingBudgets/src/V1/NotificationsRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NotificationsRule defines notifications that are sent based on budget spend @@ -136,7 +136,7 @@ class NotificationsRule extends \Google\Protobuf\Internal\Message * [NotificationsRule.pubsub_topic][google.cloud.billing.budgets.v1.NotificationsRule.pubsub_topic]. * Only "1.0" is accepted. It represents the JSON schema as defined in * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format. - * @type array|\Google\Protobuf\Internal\RepeatedField $monitoring_notification_channels + * @type string[] $monitoring_notification_channels * Optional. Email targets to send notifications to when a threshold is * exceeded. This is in addition to the `DefaultIamRecipients` who receive * alert emails based on their billing account IAM role. The value is the full @@ -303,7 +303,7 @@ public function setSchemaVersion($var) * notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). * * Generated from protobuf field repeated string monitoring_notification_channels = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMonitoringNotificationChannels() { @@ -333,7 +333,7 @@ public function getMonitoringNotificationChannels() * notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). * * Generated from protobuf field repeated string monitoring_notification_channels = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMonitoringNotificationChannels($var) diff --git a/BillingBudgets/src/V1/ThresholdRule.php b/BillingBudgets/src/V1/ThresholdRule.php index fdb59867e7a2..3dcaa66c7bd3 100644 --- a/BillingBudgets/src/V1/ThresholdRule.php +++ b/BillingBudgets/src/V1/ThresholdRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ThresholdRule contains the definition of a threshold. Threshold rules define diff --git a/BillingBudgets/src/V1/ThresholdRule/Basis.php b/BillingBudgets/src/V1/ThresholdRule/Basis.php index 0e71ee322537..b65c4ee4f52d 100644 --- a/BillingBudgets/src/V1/ThresholdRule/Basis.php +++ b/BillingBudgets/src/V1/ThresholdRule/Basis.php @@ -64,4 +64,3 @@ public static function value($name) } } - diff --git a/BillingBudgets/src/V1/UpdateBudgetRequest.php b/BillingBudgets/src/V1/UpdateBudgetRequest.php index 7f5ed69c5deb..e9268656e03c 100644 --- a/BillingBudgets/src/V1/UpdateBudgetRequest.php +++ b/BillingBudgets/src/V1/UpdateBudgetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for UpdateBudget diff --git a/BinaryAuthorization/metadata/V1/Resources.php b/BinaryAuthorization/metadata/V1/Resources.php index ea2ac719c1bb..c00ec2f51e3a 100644 Binary files a/BinaryAuthorization/metadata/V1/Resources.php and b/BinaryAuthorization/metadata/V1/Resources.php differ diff --git a/BinaryAuthorization/metadata/V1/Service.php b/BinaryAuthorization/metadata/V1/Service.php index e9d7a87b50e5..21008ac6db7e 100644 Binary files a/BinaryAuthorization/metadata/V1/Service.php and b/BinaryAuthorization/metadata/V1/Service.php differ diff --git a/BinaryAuthorization/src/V1/AdmissionRule.php b/BinaryAuthorization/src/V1/AdmissionRule.php index 9b64fe946629..0fdb8c442d17 100644 --- a/BinaryAuthorization/src/V1/AdmissionRule.php +++ b/BinaryAuthorization/src/V1/AdmissionRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An [admission rule][google.cloud.binaryauthorization.v1.AdmissionRule] specifies either that all container images @@ -28,7 +28,7 @@ class AdmissionRule extends \Google\Protobuf\Internal\Message protected $evaluation_mode = 0; /** * Optional. The resource names of the attestors that must attest to - * a container image, in the format `projects/*/attestors/*`. Each + * a container image, in the format `projects/{@*}attestors/*`. Each * attestor must exist before a policy can reference it. To add an attestor * to a policy the principal issuing the policy change request must be able * to read the attestor resource. @@ -53,9 +53,9 @@ class AdmissionRule extends \Google\Protobuf\Internal\Message * * @type int $evaluation_mode * Required. How this admission rule will be evaluated. - * @type array|\Google\Protobuf\Internal\RepeatedField $require_attestations_by + * @type string[] $require_attestations_by * Optional. The resource names of the attestors that must attest to - * a container image, in the format `projects/*/attestors/*`. Each + * a container image, in the format `projects/{@*}attestors/*`. Each * attestor must exist before a policy can reference it. To add an attestor * to a policy the principal issuing the policy change request must be able * to read the attestor resource. @@ -98,7 +98,7 @@ public function setEvaluationMode($var) /** * Optional. The resource names of the attestors that must attest to - * a container image, in the format `projects/*/attestors/*`. Each + * a container image, in the format `projects/{@*}attestors/*`. Each * attestor must exist before a policy can reference it. To add an attestor * to a policy the principal issuing the policy change request must be able * to read the attestor resource. @@ -106,7 +106,7 @@ public function setEvaluationMode($var) * REQUIRE_ATTESTATION, otherwise it must be empty. * * Generated from protobuf field repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRequireAttestationsBy() { @@ -115,7 +115,7 @@ public function getRequireAttestationsBy() /** * Optional. The resource names of the attestors that must attest to - * a container image, in the format `projects/*/attestors/*`. Each + * a container image, in the format `projects/{@*}attestors/*`. Each * attestor must exist before a policy can reference it. To add an attestor * to a policy the principal issuing the policy change request must be able * to read the attestor resource. @@ -123,7 +123,7 @@ public function getRequireAttestationsBy() * REQUIRE_ATTESTATION, otherwise it must be empty. * * Generated from protobuf field repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRequireAttestationsBy($var) diff --git a/BinaryAuthorization/src/V1/AdmissionRule/EnforcementMode.php b/BinaryAuthorization/src/V1/AdmissionRule/EnforcementMode.php index c31a2c7c0a6d..2d6b5db6b0bf 100644 --- a/BinaryAuthorization/src/V1/AdmissionRule/EnforcementMode.php +++ b/BinaryAuthorization/src/V1/AdmissionRule/EnforcementMode.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/BinaryAuthorization/src/V1/AdmissionRule/EvaluationMode.php b/BinaryAuthorization/src/V1/AdmissionRule/EvaluationMode.php index 737802146bf5..90ccbe10a372 100644 --- a/BinaryAuthorization/src/V1/AdmissionRule/EvaluationMode.php +++ b/BinaryAuthorization/src/V1/AdmissionRule/EvaluationMode.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/BinaryAuthorization/src/V1/AdmissionWhitelistPattern.php b/BinaryAuthorization/src/V1/AdmissionWhitelistPattern.php index 7d0e33969045..d9a57c705e92 100644 --- a/BinaryAuthorization/src/V1/AdmissionWhitelistPattern.php +++ b/BinaryAuthorization/src/V1/AdmissionWhitelistPattern.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An [admission allowlist pattern][google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern] exempts images diff --git a/BinaryAuthorization/src/V1/Attestor.php b/BinaryAuthorization/src/V1/Attestor.php index 823512f34ddc..cb89279646f9 100644 --- a/BinaryAuthorization/src/V1/Attestor.php +++ b/BinaryAuthorization/src/V1/Attestor.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An [attestor][google.cloud.binaryauthorization.v1.Attestor] that attests to container image @@ -19,7 +19,7 @@ class Attestor extends \Google\Protobuf\Internal\Message { /** * Required. The resource name, in the format: - * `projects/*/attestors/*`. This field may not be updated. + * `projects/{@*}attestors/*`. This field may not be updated. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -47,7 +47,7 @@ class Attestor extends \Google\Protobuf\Internal\Message * * @type string $name * Required. The resource name, in the format: - * `projects/*/attestors/*`. This field may not be updated. + * `projects/{@*}attestors/*`. This field may not be updated. * @type string $description * Optional. A descriptive comment. This field may be updated. * The field may be displayed in chooser dialogs. @@ -65,7 +65,7 @@ public function __construct($data = NULL) { /** * Required. The resource name, in the format: - * `projects/*/attestors/*`. This field may not be updated. + * `projects/{@*}attestors/*`. This field may not be updated. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -77,7 +77,7 @@ public function getName() /** * Required. The resource name, in the format: - * `projects/*/attestors/*`. This field may not be updated. + * `projects/{@*}attestors/*`. This field may not be updated. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/BinaryAuthorization/src/V1/AttestorPublicKey.php b/BinaryAuthorization/src/V1/AttestorPublicKey.php index e667ea8a3f9c..c35f598c24cc 100644 --- a/BinaryAuthorization/src/V1/AttestorPublicKey.php +++ b/BinaryAuthorization/src/V1/AttestorPublicKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An [attestor public key][google.cloud.binaryauthorization.v1.AttestorPublicKey] that will be used to verify @@ -54,7 +54,7 @@ class AttestorPublicKey extends \Google\Protobuf\Internal\Message * for details. * @type string $ascii_armored_pgp_public_key * ASCII-armored representation of a PGP public key, as the entire output by - * the command `gpg --export --armor foo@example.com` (either LF or CRLF + * the command `gpg --export --armor foo\@example.com` (either LF or CRLF * line endings). * When using this field, `id` should be left blank. The BinAuthz API * handlers will calculate the ID and fill it in automatically. BinAuthz @@ -140,7 +140,7 @@ public function setId($var) /** * ASCII-armored representation of a PGP public key, as the entire output by - * the command `gpg --export --armor foo@example.com` (either LF or CRLF + * the command `gpg --export --armor foo\@example.com` (either LF or CRLF * line endings). * When using this field, `id` should be left blank. The BinAuthz API * handlers will calculate the ID and fill it in automatically. BinAuthz @@ -163,7 +163,7 @@ public function hasAsciiArmoredPgpPublicKey() /** * ASCII-armored representation of a PGP public key, as the entire output by - * the command `gpg --export --armor foo@example.com` (either LF or CRLF + * the command `gpg --export --armor foo\@example.com` (either LF or CRLF * line endings). * When using this field, `id` should be left blank. The BinAuthz API * handlers will calculate the ID and fill it in automatically. BinAuthz diff --git a/BinaryAuthorization/src/V1/CreateAttestorRequest.php b/BinaryAuthorization/src/V1/CreateAttestorRequest.php index 60d6da8c9ebf..f82af4375973 100644 --- a/BinaryAuthorization/src/V1/CreateAttestorRequest.php +++ b/BinaryAuthorization/src/V1/CreateAttestorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for [BinauthzManagementService.CreateAttestor][]. @@ -30,7 +30,7 @@ class CreateAttestorRequest extends \Google\Protobuf\Internal\Message /** * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name, - * in the format `projects/*/attestors/*`. + * in the format `projects/{@*}attestors/*`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ @@ -69,7 +69,7 @@ public static function build(string $parent, string $attestorId, \Google\Cloud\B * @type \Google\Cloud\BinaryAuthorization\V1\Attestor $attestor * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name, - * in the format `projects/*/attestors/*`. + * in the format `projects/{@*}attestors/*`. * } */ public function __construct($data = NULL) { @@ -132,7 +132,7 @@ public function setAttestorId($var) /** * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name, - * in the format `projects/*/attestors/*`. + * in the format `projects/{@*}attestors/*`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\BinaryAuthorization\V1\Attestor|null @@ -155,7 +155,7 @@ public function clearAttestor() /** * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name, - * in the format `projects/*/attestors/*`. + * in the format `projects/{@*}attestors/*`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\BinaryAuthorization\V1\Attestor $var diff --git a/BinaryAuthorization/src/V1/DeleteAttestorRequest.php b/BinaryAuthorization/src/V1/DeleteAttestorRequest.php index b0df352faa1d..f360605d5473 100644 --- a/BinaryAuthorization/src/V1/DeleteAttestorRequest.php +++ b/BinaryAuthorization/src/V1/DeleteAttestorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for [BinauthzManagementService.DeleteAttestor][]. @@ -17,7 +17,7 @@ class DeleteAttestorRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/BinaryAuthorization/src/V1/GetAttestorRequest.php b/BinaryAuthorization/src/V1/GetAttestorRequest.php index 1eca782c6323..752307ea9781 100644 --- a/BinaryAuthorization/src/V1/GetAttestorRequest.php +++ b/BinaryAuthorization/src/V1/GetAttestorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for [BinauthzManagementService.GetAttestor][]. @@ -17,7 +17,7 @@ class GetAttestorRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/BinaryAuthorization/src/V1/GetPolicyRequest.php b/BinaryAuthorization/src/V1/GetPolicyRequest.php index be8fcb28d126..afbe84d50e3a 100644 --- a/BinaryAuthorization/src/V1/GetPolicyRequest.php +++ b/BinaryAuthorization/src/V1/GetPolicyRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for [BinauthzManagementService.GetPolicy][]. @@ -17,7 +17,7 @@ class GetPolicyRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve, - * in the format `projects/*/policy`. + * in the format `projects/{@*}policy`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve, - * in the format `projects/*/policy`. + * in the format `projects/{@*}policy`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve, - * in the format `projects/*/policy`. + * in the format `projects/{@*}policy`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve, - * in the format `projects/*/policy`. + * in the format `projects/{@*}policy`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/BinaryAuthorization/src/V1/GetSystemPolicyRequest.php b/BinaryAuthorization/src/V1/GetSystemPolicyRequest.php index 6a2924097b64..b0e96acd0ff4 100644 --- a/BinaryAuthorization/src/V1/GetSystemPolicyRequest.php +++ b/BinaryAuthorization/src/V1/GetSystemPolicyRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to read the current system policy. @@ -16,7 +16,7 @@ class GetSystemPolicyRequest extends \Google\Protobuf\Internal\Message { /** - * Required. The resource name, in the format `locations/*/policy`. + * Required. The resource name, in the format `locations/{@*}policy`. * Note that the system policy is not associated with a project. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -45,7 +45,7 @@ public static function build(string $name): self * Optional. Data for populating the Message object. * * @type string $name - * Required. The resource name, in the format `locations/*/policy`. + * Required. The resource name, in the format `locations/{@*}policy`. * Note that the system policy is not associated with a project. * } */ @@ -55,7 +55,7 @@ public function __construct($data = NULL) { } /** - * Required. The resource name, in the format `locations/*/policy`. + * Required. The resource name, in the format `locations/{@*}policy`. * Note that the system policy is not associated with a project. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -67,7 +67,7 @@ public function getName() } /** - * Required. The resource name, in the format `locations/*/policy`. + * Required. The resource name, in the format `locations/{@*}policy`. * Note that the system policy is not associated with a project. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { diff --git a/BinaryAuthorization/src/V1/ListAttestorsRequest.php b/BinaryAuthorization/src/V1/ListAttestorsRequest.php index 0ec66e3b59bb..4669c8a50f88 100644 --- a/BinaryAuthorization/src/V1/ListAttestorsRequest.php +++ b/BinaryAuthorization/src/V1/ListAttestorsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for [BinauthzManagementService.ListAttestors][]. @@ -17,7 +17,7 @@ class ListAttestorsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the project associated with the - * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. + * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -61,7 +61,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The resource name of the project associated with the - * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. + * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. * @type int $page_size * Requested page size. The server may return fewer results than requested. If * unspecified, the server will pick an appropriate default. @@ -78,7 +78,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the project associated with the - * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. + * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -90,7 +90,7 @@ public function getParent() /** * Required. The resource name of the project associated with the - * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. + * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/BinaryAuthorization/src/V1/ListAttestorsResponse.php b/BinaryAuthorization/src/V1/ListAttestorsResponse.php index 190c546198a4..7704db931415 100644 --- a/BinaryAuthorization/src/V1/ListAttestorsResponse.php +++ b/BinaryAuthorization/src/V1/ListAttestorsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for [BinauthzManagementService.ListAttestors][]. @@ -36,7 +36,7 @@ class ListAttestorsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\BinaryAuthorization\V1\Attestor>|\Google\Protobuf\Internal\RepeatedField $attestors + * @type \Google\Cloud\BinaryAuthorization\V1\Attestor[] $attestors * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor]. * @type string $next_page_token * A token to retrieve the next page of results. Pass this value in the @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor]. * * Generated from protobuf field repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BinaryAuthorization\V1\Attestor> */ public function getAttestors() { @@ -64,7 +64,7 @@ public function getAttestors() * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor]. * * Generated from protobuf field repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; - * @param array<\Google\Cloud\BinaryAuthorization\V1\Attestor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BinaryAuthorization\V1\Attestor[] $var * @return $this */ public function setAttestors($var) diff --git a/BinaryAuthorization/src/V1/PkixPublicKey.php b/BinaryAuthorization/src/V1/PkixPublicKey.php index 47ab5f4c9428..118043a0b6a6 100644 --- a/BinaryAuthorization/src/V1/PkixPublicKey.php +++ b/BinaryAuthorization/src/V1/PkixPublicKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A public key in the PkixPublicKey format (see diff --git a/BinaryAuthorization/src/V1/PkixPublicKey/SignatureAlgorithm.php b/BinaryAuthorization/src/V1/PkixPublicKey/SignatureAlgorithm.php index ba315daf9ec3..b182ad635309 100644 --- a/BinaryAuthorization/src/V1/PkixPublicKey/SignatureAlgorithm.php +++ b/BinaryAuthorization/src/V1/PkixPublicKey/SignatureAlgorithm.php @@ -148,4 +148,3 @@ public static function value($name) } } - diff --git a/BinaryAuthorization/src/V1/Policy.php b/BinaryAuthorization/src/V1/Policy.php index c7d740cd0928..de8f6aa7da49 100644 --- a/BinaryAuthorization/src/V1/Policy.php +++ b/BinaryAuthorization/src/V1/Policy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A [policy][google.cloud.binaryauthorization.v1.Policy] for container image binary authorization. @@ -16,7 +16,7 @@ class Policy extends \Google\Protobuf\Internal\Message { /** - * Output only. The resource name, in the format `projects/*/policy`. There is + * Output only. The resource name, in the format `projects/{@*}policy`. There is * at most one policy per project. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -102,7 +102,7 @@ class Policy extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. The resource name, in the format `projects/*/policy`. There is + * Output only. The resource name, in the format `projects/{@*}policy`. There is * at most one policy per project. * @type string $description * Optional. A descriptive comment. @@ -111,7 +111,7 @@ class Policy extends \Google\Protobuf\Internal\Message * policy for common system-level images. Images not covered by the global * policy will be subject to the project admission policy. This setting * has no effect when specified inside a global admission policy. - * @type array<\Google\Cloud\BinaryAuthorization\V1\AdmissionWhitelistPattern>|\Google\Protobuf\Internal\RepeatedField $admission_whitelist_patterns + * @type \Google\Cloud\BinaryAuthorization\V1\AdmissionWhitelistPattern[] $admission_whitelist_patterns * Optional. Admission policy allowlisting. A matching admission request will * always be permitted. This feature is typically used to exclude Google or * third-party infrastructure images from Binary Authorization policies. @@ -148,7 +148,7 @@ public function __construct($data = NULL) { } /** - * Output only. The resource name, in the format `projects/*/policy`. There is + * Output only. The resource name, in the format `projects/{@*}policy`. There is * at most one policy per project. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -160,7 +160,7 @@ public function getName() } /** - * Output only. The resource name, in the format `projects/*/policy`. There is + * Output only. The resource name, in the format `projects/{@*}policy`. There is * at most one policy per project. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -239,7 +239,7 @@ public function setGlobalPolicyEvaluationMode($var) * third-party infrastructure images from Binary Authorization policies. * * Generated from protobuf field repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BinaryAuthorization\V1\AdmissionWhitelistPattern> */ public function getAdmissionWhitelistPatterns() { @@ -252,7 +252,7 @@ public function getAdmissionWhitelistPatterns() * third-party infrastructure images from Binary Authorization policies. * * Generated from protobuf field repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\BinaryAuthorization\V1\AdmissionWhitelistPattern>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BinaryAuthorization\V1\AdmissionWhitelistPattern[] $var * @return $this */ public function setAdmissionWhitelistPatterns($var) diff --git a/BinaryAuthorization/src/V1/Policy/GlobalPolicyEvaluationMode.php b/BinaryAuthorization/src/V1/Policy/GlobalPolicyEvaluationMode.php index 7b0089d49505..4125b8a28076 100644 --- a/BinaryAuthorization/src/V1/Policy/GlobalPolicyEvaluationMode.php +++ b/BinaryAuthorization/src/V1/Policy/GlobalPolicyEvaluationMode.php @@ -57,4 +57,3 @@ public static function value($name) } } - diff --git a/BinaryAuthorization/src/V1/UpdateAttestorRequest.php b/BinaryAuthorization/src/V1/UpdateAttestorRequest.php index 370dfb0587a8..d53278072680 100644 --- a/BinaryAuthorization/src/V1/UpdateAttestorRequest.php +++ b/BinaryAuthorization/src/V1/UpdateAttestorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for [BinauthzManagementService.UpdateAttestor][]. @@ -18,7 +18,7 @@ class UpdateAttestorRequest extends \Google\Protobuf\Internal\Message /** * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name - * in the request URL, in the format `projects/*/attestors/*`. + * in the request URL, in the format `projects/{@*}attestors/*`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -48,7 +48,7 @@ public static function build(\Google\Cloud\BinaryAuthorization\V1\Attestor $atte * @type \Google\Cloud\BinaryAuthorization\V1\Attestor $attestor * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name - * in the request URL, in the format `projects/*/attestors/*`. + * in the request URL, in the format `projects/{@*}attestors/*`. * } */ public function __construct($data = NULL) { @@ -59,7 +59,7 @@ public function __construct($data = NULL) { /** * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name - * in the request URL, in the format `projects/*/attestors/*`. + * in the request URL, in the format `projects/{@*}attestors/*`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\BinaryAuthorization\V1\Attestor|null @@ -82,7 +82,7 @@ public function clearAttestor() /** * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name - * in the request URL, in the format `projects/*/attestors/*`. + * in the request URL, in the format `projects/{@*}attestors/*`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\BinaryAuthorization\V1\Attestor $var diff --git a/BinaryAuthorization/src/V1/UpdatePolicyRequest.php b/BinaryAuthorization/src/V1/UpdatePolicyRequest.php index 839ecddda32e..212b1019ecf9 100644 --- a/BinaryAuthorization/src/V1/UpdatePolicyRequest.php +++ b/BinaryAuthorization/src/V1/UpdatePolicyRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for [BinauthzManagementService.UpdatePolicy][]. @@ -18,7 +18,7 @@ class UpdatePolicyRequest extends \Google\Protobuf\Internal\Message /** * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in - * the request URL, in the format `projects/*/policy`. + * the request URL, in the format `projects/{@*}policy`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -48,7 +48,7 @@ public static function build(\Google\Cloud\BinaryAuthorization\V1\Policy $policy * @type \Google\Cloud\BinaryAuthorization\V1\Policy $policy * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in - * the request URL, in the format `projects/*/policy`. + * the request URL, in the format `projects/{@*}policy`. * } */ public function __construct($data = NULL) { @@ -59,7 +59,7 @@ public function __construct($data = NULL) { /** * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in - * the request URL, in the format `projects/*/policy`. + * the request URL, in the format `projects/{@*}policy`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\BinaryAuthorization\V1\Policy|null @@ -82,7 +82,7 @@ public function clearPolicy() /** * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in - * the request URL, in the format `projects/*/policy`. + * the request URL, in the format `projects/{@*}policy`. * * Generated from protobuf field .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\BinaryAuthorization\V1\Policy $var diff --git a/BinaryAuthorization/src/V1/UserOwnedGrafeasNote.php b/BinaryAuthorization/src/V1/UserOwnedGrafeasNote.php index 13b690e61359..c24c3be5dc90 100644 --- a/BinaryAuthorization/src/V1/UserOwnedGrafeasNote.php +++ b/BinaryAuthorization/src/V1/UserOwnedGrafeasNote.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An [user owned Grafeas note][google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote] references a Grafeas @@ -18,7 +18,7 @@ class UserOwnedGrafeasNote extends \Google\Protobuf\Internal\Message { /** * Required. The Grafeas resource name of a Attestation.Authority Note, - * created by the user, in the format: `projects/*/notes/*`. This field may + * created by the user, in the format: `projects/{@*}notes/*`. This field may * not be updated. * An attestation by this attestor is stored as a Grafeas * Attestation.Authority Occurrence that names a container image and that @@ -61,12 +61,12 @@ class UserOwnedGrafeasNote extends \Google\Protobuf\Internal\Message * * @type string $note_reference * Required. The Grafeas resource name of a Attestation.Authority Note, - * created by the user, in the format: `projects/*/notes/*`. This field may + * created by the user, in the format: `projects/{@*}notes/*`. This field may * not be updated. * An attestation by this attestor is stored as a Grafeas * Attestation.Authority Occurrence that names a container image and that * links to this Note. Grafeas is an external dependency. - * @type array<\Google\Cloud\BinaryAuthorization\V1\AttestorPublicKey>|\Google\Protobuf\Internal\RepeatedField $public_keys + * @type \Google\Cloud\BinaryAuthorization\V1\AttestorPublicKey[] $public_keys * Optional. Public keys that verify attestations signed by this * attestor. This field may be updated. * If this field is non-empty, one of the specified public keys must @@ -92,7 +92,7 @@ public function __construct($data = NULL) { /** * Required. The Grafeas resource name of a Attestation.Authority Note, - * created by the user, in the format: `projects/*/notes/*`. This field may + * created by the user, in the format: `projects/{@*}notes/*`. This field may * not be updated. * An attestation by this attestor is stored as a Grafeas * Attestation.Authority Occurrence that names a container image and that @@ -108,7 +108,7 @@ public function getNoteReference() /** * Required. The Grafeas resource name of a Attestation.Authority Note, - * created by the user, in the format: `projects/*/notes/*`. This field may + * created by the user, in the format: `projects/{@*}notes/*`. This field may * not be updated. * An attestation by this attestor is stored as a Grafeas * Attestation.Authority Occurrence that names a container image and that @@ -136,7 +136,7 @@ public function setNoteReference($var) * valid attestations exist. * * Generated from protobuf field repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\BinaryAuthorization\V1\AttestorPublicKey> */ public function getPublicKeys() { @@ -153,7 +153,7 @@ public function getPublicKeys() * valid attestations exist. * * Generated from protobuf field repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\BinaryAuthorization\V1\AttestorPublicKey>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\BinaryAuthorization\V1\AttestorPublicKey[] $var * @return $this */ public function setPublicKeys($var) diff --git a/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceRequest.php b/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceRequest.php index 5f9e80630122..d035ddd3de93 100644 --- a/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceRequest.php +++ b/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -19,7 +19,7 @@ class ValidateAttestationOccurrenceRequest extends \Google\Protobuf\Internal\Mes /** * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the * [occurrence][grafeas.v1.Occurrence], in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -57,7 +57,7 @@ class ValidateAttestationOccurrenceRequest extends \Google\Protobuf\Internal\Mes * @type string $attestor * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the * [occurrence][grafeas.v1.Occurrence], in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * @type \Grafeas\V1\AttestationOccurrence $attestation * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to * be checked that it can be verified by the Attestor. It does not have to be @@ -79,7 +79,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the * [occurrence][grafeas.v1.Occurrence], in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -92,7 +92,7 @@ public function getAttestor() /** * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the * [occurrence][grafeas.v1.Occurrence], in the format - * `projects/*/attestors/*`. + * `projects/{@*}attestors/*`. * * Generated from protobuf field string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse.php b/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse.php index e2ab9e3c1582..91e340b9673f 100644 --- a/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse.php +++ b/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\BinaryAuthorization\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse/Result.php b/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse/Result.php index f1e6c83601bb..af186b8208bb 100644 --- a/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse/Result.php +++ b/BinaryAuthorization/src/V1/ValidateAttestationOccurrenceResponse/Result.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Build/metadata/V2/Cloudbuild.php b/Build/metadata/V2/Cloudbuild.php index 70eca5b4b2d7..fa91b55a0f03 100644 --- a/Build/metadata/V2/Cloudbuild.php +++ b/Build/metadata/V2/Cloudbuild.php @@ -20,31 +20,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -.google/devtools/cloudbuild/v2/cloudbuild.protogoogle.devtools.cloudbuild.v2google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/timestamp.proto" -OperationMetadata4 - create_time ( 2.google.protobuf.TimestampBA1 -end_time ( 2.google.protobuf.TimestampBA -target ( BA -verb ( BA -status_message ( BA# -requested_cancellation (BA - api_version ( BA" -"RunWorkflowCustomOperationMetadata4 - create_time ( 2.google.protobuf.TimestampBA1 -end_time ( 2.google.protobuf.TimestampBA -verb ( BA# -requested_cancellation (BA - api_version ( BA -target ( BA -pipeline_run_id ( BAB -com.google.cloudbuild.v2BCloudBuildProtoPZ>cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpbGCBGoogle.Cloud.CloudBuild.V2Google\\Cloud\\Build\\V2Google::Cloud::Build::V2AN -compute.googleapis.com/Network,projects/{project}/global/networks/{network}AY -!iam.googleapis.com/ServiceAccount4projects/{project}/serviceAccounts/{service_account}AJ -#secretmanager.googleapis.com/Secret#projects/{project}/secrets/{secret}Ad -*secretmanager.googleapis.com/SecretVersion6projects/{project}/secrets/{secret}/versions/{version}A| -0cloudbuild.googleapis.com/githubEnterpriseConfigHprojects/{project}/locations/{location}/githubEnterpriseConfigs/{config}bproto3' + "\x0A\x8B\x0B\x0A.google/devtools/cloudbuild/v2/cloudbuild.proto\x12\x1Dgoogle.devtools.cloudbuild.v2\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x80\x02\x0A\x11OperationMetadata\x124\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06target\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04verb\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1B\x0A\x0Estatus_message\x18\x05 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x16requested_cancellation\x18\x06 \x01(\x08B\x03\xE0A\x03\x12\x18\x0A\x0Bapi_version\x18\x07 \x01(\x09B\x03\xE0A\x03\"\x92\x02\x0A\"RunWorkflowCustomOperationMetadata\x124\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04verb\x18\x03 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x16requested_cancellation\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x18\x0A\x0Bapi_version\x18\x05 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x06target\x18\x06 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Fpipeline_run_id\x18\x07 \x01(\x09B\x03\xE0A\x03B\xA3\x05\x0A\x18com.google.cloudbuild.v2B\x0FCloudBuildProtoP\x01Z>cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb\xA2\x02\x03GCB\xAA\x02\x1AGoogle.Cloud.CloudBuild.V2\xCA\x02\x15Google\\Cloud\\Build\\V2\xEA\x02\x18Google::Cloud::Build::V2\xEAAN\x0A\x1Ecompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xEAAY\x0A!iam.googleapis.com/ServiceAccount\x124projects/{project}/serviceAccounts/{service_account}\xEAAJ\x0A#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xEAAd\x0A*secretmanager.googleapis.com/SecretVersion\x126projects/{project}/secrets/{secret}/versions/{version}\xEAA|\x0A0cloudbuild.googleapis.com/githubEnterpriseConfig\x12Hprojects/{project}/locations/{location}/githubEnterpriseConfigs/{config}b\x06proto3" , true); static::$is_initialized = true; diff --git a/Build/metadata/V2/Repositories.php b/Build/metadata/V2/Repositories.php index 0c64b207d04f..0315c0d85a32 100644 Binary files a/Build/metadata/V2/Repositories.php and b/Build/metadata/V2/Repositories.php differ diff --git a/Build/src/V2/BatchCreateRepositoriesRequest.php b/Build/src/V2/BatchCreateRepositoriesRequest.php index e0aa32884db9..7e7a9a92939e 100644 --- a/Build/src/V2/BatchCreateRepositoriesRequest.php +++ b/Build/src/V2/BatchCreateRepositoriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating repositoritories in batch. @@ -17,7 +17,7 @@ class BatchCreateRepositoriesRequest extends \Google\Protobuf\Internal\Message { /** * Required. The connection to contain all the repositories being created. - * Format: projects/*/locations/*/connections/* + * Format: projects/{@*}locations/{@*}connections/* * The parent field in the CreateRepositoryRequest messages * must either be empty or match this field. * @@ -58,10 +58,10 @@ public static function build(string $parent, array $requests): self * * @type string $parent * Required. The connection to contain all the repositories being created. - * Format: projects/*/locations/*/connections/* + * Format: projects/{@*}locations/{@*}connections/* * The parent field in the CreateRepositoryRequest messages * must either be empty or match this field. - * @type array<\Google\Cloud\Build\V2\CreateRepositoryRequest>|\Google\Protobuf\Internal\RepeatedField $requests + * @type \Google\Cloud\Build\V2\CreateRepositoryRequest[] $requests * Required. The request messages specifying the repositories to create. * } */ @@ -72,7 +72,7 @@ public function __construct($data = NULL) { /** * Required. The connection to contain all the repositories being created. - * Format: projects/*/locations/*/connections/* + * Format: projects/{@*}locations/{@*}connections/* * The parent field in the CreateRepositoryRequest messages * must either be empty or match this field. * @@ -86,7 +86,7 @@ public function getParent() /** * Required. The connection to contain all the repositories being created. - * Format: projects/*/locations/*/connections/* + * Format: projects/{@*}locations/{@*}connections/* * The parent field in the CreateRepositoryRequest messages * must either be empty or match this field. * @@ -106,7 +106,7 @@ public function setParent($var) * Required. The request messages specifying the repositories to create. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Build\V2\CreateRepositoryRequest> */ public function getRequests() { @@ -117,7 +117,7 @@ public function getRequests() * Required. The request messages specifying the repositories to create. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Build\V2\CreateRepositoryRequest>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Build\V2\CreateRepositoryRequest[] $var * @return $this */ public function setRequests($var) diff --git a/Build/src/V2/BatchCreateRepositoriesResponse.php b/Build/src/V2/BatchCreateRepositoriesResponse.php index 4aec29b05e24..d7864a9393aa 100644 --- a/Build/src/V2/BatchCreateRepositoriesResponse.php +++ b/Build/src/V2/BatchCreateRepositoriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response of creating repositories in batch. @@ -28,7 +28,7 @@ class BatchCreateRepositoriesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Build\V2\Repository>|\Google\Protobuf\Internal\RepeatedField $repositories + * @type \Google\Cloud\Build\V2\Repository[] $repositories * Repository resources created. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Repository resources created. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Build\V2\Repository> */ public function getRepositories() { @@ -52,7 +52,7 @@ public function getRepositories() * Repository resources created. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; - * @param array<\Google\Cloud\Build\V2\Repository>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Build\V2\Repository[] $var * @return $this */ public function setRepositories($var) diff --git a/Build/src/V2/BitbucketCloudConfig.php b/Build/src/V2/BitbucketCloudConfig.php index b0c857475261..a717940ab556 100644 --- a/Build/src/V2/BitbucketCloudConfig.php +++ b/Build/src/V2/BitbucketCloudConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for connections to Bitbucket Cloud. @@ -24,7 +24,7 @@ class BitbucketCloudConfig extends \Google\Protobuf\Internal\Message protected $workspace = ''; /** * Required. SecretManager resource containing the webhook secret used to - * verify webhook events, formatted as `projects/*/secrets/*/versions/*`. + * verify webhook events, formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -58,7 +58,7 @@ class BitbucketCloudConfig extends \Google\Protobuf\Internal\Message * Platform. * @type string $webhook_secret_secret_version * Required. SecretManager resource containing the webhook secret used to - * verify webhook events, formatted as `projects/*/secrets/*/versions/*`. + * verify webhook events, formatted as `projects/{@*}secrets/{@*}versions/*`. * @type \Google\Cloud\Build\V2\UserCredential $read_authorizer_credential * Required. An access token with the `repository` access. It can be either a * workspace, project or repository access token. It's recommended to use a @@ -105,7 +105,7 @@ public function setWorkspace($var) /** * Required. SecretManager resource containing the webhook secret used to - * verify webhook events, formatted as `projects/*/secrets/*/versions/*`. + * verify webhook events, formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -117,7 +117,7 @@ public function getWebhookSecretSecretVersion() /** * Required. SecretManager resource containing the webhook secret used to - * verify webhook events, formatted as `projects/*/secrets/*/versions/*`. + * verify webhook events, formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/BitbucketDataCenterConfig.php b/Build/src/V2/BitbucketDataCenterConfig.php index 5927ea5a1b98..4fd91bf65051 100644 --- a/Build/src/V2/BitbucketDataCenterConfig.php +++ b/Build/src/V2/BitbucketDataCenterConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for connections to Bitbucket Data Center. @@ -25,7 +25,7 @@ class BitbucketDataCenterConfig extends \Google\Protobuf\Internal\Message /** * Required. Immutable. SecretManager resource containing the webhook secret * used to verify webhook events, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { */ @@ -78,7 +78,7 @@ class BitbucketDataCenterConfig extends \Google\Protobuf\Internal\Message * @type string $webhook_secret_secret_version * Required. Immutable. SecretManager resource containing the webhook secret * used to verify webhook events, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * @type \Google\Cloud\Build\V2\UserCredential $read_authorizer_credential * Required. A http access token with the `REPO_READ` access. * @type \Google\Cloud\Build\V2\UserCredential $authorizer_credential @@ -132,7 +132,7 @@ public function setHostUri($var) /** * Required. Immutable. SecretManager resource containing the webhook secret * used to verify webhook events, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { * @return string @@ -145,7 +145,7 @@ public function getWebhookSecretSecretVersion() /** * Required. Immutable. SecretManager resource containing the webhook secret * used to verify webhook events, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/Connection.php b/Build/src/V2/Connection.php index af1a1dcd99fb..8ff00eb104f0 100644 --- a/Build/src/V2/Connection.php +++ b/Build/src/V2/Connection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, diff --git a/Build/src/V2/CreateConnectionRequest.php b/Build/src/V2/CreateConnectionRequest.php index 4ba96b1380b1..3c524332acc5 100644 --- a/Build/src/V2/CreateConnectionRequest.php +++ b/Build/src/V2/CreateConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Connection @@ -17,7 +17,7 @@ class CreateConnectionRequest extends \Google\Protobuf\Internal\Message { /** * Required. Project and location where the connection will be created. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -32,7 +32,7 @@ class CreateConnectionRequest extends \Google\Protobuf\Internal\Message * Required. The ID to use for the Connection, which will become the final * component of the Connection's resource name. Names must be unique * per-project per-location. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * * Generated from protobuf field string connection_id = 3 [(.google.api.field_behavior) = REQUIRED]; */ @@ -68,14 +68,14 @@ public static function build(string $parent, \Google\Cloud\Build\V2\Connection $ * * @type string $parent * Required. Project and location where the connection will be created. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * @type \Google\Cloud\Build\V2\Connection $connection * Required. The Connection to create. * @type string $connection_id * Required. The ID to use for the Connection, which will become the final * component of the Connection's resource name. Names must be unique * per-project per-location. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * } */ public function __construct($data = NULL) { @@ -85,7 +85,7 @@ public function __construct($data = NULL) { /** * Required. Project and location where the connection will be created. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -97,7 +97,7 @@ public function getParent() /** * Required. Project and location where the connection will be created. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -151,7 +151,7 @@ public function setConnection($var) * Required. The ID to use for the Connection, which will become the final * component of the Connection's resource name. Names must be unique * per-project per-location. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * * Generated from protobuf field string connection_id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -165,7 +165,7 @@ public function getConnectionId() * Required. The ID to use for the Connection, which will become the final * component of the Connection's resource name. Names must be unique * per-project per-location. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * * Generated from protobuf field string connection_id = 3 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Build/src/V2/CreateRepositoryRequest.php b/Build/src/V2/CreateRepositoryRequest.php index 5dbc70bca90c..b141c54c02bd 100644 --- a/Build/src/V2/CreateRepositoryRequest.php +++ b/Build/src/V2/CreateRepositoryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Repository. @@ -33,7 +33,7 @@ class CreateRepositoryRequest extends \Google\Protobuf\Internal\Message * Required. The ID to use for the repository, which will become the final * component of the repository's resource name. This ID should be unique in * the connection. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * * Generated from protobuf field string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; */ @@ -78,7 +78,7 @@ public static function build(string $parent, \Google\Cloud\Build\V2\Repository $ * Required. The ID to use for the repository, which will become the final * component of the repository's resource name. This ID should be unique in * the connection. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * } */ public function __construct($data = NULL) { @@ -156,7 +156,7 @@ public function setRepository($var) * Required. The ID to use for the repository, which will become the final * component of the repository's resource name. This ID should be unique in * the connection. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * * Generated from protobuf field string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -170,7 +170,7 @@ public function getRepositoryId() * Required. The ID to use for the repository, which will become the final * component of the repository's resource name. This ID should be unique in * the connection. Allows alphanumeric characters and any of - * -._~%!$&'()*+,;=@. + * -._~%!$&'()*+,;=\@. * * Generated from protobuf field string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; * @param string $var diff --git a/Build/src/V2/DeleteConnectionRequest.php b/Build/src/V2/DeleteConnectionRequest.php index d76949b9bafc..ec707b3c824f 100644 --- a/Build/src/V2/DeleteConnectionRequest.php +++ b/Build/src/V2/DeleteConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Connection. @@ -17,7 +17,7 @@ class DeleteConnectionRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Connection to delete. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -60,7 +60,7 @@ public static function build(string $name): self * * @type string $name * Required. The name of the Connection to delete. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * @type string $etag * The current etag of the connection. * If an etag is provided and does not match the current etag of the @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. The name of the Connection to delete. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,7 +88,7 @@ public function getName() /** * Required. The name of the Connection to delete. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/DeleteRepositoryRequest.php b/Build/src/V2/DeleteRepositoryRequest.php index c12878d13cb8..8b48f07dc0f3 100644 --- a/Build/src/V2/DeleteRepositoryRequest.php +++ b/Build/src/V2/DeleteRepositoryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Repository. @@ -17,7 +17,7 @@ class DeleteRepositoryRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Repository to delete. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -60,7 +60,7 @@ public static function build(string $name): self * * @type string $name * Required. The name of the Repository to delete. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * @type string $etag * The current etag of the repository. * If an etag is provided and does not match the current etag of the @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. The name of the Repository to delete. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,7 +88,7 @@ public function getName() /** * Required. The name of the Repository to delete. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/FetchGitRefsRequest.php b/Build/src/V2/FetchGitRefsRequest.php index 4f5bff6c029f..f9cff0a41bc1 100644 --- a/Build/src/V2/FetchGitRefsRequest.php +++ b/Build/src/V2/FetchGitRefsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for fetching git refs @@ -17,7 +17,7 @@ class FetchGitRefsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -52,7 +52,7 @@ public static function build(string $repository): self * * @type string $repository * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * @type int $ref_type * Type of refs to fetch * } @@ -64,7 +64,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -76,7 +76,7 @@ public function getRepository() /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/FetchGitRefsRequest/RefType.php b/Build/src/V2/FetchGitRefsRequest/RefType.php index 3e55b91ef789..46eb9bdef3f2 100644 --- a/Build/src/V2/FetchGitRefsRequest/RefType.php +++ b/Build/src/V2/FetchGitRefsRequest/RefType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Build/src/V2/FetchGitRefsResponse.php b/Build/src/V2/FetchGitRefsResponse.php index dd3b8bf543e7..abfc263e1739 100644 --- a/Build/src/V2/FetchGitRefsResponse.php +++ b/Build/src/V2/FetchGitRefsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for fetching git refs @@ -28,7 +28,7 @@ class FetchGitRefsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $ref_names + * @type string[] $ref_names * Name of the refs fetched. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Name of the refs fetched. * * Generated from protobuf field repeated string ref_names = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRefNames() { @@ -52,7 +52,7 @@ public function getRefNames() * Name of the refs fetched. * * Generated from protobuf field repeated string ref_names = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRefNames($var) diff --git a/Build/src/V2/FetchLinkableRepositoriesRequest.php b/Build/src/V2/FetchLinkableRepositoriesRequest.php index 677401c74cc3..eb0d010ff8e5 100644 --- a/Build/src/V2/FetchLinkableRepositoriesRequest.php +++ b/Build/src/V2/FetchLinkableRepositoriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for FetchLinkableRepositories. @@ -17,7 +17,7 @@ class FetchLinkableRepositoriesRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Connection. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -43,7 +43,7 @@ class FetchLinkableRepositoriesRequest extends \Google\Protobuf\Internal\Message * * @type string $connection * Required. The name of the Connection. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * @type int $page_size * Number of results to return in the list. Default to 20. * @type string $page_token @@ -57,7 +57,7 @@ public function __construct($data = NULL) { /** * Required. The name of the Connection. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -69,7 +69,7 @@ public function getConnection() /** * Required. The name of the Connection. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/FetchLinkableRepositoriesResponse.php b/Build/src/V2/FetchLinkableRepositoriesResponse.php index cab0cfef5019..89dde1354440 100644 --- a/Build/src/V2/FetchLinkableRepositoriesResponse.php +++ b/Build/src/V2/FetchLinkableRepositoriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for FetchLinkableRepositories. @@ -34,7 +34,7 @@ class FetchLinkableRepositoriesResponse extends \Google\Protobuf\Internal\Messag * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Build\V2\Repository>|\Google\Protobuf\Internal\RepeatedField $repositories + * @type \Google\Cloud\Build\V2\Repository[] $repositories * repositories ready to be created. * @type string $next_page_token * A token identifying a page of results the server should return. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * repositories ready to be created. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Build\V2\Repository> */ public function getRepositories() { @@ -60,7 +60,7 @@ public function getRepositories() * repositories ready to be created. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; - * @param array<\Google\Cloud\Build\V2\Repository>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Build\V2\Repository[] $var * @return $this */ public function setRepositories($var) diff --git a/Build/src/V2/FetchReadTokenRequest.php b/Build/src/V2/FetchReadTokenRequest.php index ab9057b88e0a..424658c61596 100644 --- a/Build/src/V2/FetchReadTokenRequest.php +++ b/Build/src/V2/FetchReadTokenRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for fetching SCM read token. @@ -17,7 +17,7 @@ class FetchReadTokenRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $repository): self * * @type string $repository * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getRepository() /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/FetchReadTokenResponse.php b/Build/src/V2/FetchReadTokenResponse.php index 3302adc79daf..fa6e68084a3d 100644 --- a/Build/src/V2/FetchReadTokenResponse.php +++ b/Build/src/V2/FetchReadTokenResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for responding to get read token. diff --git a/Build/src/V2/FetchReadWriteTokenRequest.php b/Build/src/V2/FetchReadWriteTokenRequest.php index 5c24c1711c42..aee7d2c84f5a 100644 --- a/Build/src/V2/FetchReadWriteTokenRequest.php +++ b/Build/src/V2/FetchReadWriteTokenRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for fetching SCM read/write token. @@ -17,7 +17,7 @@ class FetchReadWriteTokenRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $repository): self * * @type string $repository * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getRepository() /** * Required. The resource name of the repository in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/FetchReadWriteTokenResponse.php b/Build/src/V2/FetchReadWriteTokenResponse.php index c38b59dc84b1..4032f2e1308a 100644 --- a/Build/src/V2/FetchReadWriteTokenResponse.php +++ b/Build/src/V2/FetchReadWriteTokenResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for responding to get read/write token. diff --git a/Build/src/V2/GetConnectionRequest.php b/Build/src/V2/GetConnectionRequest.php index a5fb8449f96a..25cda88affab 100644 --- a/Build/src/V2/GetConnectionRequest.php +++ b/Build/src/V2/GetConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting the details of a Connection. @@ -17,7 +17,7 @@ class GetConnectionRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Connection to retrieve. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. The name of the Connection to retrieve. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the Connection to retrieve. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. The name of the Connection to retrieve. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/GetRepositoryRequest.php b/Build/src/V2/GetRepositoryRequest.php index 2b71cd243f1f..cc05d4ba8657 100644 --- a/Build/src/V2/GetRepositoryRequest.php +++ b/Build/src/V2/GetRepositoryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting the details of a Repository. @@ -17,7 +17,7 @@ class GetRepositoryRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Repository to retrieve. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. The name of the Repository to retrieve. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the Repository to retrieve. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. The name of the Repository to retrieve. - * Format: `projects/*/locations/*/connections/*/repositories/*`. + * Format: `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/GitHubConfig.php b/Build/src/V2/GitHubConfig.php index d1435a9df8ea..d2a970d8ef55 100644 --- a/Build/src/V2/GitHubConfig.php +++ b/Build/src/V2/GitHubConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for connections to github.com. diff --git a/Build/src/V2/GitHubEnterpriseConfig.php b/Build/src/V2/GitHubEnterpriseConfig.php index 333e58603534..155bd65db45c 100644 --- a/Build/src/V2/GitHubEnterpriseConfig.php +++ b/Build/src/V2/GitHubEnterpriseConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for connections to an instance of GitHub Enterprise. @@ -41,14 +41,14 @@ class GitHubEnterpriseConfig extends \Google\Protobuf\Internal\Message protected $app_slug = ''; /** * SecretManager resource containing the private key of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string private_key_secret_version = 4 [(.google.api.resource_reference) = { */ protected $private_key_secret_version = ''; /** * SecretManager resource containing the webhook secret of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { */ @@ -98,10 +98,10 @@ class GitHubEnterpriseConfig extends \Google\Protobuf\Internal\Message * The URL-friendly name of the GitHub App. * @type string $private_key_secret_version * SecretManager resource containing the private key of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * @type string $webhook_secret_secret_version * SecretManager resource containing the webhook secret of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * @type int|string $app_installation_id * ID of the installation of the GitHub App. * @type \Google\Cloud\Build\V2\ServiceDirectoryConfig $service_directory_config @@ -227,7 +227,7 @@ public function setAppSlug($var) /** * SecretManager resource containing the private key of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string private_key_secret_version = 4 [(.google.api.resource_reference) = { * @return string @@ -239,7 +239,7 @@ public function getPrivateKeySecretVersion() /** * SecretManager resource containing the private key of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string private_key_secret_version = 4 [(.google.api.resource_reference) = { * @param string $var @@ -255,7 +255,7 @@ public function setPrivateKeySecretVersion($var) /** * SecretManager resource containing the webhook secret of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { * @return string @@ -267,7 +267,7 @@ public function getWebhookSecretSecretVersion() /** * SecretManager resource containing the webhook secret of the GitHub App, - * formatted as `projects/*/secrets/*/versions/*`. + * formatted as `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/GitLabConfig.php b/Build/src/V2/GitLabConfig.php index 078b133eccbc..69aa87d83029 100644 --- a/Build/src/V2/GitLabConfig.php +++ b/Build/src/V2/GitLabConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for connections to gitlab.com or an instance of GitLab @@ -26,7 +26,7 @@ class GitLabConfig extends \Google\Protobuf\Internal\Message /** * Required. Immutable. SecretManager resource containing the webhook secret * of a GitLab Enterprise project, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { */ @@ -80,7 +80,7 @@ class GitLabConfig extends \Google\Protobuf\Internal\Message * @type string $webhook_secret_secret_version * Required. Immutable. SecretManager resource containing the webhook secret * of a GitLab Enterprise project, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * @type \Google\Cloud\Build\V2\UserCredential $read_authorizer_credential * Required. A GitLab personal access token with the minimum `read_api` scope * access. @@ -135,7 +135,7 @@ public function setHostUri($var) /** * Required. Immutable. SecretManager resource containing the webhook secret * of a GitLab Enterprise project, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { * @return string @@ -148,7 +148,7 @@ public function getWebhookSecretSecretVersion() /** * Required. Immutable. SecretManager resource containing the webhook secret * of a GitLab Enterprise project, formatted as - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/InstallationState.php b/Build/src/V2/InstallationState.php index b1ae1f2c68e8..e0e1ce0faea8 100644 --- a/Build/src/V2/InstallationState.php +++ b/Build/src/V2/InstallationState.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes stage and necessary actions to be taken by the diff --git a/Build/src/V2/InstallationState/Stage.php b/Build/src/V2/InstallationState/Stage.php index bcaf482a3921..8cd4a9da00fe 100644 --- a/Build/src/V2/InstallationState/Stage.php +++ b/Build/src/V2/InstallationState/Stage.php @@ -74,4 +74,3 @@ public static function value($name) } } - diff --git a/Build/src/V2/ListConnectionsRequest.php b/Build/src/V2/ListConnectionsRequest.php index d074735f716d..bb9cffbd7b9f 100644 --- a/Build/src/V2/ListConnectionsRequest.php +++ b/Build/src/V2/ListConnectionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Connections. @@ -17,7 +17,7 @@ class ListConnectionsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent, which owns this collection of Connections. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -58,7 +58,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The parent, which owns this collection of Connections. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * @type int $page_size * Number of results to return in the list. * @type string $page_token @@ -72,7 +72,7 @@ public function __construct($data = NULL) { /** * Required. The parent, which owns this collection of Connections. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -84,7 +84,7 @@ public function getParent() /** * Required. The parent, which owns this collection of Connections. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/ListConnectionsResponse.php b/Build/src/V2/ListConnectionsResponse.php index 9d9a916d3a00..8807198981c3 100644 --- a/Build/src/V2/ListConnectionsResponse.php +++ b/Build/src/V2/ListConnectionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Connections. @@ -34,7 +34,7 @@ class ListConnectionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Build\V2\Connection>|\Google\Protobuf\Internal\RepeatedField $connections + * @type \Google\Cloud\Build\V2\Connection[] $connections * The list of Connections. * @type string $next_page_token * A token identifying a page of results the server should return. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The list of Connections. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Connection connections = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Build\V2\Connection> */ public function getConnections() { @@ -60,7 +60,7 @@ public function getConnections() * The list of Connections. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Connection connections = 1; - * @param array<\Google\Cloud\Build\V2\Connection>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Build\V2\Connection[] $var * @return $this */ public function setConnections($var) diff --git a/Build/src/V2/ListRepositoriesRequest.php b/Build/src/V2/ListRepositoriesRequest.php index b348f630d745..88a2fc4386f4 100644 --- a/Build/src/V2/ListRepositoriesRequest.php +++ b/Build/src/V2/ListRepositoriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Repositories. @@ -17,7 +17,7 @@ class ListRepositoriesRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent, which owns this collection of Repositories. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -67,7 +67,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The parent, which owns this collection of Repositories. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * @type int $page_size * Number of results to return in the list. * @type string $page_token @@ -86,7 +86,7 @@ public function __construct($data = NULL) { /** * Required. The parent, which owns this collection of Repositories. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -98,7 +98,7 @@ public function getParent() /** * Required. The parent, which owns this collection of Repositories. - * Format: `projects/*/locations/*/connections/*`. + * Format: `projects/{@*}locations/{@*}connections/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/ListRepositoriesResponse.php b/Build/src/V2/ListRepositoriesResponse.php index 54490f450841..3c03fa67a2eb 100644 --- a/Build/src/V2/ListRepositoriesResponse.php +++ b/Build/src/V2/ListRepositoriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Repositories. @@ -34,7 +34,7 @@ class ListRepositoriesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Build\V2\Repository>|\Google\Protobuf\Internal\RepeatedField $repositories + * @type \Google\Cloud\Build\V2\Repository[] $repositories * The list of Repositories. * @type string $next_page_token * A token identifying a page of results the server should return. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The list of Repositories. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Build\V2\Repository> */ public function getRepositories() { @@ -60,7 +60,7 @@ public function getRepositories() * The list of Repositories. * * Generated from protobuf field repeated .google.devtools.cloudbuild.v2.Repository repositories = 1; - * @param array<\Google\Cloud\Build\V2\Repository>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Build\V2\Repository[] $var * @return $this */ public function setRepositories($var) diff --git a/Build/src/V2/OAuthCredential.php b/Build/src/V2/OAuthCredential.php index 02ae959dbbb1..6f59277af97a 100644 --- a/Build/src/V2/OAuthCredential.php +++ b/Build/src/V2/OAuthCredential.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an OAuth token of the account that authorized the Connection, @@ -18,7 +18,7 @@ class OAuthCredential extends \Google\Protobuf\Internal\Message { /** * A SecretManager resource containing the OAuth token that authorizes - * the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. + * the Cloud Build connection. Format: `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string oauth_token_secret_version = 1 [(.google.api.resource_reference) = { */ @@ -38,7 +38,7 @@ class OAuthCredential extends \Google\Protobuf\Internal\Message * * @type string $oauth_token_secret_version * A SecretManager resource containing the OAuth token that authorizes - * the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. + * the Cloud Build connection. Format: `projects/{@*}secrets/{@*}versions/*`. * @type string $username * Output only. The username associated to this token. * } @@ -50,7 +50,7 @@ public function __construct($data = NULL) { /** * A SecretManager resource containing the OAuth token that authorizes - * the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. + * the Cloud Build connection. Format: `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string oauth_token_secret_version = 1 [(.google.api.resource_reference) = { * @return string @@ -62,7 +62,7 @@ public function getOauthTokenSecretVersion() /** * A SecretManager resource containing the OAuth token that authorizes - * the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. + * the Cloud Build connection. Format: `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string oauth_token_secret_version = 1 [(.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/OperationMetadata.php b/Build/src/V2/OperationMetadata.php index 42a4e11540ab..78b480cdc576 100644 --- a/Build/src/V2/OperationMetadata.php +++ b/Build/src/V2/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of the long-running operation. diff --git a/Build/src/V2/ProcessWebhookRequest.php b/Build/src/V2/ProcessWebhookRequest.php index cf013c817200..15b64fc91588 100644 --- a/Build/src/V2/ProcessWebhookRequest.php +++ b/Build/src/V2/ProcessWebhookRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RPC request object accepted by the ProcessWebhook RPC method. @@ -17,7 +17,7 @@ class ProcessWebhookRequest extends \Google\Protobuf\Internal\Message { /** * Required. Project and location where the webhook will be received. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -44,7 +44,7 @@ class ProcessWebhookRequest extends \Google\Protobuf\Internal\Message * * @type string $parent * Required. Project and location where the webhook will be received. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * @type \Google\Api\HttpBody $body * HTTP request body. * @type string $webhook_key @@ -59,7 +59,7 @@ public function __construct($data = NULL) { /** * Required. Project and location where the webhook will be received. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -71,7 +71,7 @@ public function getParent() /** * Required. Project and location where the webhook will be received. - * Format: `projects/*/locations/*`. + * Format: `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Build/src/V2/Repository.php b/Build/src/V2/Repository.php index 6099cdddc399..b396c634e71c 100644 --- a/Build/src/V2/Repository.php +++ b/Build/src/V2/Repository.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A repository associated to a parent connection. @@ -17,7 +17,7 @@ class Repository extends \Google\Protobuf\Internal\Message { /** * Immutable. Resource name of the repository, in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @@ -69,7 +69,7 @@ class Repository extends \Google\Protobuf\Internal\Message * * @type string $name * Immutable. Resource name of the repository, in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * @type string $remote_uri * Required. Git Clone HTTPS URI. * @type \Google\Protobuf\Timestamp $create_time @@ -93,7 +93,7 @@ public function __construct($data = NULL) { /** * Immutable. Resource name of the repository, in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @return string @@ -105,7 +105,7 @@ public function getName() /** * Immutable. Resource name of the repository, in the format - * `projects/*/locations/*/connections/*/repositories/*`. + * `projects/{@*}locations/{@*}connections/{@*}repositories/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @param string $var diff --git a/Build/src/V2/RunWorkflowCustomOperationMetadata.php b/Build/src/V2/RunWorkflowCustomOperationMetadata.php index 607954ea33b7..7e8e726030f6 100644 --- a/Build/src/V2/RunWorkflowCustomOperationMetadata.php +++ b/Build/src/V2/RunWorkflowCustomOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the custom metadata of the RunWorkflow long-running operation. diff --git a/Build/src/V2/ServiceDirectoryConfig.php b/Build/src/V2/ServiceDirectoryConfig.php index 319cc1be7884..28d065b750c4 100644 --- a/Build/src/V2/ServiceDirectoryConfig.php +++ b/Build/src/V2/ServiceDirectoryConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ServiceDirectoryConfig represents Service Directory configuration for a diff --git a/Build/src/V2/UpdateConnectionRequest.php b/Build/src/V2/UpdateConnectionRequest.php index 9249d61cca33..1f318b261be3 100644 --- a/Build/src/V2/UpdateConnectionRequest.php +++ b/Build/src/V2/UpdateConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a Connection. diff --git a/Build/src/V2/UserCredential.php b/Build/src/V2/UserCredential.php index c19841970419..154adee9d744 100644 --- a/Build/src/V2/UserCredential.php +++ b/Build/src/V2/UserCredential.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Build\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a personal access token that authorized the Connection, @@ -19,7 +19,7 @@ class UserCredential extends \Google\Protobuf\Internal\Message /** * Required. A SecretManager resource containing the user token that * authorizes the Cloud Build connection. Format: - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string user_token_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -40,7 +40,7 @@ class UserCredential extends \Google\Protobuf\Internal\Message * @type string $user_token_secret_version * Required. A SecretManager resource containing the user token that * authorizes the Cloud Build connection. Format: - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * @type string $username * Output only. The username associated to this token. * } @@ -53,7 +53,7 @@ public function __construct($data = NULL) { /** * Required. A SecretManager resource containing the user token that * authorizes the Cloud Build connection. Format: - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string user_token_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -66,7 +66,7 @@ public function getUserTokenSecretVersion() /** * Required. A SecretManager resource containing the user token that * authorizes the Cloud Build connection. Format: - * `projects/*/secrets/*/versions/*`. + * `projects/{@*}secrets/{@*}versions/*`. * * Generated from protobuf field string user_token_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CapacityPlanner/metadata/V1Beta/Allocation.php b/CapacityPlanner/metadata/V1Beta/Allocation.php index 7e87eb6a700a..2baf94e05a74 100644 Binary files a/CapacityPlanner/metadata/V1Beta/Allocation.php and b/CapacityPlanner/metadata/V1Beta/Allocation.php differ diff --git a/CapacityPlanner/metadata/V1Beta/FutureReservation.php b/CapacityPlanner/metadata/V1Beta/FutureReservation.php index b910c31f7f50..aef78a2950c7 100644 Binary files a/CapacityPlanner/metadata/V1Beta/FutureReservation.php and b/CapacityPlanner/metadata/V1Beta/FutureReservation.php differ diff --git a/CapacityPlanner/metadata/V1Beta/Location.php b/CapacityPlanner/metadata/V1Beta/Location.php index 1372c8a978ab..8b9a94e76733 100644 Binary files a/CapacityPlanner/metadata/V1Beta/Location.php and b/CapacityPlanner/metadata/V1Beta/Location.php differ diff --git a/CapacityPlanner/metadata/V1Beta/Resource.php b/CapacityPlanner/metadata/V1Beta/Resource.php index 275b3d3491c2..f1aa07efde10 100644 Binary files a/CapacityPlanner/metadata/V1Beta/Resource.php and b/CapacityPlanner/metadata/V1Beta/Resource.php differ diff --git a/CapacityPlanner/metadata/V1Beta/UsageService.php b/CapacityPlanner/metadata/V1Beta/UsageService.php index 2410f48ecb8c..c70747f07f46 100644 Binary files a/CapacityPlanner/metadata/V1Beta/UsageService.php and b/CapacityPlanner/metadata/V1Beta/UsageService.php differ diff --git a/CapacityPlanner/src/V1beta/Allocation.php b/CapacityPlanner/src/V1beta/Allocation.php index c8b55a9ebdf1..4c0250909d1f 100644 --- a/CapacityPlanner/src/V1beta/Allocation.php +++ b/CapacityPlanner/src/V1beta/Allocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Repesents Allocation which is part of aggregated diff --git a/CapacityPlanner/src/V1beta/Allocation/ShareSettings.php b/CapacityPlanner/src/V1beta/Allocation/ShareSettings.php index 05496959e7ef..aab24616718e 100644 --- a/CapacityPlanner/src/V1beta/Allocation/ShareSettings.php +++ b/CapacityPlanner/src/V1beta/Allocation/ShareSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\Allocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The share setting for reservation. @@ -38,7 +38,7 @@ class ShareSettings extends \Google\Protobuf\Internal\Message * * @type int $share_type * Type of sharing for this shared-reservation - * @type array|\Google\Protobuf\Internal\RepeatedField $projects + * @type string[] $projects * A List of Project names to specify consumer projects for this * shared-reservation. This is only valid when share_type's value is * SPECIFIC_PROJECTS. @@ -81,7 +81,7 @@ public function setShareType($var) * SPECIFIC_PROJECTS. * * Generated from protobuf field repeated string projects = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getProjects() { @@ -94,7 +94,7 @@ public function getProjects() * SPECIFIC_PROJECTS. * * Generated from protobuf field repeated string projects = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setProjects($var) @@ -107,4 +107,3 @@ public function setProjects($var) } - diff --git a/CapacityPlanner/src/V1beta/Allocation/ShareSettings/ShareType.php b/CapacityPlanner/src/V1beta/Allocation/ShareSettings/ShareType.php index 43f1e4c42886..aac59c7b966c 100644 --- a/CapacityPlanner/src/V1beta/Allocation/ShareSettings/ShareType.php +++ b/CapacityPlanner/src/V1beta/Allocation/ShareSettings/ShareType.php @@ -75,4 +75,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation.php b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation.php index d628301f49b5..b80ee900d08d 100644 --- a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation.php +++ b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\Allocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This reservation type allows to pre allocate specific instance @@ -178,4 +178,3 @@ public function setAssuredCount($var) } - diff --git a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties.php b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties.php index 84c7c784dcaf..ffae81bf0749 100644 --- a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties.php +++ b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Properties of the SKU instances being reserved. @@ -53,11 +53,11 @@ class AllocatedInstanceProperties extends \Google\Protobuf\Internal\Message * Specifies type of machine (name only) which has fixed number of vCPUs * and fixed amount of memory. This also includes specifying custom * machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern. - * @type array<\Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AcceleratorConfig>|\Google\Protobuf\Internal\RepeatedField $guest_accelerator + * @type \Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AcceleratorConfig[] $guest_accelerator * Specifies accelerator type and count. * @type string $min_cpu_platform * Minimum cpu platform the reservation. - * @type array<\Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AllocatedDisk>|\Google\Protobuf\Internal\RepeatedField $local_ssd + * @type \Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AllocatedDisk[] $local_ssd * Specifies amount of local ssd to reserve with each instance. The type * of disk is local-ssd. * } @@ -101,7 +101,7 @@ public function setMachineType($var) * Specifies accelerator type and count. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AcceleratorConfig> */ public function getGuestAccelerator() { @@ -112,7 +112,7 @@ public function getGuestAccelerator() * Specifies accelerator type and count. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AcceleratorConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AcceleratorConfig[] $var * @return $this */ public function setGuestAccelerator($var) @@ -154,7 +154,7 @@ public function setMinCpuPlatform($var) * of disk is local-ssd. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk local_ssd = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AllocatedDisk> */ public function getLocalSsd() { @@ -166,7 +166,7 @@ public function getLocalSsd() * of disk is local-ssd. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk local_ssd = 4; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AllocatedDisk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties\AllocatedDisk[] $var * @return $this */ public function setLocalSsd($var) @@ -179,4 +179,3 @@ public function setLocalSsd($var) } - diff --git a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AcceleratorConfig.php b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AcceleratorConfig.php index 0c28459fcb39..391392de8617 100644 --- a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AcceleratorConfig.php +++ b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AcceleratorConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specification of the type and number of accelerator cards attached to @@ -108,4 +108,3 @@ public function setCount($var) } - diff --git a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk.php b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk.php index c030b310e618..b740349a4759 100644 --- a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk.php +++ b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specification of the interface and size of disk attached to @@ -104,4 +104,3 @@ public function setDiskInterface($var) } - diff --git a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk/DiskInterface.php b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk/DiskInterface.php index 59a06758c370..aa8a4640e409 100644 --- a/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk/DiskInterface.php +++ b/CapacityPlanner/src/V1beta/Allocation/SpecificSKUAllocation/AllocatedInstanceProperties/AllocatedDisk/DiskInterface.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/Allocation/Status.php b/CapacityPlanner/src/V1beta/Allocation/Status.php index 05414953a8ca..d35eed2b5568 100644 --- a/CapacityPlanner/src/V1beta/Allocation/Status.php +++ b/CapacityPlanner/src/V1beta/Allocation/Status.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/BigQueryDestination.php b/CapacityPlanner/src/V1beta/BigQueryDestination.php index 4f995ea3fdc5..e80e6b04b6a3 100644 --- a/CapacityPlanner/src/V1beta/BigQueryDestination.php +++ b/CapacityPlanner/src/V1beta/BigQueryDestination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A BigQuery destination for exporting assets to. diff --git a/CapacityPlanner/src/V1beta/BigQueryDestination/CreateDisposition.php b/CapacityPlanner/src/V1beta/BigQueryDestination/CreateDisposition.php index a7b9e3de4dae..29b52e72ebcc 100644 --- a/CapacityPlanner/src/V1beta/BigQueryDestination/CreateDisposition.php +++ b/CapacityPlanner/src/V1beta/BigQueryDestination/CreateDisposition.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/BigQueryDestination/PartitionKey.php b/CapacityPlanner/src/V1beta/BigQueryDestination/PartitionKey.php index a519edd27c6e..ce4fe1d7d56a 100644 --- a/CapacityPlanner/src/V1beta/BigQueryDestination/PartitionKey.php +++ b/CapacityPlanner/src/V1beta/BigQueryDestination/PartitionKey.php @@ -58,4 +58,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/BigQueryDestination/WriteDisposition.php b/CapacityPlanner/src/V1beta/BigQueryDestination/WriteDisposition.php index 0aadc58fa5e4..e559c488926e 100644 --- a/CapacityPlanner/src/V1beta/BigQueryDestination/WriteDisposition.php +++ b/CapacityPlanner/src/V1beta/BigQueryDestination/WriteDisposition.php @@ -70,4 +70,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/ExportForecastsRequest.php b/CapacityPlanner/src/V1beta/ExportForecastsRequest.php index da70b7cda337..3e67ca152a15 100644 --- a/CapacityPlanner/src/V1beta/ExportForecastsRequest.php +++ b/CapacityPlanner/src/V1beta/ExportForecastsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `ExportForecasts` request diff --git a/CapacityPlanner/src/V1beta/ExportForecastsResponse.php b/CapacityPlanner/src/V1beta/ExportForecastsResponse.php index e03439279287..6ed166e06194 100644 --- a/CapacityPlanner/src/V1beta/ExportForecastsResponse.php +++ b/CapacityPlanner/src/V1beta/ExportForecastsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response message for [UsageService.ExportForecasts]. diff --git a/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest.php b/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest.php index 2035fcd49f9e..e5de713e8627 100644 --- a/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest.php +++ b/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `ExportReservationsUsage` request diff --git a/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest/ShareType.php b/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest/ShareType.php index 32e100d29577..9a6e7ab16d2e 100644 --- a/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest/ShareType.php +++ b/CapacityPlanner/src/V1beta/ExportReservationsUsageRequest/ShareType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/ExportReservationsUsageResponse.php b/CapacityPlanner/src/V1beta/ExportReservationsUsageResponse.php index 68e0417799fe..a5ff2b793863 100644 --- a/CapacityPlanner/src/V1beta/ExportReservationsUsageResponse.php +++ b/CapacityPlanner/src/V1beta/ExportReservationsUsageResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response message for [UsageService.ExportReservationsUsage]. diff --git a/CapacityPlanner/src/V1beta/ExportUsageHistoriesRequest.php b/CapacityPlanner/src/V1beta/ExportUsageHistoriesRequest.php index 50832fca10d2..fb95cb664f26 100644 --- a/CapacityPlanner/src/V1beta/ExportUsageHistoriesRequest.php +++ b/CapacityPlanner/src/V1beta/ExportUsageHistoriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `ExportUsageHistories` request diff --git a/CapacityPlanner/src/V1beta/ExportUsageHistoriesResponse.php b/CapacityPlanner/src/V1beta/ExportUsageHistoriesResponse.php index 4b3e3def5140..1215bfd8f9e2 100644 --- a/CapacityPlanner/src/V1beta/ExportUsageHistoriesResponse.php +++ b/CapacityPlanner/src/V1beta/ExportUsageHistoriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response message for [UsageService.ExportUsageHistories]. diff --git a/CapacityPlanner/src/V1beta/Forecast.php b/CapacityPlanner/src/V1beta/Forecast.php index 42e1a8d33dc4..a6778581d31f 100644 --- a/CapacityPlanner/src/V1beta/Forecast.php +++ b/CapacityPlanner/src/V1beta/Forecast.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of data points that describes the predicted time-varying values diff --git a/CapacityPlanner/src/V1beta/Forecast/Bounds.php b/CapacityPlanner/src/V1beta/Forecast/Bounds.php index ca0d412486dc..c8d0715e06d8 100644 --- a/CapacityPlanner/src/V1beta/Forecast/Bounds.php +++ b/CapacityPlanner/src/V1beta/Forecast/Bounds.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/Forecast/ForecastType.php b/CapacityPlanner/src/V1beta/Forecast/ForecastType.php index badcfc9a3097..8a29898a30d5 100644 --- a/CapacityPlanner/src/V1beta/Forecast/ForecastType.php +++ b/CapacityPlanner/src/V1beta/Forecast/ForecastType.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/Forecast/PredictionInterval.php b/CapacityPlanner/src/V1beta/Forecast/PredictionInterval.php index d3978461bc11..9b2e086bab32 100644 --- a/CapacityPlanner/src/V1beta/Forecast/PredictionInterval.php +++ b/CapacityPlanner/src/V1beta/Forecast/PredictionInterval.php @@ -65,4 +65,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/FutureReservation.php b/CapacityPlanner/src/V1beta/FutureReservation.php index 7784949ad764..242b40e9e031 100644 --- a/CapacityPlanner/src/V1beta/FutureReservation.php +++ b/CapacityPlanner/src/V1beta/FutureReservation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Repesents Future Reservation request which is part of aggregated diff --git a/CapacityPlanner/src/V1beta/FutureReservation/SpecificSKUProperties.php b/CapacityPlanner/src/V1beta/FutureReservation/SpecificSKUProperties.php index f2489a6479df..3a6c29200024 100644 --- a/CapacityPlanner/src/V1beta/FutureReservation/SpecificSKUProperties.php +++ b/CapacityPlanner/src/V1beta/FutureReservation/SpecificSKUProperties.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\FutureReservation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents specific SKU properties for the Future Reservation. @@ -113,4 +113,3 @@ public function setTotalCount($var) } - diff --git a/CapacityPlanner/src/V1beta/FutureReservation/Status.php b/CapacityPlanner/src/V1beta/FutureReservation/Status.php index 37fee7b29f34..8e00aa3f70a0 100644 --- a/CapacityPlanner/src/V1beta/FutureReservation/Status.php +++ b/CapacityPlanner/src/V1beta/FutureReservation/Status.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\FutureReservation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents status related to the future reservation. @@ -61,7 +61,7 @@ class Status extends \Google\Protobuf\Internal\Message * after the Future Reservation is in the APPROVED state. The lock_time is * an RFC3339 string. The procurement_status will transition to PROCURING * state at this time. - * @type array|\Google\Protobuf\Internal\RepeatedField $auto_created_reservations + * @type string[] $auto_created_reservations * Fully qualified urls of the automatically created reservations at * start_time. * @type int|string $fulfilled_count @@ -150,7 +150,7 @@ public function setLockTime($var) * start_time. * * Generated from protobuf field repeated string auto_created_reservations = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAutoCreatedReservations() { @@ -162,7 +162,7 @@ public function getAutoCreatedReservations() * start_time. * * Generated from protobuf field repeated string auto_created_reservations = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAutoCreatedReservations($var) @@ -205,4 +205,3 @@ public function setFulfilledCount($var) } - diff --git a/CapacityPlanner/src/V1beta/FutureReservation/Status/ProcurementStatus.php b/CapacityPlanner/src/V1beta/FutureReservation/Status/ProcurementStatus.php index cabfe595e9cb..a886d938d3e4 100644 --- a/CapacityPlanner/src/V1beta/FutureReservation/Status/ProcurementStatus.php +++ b/CapacityPlanner/src/V1beta/FutureReservation/Status/ProcurementStatus.php @@ -138,4 +138,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/FutureReservation/TimeWindow.php b/CapacityPlanner/src/V1beta/FutureReservation/TimeWindow.php index e7d0cda7da89..2df812582cf4 100644 --- a/CapacityPlanner/src/V1beta/FutureReservation/TimeWindow.php +++ b/CapacityPlanner/src/V1beta/FutureReservation/TimeWindow.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\FutureReservation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents time window for the Future Reservation. @@ -119,4 +119,3 @@ public function setEndTime($var) } - diff --git a/CapacityPlanner/src/V1beta/GcsDestination.php b/CapacityPlanner/src/V1beta/GcsDestination.php index 8f6ed615e0ef..d369c5d93e55 100644 --- a/CapacityPlanner/src/V1beta/GcsDestination.php +++ b/CapacityPlanner/src/V1beta/GcsDestination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Cloud Storage location. diff --git a/CapacityPlanner/src/V1beta/LocationIdentifier.php b/CapacityPlanner/src/V1beta/LocationIdentifier.php index 8e19e46972c9..bb2cd5d2b23f 100644 --- a/CapacityPlanner/src/V1beta/LocationIdentifier.php +++ b/CapacityPlanner/src/V1beta/LocationIdentifier.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identifier for a Google Cloud Platform location. @@ -46,7 +46,7 @@ class LocationIdentifier extends \Google\Protobuf\Internal\Message * @type string $source * Required. Location where resource is sourced. For Cloud Storage, the * alphabetically first location is the source. - * @type array<\Google\Cloud\CapacityPlanner\V1beta\LocationIdentifier\LinkedLocation>|\Google\Protobuf\Internal\RepeatedField $linked_locations + * @type \Google\Cloud\CapacityPlanner\V1beta\LocationIdentifier\LinkedLocation[] $linked_locations * Optional. Other linked locations. * } */ @@ -113,7 +113,7 @@ public function setSource($var) * Optional. Other linked locations. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation linked_locations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\LocationIdentifier\LinkedLocation> */ public function getLinkedLocations() { @@ -124,7 +124,7 @@ public function getLinkedLocations() * Optional. Other linked locations. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation linked_locations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\LocationIdentifier\LinkedLocation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\LocationIdentifier\LinkedLocation[] $var * @return $this */ public function setLinkedLocations($var) diff --git a/CapacityPlanner/src/V1beta/LocationIdentifier/LinkedLocation.php b/CapacityPlanner/src/V1beta/LocationIdentifier/LinkedLocation.php index 788de1a1e11e..dde03cdad76d 100644 --- a/CapacityPlanner/src/V1beta/LocationIdentifier/LinkedLocation.php +++ b/CapacityPlanner/src/V1beta/LocationIdentifier/LinkedLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta\LocationIdentifier; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation @@ -124,4 +124,3 @@ public function setLabel($var) } - diff --git a/CapacityPlanner/src/V1beta/MachineShape.php b/CapacityPlanner/src/V1beta/MachineShape.php index bc0f2a1c3a7b..0b3744d8e7da 100644 --- a/CapacityPlanner/src/V1beta/MachineShape.php +++ b/CapacityPlanner/src/V1beta/MachineShape.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Machine shape details diff --git a/CapacityPlanner/src/V1beta/OperationMetadata.php b/CapacityPlanner/src/V1beta/OperationMetadata.php index 782624f472c7..679442140d37 100644 --- a/CapacityPlanner/src/V1beta/OperationMetadata.php +++ b/CapacityPlanner/src/V1beta/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of a long-running operation. diff --git a/CapacityPlanner/src/V1beta/OutputConfig.php b/CapacityPlanner/src/V1beta/OutputConfig.php index b1a3f8741671..eabe04501696 100644 --- a/CapacityPlanner/src/V1beta/OutputConfig.php +++ b/CapacityPlanner/src/V1beta/OutputConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Output configuration for export destination. diff --git a/CapacityPlanner/src/V1beta/Point.php b/CapacityPlanner/src/V1beta/Point.php index 90f206e90737..73177ef777b0 100644 --- a/CapacityPlanner/src/V1beta/Point.php +++ b/CapacityPlanner/src/V1beta/Point.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single data point in a time series. diff --git a/CapacityPlanner/src/V1beta/QueryForecastsRequest.php b/CapacityPlanner/src/V1beta/QueryForecastsRequest.php index b8bc0573cf30..1d5057a6254c 100644 --- a/CapacityPlanner/src/V1beta/QueryForecastsRequest.php +++ b/CapacityPlanner/src/V1beta/QueryForecastsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `QueryForecasts` request. diff --git a/CapacityPlanner/src/V1beta/QueryForecastsResponse.php b/CapacityPlanner/src/V1beta/QueryForecastsResponse.php index 2c490e582fdd..f8b5ee6c57dc 100644 --- a/CapacityPlanner/src/V1beta/QueryForecastsResponse.php +++ b/CapacityPlanner/src/V1beta/QueryForecastsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `QueryForecasts` response. @@ -28,7 +28,7 @@ class QueryForecastsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CapacityPlanner\V1beta\Forecast>|\Google\Protobuf\Internal\RepeatedField $forecasts + * @type \Google\Cloud\CapacityPlanner\V1beta\Forecast[] $forecasts * The forecasts that match the request. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The forecasts that match the request. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\Forecast> */ public function getForecasts() { @@ -52,7 +52,7 @@ public function getForecasts() * The forecasts that match the request. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Forecast forecasts = 1; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\Forecast>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\Forecast[] $var * @return $this */ public function setForecasts($var) diff --git a/CapacityPlanner/src/V1beta/QueryReservationsRequest.php b/CapacityPlanner/src/V1beta/QueryReservationsRequest.php index 3cb171d2360c..93f711747fe2 100644 --- a/CapacityPlanner/src/V1beta/QueryReservationsRequest.php +++ b/CapacityPlanner/src/V1beta/QueryReservationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `QueryReservations` request. diff --git a/CapacityPlanner/src/V1beta/QueryReservationsRequest/OwnershipType.php b/CapacityPlanner/src/V1beta/QueryReservationsRequest/OwnershipType.php index 8e26de7b86ca..d333574dc51b 100644 --- a/CapacityPlanner/src/V1beta/QueryReservationsRequest/OwnershipType.php +++ b/CapacityPlanner/src/V1beta/QueryReservationsRequest/OwnershipType.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationDataLevel.php b/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationDataLevel.php index da199ec1d612..019cd7f032c0 100644 --- a/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationDataLevel.php +++ b/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationDataLevel.php @@ -64,4 +64,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationType.php b/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationType.php index 3cdf567c8e80..ced7ca35829d 100644 --- a/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationType.php +++ b/CapacityPlanner/src/V1beta/QueryReservationsRequest/ReservationType.php @@ -67,4 +67,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/QueryReservationsRequest/ShareType.php b/CapacityPlanner/src/V1beta/QueryReservationsRequest/ShareType.php index e2ecce67ca48..8dd8b1aeb819 100644 --- a/CapacityPlanner/src/V1beta/QueryReservationsRequest/ShareType.php +++ b/CapacityPlanner/src/V1beta/QueryReservationsRequest/ShareType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/QueryReservationsResponse.php b/CapacityPlanner/src/V1beta/QueryReservationsResponse.php index 78401771f1e2..1dd0236872cb 100644 --- a/CapacityPlanner/src/V1beta/QueryReservationsResponse.php +++ b/CapacityPlanner/src/V1beta/QueryReservationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `QueryReservations` response. @@ -28,7 +28,7 @@ class QueryReservationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CapacityPlanner\V1beta\ReservationData>|\Google\Protobuf\Internal\RepeatedField $reservations + * @type \Google\Cloud\CapacityPlanner\V1beta\ReservationData[] $reservations * The reservations data that match the request. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The reservations data that match the request. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.ReservationData reservations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\ReservationData> */ public function getReservations() { @@ -52,7 +52,7 @@ public function getReservations() * The reservations data that match the request. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.ReservationData reservations = 1; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\ReservationData>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\ReservationData[] $var * @return $this */ public function setReservations($var) diff --git a/CapacityPlanner/src/V1beta/QueryUsageHistoriesRequest.php b/CapacityPlanner/src/V1beta/QueryUsageHistoriesRequest.php index aef5dd4733d8..014791eef215 100644 --- a/CapacityPlanner/src/V1beta/QueryUsageHistoriesRequest.php +++ b/CapacityPlanner/src/V1beta/QueryUsageHistoriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `QueryUsageHistories` request. diff --git a/CapacityPlanner/src/V1beta/QueryUsageHistoriesResponse.php b/CapacityPlanner/src/V1beta/QueryUsageHistoriesResponse.php index e3d374b1d35f..76d8f69734ed 100644 --- a/CapacityPlanner/src/V1beta/QueryUsageHistoriesResponse.php +++ b/CapacityPlanner/src/V1beta/QueryUsageHistoriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `QueryUsageHistories` response. @@ -28,7 +28,7 @@ class QueryUsageHistoriesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CapacityPlanner\V1beta\UsageHistory>|\Google\Protobuf\Internal\RepeatedField $usage_histories + * @type \Google\Cloud\CapacityPlanner\V1beta\UsageHistory[] $usage_histories * The usage histories that match the request. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The usage histories that match the request. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.UsageHistory usage_histories = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\UsageHistory> */ public function getUsageHistories() { @@ -52,7 +52,7 @@ public function getUsageHistories() * The usage histories that match the request. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.UsageHistory usage_histories = 1; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\UsageHistory>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\UsageHistory[] $var * @return $this */ public function setUsageHistories($var) diff --git a/CapacityPlanner/src/V1beta/ReservationData.php b/CapacityPlanner/src/V1beta/ReservationData.php index 0dd0944a06ec..515440ab2f0b 100644 --- a/CapacityPlanner/src/V1beta/ReservationData.php +++ b/CapacityPlanner/src/V1beta/ReservationData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response entity for reservations data. @@ -72,9 +72,9 @@ class ReservationData extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\CapacityPlanner\V1beta\TimeSeries $used_reservation_values * The collection of data points that represent the aggregated used value for * reservations filtered by the criteria. - * @type array<\Google\Cloud\CapacityPlanner\V1beta\FutureReservation>|\Google\Protobuf\Internal\RepeatedField $future_reservations + * @type \Google\Cloud\CapacityPlanner\V1beta\FutureReservation[] $future_reservations * Future reservations filtered by the criteria. - * @type array<\Google\Cloud\CapacityPlanner\V1beta\Allocation>|\Google\Protobuf\Internal\RepeatedField $allocations + * @type \Google\Cloud\CapacityPlanner\V1beta\Allocation[] $allocations * Allocations filtered by the criteria. * } */ @@ -199,7 +199,7 @@ public function setUsedReservationValues($var) * Future reservations filtered by the criteria. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\FutureReservation> */ public function getFutureReservations() { @@ -210,7 +210,7 @@ public function getFutureReservations() * Future reservations filtered by the criteria. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\FutureReservation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\FutureReservation[] $var * @return $this */ public function setFutureReservations($var) @@ -225,7 +225,7 @@ public function setFutureReservations($var) * Allocations filtered by the criteria. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\Allocation> */ public function getAllocations() { @@ -236,7 +236,7 @@ public function getAllocations() * Allocations filtered by the criteria. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\Allocation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\Allocation[] $var * @return $this */ public function setAllocations($var) diff --git a/CapacityPlanner/src/V1beta/ResourceAttribute.php b/CapacityPlanner/src/V1beta/ResourceAttribute.php index b2f4e4edbd2a..8ee67edf4ec3 100644 --- a/CapacityPlanner/src/V1beta/ResourceAttribute.php +++ b/CapacityPlanner/src/V1beta/ResourceAttribute.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An attribute of a Google Cloud Platform resource. diff --git a/CapacityPlanner/src/V1beta/ResourceContainer.php b/CapacityPlanner/src/V1beta/ResourceContainer.php index 98435b7496c1..9191d9dc5af2 100644 --- a/CapacityPlanner/src/V1beta/ResourceContainer.php +++ b/CapacityPlanner/src/V1beta/ResourceContainer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The resource container of Google Cloud Platform hierarchy such as a project. diff --git a/CapacityPlanner/src/V1beta/ResourceContainer/Type.php b/CapacityPlanner/src/V1beta/ResourceContainer/Type.php index b8d4e7c8f10b..c55b3dd7a420 100644 --- a/CapacityPlanner/src/V1beta/ResourceContainer/Type.php +++ b/CapacityPlanner/src/V1beta/ResourceContainer/Type.php @@ -56,4 +56,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/ResourceIdKey.php b/CapacityPlanner/src/V1beta/ResourceIdKey.php index 399afc1f8dd9..dc43850efa6a 100644 --- a/CapacityPlanner/src/V1beta/ResourceIdKey.php +++ b/CapacityPlanner/src/V1beta/ResourceIdKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The id for a Google Cloud Platform resource key. diff --git a/CapacityPlanner/src/V1beta/ResourceIdentifier.php b/CapacityPlanner/src/V1beta/ResourceIdentifier.php index 398099cb65fe..f4e5c20fa43b 100644 --- a/CapacityPlanner/src/V1beta/ResourceIdentifier.php +++ b/CapacityPlanner/src/V1beta/ResourceIdentifier.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The identifier for a Google Cloud Platform resource. @@ -36,7 +36,7 @@ class ResourceIdentifier extends \Google\Protobuf\Internal\Message * * @type string $service_name * @type string $resource_name - * @type array<\Google\Cloud\CapacityPlanner\V1beta\ResourceAttribute>|\Google\Protobuf\Internal\RepeatedField $resource_attributes + * @type \Google\Cloud\CapacityPlanner\V1beta\ResourceAttribute[] $resource_attributes * } */ public function __construct($data = NULL) { @@ -90,7 +90,7 @@ public function setResourceName($var) /** * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\ResourceAttribute> */ public function getResourceAttributes() { @@ -99,7 +99,7 @@ public function getResourceAttributes() /** * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\ResourceAttribute>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\ResourceAttribute[] $var * @return $this */ public function setResourceAttributes($var) diff --git a/CapacityPlanner/src/V1beta/ResourceValue.php b/CapacityPlanner/src/V1beta/ResourceValue.php index 72eb734d51ad..549ac10fee29 100644 --- a/CapacityPlanner/src/V1beta/ResourceValue.php +++ b/CapacityPlanner/src/V1beta/ResourceValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.capacityplanner.v1beta.ResourceValue diff --git a/CapacityPlanner/src/V1beta/TimeSeries.php b/CapacityPlanner/src/V1beta/TimeSeries.php index d8ec27503f49..61e184290b99 100644 --- a/CapacityPlanner/src/V1beta/TimeSeries.php +++ b/CapacityPlanner/src/V1beta/TimeSeries.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of data points that describes the time-varying values of a @@ -123,7 +123,7 @@ class TimeSeries extends \Google\Protobuf\Internal\Message * The resource for the time series values to return. Possible values include * "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk", "gce-gpu", * "gce-tpu" and "gce-vm". - * @type array<\Google\Cloud\CapacityPlanner\V1beta\Point>|\Google\Protobuf\Internal\RepeatedField $points + * @type \Google\Cloud\CapacityPlanner\V1beta\Point[] $points * The data points of this time series. When listing time series, points are * returned in chronological order. * @type string $unit @@ -416,7 +416,7 @@ public function setCloudResourceType($var) * returned in chronological order. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Point points = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CapacityPlanner\V1beta\Point> */ public function getPoints() { @@ -428,7 +428,7 @@ public function getPoints() * returned in chronological order. * * Generated from protobuf field repeated .google.cloud.capacityplanner.v1beta.Point points = 4; - * @param array<\Google\Cloud\CapacityPlanner\V1beta\Point>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CapacityPlanner\V1beta\Point[] $var * @return $this */ public function setPoints($var) diff --git a/CapacityPlanner/src/V1beta/TimeSeries/LocationType.php b/CapacityPlanner/src/V1beta/TimeSeries/LocationType.php index 277bf239081c..2d1df350e32b 100644 --- a/CapacityPlanner/src/V1beta/TimeSeries/LocationType.php +++ b/CapacityPlanner/src/V1beta/TimeSeries/LocationType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/UsageHistory.php b/CapacityPlanner/src/V1beta/UsageHistory.php index df67d224cba3..4c83e539da37 100644 --- a/CapacityPlanner/src/V1beta/UsageHistory.php +++ b/CapacityPlanner/src/V1beta/UsageHistory.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of data points that describes the historical time-varying values diff --git a/CapacityPlanner/src/V1beta/UsageHistory/AggregationMethod.php b/CapacityPlanner/src/V1beta/UsageHistory/AggregationMethod.php index 08c508d6e280..8349b1e3f2ec 100644 --- a/CapacityPlanner/src/V1beta/UsageHistory/AggregationMethod.php +++ b/CapacityPlanner/src/V1beta/UsageHistory/AggregationMethod.php @@ -79,4 +79,3 @@ public static function value($name) } } - diff --git a/CapacityPlanner/src/V1beta/Value.php b/CapacityPlanner/src/V1beta/Value.php index e788945ffd91..a8bfad729631 100644 --- a/CapacityPlanner/src/V1beta/Value.php +++ b/CapacityPlanner/src/V1beta/Value.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CapacityPlanner\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.capacityplanner.v1beta.Value diff --git a/CertificateManager/metadata/V1/CertificateIssuanceConfig.php b/CertificateManager/metadata/V1/CertificateIssuanceConfig.php index 942ab73cecdc..6e42217f69d4 100644 Binary files a/CertificateManager/metadata/V1/CertificateIssuanceConfig.php and b/CertificateManager/metadata/V1/CertificateIssuanceConfig.php differ diff --git a/CertificateManager/metadata/V1/CertificateManager.php b/CertificateManager/metadata/V1/CertificateManager.php index e9f8484101f7..cbadba19766b 100644 Binary files a/CertificateManager/metadata/V1/CertificateManager.php and b/CertificateManager/metadata/V1/CertificateManager.php differ diff --git a/CertificateManager/metadata/V1/TrustConfig.php b/CertificateManager/metadata/V1/TrustConfig.php index 96bbcb439302..7b01283b3da1 100644 Binary files a/CertificateManager/metadata/V1/TrustConfig.php and b/CertificateManager/metadata/V1/TrustConfig.php differ diff --git a/CertificateManager/src/V1/Certificate.php b/CertificateManager/src/V1/Certificate.php index ef62dfb0b102..c2f93794a367 100644 --- a/CertificateManager/src/V1/Certificate.php +++ b/CertificateManager/src/V1/Certificate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines TLS certificate. @@ -17,7 +17,7 @@ class Certificate extends \Google\Protobuf\Internal\Message { /** * A user-defined name of the certificate. Certificate names must be unique - * globally and match pattern `projects/*/locations/*/certificates/*`. + * globally and match pattern `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1; */ @@ -83,7 +83,7 @@ class Certificate extends \Google\Protobuf\Internal\Message * * @type string $name * A user-defined name of the certificate. Certificate names must be unique - * globally and match pattern `projects/*/locations/*/certificates/*`. + * globally and match pattern `projects/{@*}locations/{@*}certificates/*`. * @type string $description * One or more paragraphs of text description of a certificate. * @type \Google\Protobuf\Timestamp $create_time @@ -96,7 +96,7 @@ class Certificate extends \Google\Protobuf\Internal\Message * If set, defines data of a self-managed certificate. * @type \Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate $managed * If set, contains configuration and state of a managed certificate. - * @type array|\Google\Protobuf\Internal\RepeatedField $san_dnsnames + * @type string[] $san_dnsnames * Output only. The list of Subject Alternative Names of dnsName type defined * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that * haven't been provisioned yet have this field populated with a value of the @@ -116,7 +116,7 @@ public function __construct($data = NULL) { /** * A user-defined name of the certificate. Certificate names must be unique - * globally and match pattern `projects/*/locations/*/certificates/*`. + * globally and match pattern `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1; * @return string @@ -128,7 +128,7 @@ public function getName() /** * A user-defined name of the certificate. Certificate names must be unique - * globally and match pattern `projects/*/locations/*/certificates/*`. + * globally and match pattern `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1; * @param string $var @@ -335,7 +335,7 @@ public function setManaged($var) * managed.domains field. * * Generated from protobuf field repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSanDnsnames() { @@ -349,7 +349,7 @@ public function getSanDnsnames() * managed.domains field. * * Generated from protobuf field repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSanDnsnames($var) diff --git a/CertificateManager/src/V1/Certificate/ManagedCertificate.php b/CertificateManager/src/V1/Certificate/ManagedCertificate.php index 2f8ab1381f72..b66590448df3 100644 --- a/CertificateManager/src/V1/Certificate/ManagedCertificate.php +++ b/CertificateManager/src/V1/Certificate/ManagedCertificate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\Certificate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration and state of a Managed Certificate. @@ -36,7 +36,7 @@ class ManagedCertificate extends \Google\Protobuf\Internal\Message * Immutable. The resource name for a * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig] * used to configure private PKI certificates in the format - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * If this field is not set, the certificates will instead be publicly * signed as documented at * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa. @@ -71,18 +71,18 @@ class ManagedCertificate extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $domains + * @type string[] $domains * Immutable. The domains for which a managed SSL certificate will be * generated. Wildcard domains are only supported with DNS challenge * resolution. - * @type array|\Google\Protobuf\Internal\RepeatedField $dns_authorizations + * @type string[] $dns_authorizations * Immutable. Authorizations that will be used for performing domain * authorization. * @type string $issuance_config * Immutable. The resource name for a * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig] * used to configure private PKI certificates in the format - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * If this field is not set, the certificates will instead be publicly * signed as documented at * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa. @@ -91,7 +91,7 @@ class ManagedCertificate extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\ProvisioningIssue $provisioning_issue * Output only. Information about issues with provisioning a Managed * Certificate. - * @type array<\Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo>|\Google\Protobuf\Internal\RepeatedField $authorization_attempt_info + * @type \Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo[] $authorization_attempt_info * Output only. Detailed state of the latest authorization attempt for each * domain specified for managed certificate resource. * } @@ -107,7 +107,7 @@ public function __construct($data = NULL) { * resolution. * * Generated from protobuf field repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDomains() { @@ -120,7 +120,7 @@ public function getDomains() * resolution. * * Generated from protobuf field repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDomains($var) @@ -136,7 +136,7 @@ public function setDomains($var) * authorization. * * Generated from protobuf field repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDnsAuthorizations() { @@ -148,7 +148,7 @@ public function getDnsAuthorizations() * authorization. * * Generated from protobuf field repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDnsAuthorizations($var) @@ -163,7 +163,7 @@ public function setDnsAuthorizations($var) * Immutable. The resource name for a * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig] * used to configure private PKI certificates in the format - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * If this field is not set, the certificates will instead be publicly * signed as documented at * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa. @@ -180,7 +180,7 @@ public function getIssuanceConfig() * Immutable. The resource name for a * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig] * used to configure private PKI certificates in the format - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * If this field is not set, the certificates will instead be publicly * signed as documented at * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa. @@ -266,7 +266,7 @@ public function setProvisioningIssue($var) * domain specified for managed certificate resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo> */ public function getAuthorizationAttemptInfo() { @@ -278,7 +278,7 @@ public function getAuthorizationAttemptInfo() * domain specified for managed certificate resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate\AuthorizationAttemptInfo[] $var * @return $this */ public function setAuthorizationAttemptInfo($var) @@ -291,4 +291,3 @@ public function setAuthorizationAttemptInfo($var) } - diff --git a/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo.php b/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo.php index 2ae9212cbb03..f0c578562554 100644 --- a/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo.php +++ b/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * State of the latest attempt to authorize a domain for certificate @@ -180,4 +180,3 @@ public function setDetails($var) } - diff --git a/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/FailureReason.php b/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/FailureReason.php index 14a6411a1469..821582895248 100644 --- a/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/FailureReason.php +++ b/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/FailureReason.php @@ -69,4 +69,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/State.php b/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/State.php index c1148744c6b0..c4eabd6823f3 100644 --- a/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/State.php +++ b/CertificateManager/src/V1/Certificate/ManagedCertificate/AuthorizationAttemptInfo/State.php @@ -69,4 +69,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue.php b/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue.php index fe8ec0d89618..7963b727450a 100644 --- a/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue.php +++ b/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about issues with provisioning a Managed Certificate. @@ -107,4 +107,3 @@ public function setDetails($var) } - diff --git a/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue/Reason.php b/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue/Reason.php index 7c2754cda2ba..d5a41fe860cf 100644 --- a/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue/Reason.php +++ b/CertificateManager/src/V1/Certificate/ManagedCertificate/ProvisioningIssue/Reason.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/Certificate/ManagedCertificate/State.php b/CertificateManager/src/V1/Certificate/ManagedCertificate/State.php index 41394253bec0..28215028840e 100644 --- a/CertificateManager/src/V1/Certificate/ManagedCertificate/State.php +++ b/CertificateManager/src/V1/Certificate/ManagedCertificate/State.php @@ -72,4 +72,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/Certificate/Scope.php b/CertificateManager/src/V1/Certificate/Scope.php index 6b768766e8dd..c94a9b8c0f29 100644 --- a/CertificateManager/src/V1/Certificate/Scope.php +++ b/CertificateManager/src/V1/Certificate/Scope.php @@ -67,4 +67,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/Certificate/SelfManagedCertificate.php b/CertificateManager/src/V1/Certificate/SelfManagedCertificate.php index 4bbc8be5219c..88fc1286e3bb 100644 --- a/CertificateManager/src/V1/Certificate/SelfManagedCertificate.php +++ b/CertificateManager/src/V1/Certificate/SelfManagedCertificate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\Certificate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Certificate data for a SelfManaged Certificate. @@ -105,4 +105,3 @@ public function setPemPrivateKey($var) } - diff --git a/CertificateManager/src/V1/CertificateIssuanceConfig.php b/CertificateManager/src/V1/CertificateIssuanceConfig.php index 5152f1515769..018b0c71a873 100644 --- a/CertificateManager/src/V1/CertificateIssuanceConfig.php +++ b/CertificateManager/src/V1/CertificateIssuanceConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CertificateIssuanceConfig specifies how to issue and manage a certificate. @@ -18,7 +18,7 @@ class CertificateIssuanceConfig extends \Google\Protobuf\Internal\Message /** * A user-defined name of the certificate issuance config. * CertificateIssuanceConfig names must be unique globally and match pattern - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1; */ @@ -84,7 +84,7 @@ class CertificateIssuanceConfig extends \Google\Protobuf\Internal\Message * @type string $name * A user-defined name of the certificate issuance config. * CertificateIssuanceConfig names must be unique globally and match pattern - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * @type \Google\Protobuf\Timestamp $create_time * Output only. The creation timestamp of a CertificateIssuanceConfig. * @type \Google\Protobuf\Timestamp $update_time @@ -114,7 +114,7 @@ public function __construct($data = NULL) { /** * A user-defined name of the certificate issuance config. * CertificateIssuanceConfig names must be unique globally and match pattern - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1; * @return string @@ -127,7 +127,7 @@ public function getName() /** * A user-defined name of the certificate issuance config. * CertificateIssuanceConfig names must be unique globally and match pattern - * `projects/*/locations/*/certificateIssuanceConfigs/*`. + * `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1; * @param string $var diff --git a/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig.php b/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig.php index 5c5a2ae7052f..60c74bbe738a 100644 --- a/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig.php +++ b/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The CA that issues the workload certificate. It includes CA address, type, @@ -74,4 +74,3 @@ public function getKind() } - diff --git a/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig/CertificateAuthorityServiceConfig.php b/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig/CertificateAuthorityServiceConfig.php index 142376a541a1..cde1e26992d9 100644 --- a/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig/CertificateAuthorityServiceConfig.php +++ b/CertificateManager/src/V1/CertificateIssuanceConfig/CertificateAuthorityConfig/CertificateAuthorityServiceConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig\CertificateAuthorityConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains information required to contact CA service. @@ -73,4 +73,3 @@ public function setCaPool($var) } - diff --git a/CertificateManager/src/V1/CertificateIssuanceConfig/KeyAlgorithm.php b/CertificateManager/src/V1/CertificateIssuanceConfig/KeyAlgorithm.php index be7cae24cae0..eac9b925dad4 100644 --- a/CertificateManager/src/V1/CertificateIssuanceConfig/KeyAlgorithm.php +++ b/CertificateManager/src/V1/CertificateIssuanceConfig/KeyAlgorithm.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/CertificateMap.php b/CertificateManager/src/V1/CertificateMap.php index 6d10dbd295df..3853efac1a2f 100644 --- a/CertificateManager/src/V1/CertificateMap.php +++ b/CertificateManager/src/V1/CertificateMap.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a collection of certificate configurations. @@ -18,7 +18,7 @@ class CertificateMap extends \Google\Protobuf\Internal\Message /** * A user-defined name of the Certificate Map. Certificate Map names must be * unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1; */ @@ -65,7 +65,7 @@ class CertificateMap extends \Google\Protobuf\Internal\Message * @type string $name * A user-defined name of the Certificate Map. Certificate Map names must be * unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * @type string $description * One or more paragraphs of text description of a certificate map. * @type \Google\Protobuf\Timestamp $create_time @@ -74,7 +74,7 @@ class CertificateMap extends \Google\Protobuf\Internal\Message * Output only. The update timestamp of a Certificate Map. * @type array|\Google\Protobuf\Internal\MapField $labels * Set of labels associated with a Certificate Map. - * @type array<\Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget>|\Google\Protobuf\Internal\RepeatedField $gclb_targets + * @type \Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget[] $gclb_targets * Output only. A list of GCLB targets that use this Certificate Map. * A Target Proxy is only present on this list if it's attached to a * Forwarding Rule. @@ -88,7 +88,7 @@ public function __construct($data = NULL) { /** * A user-defined name of the Certificate Map. Certificate Map names must be * unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1; * @return string @@ -101,7 +101,7 @@ public function getName() /** * A user-defined name of the Certificate Map. Certificate Map names must be * unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1; * @param string $var @@ -245,7 +245,7 @@ public function setLabels($var) * Forwarding Rule. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget> */ public function getGclbTargets() { @@ -258,7 +258,7 @@ public function getGclbTargets() * Forwarding Rule. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget[] $var * @return $this */ public function setGclbTargets($var) diff --git a/CertificateManager/src/V1/CertificateMap/GclbTarget.php b/CertificateManager/src/V1/CertificateMap/GclbTarget.php index 64db84abc4a3..06d35c0406b5 100644 --- a/CertificateManager/src/V1/CertificateMap/GclbTarget.php +++ b/CertificateManager/src/V1/CertificateMap/GclbTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\CertificateMap; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a Target Proxy that uses this Certificate Map. @@ -33,12 +33,12 @@ class GclbTarget extends \Google\Protobuf\Internal\Message * @type string $target_https_proxy * Output only. This field returns the resource name in the following * format: - * `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`. + * `//compute.googleapis.com/projects/{@*}global/targetHttpsProxies/*`. * @type string $target_ssl_proxy * Output only. This field returns the resource name in the following * format: - * `//compute.googleapis.com/projects/*/global/targetSslProxies/*`. - * @type array<\Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget\IpConfig>|\Google\Protobuf\Internal\RepeatedField $ip_configs + * `//compute.googleapis.com/projects/{@*}global/targetSslProxies/*`. + * @type \Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget\IpConfig[] $ip_configs * Output only. IP configurations for this Target Proxy where the * Certificate Map is serving. * } @@ -51,7 +51,7 @@ public function __construct($data = NULL) { /** * Output only. This field returns the resource name in the following * format: - * `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`. + * `//compute.googleapis.com/projects/{@*}global/targetHttpsProxies/*`. * * Generated from protobuf field string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -69,7 +69,7 @@ public function hasTargetHttpsProxy() /** * Output only. This field returns the resource name in the following * format: - * `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`. + * `//compute.googleapis.com/projects/{@*}global/targetHttpsProxies/*`. * * Generated from protobuf field string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -86,7 +86,7 @@ public function setTargetHttpsProxy($var) /** * Output only. This field returns the resource name in the following * format: - * `//compute.googleapis.com/projects/*/global/targetSslProxies/*`. + * `//compute.googleapis.com/projects/{@*}global/targetSslProxies/*`. * * Generated from protobuf field string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -104,7 +104,7 @@ public function hasTargetSslProxy() /** * Output only. This field returns the resource name in the following * format: - * `//compute.googleapis.com/projects/*/global/targetSslProxies/*`. + * `//compute.googleapis.com/projects/{@*}global/targetSslProxies/*`. * * Generated from protobuf field string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -123,7 +123,7 @@ public function setTargetSslProxy($var) * Certificate Map is serving. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget\IpConfig> */ public function getIpConfigs() { @@ -135,7 +135,7 @@ public function getIpConfigs() * Certificate Map is serving. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget\IpConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget\IpConfig[] $var * @return $this */ public function setIpConfigs($var) @@ -156,4 +156,3 @@ public function getTargetProxy() } - diff --git a/CertificateManager/src/V1/CertificateMap/GclbTarget/IpConfig.php b/CertificateManager/src/V1/CertificateMap/GclbTarget/IpConfig.php index 424f8a2e0512..47c687b689cc 100644 --- a/CertificateManager/src/V1/CertificateMap/GclbTarget/IpConfig.php +++ b/CertificateManager/src/V1/CertificateMap/GclbTarget/IpConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\CertificateMap\GclbTarget; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines IP configuration where this Certificate Map is serving. @@ -36,7 +36,7 @@ class IpConfig extends \Google\Protobuf\Internal\Message * * @type string $ip_address * Output only. An external IP address. - * @type array|\Google\Protobuf\Internal\RepeatedField $ports + * @type int[] $ports * Output only. Ports. * } */ @@ -75,7 +75,7 @@ public function setIpAddress($var) * Output only. Ports. * * Generated from protobuf field repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPorts() { @@ -86,7 +86,7 @@ public function getPorts() * Output only. Ports. * * Generated from protobuf field repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setPorts($var) @@ -99,4 +99,3 @@ public function setPorts($var) } - diff --git a/CertificateManager/src/V1/CertificateMapEntry.php b/CertificateManager/src/V1/CertificateMapEntry.php index 4c6b3f1ada5f..38aa081b1917 100644 --- a/CertificateManager/src/V1/CertificateMapEntry.php +++ b/CertificateManager/src/V1/CertificateMapEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a certificate map entry. @@ -18,7 +18,7 @@ class CertificateMapEntry extends \Google\Protobuf\Internal\Message /** * A user-defined name of the Certificate Map Entry. Certificate Map Entry * names must be unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1; */ @@ -50,7 +50,7 @@ class CertificateMapEntry extends \Google\Protobuf\Internal\Message /** * A set of Certificates defines for the given `hostname`. There can be * defined up to four certificates in each Certificate Map Entry. Each - * certificate must match pattern `projects/*/locations/*/certificates/*`. + * certificate must match pattern `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field repeated string certificates = 7 [(.google.api.resource_reference) = { */ @@ -72,7 +72,7 @@ class CertificateMapEntry extends \Google\Protobuf\Internal\Message * @type string $name * A user-defined name of the Certificate Map Entry. Certificate Map Entry * names must be unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * @type string $description * One or more paragraphs of text description of a certificate map entry. * @type \Google\Protobuf\Timestamp $create_time @@ -87,10 +87,10 @@ class CertificateMapEntry extends \Google\Protobuf\Internal\Message * Server Name Indication (SNI) for selecting a proper certificate. * @type int $matcher * A predefined matcher for particular cases, other than SNI selection. - * @type array|\Google\Protobuf\Internal\RepeatedField $certificates + * @type string[] $certificates * A set of Certificates defines for the given `hostname`. There can be * defined up to four certificates in each Certificate Map Entry. Each - * certificate must match pattern `projects/*/locations/*/certificates/*`. + * certificate must match pattern `projects/{@*}locations/{@*}certificates/*`. * @type int $state * Output only. A serving state of this Certificate Map Entry. * } @@ -103,7 +103,7 @@ public function __construct($data = NULL) { /** * A user-defined name of the Certificate Map Entry. Certificate Map Entry * names must be unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1; * @return string @@ -116,7 +116,7 @@ public function getName() /** * A user-defined name of the Certificate Map Entry. Certificate Map Entry * names must be unique globally and match pattern - * `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1; * @param string $var @@ -323,10 +323,10 @@ public function setMatcher($var) /** * A set of Certificates defines for the given `hostname`. There can be * defined up to four certificates in each Certificate Map Entry. Each - * certificate must match pattern `projects/*/locations/*/certificates/*`. + * certificate must match pattern `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field repeated string certificates = 7 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCertificates() { @@ -336,10 +336,10 @@ public function getCertificates() /** * A set of Certificates defines for the given `hostname`. There can be * defined up to four certificates in each Certificate Map Entry. Each - * certificate must match pattern `projects/*/locations/*/certificates/*`. + * certificate must match pattern `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field repeated string certificates = 7 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCertificates($var) diff --git a/CertificateManager/src/V1/CertificateMapEntry/Matcher.php b/CertificateManager/src/V1/CertificateMapEntry/Matcher.php index 5d44f9e0b06f..4b758ee009eb 100644 --- a/CertificateManager/src/V1/CertificateMapEntry/Matcher.php +++ b/CertificateManager/src/V1/CertificateMapEntry/Matcher.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/CreateCertificateIssuanceConfigRequest.php b/CertificateManager/src/V1/CreateCertificateIssuanceConfigRequest.php index 6434e2e05757..7248407b71f7 100644 --- a/CertificateManager/src/V1/CreateCertificateIssuanceConfigRequest.php +++ b/CertificateManager/src/V1/CreateCertificateIssuanceConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `CreateCertificateIssuanceConfig` method. @@ -17,7 +17,7 @@ class CreateCertificateIssuanceConfigRequest extends \Google\Protobuf\Internal\M { /** * Required. The parent resource of the certificate issuance config. Must be - * in the format `projects/*/locations/*`. + * in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $parent, \Google\Cloud\CertificateManager\V1 * * @type string $parent * Required. The parent resource of the certificate issuance config. Must be - * in the format `projects/*/locations/*`. + * in the format `projects/{@*}locations/*`. * @type string $certificate_issuance_config_id * Required. A user-provided name of the certificate config. * @type \Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig $certificate_issuance_config @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the certificate issuance config. Must be - * in the format `projects/*/locations/*`. + * in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,7 +88,7 @@ public function getParent() /** * Required. The parent resource of the certificate issuance config. Must be - * in the format `projects/*/locations/*`. + * in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/CreateCertificateMapEntryRequest.php b/CertificateManager/src/V1/CreateCertificateMapEntryRequest.php index 7c2df97476f0..339a7ae80d4d 100644 --- a/CertificateManager/src/V1/CreateCertificateMapEntryRequest.php +++ b/CertificateManager/src/V1/CreateCertificateMapEntryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `CreateCertificateMapEntry` method. @@ -17,7 +17,7 @@ class CreateCertificateMapEntryRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent resource of the certificate map entry. Must be in the - * format `projects/*/locations/*/certificateMaps/*`. + * format `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $parent, \Google\Cloud\CertificateManager\V1 * * @type string $parent * Required. The parent resource of the certificate map entry. Must be in the - * format `projects/*/locations/*/certificateMaps/*`. + * format `projects/{@*}locations/{@*}certificateMaps/*`. * @type string $certificate_map_entry_id * Required. A user-provided name of the certificate map entry. * @type \Google\Cloud\CertificateManager\V1\CertificateMapEntry $certificate_map_entry @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the certificate map entry. Must be in the - * format `projects/*/locations/*/certificateMaps/*`. + * format `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,7 +88,7 @@ public function getParent() /** * Required. The parent resource of the certificate map entry. Must be in the - * format `projects/*/locations/*/certificateMaps/*`. + * format `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/CreateCertificateMapRequest.php b/CertificateManager/src/V1/CreateCertificateMapRequest.php index 8722fd5327e7..82fe138b0b49 100644 --- a/CertificateManager/src/V1/CreateCertificateMapRequest.php +++ b/CertificateManager/src/V1/CreateCertificateMapRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `CreateCertificateMap` method. @@ -17,7 +17,7 @@ class CreateCertificateMapRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent resource of the certificate map. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $parent, \Google\Cloud\CertificateManager\V1 * * @type string $parent * Required. The parent resource of the certificate map. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * @type string $certificate_map_id * Required. A user-provided name of the certificate map. * @type \Google\Cloud\CertificateManager\V1\CertificateMap $certificate_map @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the certificate map. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,7 +88,7 @@ public function getParent() /** * Required. The parent resource of the certificate map. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/CreateCertificateRequest.php b/CertificateManager/src/V1/CreateCertificateRequest.php index 0c98fd3b8a2b..2184135523d7 100644 --- a/CertificateManager/src/V1/CreateCertificateRequest.php +++ b/CertificateManager/src/V1/CreateCertificateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `CreateCertificate` method. @@ -17,7 +17,7 @@ class CreateCertificateRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent resource of the certificate. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $parent, \Google\Cloud\CertificateManager\V1 * * @type string $parent * Required. The parent resource of the certificate. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * @type string $certificate_id * Required. A user-provided name of the certificate. * @type \Google\Cloud\CertificateManager\V1\Certificate $certificate @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the certificate. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,7 +88,7 @@ public function getParent() /** * Required. The parent resource of the certificate. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/CreateDnsAuthorizationRequest.php b/CertificateManager/src/V1/CreateDnsAuthorizationRequest.php index 4dea85970ea0..0c4d8d3c7771 100644 --- a/CertificateManager/src/V1/CreateDnsAuthorizationRequest.php +++ b/CertificateManager/src/V1/CreateDnsAuthorizationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `CreateDnsAuthorization` method. @@ -17,7 +17,7 @@ class CreateDnsAuthorizationRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent resource of the dns authorization. Must be in the - * format `projects/*/locations/*`. + * format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $parent, \Google\Cloud\CertificateManager\V1 * * @type string $parent * Required. The parent resource of the dns authorization. Must be in the - * format `projects/*/locations/*`. + * format `projects/{@*}locations/*`. * @type string $dns_authorization_id * Required. A user-provided name of the dns authorization. * @type \Google\Cloud\CertificateManager\V1\DnsAuthorization $dns_authorization @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the dns authorization. Must be in the - * format `projects/*/locations/*`. + * format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -88,7 +88,7 @@ public function getParent() /** * Required. The parent resource of the dns authorization. Must be in the - * format `projects/*/locations/*`. + * format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/CreateTrustConfigRequest.php b/CertificateManager/src/V1/CreateTrustConfigRequest.php index 821b07d26099..06d3ca560485 100644 --- a/CertificateManager/src/V1/CreateTrustConfigRequest.php +++ b/CertificateManager/src/V1/CreateTrustConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `CreateTrustConfig` method. @@ -17,7 +17,7 @@ class CreateTrustConfigRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent resource of the TrustConfig. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -64,7 +64,7 @@ public static function build(string $parent, \Google\Cloud\CertificateManager\V1 * * @type string $parent * Required. The parent resource of the TrustConfig. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * @type string $trust_config_id * Required. A user-provided name of the TrustConfig. Must match the regexp * `[a-z0-9-]{1,63}`. @@ -79,7 +79,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the TrustConfig. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -91,7 +91,7 @@ public function getParent() /** * Required. The parent resource of the TrustConfig. Must be in the format - * `projects/*/locations/*`. + * `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/DeleteCertificateIssuanceConfigRequest.php b/CertificateManager/src/V1/DeleteCertificateIssuanceConfigRequest.php index b2c6e62341d8..a72ce301f487 100644 --- a/CertificateManager/src/V1/DeleteCertificateIssuanceConfigRequest.php +++ b/CertificateManager/src/V1/DeleteCertificateIssuanceConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteCertificateIssuanceConfig` method. @@ -17,7 +17,7 @@ class DeleteCertificateIssuanceConfigRequest extends \Google\Protobuf\Internal\M { /** * Required. A name of the certificate issuance config to delete. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate issuance config to delete. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate issuance config to delete. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate issuance config to delete. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/DeleteCertificateMapEntryRequest.php b/CertificateManager/src/V1/DeleteCertificateMapEntryRequest.php index da88e1c8e7bf..3c3071d1c0a2 100644 --- a/CertificateManager/src/V1/DeleteCertificateMapEntryRequest.php +++ b/CertificateManager/src/V1/DeleteCertificateMapEntryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteCertificateMapEntry` method. @@ -17,7 +17,7 @@ class DeleteCertificateMapEntryRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the certificate map entry to delete. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate map entry to delete. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate map entry to delete. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate map entry to delete. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/DeleteCertificateMapRequest.php b/CertificateManager/src/V1/DeleteCertificateMapRequest.php index af8072648b58..2c6b7780cdb9 100644 --- a/CertificateManager/src/V1/DeleteCertificateMapRequest.php +++ b/CertificateManager/src/V1/DeleteCertificateMapRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteCertificateMap` method. @@ -17,7 +17,7 @@ class DeleteCertificateMapRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the certificate map to delete. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate map to delete. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate map to delete. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate map to delete. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/DeleteCertificateRequest.php b/CertificateManager/src/V1/DeleteCertificateRequest.php index a9a7e8cfeed0..f5e6a598ace6 100644 --- a/CertificateManager/src/V1/DeleteCertificateRequest.php +++ b/CertificateManager/src/V1/DeleteCertificateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteCertificate` method. @@ -17,7 +17,7 @@ class DeleteCertificateRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the certificate to delete. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate to delete. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate to delete. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate to delete. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/DeleteDnsAuthorizationRequest.php b/CertificateManager/src/V1/DeleteDnsAuthorizationRequest.php index 278f4c74e2f0..d452a6fcee18 100644 --- a/CertificateManager/src/V1/DeleteDnsAuthorizationRequest.php +++ b/CertificateManager/src/V1/DeleteDnsAuthorizationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteDnsAuthorization` method. @@ -17,7 +17,7 @@ class DeleteDnsAuthorizationRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the dns authorization to delete. Must be in the format - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the dns authorization to delete. Must be in the format - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the dns authorization to delete. Must be in the format - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the dns authorization to delete. Must be in the format - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/DeleteTrustConfigRequest.php b/CertificateManager/src/V1/DeleteTrustConfigRequest.php index ac6965adb38c..051e2a087e13 100644 --- a/CertificateManager/src/V1/DeleteTrustConfigRequest.php +++ b/CertificateManager/src/V1/DeleteTrustConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteTrustConfig` method. @@ -17,7 +17,7 @@ class DeleteTrustConfigRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the TrustConfig to delete. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -54,7 +54,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the TrustConfig to delete. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * @type string $etag * The current etag of the TrustConfig. * If an etag is provided and does not match the current etag of the resource, @@ -68,7 +68,7 @@ public function __construct($data = NULL) { /** * Required. A name of the TrustConfig to delete. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -80,7 +80,7 @@ public function getName() /** * Required. A name of the TrustConfig to delete. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/DnsAuthorization.php b/CertificateManager/src/V1/DnsAuthorization.php index 0b8be3dbfa8e..bfba2dae3048 100644 --- a/CertificateManager/src/V1/DnsAuthorization.php +++ b/CertificateManager/src/V1/DnsAuthorization.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A DnsAuthorization resource describes a way to perform domain authorization @@ -19,7 +19,7 @@ class DnsAuthorization extends \Google\Protobuf\Internal\Message /** * A user-defined name of the dns authorization. DnsAuthorization names must * be unique globally and match pattern - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1; */ @@ -82,7 +82,7 @@ class DnsAuthorization extends \Google\Protobuf\Internal\Message * @type string $name * A user-defined name of the dns authorization. DnsAuthorization names must * be unique globally and match pattern - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * @type \Google\Protobuf\Timestamp $create_time * Output only. The creation timestamp of a DnsAuthorization. * @type \Google\Protobuf\Timestamp $update_time @@ -113,7 +113,7 @@ public function __construct($data = NULL) { /** * A user-defined name of the dns authorization. DnsAuthorization names must * be unique globally and match pattern - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1; * @return string @@ -126,7 +126,7 @@ public function getName() /** * A user-defined name of the dns authorization. DnsAuthorization names must * be unique globally and match pattern - * `projects/*/locations/*/dnsAuthorizations/*`. + * `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1; * @param string $var diff --git a/CertificateManager/src/V1/DnsAuthorization/DnsResourceRecord.php b/CertificateManager/src/V1/DnsAuthorization/DnsResourceRecord.php index 4ed2ed6e04a4..e9b10cfa5722 100644 --- a/CertificateManager/src/V1/DnsAuthorization/DnsResourceRecord.php +++ b/CertificateManager/src/V1/DnsAuthorization/DnsResourceRecord.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\DnsAuthorization; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The structure describing the DNS Resource Record that needs to be added @@ -143,4 +143,3 @@ public function setData($var) } - diff --git a/CertificateManager/src/V1/DnsAuthorization/Type.php b/CertificateManager/src/V1/DnsAuthorization/Type.php index 50cc5c4118f6..f5c74c87664e 100644 --- a/CertificateManager/src/V1/DnsAuthorization/Type.php +++ b/CertificateManager/src/V1/DnsAuthorization/Type.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/CertificateManager/src/V1/GetCertificateIssuanceConfigRequest.php b/CertificateManager/src/V1/GetCertificateIssuanceConfigRequest.php index 80b51ae92c5f..bcf930a69c73 100644 --- a/CertificateManager/src/V1/GetCertificateIssuanceConfigRequest.php +++ b/CertificateManager/src/V1/GetCertificateIssuanceConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetCertificateIssuanceConfig` method. @@ -17,7 +17,7 @@ class GetCertificateIssuanceConfigRequest extends \Google\Protobuf\Internal\Mess { /** * Required. A name of the certificate issuance config to describe. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate issuance config to describe. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate issuance config to describe. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate issuance config to describe. Must be in - * the format `projects/*/locations/*/certificateIssuanceConfigs/*`. + * the format `projects/{@*}locations/{@*}certificateIssuanceConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/GetCertificateMapEntryRequest.php b/CertificateManager/src/V1/GetCertificateMapEntryRequest.php index 8b44fefcef84..842ef5ec546b 100644 --- a/CertificateManager/src/V1/GetCertificateMapEntryRequest.php +++ b/CertificateManager/src/V1/GetCertificateMapEntryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetCertificateMapEntry` method. @@ -17,7 +17,7 @@ class GetCertificateMapEntryRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the certificate map entry to describe. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate map entry to describe. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate map entry to describe. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate map entry to describe. Must be in the - * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + * format `projects/{@*}locations/{@*}certificateMaps/{@*}certificateMapEntries/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/GetCertificateMapRequest.php b/CertificateManager/src/V1/GetCertificateMapRequest.php index e71586d22dad..75dfb592e09a 100644 --- a/CertificateManager/src/V1/GetCertificateMapRequest.php +++ b/CertificateManager/src/V1/GetCertificateMapRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetCertificateMap` method. @@ -17,7 +17,7 @@ class GetCertificateMapRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the certificate map to describe. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate map to describe. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate map to describe. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate map to describe. Must be in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/GetCertificateRequest.php b/CertificateManager/src/V1/GetCertificateRequest.php index f7653fe02230..bbed910016c1 100644 --- a/CertificateManager/src/V1/GetCertificateRequest.php +++ b/CertificateManager/src/V1/GetCertificateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetCertificate` method. @@ -17,7 +17,7 @@ class GetCertificateRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the certificate to describe. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the certificate to describe. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the certificate to describe. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the certificate to describe. Must be in the format - * `projects/*/locations/*/certificates/*`. + * `projects/{@*}locations/{@*}certificates/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/GetDnsAuthorizationRequest.php b/CertificateManager/src/V1/GetDnsAuthorizationRequest.php index 31910ab7b79c..68e848d10c36 100644 --- a/CertificateManager/src/V1/GetDnsAuthorizationRequest.php +++ b/CertificateManager/src/V1/GetDnsAuthorizationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetDnsAuthorization` method. @@ -17,7 +17,7 @@ class GetDnsAuthorizationRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the dns authorization to describe. Must be in the - * format `projects/*/locations/*/dnsAuthorizations/*`. + * format `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the dns authorization to describe. Must be in the - * format `projects/*/locations/*/dnsAuthorizations/*`. + * format `projects/{@*}locations/{@*}dnsAuthorizations/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the dns authorization to describe. Must be in the - * format `projects/*/locations/*/dnsAuthorizations/*`. + * format `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the dns authorization to describe. Must be in the - * format `projects/*/locations/*/dnsAuthorizations/*`. + * format `projects/{@*}locations/{@*}dnsAuthorizations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/GetTrustConfigRequest.php b/CertificateManager/src/V1/GetTrustConfigRequest.php index d5c38e8cab6b..33b0b1de46b7 100644 --- a/CertificateManager/src/V1/GetTrustConfigRequest.php +++ b/CertificateManager/src/V1/GetTrustConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetTrustConfig` method. @@ -17,7 +17,7 @@ class GetTrustConfigRequest extends \Google\Protobuf\Internal\Message { /** * Required. A name of the TrustConfig to describe. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $name): self * * @type string $name * Required. A name of the TrustConfig to describe. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. A name of the TrustConfig to describe. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getName() /** * Required. A name of the TrustConfig to describe. Must be in the format - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/ListCertificateIssuanceConfigsRequest.php b/CertificateManager/src/V1/ListCertificateIssuanceConfigsRequest.php index 7a6d6405799e..f14f363970dc 100644 --- a/CertificateManager/src/V1/ListCertificateIssuanceConfigsRequest.php +++ b/CertificateManager/src/V1/ListCertificateIssuanceConfigsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListCertificateIssuanceConfigs` method. @@ -17,7 +17,7 @@ class ListCertificateIssuanceConfigsRequest extends \Google\Protobuf\Internal\Me { /** * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -75,7 +75,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * @type int $page_size * Maximum number of certificate configs to return per call. * @type string $page_token @@ -98,7 +98,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -110,7 +110,7 @@ public function getParent() /** * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/ListCertificateIssuanceConfigsResponse.php b/CertificateManager/src/V1/ListCertificateIssuanceConfigsResponse.php index 8dfe8101b161..6ef080c0ccc2 100644 --- a/CertificateManager/src/V1/ListCertificateIssuanceConfigsResponse.php +++ b/CertificateManager/src/V1/ListCertificateIssuanceConfigsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListCertificateIssuanceConfigs` method. @@ -42,13 +42,13 @@ class ListCertificateIssuanceConfigsResponse extends \Google\Protobuf\Internal\M * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig>|\Google\Protobuf\Internal\RepeatedField $certificate_issuance_configs + * @type \Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig[] $certificate_issuance_configs * A list of certificate configs for the parent resource. * @type string $next_page_token * If there might be more results than those appearing in this response, then * `next_page_token` is included. To get the next set of results, call this * method again using the value of `next_page_token` as `page_token`. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * A list of certificate configs for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig> */ public function getCertificateIssuanceConfigs() { @@ -72,7 +72,7 @@ public function getCertificateIssuanceConfigs() * A list of certificate configs for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; - * @param array<\Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\CertificateIssuanceConfig[] $var * @return $this */ public function setCertificateIssuanceConfigs($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php b/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php index cb5af48aa95f..dcbb534c6b0b 100644 --- a/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php +++ b/CertificateManager/src/V1/ListCertificateMapEntriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListCertificateMapEntries` method. @@ -18,7 +18,7 @@ class ListCertificateMapEntriesRequest extends \Google\Protobuf\Internal\Message /** * Required. The project, location and certificate map from which the * certificate map entries should be listed, specified in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -81,7 +81,7 @@ public static function build(string $parent): self * @type string $parent * Required. The project, location and certificate map from which the * certificate map entries should be listed, specified in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * @type int $page_size * Maximum number of certificate map entries to return. The service may return * fewer than this value. @@ -108,7 +108,7 @@ public function __construct($data = NULL) { /** * Required. The project, location and certificate map from which the * certificate map entries should be listed, specified in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -121,7 +121,7 @@ public function getParent() /** * Required. The project, location and certificate map from which the * certificate map entries should be listed, specified in the format - * `projects/*/locations/*/certificateMaps/*`. + * `projects/{@*}locations/{@*}certificateMaps/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/ListCertificateMapEntriesResponse.php b/CertificateManager/src/V1/ListCertificateMapEntriesResponse.php index 35b8335bce6a..3febce249139 100644 --- a/CertificateManager/src/V1/ListCertificateMapEntriesResponse.php +++ b/CertificateManager/src/V1/ListCertificateMapEntriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListCertificateMapEntries` method. @@ -42,13 +42,13 @@ class ListCertificateMapEntriesResponse extends \Google\Protobuf\Internal\Messag * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CertificateManager\V1\CertificateMapEntry>|\Google\Protobuf\Internal\RepeatedField $certificate_map_entries + * @type \Google\Cloud\CertificateManager\V1\CertificateMapEntry[] $certificate_map_entries * A list of certificate map entries for the parent resource. * @type string $next_page_token * If there might be more results than those appearing in this response, then * `next_page_token` is included. To get the next set of results, call this * method again using the value of `next_page_token` as `page_token`. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * A list of certificate map entries for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\CertificateMapEntry> */ public function getCertificateMapEntries() { @@ -72,7 +72,7 @@ public function getCertificateMapEntries() * A list of certificate map entries for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; - * @param array<\Google\Cloud\CertificateManager\V1\CertificateMapEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\CertificateMapEntry[] $var * @return $this */ public function setCertificateMapEntries($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/CertificateManager/src/V1/ListCertificateMapsRequest.php b/CertificateManager/src/V1/ListCertificateMapsRequest.php index 57e5279d0399..c6b0a76d5a36 100644 --- a/CertificateManager/src/V1/ListCertificateMapsRequest.php +++ b/CertificateManager/src/V1/ListCertificateMapsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListCertificateMaps` method. @@ -17,7 +17,7 @@ class ListCertificateMapsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location from which the certificate maps should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -74,7 +74,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which the certificate maps should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * @type int $page_size * Maximum number of certificate maps to return per call. * @type string $page_token @@ -96,7 +96,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which the certificate maps should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -108,7 +108,7 @@ public function getParent() /** * Required. The project and location from which the certificate maps should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/ListCertificateMapsResponse.php b/CertificateManager/src/V1/ListCertificateMapsResponse.php index 7d953e5e8fe3..9433a07bb04b 100644 --- a/CertificateManager/src/V1/ListCertificateMapsResponse.php +++ b/CertificateManager/src/V1/ListCertificateMapsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListCertificateMaps` method. @@ -42,13 +42,13 @@ class ListCertificateMapsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CertificateManager\V1\CertificateMap>|\Google\Protobuf\Internal\RepeatedField $certificate_maps + * @type \Google\Cloud\CertificateManager\V1\CertificateMap[] $certificate_maps * A list of certificate maps for the parent resource. * @type string $next_page_token * If there might be more results than those appearing in this response, then * `next_page_token` is included. To get the next set of results, call this * method again using the value of `next_page_token` as `page_token`. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * A list of certificate maps for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\CertificateMap> */ public function getCertificateMaps() { @@ -72,7 +72,7 @@ public function getCertificateMaps() * A list of certificate maps for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; - * @param array<\Google\Cloud\CertificateManager\V1\CertificateMap>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\CertificateMap[] $var * @return $this */ public function setCertificateMaps($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/CertificateManager/src/V1/ListCertificatesRequest.php b/CertificateManager/src/V1/ListCertificatesRequest.php index b3961d49e241..5f47289b5c34 100644 --- a/CertificateManager/src/V1/ListCertificatesRequest.php +++ b/CertificateManager/src/V1/ListCertificatesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListCertificates` method. @@ -17,7 +17,7 @@ class ListCertificatesRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -74,7 +74,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * @type int $page_size * Maximum number of certificates to return per call. * @type string $page_token @@ -96,7 +96,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -108,7 +108,7 @@ public function getParent() /** * Required. The project and location from which the certificate should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/ListCertificatesResponse.php b/CertificateManager/src/V1/ListCertificatesResponse.php index c3a2b6c79ee3..773175beaa65 100644 --- a/CertificateManager/src/V1/ListCertificatesResponse.php +++ b/CertificateManager/src/V1/ListCertificatesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListCertificates` method. @@ -42,13 +42,13 @@ class ListCertificatesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CertificateManager\V1\Certificate>|\Google\Protobuf\Internal\RepeatedField $certificates + * @type \Google\Cloud\CertificateManager\V1\Certificate[] $certificates * A list of certificates for the parent resource. * @type string $next_page_token * If there might be more results than those appearing in this response, then * `next_page_token` is included. To get the next set of results, call this * method again using the value of `next_page_token` as `page_token`. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * A list of locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * A list of certificates for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\Certificate> */ public function getCertificates() { @@ -72,7 +72,7 @@ public function getCertificates() * A list of certificates for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; - * @param array<\Google\Cloud\CertificateManager\V1\Certificate>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\Certificate[] $var * @return $this */ public function setCertificates($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * A list of locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * A list of locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/CertificateManager/src/V1/ListDnsAuthorizationsRequest.php b/CertificateManager/src/V1/ListDnsAuthorizationsRequest.php index d7f7c2a9dfdc..0608be52e3f4 100644 --- a/CertificateManager/src/V1/ListDnsAuthorizationsRequest.php +++ b/CertificateManager/src/V1/ListDnsAuthorizationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListDnsAuthorizations` method. @@ -17,7 +17,7 @@ class ListDnsAuthorizationsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location from which the dns authorizations should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -74,7 +74,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which the dns authorizations should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * @type int $page_size * Maximum number of dns authorizations to return per call. * @type string $page_token @@ -96,7 +96,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which the dns authorizations should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -108,7 +108,7 @@ public function getParent() /** * Required. The project and location from which the dns authorizations should - * be listed, specified in the format `projects/*/locations/*`. + * be listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/ListDnsAuthorizationsResponse.php b/CertificateManager/src/V1/ListDnsAuthorizationsResponse.php index ebe8652bff26..ce89df570f69 100644 --- a/CertificateManager/src/V1/ListDnsAuthorizationsResponse.php +++ b/CertificateManager/src/V1/ListDnsAuthorizationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListDnsAuthorizations` method. @@ -42,13 +42,13 @@ class ListDnsAuthorizationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CertificateManager\V1\DnsAuthorization>|\Google\Protobuf\Internal\RepeatedField $dns_authorizations + * @type \Google\Cloud\CertificateManager\V1\DnsAuthorization[] $dns_authorizations * A list of dns authorizations for the parent resource. * @type string $next_page_token * If there might be more results than those appearing in this response, then * `next_page_token` is included. To get the next set of results, call this * method again using the value of `next_page_token` as `page_token`. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * A list of dns authorizations for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\DnsAuthorization> */ public function getDnsAuthorizations() { @@ -72,7 +72,7 @@ public function getDnsAuthorizations() * A list of dns authorizations for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; - * @param array<\Google\Cloud\CertificateManager\V1\DnsAuthorization>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\DnsAuthorization[] $var * @return $this */ public function setDnsAuthorizations($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/CertificateManager/src/V1/ListTrustConfigsRequest.php b/CertificateManager/src/V1/ListTrustConfigsRequest.php index 4b021251d28e..02f6fdd9c3be 100644 --- a/CertificateManager/src/V1/ListTrustConfigsRequest.php +++ b/CertificateManager/src/V1/ListTrustConfigsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListTrustConfigs` method. @@ -17,7 +17,7 @@ class ListTrustConfigsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location from which the TrustConfigs should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -74,7 +74,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which the TrustConfigs should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * @type int $page_size * Maximum number of TrustConfigs to return per call. * @type string $page_token @@ -96,7 +96,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which the TrustConfigs should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -108,7 +108,7 @@ public function getParent() /** * Required. The project and location from which the TrustConfigs should be - * listed, specified in the format `projects/*/locations/*`. + * listed, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/CertificateManager/src/V1/ListTrustConfigsResponse.php b/CertificateManager/src/V1/ListTrustConfigsResponse.php index 74a445f8c490..11fa755101e6 100644 --- a/CertificateManager/src/V1/ListTrustConfigsResponse.php +++ b/CertificateManager/src/V1/ListTrustConfigsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListTrustConfigs` method. @@ -42,13 +42,13 @@ class ListTrustConfigsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CertificateManager\V1\TrustConfig>|\Google\Protobuf\Internal\RepeatedField $trust_configs + * @type \Google\Cloud\CertificateManager\V1\TrustConfig[] $trust_configs * A list of TrustConfigs for the parent resource. * @type string $next_page_token * If there might be more results than those appearing in this response, then * `next_page_token` is included. To get the next set of results, call this * method again using the value of `next_page_token` as `page_token`. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * A list of TrustConfigs for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\TrustConfig> */ public function getTrustConfigs() { @@ -72,7 +72,7 @@ public function getTrustConfigs() * A list of TrustConfigs for the parent resource. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig trust_configs = 1; - * @param array<\Google\Cloud\CertificateManager\V1\TrustConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\TrustConfig[] $var * @return $this */ public function setTrustConfigs($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/CertificateManager/src/V1/OperationMetadata.php b/CertificateManager/src/V1/OperationMetadata.php index 29a4297349a4..56914215c8e6 100644 --- a/CertificateManager/src/V1/OperationMetadata.php +++ b/CertificateManager/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of the long-running operation. Output only. diff --git a/CertificateManager/src/V1/TrustConfig.php b/CertificateManager/src/V1/TrustConfig.php index 1c6979319c90..7510299b186d 100644 --- a/CertificateManager/src/V1/TrustConfig.php +++ b/CertificateManager/src/V1/TrustConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a trust config. @@ -18,7 +18,7 @@ class TrustConfig extends \Google\Protobuf\Internal\Message /** * A user-defined name of the trust config. TrustConfig names must be * unique globally and match pattern - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1; */ @@ -74,7 +74,7 @@ class TrustConfig extends \Google\Protobuf\Internal\Message * @type string $name * A user-defined name of the trust config. TrustConfig names must be * unique globally and match pattern - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * @type \Google\Protobuf\Timestamp $create_time * Output only. The creation timestamp of a TrustConfig. * @type \Google\Protobuf\Timestamp $update_time @@ -87,7 +87,7 @@ class TrustConfig extends \Google\Protobuf\Internal\Message * This checksum is computed by the server based on the value of other * fields, and may be sent on update and delete requests to ensure the * client has an up-to-date value before proceeding. - * @type array<\Google\Cloud\CertificateManager\V1\TrustConfig\TrustStore>|\Google\Protobuf\Internal\RepeatedField $trust_stores + * @type \Google\Cloud\CertificateManager\V1\TrustConfig\TrustStore[] $trust_stores * Set of trust stores to perform validation against. * This field is supported when TrustConfig is configured with Load Balancers, * currently not supported for SPIFFE certificate validation. @@ -102,7 +102,7 @@ public function __construct($data = NULL) { /** * A user-defined name of the trust config. TrustConfig names must be * unique globally and match pattern - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1; * @return string @@ -115,7 +115,7 @@ public function getName() /** * A user-defined name of the trust config. TrustConfig names must be * unique globally and match pattern - * `projects/*/locations/*/trustConfigs/*`. + * `projects/{@*}locations/{@*}trustConfigs/*`. * * Generated from protobuf field string name = 1; * @param string $var @@ -290,7 +290,7 @@ public function setEtag($var) * Only one TrustStore specified is currently allowed. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustStore trust_stores = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\TrustConfig\TrustStore> */ public function getTrustStores() { @@ -304,7 +304,7 @@ public function getTrustStores() * Only one TrustStore specified is currently allowed. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustStore trust_stores = 8; - * @param array<\Google\Cloud\CertificateManager\V1\TrustConfig\TrustStore>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\TrustConfig\TrustStore[] $var * @return $this */ public function setTrustStores($var) diff --git a/CertificateManager/src/V1/TrustConfig/IntermediateCA.php b/CertificateManager/src/V1/TrustConfig/IntermediateCA.php index 1bcd0ba26d01..de5495d14827 100644 --- a/CertificateManager/src/V1/TrustConfig/IntermediateCA.php +++ b/CertificateManager/src/V1/TrustConfig/IntermediateCA.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\TrustConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines an intermediate CA. @@ -79,4 +79,3 @@ public function getKind() } - diff --git a/CertificateManager/src/V1/TrustConfig/TrustAnchor.php b/CertificateManager/src/V1/TrustConfig/TrustAnchor.php index 53772f2ebbd7..e622a4a87272 100644 --- a/CertificateManager/src/V1/TrustConfig/TrustAnchor.php +++ b/CertificateManager/src/V1/TrustConfig/TrustAnchor.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\TrustConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a trust anchor. @@ -76,4 +76,3 @@ public function getKind() } - diff --git a/CertificateManager/src/V1/TrustConfig/TrustStore.php b/CertificateManager/src/V1/TrustConfig/TrustStore.php index 3c316c9f8e1f..ccaced5858da 100644 --- a/CertificateManager/src/V1/TrustConfig/TrustStore.php +++ b/CertificateManager/src/V1/TrustConfig/TrustStore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1\TrustConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a trust store. @@ -38,10 +38,10 @@ class TrustStore extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CertificateManager\V1\TrustConfig\TrustAnchor>|\Google\Protobuf\Internal\RepeatedField $trust_anchors + * @type \Google\Cloud\CertificateManager\V1\TrustConfig\TrustAnchor[] $trust_anchors * List of Trust Anchors to be used while performing validation * against a given TrustStore. - * @type array<\Google\Cloud\CertificateManager\V1\TrustConfig\IntermediateCA>|\Google\Protobuf\Internal\RepeatedField $intermediate_cas + * @type \Google\Cloud\CertificateManager\V1\TrustConfig\IntermediateCA[] $intermediate_cas * Set of intermediate CA certificates used for the path building * phase of chain validation. * The field is currently not supported if TrustConfig is used for the @@ -58,7 +58,7 @@ public function __construct($data = NULL) { * against a given TrustStore. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\TrustConfig\TrustAnchor> */ public function getTrustAnchors() { @@ -70,7 +70,7 @@ public function getTrustAnchors() * against a given TrustStore. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1; - * @param array<\Google\Cloud\CertificateManager\V1\TrustConfig\TrustAnchor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\TrustConfig\TrustAnchor[] $var * @return $this */ public function setTrustAnchors($var) @@ -88,7 +88,7 @@ public function setTrustAnchors($var) * workload certificate feature. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CertificateManager\V1\TrustConfig\IntermediateCA> */ public function getIntermediateCas() { @@ -102,7 +102,7 @@ public function getIntermediateCas() * workload certificate feature. * * Generated from protobuf field repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2; - * @param array<\Google\Cloud\CertificateManager\V1\TrustConfig\IntermediateCA>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CertificateManager\V1\TrustConfig\IntermediateCA[] $var * @return $this */ public function setIntermediateCas($var) @@ -115,4 +115,3 @@ public function setIntermediateCas($var) } - diff --git a/CertificateManager/src/V1/UpdateCertificateMapEntryRequest.php b/CertificateManager/src/V1/UpdateCertificateMapEntryRequest.php index 913b850a98cd..b1c7724c64ad 100644 --- a/CertificateManager/src/V1/UpdateCertificateMapEntryRequest.php +++ b/CertificateManager/src/V1/UpdateCertificateMapEntryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `UpdateCertificateMapEntry` method. diff --git a/CertificateManager/src/V1/UpdateCertificateMapRequest.php b/CertificateManager/src/V1/UpdateCertificateMapRequest.php index 40f59853d238..c78b63d42ae7 100644 --- a/CertificateManager/src/V1/UpdateCertificateMapRequest.php +++ b/CertificateManager/src/V1/UpdateCertificateMapRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `UpdateCertificateMap` method. diff --git a/CertificateManager/src/V1/UpdateCertificateRequest.php b/CertificateManager/src/V1/UpdateCertificateRequest.php index e83292dc17f9..fc326840d48f 100644 --- a/CertificateManager/src/V1/UpdateCertificateRequest.php +++ b/CertificateManager/src/V1/UpdateCertificateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `UpdateCertificate` method. diff --git a/CertificateManager/src/V1/UpdateDnsAuthorizationRequest.php b/CertificateManager/src/V1/UpdateDnsAuthorizationRequest.php index 52ae22852837..355e1f6e4f29 100644 --- a/CertificateManager/src/V1/UpdateDnsAuthorizationRequest.php +++ b/CertificateManager/src/V1/UpdateDnsAuthorizationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `UpdateDnsAuthorization` method. diff --git a/CertificateManager/src/V1/UpdateTrustConfigRequest.php b/CertificateManager/src/V1/UpdateTrustConfigRequest.php index d4f6811c0ec2..a2de5bcf5927 100644 --- a/CertificateManager/src/V1/UpdateTrustConfigRequest.php +++ b/CertificateManager/src/V1/UpdateTrustConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CertificateManager\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `UpdateTrustConfig` method. diff --git a/Ces/metadata/V1/Agent.php b/Ces/metadata/V1/Agent.php index 2ed4ae40eb83..6719931174e8 100644 Binary files a/Ces/metadata/V1/Agent.php and b/Ces/metadata/V1/Agent.php differ diff --git a/Ces/metadata/V1/AgentService.php b/Ces/metadata/V1/AgentService.php index efbdc7404204..f2fe6fe70b49 100644 Binary files a/Ces/metadata/V1/AgentService.php and b/Ces/metadata/V1/AgentService.php differ diff --git a/Ces/metadata/V1/AgentTransfers.php b/Ces/metadata/V1/AgentTransfers.php index 6fe73a0bcc40..5aa1d197ab74 100644 Binary files a/Ces/metadata/V1/AgentTransfers.php and b/Ces/metadata/V1/AgentTransfers.php differ diff --git a/Ces/metadata/V1/App.php b/Ces/metadata/V1/App.php index 633638e7da84..884918e1d15f 100644 Binary files a/Ces/metadata/V1/App.php and b/Ces/metadata/V1/App.php differ diff --git a/Ces/metadata/V1/AppVersion.php b/Ces/metadata/V1/AppVersion.php index e3549116b99d..b3a4b3f99057 100644 --- a/Ces/metadata/V1/AppVersion.php +++ b/Ces/metadata/V1/AppVersion.php @@ -24,29 +24,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Ces\V1\Toolset::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -%google/cloud/ces/v1/app_version.protogoogle.cloud.ces.v1google/api/resource.protogoogle/cloud/ces/v1/agent.protogoogle/cloud/ces/v1/app.proto!google/cloud/ces/v1/example.proto#google/cloud/ces/v1/guardrail.protogoogle/cloud/ces/v1/tool.proto!google/cloud/ces/v1/toolset.protogoogle/protobuf/timestamp.proto" - AppSnapshot* -app ( 2.google.cloud.ces.v1.AppBA/ -agents ( 2.google.cloud.ces.v1.AgentBA- -tools ( 2.google.cloud.ces.v1.ToolBA3 -examples ( 2.google.cloud.ces.v1.ExampleBA7 - -guardrails ( 2.google.cloud.ces.v1.GuardrailBA3 -toolsets ( 2.google.cloud.ces.v1.ToolsetBA" - -AppVersion -name ( BA - display_name ( BA - description ( BA -creator ( BA4 - create_time ( 2.google.protobuf.TimestampBA7 -snapshot ( 2 .google.cloud.ces.v1.AppSnapshotBA -etag ( BA:A -ces.googleapis.com/AppVersionEprojects/{project}/locations/{location}/apps/{app}/versions/{version}* appVersions2 -appVersionBW -com.google.cloud.ces.v1BAppVersionProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xD7\x08\x0A%google/cloud/ces/v1/app_version.proto\x12\x13google.cloud.ces.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/cloud/ces/v1/agent.proto\x1A\x1Dgoogle/cloud/ces/v1/app.proto\x1A!google/cloud/ces/v1/example.proto\x1A#google/cloud/ces/v1/guardrail.proto\x1A\x1Egoogle/cloud/ces/v1/tool.proto\x1A!google/cloud/ces/v1/toolset.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xBC\x02\x0A\x0BAppSnapshot\x12*\x0A\x03app\x18\x01 \x01(\x0B2\x18.google.cloud.ces.v1.AppB\x03\xE0A\x01\x12/\x0A\x06agents\x18\x02 \x03(\x0B2\x1A.google.cloud.ces.v1.AgentB\x03\xE0A\x01\x12-\x0A\x05tools\x18\x03 \x03(\x0B2\x19.google.cloud.ces.v1.ToolB\x03\xE0A\x01\x123\x0A\x08examples\x18\x04 \x03(\x0B2\x1C.google.cloud.ces.v1.ExampleB\x03\xE0A\x01\x127\x0A\x0Aguardrails\x18\x05 \x03(\x0B2\x1E.google.cloud.ces.v1.GuardrailB\x03\xE0A\x01\x123\x0A\x08toolsets\x18\x06 \x03(\x0B2\x1C.google.cloud.ces.v1.ToolsetB\x03\xE0A\x01\"\xF1\x02\x0A\x0AAppVersion\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x07creator\x18\x04 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x127\x0A\x08snapshot\x18\x08 \x01(\x0B2 .google.cloud.ces.v1.AppSnapshotB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x07 \x01(\x09B\x03\xE0A\x03:\x82\x01\xEAA\x7F\x0A\x1Dces.googleapis.com/AppVersion\x12Eprojects/{project}/locations/{location}/apps/{app}/versions/{version}*\x0BappVersions2\x0AappVersionBW\x0A\x17com.google.cloud.ces.v1B\x0FAppVersionProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Auth.php b/Ces/metadata/V1/Auth.php index 502951605aae..d7c18f1f9e0d 100644 Binary files a/Ces/metadata/V1/Auth.php and b/Ces/metadata/V1/Auth.php differ diff --git a/Ces/metadata/V1/BigqueryExport.php b/Ces/metadata/V1/BigqueryExport.php index abd62e1dc5f1..5d9742aa337d 100644 --- a/Ces/metadata/V1/BigqueryExport.php +++ b/Ces/metadata/V1/BigqueryExport.php @@ -16,14 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - ' - -)google/cloud/ces/v1/bigquery_export.protogoogle.cloud.ces.v1"Z -BigQueryExportSettings -enabled (BA -project ( BA -dataset ( BAB[ -com.google.cloud.ces.v1BBigQueryExportProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\x81\x02\x0A)google/cloud/ces/v1/bigquery_export.proto\x12\x13google.cloud.ces.v1\"Z\x0A\x16BigQueryExportSettings\x12\x14\x0A\x07enabled\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x07dataset\x18\x03 \x01(\x09B\x03\xE0A\x01B[\x0A\x17com.google.cloud.ces.v1B\x13BigQueryExportProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Changelog.php b/Ces/metadata/V1/Changelog.php index c0c5aad7be0e..66bcf419a93e 100644 --- a/Ces/metadata/V1/Changelog.php +++ b/Ces/metadata/V1/Changelog.php @@ -19,26 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\Struct::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -#google/cloud/ces/v1/changelog.protogoogle.cloud.ces.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" - Changelog -name ( BA -author ( BA - display_name ( BA - description ( BA -resource ( BA - resource_type ( BA -action ( BA7 -original_resource ( 2.google.protobuf.StructBA2 - new_resource ( 2.google.protobuf.StructBA9 -dependent_resources ( 2.google.protobuf.StructBA4 - create_time - ( 2.google.protobuf.TimestampBA -sequence_number (BA:A -ces.googleapis.com/ChangelogIprojects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}* -changelogs2 changelogBV -com.google.cloud.ces.v1BChangelogProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xAA\x06\x0A#google/cloud/ces/v1/changelog.proto\x12\x13google.cloud.ces.v1\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xB3\x04\x0A\x09Changelog\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x13\x0A\x06author\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x18\x0A\x0Bdescription\x18\x0B \x01(\x09B\x03\xE0A\x03\x12\x15\x0A\x08resource\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Dresource_type\x18\x05 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x06action\x18\x06 \x01(\x09B\x03\xE0A\x03\x127\x0A\x11original_resource\x18\x07 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x03\x122\x0A\x0Cnew_resource\x18\x08 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x03\x129\x0A\x13dependent_resources\x18\x09 \x03(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1C\x0A\x0Fsequence_number\x18\x0C \x01(\x03B\x03\xE0A\x03:\x84\x01\xEAA\x80\x01\x0A\x1Cces.googleapis.com/Changelog\x12Iprojects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}*\x0Achangelogs2\x09changelogBV\x0A\x17com.google.cloud.ces.v1B\x0EChangelogProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/ClientFunction.php b/Ces/metadata/V1/ClientFunction.php index 428ac54f936c..a61df5987236 100644 --- a/Ces/metadata/V1/ClientFunction.php +++ b/Ces/metadata/V1/ClientFunction.php @@ -17,16 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Cloud\Ces\V1\Schema::initOnce(); $pool->internalAddGeneratedFile( - ' - -)google/cloud/ces/v1/client_function.protogoogle.cloud.ces.v1 google/cloud/ces/v1/schema.proto" -ClientFunction -name ( BA - description ( BA4 - -parameters ( 2.google.cloud.ces.v1.SchemaBA2 -response ( 2.google.cloud.ces.v1.SchemaBAB[ -com.google.cloud.ces.v1BClientFunctionProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xF1\x02\x0A)google/cloud/ces/v1/client_function.proto\x12\x13google.cloud.ces.v1\x1A google/cloud/ces/v1/schema.proto\"\xA7\x01\x0A\x0EClientFunction\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x124\x0A\x0Aparameters\x18\x03 \x01(\x0B2\x1B.google.cloud.ces.v1.SchemaB\x03\xE0A\x01\x122\x0A\x08response\x18\x04 \x01(\x0B2\x1B.google.cloud.ces.v1.SchemaB\x03\xE0A\x01B[\x0A\x17com.google.cloud.ces.v1B\x13ClientFunctionProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Common.php b/Ces/metadata/V1/Common.php index ba9da3d98e29..e01814b7230f 100644 Binary files a/Ces/metadata/V1/Common.php and b/Ces/metadata/V1/Common.php differ diff --git a/Ces/metadata/V1/ConnectorTool.php b/Ces/metadata/V1/ConnectorTool.php index 93de1073fa86..95a47a038a92 100644 Binary files a/Ces/metadata/V1/ConnectorTool.php and b/Ces/metadata/V1/ConnectorTool.php differ diff --git a/Ces/metadata/V1/ConnectorToolset.php b/Ces/metadata/V1/ConnectorToolset.php index 7b6765d45341..38bf359bbaf6 100644 --- a/Ces/metadata/V1/ConnectorToolset.php +++ b/Ces/metadata/V1/ConnectorToolset.php @@ -18,15 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Ces\V1\Auth::initOnce(); \GPBMetadata\Google\Cloud\Ces\V1\ConnectorTool::initOnce(); $pool->internalAddGeneratedFile( - ' - -+google/cloud/ces/v1/connector_toolset.protogoogle.cloud.ces.v1google/cloud/ces/v1/auth.proto(google/cloud/ces/v1/connector_tool.proto" -ConnectorToolset - -connection ( BA@ - auth_config ( 2&.google.cloud.ces.v1.EndUserAuthConfigBA; -connector_actions ( 2.google.cloud.ces.v1.ActionBAB] -com.google.cloud.ces.v1BConnectorToolsetProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xA0\x03\x0A+google/cloud/ces/v1/connector_toolset.proto\x12\x13google.cloud.ces.v1\x1A\x1Egoogle/cloud/ces/v1/auth.proto\x1A(google/cloud/ces/v1/connector_tool.proto\"\xAA\x01\x0A\x10ConnectorToolset\x12\x17\x0A\x0Aconnection\x18\x01 \x01(\x09B\x03\xE0A\x02\x12@\x0A\x0Bauth_config\x18\x02 \x01(\x0B2&.google.cloud.ces.v1.EndUserAuthConfigB\x03\xE0A\x01\x12;\x0A\x11connector_actions\x18\x03 \x03(\x0B2\x1B.google.cloud.ces.v1.ActionB\x03\xE0A\x02B]\x0A\x17com.google.cloud.ces.v1B\x15ConnectorToolsetProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Conversation.php b/Ces/metadata/V1/Conversation.php index 9000259052e2..e644266fa353 100644 Binary files a/Ces/metadata/V1/Conversation.php and b/Ces/metadata/V1/Conversation.php differ diff --git a/Ces/metadata/V1/DataStore.php b/Ces/metadata/V1/DataStore.php index be74f7bd333a..183a20daee71 100644 Binary files a/Ces/metadata/V1/DataStore.php and b/Ces/metadata/V1/DataStore.php differ diff --git a/Ces/metadata/V1/DataStoreTool.php b/Ces/metadata/V1/DataStoreTool.php index b8cce998d2f2..91675f2b3797 100644 Binary files a/Ces/metadata/V1/DataStoreTool.php and b/Ces/metadata/V1/DataStoreTool.php differ diff --git a/Ces/metadata/V1/Deployment.php b/Ces/metadata/V1/Deployment.php index 68c002769f5c..144865bf2c47 100644 --- a/Ces/metadata/V1/Deployment.php +++ b/Ces/metadata/V1/Deployment.php @@ -19,22 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Ces\V1\Common::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -$google/cloud/ces/v1/deployment.protogoogle.cloud.ces.v1google/api/resource.proto google/cloud/ces/v1/common.protogoogle/protobuf/timestamp.proto" - -Deployment -name ( BA - display_name ( BA: - app_version ( B%AA -ces.googleapis.com/AppVersionA -channel_profile ( 2#.google.cloud.ces.v1.ChannelProfileBA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA -etag ( BA:A -ces.googleapis.com/DeploymentKprojects/{project}/locations/{location}/apps/{app}/deployments/{deployment}* deployments2 -deploymentB[ -com.google.cloud.ces.v1BChannelProfileProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xC5\x05\x0A\$google/cloud/ces/v1/deployment.proto\x12\x13google.cloud.ces.v1\x1A\x19google/api/resource.proto\x1A google/cloud/ces/v1/common.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xC4\x03\x0A\x0ADeployment\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x08 \x01(\x09B\x03\xE0A\x02\x12:\x0A\x0Bapp_version\x18\x02 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dces.googleapis.com/AppVersion\x12A\x0A\x0Fchannel_profile\x18\x03 \x01(\x0B2#.google.cloud.ces.v1.ChannelProfileB\x03\xE0A\x02\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x07 \x01(\x09B\x03\xE0A\x03:\x89\x01\xEAA\x85\x01\x0A\x1Dces.googleapis.com/Deployment\x12Kprojects/{project}/locations/{location}/apps/{app}/deployments/{deployment}*\x0Bdeployments2\x0AdeploymentB[\x0A\x17com.google.cloud.ces.v1B\x13ChannelProfileProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Example.php b/Ces/metadata/V1/Example.php index 4f88e74ebe62..3ba05bcb26f6 100644 Binary files a/Ces/metadata/V1/Example.php and b/Ces/metadata/V1/Example.php differ diff --git a/Ces/metadata/V1/Fakes.php b/Ces/metadata/V1/Fakes.php index a478759ad7cd..bb08a23890f2 100644 Binary files a/Ces/metadata/V1/Fakes.php and b/Ces/metadata/V1/Fakes.php differ diff --git a/Ces/metadata/V1/FileSearchTool.php b/Ces/metadata/V1/FileSearchTool.php index f5ca2f7e5e88..e81d456c247a 100644 Binary files a/Ces/metadata/V1/FileSearchTool.php and b/Ces/metadata/V1/FileSearchTool.php differ diff --git a/Ces/metadata/V1/GoogleSearchTool.php b/Ces/metadata/V1/GoogleSearchTool.php index dadd23effb78..e83b1459a3da 100644 --- a/Ces/metadata/V1/GoogleSearchTool.php +++ b/Ces/metadata/V1/GoogleSearchTool.php @@ -16,20 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - ' - -,google/cloud/ces/v1/google_search_tool.protogoogle.cloud.ces.v1" -GoogleSearchTool -name ( BA - description ( BA - context_urls ( BA -preferred_domains ( BA -exclude_domains ( BAN - prompt_config ( 22.google.cloud.ces.v1.GoogleSearchTool.PromptConfigBAC - PromptConfig - text_prompt ( BA - voice_prompt ( BAB] -com.google.cloud.ces.v1BGoogleSearchToolProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xDA\x03\x0A,google/cloud/ces/v1/google_search_tool.proto\x12\x13google.cloud.ces.v1\"\xAD\x02\x0A\x10GoogleSearchTool\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Ccontext_urls\x18\x03 \x03(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11preferred_domains\x18\x06 \x03(\x09B\x03\xE0A\x01\x12\x1C\x0A\x0Fexclude_domains\x18\x04 \x03(\x09B\x03\xE0A\x01\x12N\x0A\x0Dprompt_config\x18\x05 \x01(\x0B22.google.cloud.ces.v1.GoogleSearchTool.PromptConfigB\x03\xE0A\x01\x1AC\x0A\x0CPromptConfig\x12\x18\x0A\x0Btext_prompt\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cvoice_prompt\x18\x02 \x01(\x09B\x03\xE0A\x01B]\x0A\x17com.google.cloud.ces.v1B\x15GoogleSearchToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Guardrail.php b/Ces/metadata/V1/Guardrail.php index 943cd0dc7b2d..1c937116de6e 100644 Binary files a/Ces/metadata/V1/Guardrail.php and b/Ces/metadata/V1/Guardrail.php differ diff --git a/Ces/metadata/V1/McpTool.php b/Ces/metadata/V1/McpTool.php index 212ca61a9b8b..32980bdfebd7 100644 --- a/Ces/metadata/V1/McpTool.php +++ b/Ces/metadata/V1/McpTool.php @@ -19,20 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Ces\V1\Common::initOnce(); \GPBMetadata\Google\Cloud\Ces\V1\Schema::initOnce(); $pool->internalAddGeneratedFile( - ' - -"google/cloud/ces/v1/mcp_tool.protogoogle.cloud.ces.v1google/cloud/ces/v1/auth.proto google/cloud/ces/v1/common.proto google/cloud/ces/v1/schema.proto" -McpTool -name ( BA - description ( BA6 - input_schema ( 2.google.cloud.ces.v1.SchemaBA7 - output_schema ( 2.google.cloud.ces.v1.SchemaBA -server_address ( BAG -api_authentication ( 2&.google.cloud.ces.v1.ApiAuthenticationBA7 - -tls_config ( 2.google.cloud.ces.v1.TlsConfigBAR -service_directory_config ( 2+.google.cloud.ces.v1.ServiceDirectoryConfigBABT -com.google.cloud.ces.v1B McpToolProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\x98\x05\x0A\"google/cloud/ces/v1/mcp_tool.proto\x12\x13google.cloud.ces.v1\x1A\x1Egoogle/cloud/ces/v1/auth.proto\x1A google/cloud/ces/v1/common.proto\x1A google/cloud/ces/v1/schema.proto\"\x9A\x03\x0A\x07McpTool\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x126\x0A\x0Cinput_schema\x18\x03 \x01(\x0B2\x1B.google.cloud.ces.v1.SchemaB\x03\xE0A\x01\x127\x0A\x0Doutput_schema\x18\x04 \x01(\x0B2\x1B.google.cloud.ces.v1.SchemaB\x03\xE0A\x01\x12\x1B\x0A\x0Eserver_address\x18\x05 \x01(\x09B\x03\xE0A\x02\x12G\x0A\x12api_authentication\x18\x06 \x01(\x0B2&.google.cloud.ces.v1.ApiAuthenticationB\x03\xE0A\x01\x127\x0A\x0Atls_config\x18\x07 \x01(\x0B2\x1E.google.cloud.ces.v1.TlsConfigB\x03\xE0A\x01\x12R\x0A\x18service_directory_config\x18\x08 \x01(\x0B2+.google.cloud.ces.v1.ServiceDirectoryConfigB\x03\xE0A\x01BT\x0A\x17com.google.cloud.ces.v1B\x0CMcpToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/McpToolset.php b/Ces/metadata/V1/McpToolset.php index aef53ec731a9..d469ea3925c1 100644 --- a/Ces/metadata/V1/McpToolset.php +++ b/Ces/metadata/V1/McpToolset.php @@ -18,17 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Ces\V1\Auth::initOnce(); \GPBMetadata\Google\Cloud\Ces\V1\Common::initOnce(); $pool->internalAddGeneratedFile( - ' - -%google/cloud/ces/v1/mcp_toolset.protogoogle.cloud.ces.v1google/cloud/ces/v1/auth.proto google/cloud/ces/v1/common.proto" - -McpToolset -server_address ( BAG -api_authentication ( 2&.google.cloud.ces.v1.ApiAuthenticationBAR -service_directory_config ( 2+.google.cloud.ces.v1.ServiceDirectoryConfigBA7 - -tls_config ( 2.google.cloud.ces.v1.TlsConfigBABW -com.google.cloud.ces.v1BMcpToolsetProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xE1\x03\x0A%google/cloud/ces/v1/mcp_toolset.proto\x12\x13google.cloud.ces.v1\x1A\x1Egoogle/cloud/ces/v1/auth.proto\x1A google/cloud/ces/v1/common.proto\"\xFF\x01\x0A\x0AMcpToolset\x12\x1B\x0A\x0Eserver_address\x18\x01 \x01(\x09B\x03\xE0A\x02\x12G\x0A\x12api_authentication\x18\x02 \x01(\x0B2&.google.cloud.ces.v1.ApiAuthenticationB\x03\xE0A\x01\x12R\x0A\x18service_directory_config\x18\x03 \x01(\x0B2+.google.cloud.ces.v1.ServiceDirectoryConfigB\x03\xE0A\x01\x127\x0A\x0Atls_config\x18\x04 \x01(\x0B2\x1E.google.cloud.ces.v1.TlsConfigB\x03\xE0A\x01BW\x0A\x17com.google.cloud.ces.v1B\x0FMcpToolsetProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Omnichannel.php b/Ces/metadata/V1/Omnichannel.php index fc59f3bf4154..2ec60ee40c12 100644 Binary files a/Ces/metadata/V1/Omnichannel.php and b/Ces/metadata/V1/Omnichannel.php differ diff --git a/Ces/metadata/V1/OmnichannelService.php b/Ces/metadata/V1/OmnichannelService.php index fd19f39fd370..48a94b0dd4df 100644 --- a/Ces/metadata/V1/OmnichannelService.php +++ b/Ces/metadata/V1/OmnichannelService.php @@ -20,15 +20,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - --google/cloud/ces/v1/omnichannel_service.protogoogle.cloud.ces.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/timestamp.proto" -OmnichannelOperationMetadata4 - create_time ( 2.google.protobuf.TimestampBA1 -end_time ( 2.google.protobuf.TimestampBA -status_message ( BA# -requested_cancellation (BAB_ -com.google.cloud.ces.v1BOmnichannelServiceProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xEF\x03\x0A-google/cloud/ces/v1/omnichannel_service.proto\x12\x13google.cloud.ces.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xC9\x01\x0A\x1COmnichannelOperationMetadata\x124\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1B\x0A\x0Estatus_message\x18\x03 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x16requested_cancellation\x18\x04 \x01(\x08B\x03\xE0A\x03B_\x0A\x17com.google.cloud.ces.v1B\x17OmnichannelServiceProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/OpenApiTool.php b/Ces/metadata/V1/OpenApiTool.php index afb42e534a05..6e3345ecb9d7 100644 --- a/Ces/metadata/V1/OpenApiTool.php +++ b/Ces/metadata/V1/OpenApiTool.php @@ -18,20 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Ces\V1\Auth::initOnce(); \GPBMetadata\Google\Cloud\Ces\V1\Common::initOnce(); $pool->internalAddGeneratedFile( - ' - -\'google/cloud/ces/v1/open_api_tool.protogoogle.cloud.ces.v1google/cloud/ces/v1/auth.proto google/cloud/ces/v1/common.proto" - OpenApiTool -open_api_schema ( BA -name ( BA - description ( BAG -api_authentication ( 2&.google.cloud.ces.v1.ApiAuthenticationBA7 - -tls_config ( 2.google.cloud.ces.v1.TlsConfigBAR -service_directory_config ( 2+.google.cloud.ces.v1.ServiceDirectoryConfigBA" -ignore_unknown_fields (BA -url ( BABX -com.google.cloud.ces.v1BOpenApiToolProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xC9\x04\x0A'google/cloud/ces/v1/open_api_tool.proto\x12\x13google.cloud.ces.v1\x1A\x1Egoogle/cloud/ces/v1/auth.proto\x1A google/cloud/ces/v1/common.proto\"\xE4\x02\x0A\x0BOpenApiTool\x12\x1C\x0A\x0Fopen_api_schema\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04name\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12G\x0A\x12api_authentication\x18\x04 \x01(\x0B2&.google.cloud.ces.v1.ApiAuthenticationB\x03\xE0A\x01\x127\x0A\x0Atls_config\x18\x05 \x01(\x0B2\x1E.google.cloud.ces.v1.TlsConfigB\x03\xE0A\x01\x12R\x0A\x18service_directory_config\x18\x06 \x01(\x0B2+.google.cloud.ces.v1.ServiceDirectoryConfigB\x03\xE0A\x01\x12\"\x0A\x15ignore_unknown_fields\x18\x07 \x01(\x08B\x03\xE0A\x01\x12\x10\x0A\x03url\x18\x08 \x01(\x09B\x03\xE0A\x01BX\x0A\x17com.google.cloud.ces.v1B\x10OpenApiToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/OpenApiToolset.php b/Ces/metadata/V1/OpenApiToolset.php index 1b01615ce90f..5ade1f020a90 100644 --- a/Ces/metadata/V1/OpenApiToolset.php +++ b/Ces/metadata/V1/OpenApiToolset.php @@ -18,18 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Ces\V1\Auth::initOnce(); \GPBMetadata\Google\Cloud\Ces\V1\Common::initOnce(); $pool->internalAddGeneratedFile( - ' - -*google/cloud/ces/v1/open_api_toolset.protogoogle.cloud.ces.v1google/cloud/ces/v1/auth.proto google/cloud/ces/v1/common.proto" -OpenApiToolset -open_api_schema ( BAG -api_authentication ( 2&.google.cloud.ces.v1.ApiAuthenticationBA7 - -tls_config ( 2.google.cloud.ces.v1.TlsConfigBAR -service_directory_config ( 2+.google.cloud.ces.v1.ServiceDirectoryConfigBA" -ignore_unknown_fields (BA -url ( BAB[ -com.google.cloud.ces.v1BOpenApiToolsetProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xA5\x04\x0A*google/cloud/ces/v1/open_api_toolset.proto\x12\x13google.cloud.ces.v1\x1A\x1Egoogle/cloud/ces/v1/auth.proto\x1A google/cloud/ces/v1/common.proto\"\xBA\x02\x0A\x0EOpenApiToolset\x12\x1C\x0A\x0Fopen_api_schema\x18\x01 \x01(\x09B\x03\xE0A\x02\x12G\x0A\x12api_authentication\x18\x02 \x01(\x0B2&.google.cloud.ces.v1.ApiAuthenticationB\x03\xE0A\x01\x127\x0A\x0Atls_config\x18\x03 \x01(\x0B2\x1E.google.cloud.ces.v1.TlsConfigB\x03\xE0A\x01\x12R\x0A\x18service_directory_config\x18\x04 \x01(\x0B2+.google.cloud.ces.v1.ServiceDirectoryConfigB\x03\xE0A\x01\x12\"\x0A\x15ignore_unknown_fields\x18\x05 \x01(\x08B\x03\xE0A\x01\x12\x10\x0A\x03url\x18\x06 \x01(\x09B\x03\xE0A\x01B[\x0A\x17com.google.cloud.ces.v1B\x13OpenApiToolsetProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/PythonFunction.php b/Ces/metadata/V1/PythonFunction.php index 53300a1b4338..a393a52f5d78 100644 --- a/Ces/metadata/V1/PythonFunction.php +++ b/Ces/metadata/V1/PythonFunction.php @@ -16,14 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - ' - -)google/cloud/ces/v1/python_function.protogoogle.cloud.ces.v1"W -PythonFunction -name ( BA - python_code ( BA - description ( BAB[ -com.google.cloud.ces.v1BPythonFunctionProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xFE\x01\x0A)google/cloud/ces/v1/python_function.proto\x12\x13google.cloud.ces.v1\"W\x0A\x0EPythonFunction\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bpython_code\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x03B[\x0A\x17com.google.cloud.ces.v1B\x13PythonFunctionProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Schema.php b/Ces/metadata/V1/Schema.php index e40558a7b516..789a71cf76f4 100644 Binary files a/Ces/metadata/V1/Schema.php and b/Ces/metadata/V1/Schema.php differ diff --git a/Ces/metadata/V1/SearchSuggestions.php b/Ces/metadata/V1/SearchSuggestions.php index d8989d764eba..51f30054cbc0 100644 --- a/Ces/metadata/V1/SearchSuggestions.php +++ b/Ces/metadata/V1/SearchSuggestions.php @@ -15,16 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -,google/cloud/ces/v1/search_suggestions.protogoogle.cloud.ces.v1"i -GoogleSearchSuggestions -htmls ( ? -web_search_queries ( 2#.google.cloud.ces.v1.WebSearchQuery", -WebSearchQuery -query (  -uri ( B^ -com.google.cloud.ces.v1BSearchSuggestionsProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xC4\x02\x0A,google/cloud/ces/v1/search_suggestions.proto\x12\x13google.cloud.ces.v1\"i\x0A\x17GoogleSearchSuggestions\x12\x0D\x0A\x05htmls\x18\x01 \x03(\x09\x12?\x0A\x12web_search_queries\x18\x02 \x03(\x0B2#.google.cloud.ces.v1.WebSearchQuery\",\x0A\x0EWebSearchQuery\x12\x0D\x0A\x05query\x18\x01 \x01(\x09\x12\x0B\x0A\x03uri\x18\x02 \x01(\x09B^\x0A\x17com.google.cloud.ces.v1B\x16SearchSuggestionsProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/SessionService.php b/Ces/metadata/V1/SessionService.php index 6dc98639ea78..630d0632922e 100644 Binary files a/Ces/metadata/V1/SessionService.php and b/Ces/metadata/V1/SessionService.php differ diff --git a/Ces/metadata/V1/SystemTool.php b/Ces/metadata/V1/SystemTool.php index e18f43916f6c..c7df8ac642fa 100644 --- a/Ces/metadata/V1/SystemTool.php +++ b/Ces/metadata/V1/SystemTool.php @@ -16,14 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - ' - -%google/cloud/ces/v1/system_tool.protogoogle.cloud.ces.v1"9 - -SystemTool -name ( BA - description ( BABW -com.google.cloud.ces.v1BSystemToolProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xD8\x01\x0A%google/cloud/ces/v1/system_tool.proto\x12\x13google.cloud.ces.v1\"9\x0A\x0ASystemTool\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x03BW\x0A\x17com.google.cloud.ces.v1B\x0FSystemToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/Tool.php b/Ces/metadata/V1/Tool.php index 37d3e3b174ea..e5a4ccab80f9 100644 Binary files a/Ces/metadata/V1/Tool.php and b/Ces/metadata/V1/Tool.php differ diff --git a/Ces/metadata/V1/ToolService.php b/Ces/metadata/V1/ToolService.php index 2674d5a2e4c5..c39cacdad206 100644 Binary files a/Ces/metadata/V1/ToolService.php and b/Ces/metadata/V1/ToolService.php differ diff --git a/Ces/metadata/V1/Toolset.php b/Ces/metadata/V1/Toolset.php index 78f8c7ec3f78..d60d2a581c73 100644 Binary files a/Ces/metadata/V1/Toolset.php and b/Ces/metadata/V1/Toolset.php differ diff --git a/Ces/metadata/V1/ToolsetTool.php b/Ces/metadata/V1/ToolsetTool.php index fdf2663c466a..54c3fed8e780 100644 --- a/Ces/metadata/V1/ToolsetTool.php +++ b/Ces/metadata/V1/ToolsetTool.php @@ -17,14 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - -&google/cloud/ces/v1/toolset_tool.protogoogle.cloud.ces.v1google/api/resource.proto"X - ToolsetTool3 -toolset ( B"AA -ces.googleapis.com/Toolset -tool_id ( BABX -com.google.cloud.ces.v1BToolsetToolProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\x94\x02\x0A&google/cloud/ces/v1/toolset_tool.proto\x12\x13google.cloud.ces.v1\x1A\x19google/api/resource.proto\"X\x0A\x0BToolsetTool\x123\x0A\x07toolset\x18\x01 \x01(\x09B\"\xE0A\x02\xFAA\x1C\x0A\x1Aces.googleapis.com/Toolset\x12\x14\x0A\x07tool_id\x18\x03 \x01(\x09B\x03\xE0A\x01BX\x0A\x17com.google.cloud.ces.v1B\x10ToolsetToolProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/WidgetService.php b/Ces/metadata/V1/WidgetService.php index 252ff5056e21..3d3b3febfedc 100644 --- a/Ces/metadata/V1/WidgetService.php +++ b/Ces/metadata/V1/WidgetService.php @@ -20,23 +20,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -(google/cloud/ces/v1/widget_service.protogoogle.cloud.ces.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/timestamp.proto" -GenerateChatTokenRequest0 -name ( B"AA -ces.googleapis.com/Session9 - -deployment ( B%AA -ces.googleapis.com/Deployment -recaptcha_token ( BA"` -GenerateChatTokenResponse - -chat_token ( / - expire_time ( 2.google.protobuf.Timestamp2 - WidgetService -GenerateChatToken-.google.cloud.ces.v1.GenerateChatTokenRequest..google.cloud.ces.v1.GenerateChatTokenResponse"PJ"E/v1/{name=projects/*/locations/*/apps/*/sessions/*}:generateChatToken:*jAces.googleapis.comARhttps://www.googleapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformBZ -com.google.cloud.ces.v1BWidgetServiceProtoPZ)cloud.google.com/go/ces/apiv1/cespb;cespbbproto3' + "\x0A\xE8\x06\x0A(google/cloud/ces/v1/widget_service.proto\x12\x13google.cloud.ces.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA5\x01\x0A\x18GenerateChatTokenRequest\x120\x0A\x04name\x18\x01 \x01(\x09B\"\xE0A\x02\xFAA\x1C\x0A\x1Aces.googleapis.com/Session\x129\x0A\x0Adeployment\x18\x02 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dces.googleapis.com/Deployment\x12\x1C\x0A\x0Frecaptcha_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"`\x0A\x19GenerateChatTokenResponse\x12\x12\x0A\x0Achat_token\x18\x01 \x01(\x09\x12/\x0A\x0Bexpire_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp2\xC2\x02\x0A\x0DWidgetService\x12\xC4\x01\x0A\x11GenerateChatToken\x12-.google.cloud.ces.v1.GenerateChatTokenRequest\x1A..google.cloud.ces.v1.GenerateChatTokenResponse\"P\x82\xD3\xE4\x93\x02J\"E/v1/{name=projects/*/locations/*/apps/*/sessions/*}:generateChatToken:\x01*\x1Aj\xCAA\x12ces.googleapis.com\xD2ARhttps://www.googleapis.com/auth/ces,https://www.googleapis.com/auth/cloud-platformBZ\x0A\x17com.google.cloud.ces.v1B\x12WidgetServiceProtoP\x01Z)cloud.google.com/go/ces/apiv1/cespb;cespbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Ces/metadata/V1/WidgetTool.php b/Ces/metadata/V1/WidgetTool.php index 3ca159dbfef2..dbbcf92b757a 100644 Binary files a/Ces/metadata/V1/WidgetTool.php and b/Ces/metadata/V1/WidgetTool.php differ diff --git a/Ces/src/V1/Action.php b/Ces/src/V1/Action.php index dacf1eec8e77..75aa52f873eb 100644 --- a/Ces/src/V1/Action.php +++ b/Ces/src/V1/Action.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of an Action for the tool to use. @@ -44,10 +44,10 @@ class Action extends \Google\Protobuf\Internal\Message * ID of a Connection action for the tool to use. * @type \Google\Cloud\Ces\V1\Action\EntityOperation $entity_operation * Entity operation configuration for the tool to use. - * @type array|\Google\Protobuf\Internal\RepeatedField $input_fields + * @type string[] $input_fields * Optional. Entity fields to use as inputs for the operation. * If no fields are specified, all fields of the Entity will be used. - * @type array|\Google\Protobuf\Internal\RepeatedField $output_fields + * @type string[] $output_fields * Optional. Entity fields to return from the operation. * If no fields are specified, all fields of the Entity will be returned. * } @@ -124,7 +124,7 @@ public function setEntityOperation($var) * If no fields are specified, all fields of the Entity will be used. * * Generated from protobuf field repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getInputFields() { @@ -136,7 +136,7 @@ public function getInputFields() * If no fields are specified, all fields of the Entity will be used. * * Generated from protobuf field repeated string input_fields = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setInputFields($var) @@ -152,7 +152,7 @@ public function setInputFields($var) * If no fields are specified, all fields of the Entity will be returned. * * Generated from protobuf field repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getOutputFields() { @@ -164,7 +164,7 @@ public function getOutputFields() * If no fields are specified, all fields of the Entity will be returned. * * Generated from protobuf field repeated string output_fields = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setOutputFields($var) diff --git a/Ces/src/V1/Action/EntityOperation.php b/Ces/src/V1/Action/EntityOperation.php index 77c419003134..e241054cfb89 100644 --- a/Ces/src/V1/Action/EntityOperation.php +++ b/Ces/src/V1/Action/EntityOperation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Entity CRUD operation specification. @@ -99,4 +99,3 @@ public function setOperation($var) } - diff --git a/Ces/src/V1/Action/EntityOperation/OperationType.php b/Ces/src/V1/Action/EntityOperation/OperationType.php index a9c24f269c86..cc074481302d 100644 --- a/Ces/src/V1/Action/EntityOperation/OperationType.php +++ b/Ces/src/V1/Action/EntityOperation/OperationType.php @@ -85,4 +85,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Agent.php b/Ces/src/V1/Agent.php index 9fe2e5ec73a4..c53b6da2e13f 100644 --- a/Ces/src/V1/Agent.php +++ b/Ces/src/V1/Agent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An agent acts as the fundamental building block that provides instructions to @@ -184,7 +184,7 @@ class Agent extends \Google\Protobuf\Internal\Message * agent level properties will be ignored. * Note: If the Dialogflow agent is in a different project from the app, you * should grant `roles/dialogflow.client` to the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * @type string $name * Identifier. The unique identifier of the agent. * Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}` @@ -196,41 +196,41 @@ class Agent extends \Google\Protobuf\Internal\Message * Optional. Configurations for the LLM model. * @type string $instruction * Optional. Instructions for the LLM model to guide the agent's behavior. - * @type array|\Google\Protobuf\Internal\RepeatedField $tools + * @type string[] $tools * Optional. List of available tools for the agent. * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` - * @type array|\Google\Protobuf\Internal\RepeatedField $child_agents + * @type string[] $child_agents * Optional. List of child agents in the agent tree. * Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}` - * @type array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $before_agent_callbacks + * @type \Google\Cloud\Ces\V1\Callback[] $before_agent_callbacks * Optional. The callbacks to execute before the agent is called. * The provided callbacks are executed sequentially in the exact order they * are given in the list. If a callback returns an overridden response, * execution stops and any remaining callbacks are skipped. - * @type array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $after_agent_callbacks + * @type \Google\Cloud\Ces\V1\Callback[] $after_agent_callbacks * Optional. The callbacks to execute after the agent is called. * The provided callbacks are executed sequentially in the exact order they * are given in the list. If a callback returns an overridden response, * execution stops and any remaining callbacks are skipped. - * @type array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $before_model_callbacks + * @type \Google\Cloud\Ces\V1\Callback[] $before_model_callbacks * Optional. The callbacks to execute before the model is called. If there are * multiple calls to the model, the callback will be executed multiple times. * The provided callbacks are executed sequentially in the exact order they * are given in the list. If a callback returns an overridden response, * execution stops and any remaining callbacks are skipped. - * @type array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $after_model_callbacks + * @type \Google\Cloud\Ces\V1\Callback[] $after_model_callbacks * Optional. The callbacks to execute after the model is called. If there are * multiple calls to the model, the callback will be executed multiple times. * The provided callbacks are executed sequentially in the exact order they * are given in the list. If a callback returns an overridden response, * execution stops and any remaining callbacks are skipped. - * @type array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $before_tool_callbacks + * @type \Google\Cloud\Ces\V1\Callback[] $before_tool_callbacks * Optional. The callbacks to execute before the tool is invoked. If there are * multiple tool invocations, the callback will be executed multiple times. * The provided callbacks are executed sequentially in the exact order they * are given in the list. If a callback returns an overridden response, * execution stops and any remaining callbacks are skipped. - * @type array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $after_tool_callbacks + * @type \Google\Cloud\Ces\V1\Callback[] $after_tool_callbacks * Optional. The callbacks to execute after the tool is invoked. If there are * multiple tool invocations, the callback will be executed multiple times. * The provided callbacks are executed sequentially in the exact order they @@ -240,7 +240,7 @@ class Agent extends \Google\Protobuf\Internal\Message * Output only. Timestamp when the agent was created. * @type \Google\Protobuf\Timestamp $update_time * Output only. Timestamp when the agent was last updated. - * @type array|\Google\Protobuf\Internal\RepeatedField $guardrails + * @type string[] $guardrails * Optional. List of guardrails for the agent. * Format: * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}` @@ -248,12 +248,12 @@ class Agent extends \Google\Protobuf\Internal\Message * Etag used to ensure the object hasn't changed during a read-modify-write * operation. If the etag is empty, the update will overwrite any concurrent * changes. - * @type array<\Google\Cloud\Ces\V1\Agent\AgentToolset>|\Google\Protobuf\Internal\RepeatedField $toolsets + * @type \Google\Cloud\Ces\V1\Agent\AgentToolset[] $toolsets * Optional. List of toolsets for the agent. * @type string $generated_summary * Output only. If the agent is generated by the LLM assistant, this field * contains a descriptive summary of the generation. - * @type array<\Google\Cloud\Ces\V1\TransferRule>|\Google\Protobuf\Internal\RepeatedField $transfer_rules + * @type \Google\Cloud\Ces\V1\TransferRule[] $transfer_rules * Optional. Agent transfer rules. * If multiple rules match, the first one in the list will be used. * } @@ -301,7 +301,7 @@ public function setLlmAgent($var) * agent level properties will be ignored. * Note: If the Dialogflow agent is in a different project from the app, you * should grant `roles/dialogflow.client` to the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field .google.cloud.ces.v1.Agent.RemoteDialogflowAgent remote_dialogflow_agent = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Cloud\Ces\V1\Agent\RemoteDialogflowAgent|null @@ -323,7 +323,7 @@ public function hasRemoteDialogflowAgent() * agent level properties will be ignored. * Note: If the Dialogflow agent is in a different project from the app, you * should grant `roles/dialogflow.client` to the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field .google.cloud.ces.v1.Agent.RemoteDialogflowAgent remote_dialogflow_agent = 27 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Cloud\Ces\V1\Agent\RemoteDialogflowAgent $var @@ -484,7 +484,7 @@ public function setInstruction($var) * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` * * Generated from protobuf field repeated string tools = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTools() { @@ -496,7 +496,7 @@ public function getTools() * Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` * * Generated from protobuf field repeated string tools = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTools($var) @@ -512,7 +512,7 @@ public function setTools($var) * Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}` * * Generated from protobuf field repeated string child_agents = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getChildAgents() { @@ -524,7 +524,7 @@ public function getChildAgents() * Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}` * * Generated from protobuf field repeated string child_agents = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setChildAgents($var) @@ -542,7 +542,7 @@ public function setChildAgents($var) * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback before_agent_callbacks = 18 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Callback> */ public function getBeforeAgentCallbacks() { @@ -556,7 +556,7 @@ public function getBeforeAgentCallbacks() * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback before_agent_callbacks = 18 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Callback[] $var * @return $this */ public function setBeforeAgentCallbacks($var) @@ -574,7 +574,7 @@ public function setBeforeAgentCallbacks($var) * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback after_agent_callbacks = 19 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Callback> */ public function getAfterAgentCallbacks() { @@ -588,7 +588,7 @@ public function getAfterAgentCallbacks() * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback after_agent_callbacks = 19 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Callback[] $var * @return $this */ public function setAfterAgentCallbacks($var) @@ -607,7 +607,7 @@ public function setAfterAgentCallbacks($var) * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback before_model_callbacks = 20 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Callback> */ public function getBeforeModelCallbacks() { @@ -622,7 +622,7 @@ public function getBeforeModelCallbacks() * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback before_model_callbacks = 20 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Callback[] $var * @return $this */ public function setBeforeModelCallbacks($var) @@ -641,7 +641,7 @@ public function setBeforeModelCallbacks($var) * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback after_model_callbacks = 21 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Callback> */ public function getAfterModelCallbacks() { @@ -656,7 +656,7 @@ public function getAfterModelCallbacks() * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback after_model_callbacks = 21 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Callback[] $var * @return $this */ public function setAfterModelCallbacks($var) @@ -675,7 +675,7 @@ public function setAfterModelCallbacks($var) * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback before_tool_callbacks = 22 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Callback> */ public function getBeforeToolCallbacks() { @@ -690,7 +690,7 @@ public function getBeforeToolCallbacks() * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback before_tool_callbacks = 22 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Callback[] $var * @return $this */ public function setBeforeToolCallbacks($var) @@ -709,7 +709,7 @@ public function setBeforeToolCallbacks($var) * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback after_tool_callbacks = 23 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Callback> */ public function getAfterToolCallbacks() { @@ -724,7 +724,7 @@ public function getAfterToolCallbacks() * execution stops and any remaining callbacks are skipped. * * Generated from protobuf field repeated .google.cloud.ces.v1.Callback after_tool_callbacks = 23 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Callback>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Callback[] $var * @return $this */ public function setAfterToolCallbacks($var) @@ -813,7 +813,7 @@ public function setUpdateTime($var) * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}` * * Generated from protobuf field repeated string guardrails = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getGuardrails() { @@ -826,7 +826,7 @@ public function getGuardrails() * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}` * * Generated from protobuf field repeated string guardrails = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setGuardrails($var) @@ -871,7 +871,7 @@ public function setEtag($var) * Optional. List of toolsets for the agent. * * Generated from protobuf field repeated .google.cloud.ces.v1.Agent.AgentToolset toolsets = 28 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Agent\AgentToolset> */ public function getToolsets() { @@ -882,7 +882,7 @@ public function getToolsets() * Optional. List of toolsets for the agent. * * Generated from protobuf field repeated .google.cloud.ces.v1.Agent.AgentToolset toolsets = 28 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Agent\AgentToolset>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Agent\AgentToolset[] $var * @return $this */ public function setToolsets($var) @@ -926,7 +926,7 @@ public function setGeneratedSummary($var) * If multiple rules match, the first one in the list will be used. * * Generated from protobuf field repeated .google.cloud.ces.v1.TransferRule transfer_rules = 30 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\TransferRule> */ public function getTransferRules() { @@ -938,7 +938,7 @@ public function getTransferRules() * If multiple rules match, the first one in the list will be used. * * Generated from protobuf field repeated .google.cloud.ces.v1.TransferRule transfer_rules = 30 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\TransferRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\TransferRule[] $var * @return $this */ public function setTransferRules($var) diff --git a/Ces/src/V1/Agent/AgentToolset.php b/Ces/src/V1/Agent/AgentToolset.php index e17b588e1e7f..45a03f3577c6 100644 --- a/Ces/src/V1/Agent/AgentToolset.php +++ b/Ces/src/V1/Agent/AgentToolset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Agent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A toolset with a selection of its tools. @@ -40,7 +40,7 @@ class AgentToolset extends \Google\Protobuf\Internal\Message * Required. The resource name of the toolset. * Format: * `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}` - * @type array|\Google\Protobuf\Internal\RepeatedField $tool_ids + * @type string[] $tool_ids * Optional. The tools IDs to filter the toolset. * } */ @@ -83,7 +83,7 @@ public function setToolset($var) * Optional. The tools IDs to filter the toolset. * * Generated from protobuf field repeated string tool_ids = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getToolIds() { @@ -94,7 +94,7 @@ public function getToolIds() * Optional. The tools IDs to filter the toolset. * * Generated from protobuf field repeated string tool_ids = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setToolIds($var) @@ -107,4 +107,3 @@ public function setToolIds($var) } - diff --git a/Ces/src/V1/Agent/LlmAgent.php b/Ces/src/V1/Agent/LlmAgent.php index 94806764b6b3..4a2e7dd6ff07 100644 --- a/Ces/src/V1/Agent/LlmAgent.php +++ b/Ces/src/V1/Agent/LlmAgent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Agent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Default agent type. The agent uses instructions and callbacks specified in @@ -32,4 +32,3 @@ public function __construct($data = NULL) { } - diff --git a/Ces/src/V1/Agent/RemoteDialogflowAgent.php b/Ces/src/V1/Agent/RemoteDialogflowAgent.php index 8c0f6ce2fb01..6113c8175b25 100644 --- a/Ces/src/V1/Agent/RemoteDialogflowAgent.php +++ b/Ces/src/V1/Agent/RemoteDialogflowAgent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Agent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The agent which will transfer execution to a remote @@ -296,4 +296,3 @@ public function setRespectResponseInterruptionSettings($var) } - diff --git a/Ces/src/V1/AgentTransfer.php b/Ces/src/V1/AgentTransfer.php index 43c6f40ecff2..1d36d5e07427 100644 --- a/Ces/src/V1/AgentTransfer.php +++ b/Ces/src/V1/AgentTransfer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an event indicating the transfer of a conversation to a different diff --git a/Ces/src/V1/AmbientSoundConfig.php b/Ces/src/V1/AmbientSoundConfig.php index c963066c8ad5..0d273082d215 100644 --- a/Ces/src/V1/AmbientSoundConfig.php +++ b/Ces/src/V1/AmbientSoundConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for the ambient sound to be played with the synthesized agent @@ -44,7 +44,7 @@ class AmbientSoundConfig extends \Google\Protobuf\Internal\Message * Optional. Ambient noise as a mono-channel, 16kHz WAV file stored in * [Cloud Storage](https://cloud.google.com/storage). * Note: Please make sure the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com` has + * `service-\@gcp-sa-ces.iam.gserviceaccount.com` has * `storage.objects.get` permission to the Cloud Storage object. * @type string $prebuilt_ambient_sound * Optional. Name of the prebuilt ambient sound. @@ -124,7 +124,7 @@ public function setPrebuiltAmbientNoise($var) * Optional. Ambient noise as a mono-channel, 16kHz WAV file stored in * [Cloud Storage](https://cloud.google.com/storage). * Note: Please make sure the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com` has + * `service-\@gcp-sa-ces.iam.gserviceaccount.com` has * `storage.objects.get` permission to the Cloud Storage object. * * Generated from protobuf field string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -144,7 +144,7 @@ public function hasGcsUri() * Optional. Ambient noise as a mono-channel, 16kHz WAV file stored in * [Cloud Storage](https://cloud.google.com/storage). * Note: Please make sure the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com` has + * `service-\@gcp-sa-ces.iam.gserviceaccount.com` has * `storage.objects.get` permission to the Cloud Storage object. * * Generated from protobuf field string gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/Ces/src/V1/AmbientSoundConfig/PrebuiltAmbientNoise.php b/Ces/src/V1/AmbientSoundConfig/PrebuiltAmbientNoise.php index 9d592f02ea83..39ccafb8237b 100644 --- a/Ces/src/V1/AmbientSoundConfig/PrebuiltAmbientNoise.php +++ b/Ces/src/V1/AmbientSoundConfig/PrebuiltAmbientNoise.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/ApiAuthentication.php b/Ces/src/V1/ApiAuthentication.php index e74be00d5c5e..f42d4131e448 100644 --- a/Ces/src/V1/ApiAuthentication.php +++ b/Ces/src/V1/ApiAuthentication.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Authentication information required for API calls. diff --git a/Ces/src/V1/ApiKeyConfig.php b/Ces/src/V1/ApiKeyConfig.php index 18ecf816a65f..f083a05b08c1 100644 --- a/Ces/src/V1/ApiKeyConfig.php +++ b/Ces/src/V1/ApiKeyConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for authentication with API key. @@ -28,7 +28,7 @@ class ApiKeyConfig extends \Google\Protobuf\Internal\Message * API key. Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string api_key_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -55,7 +55,7 @@ class ApiKeyConfig extends \Google\Protobuf\Internal\Message * API key. Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * @type int $request_location * Required. Key location in the request. * } @@ -100,7 +100,7 @@ public function setKeyName($var) * API key. Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string api_key_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -115,7 +115,7 @@ public function getApiKeySecretVersion() * API key. Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string api_key_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Ces/src/V1/ApiKeyConfig/RequestLocation.php b/Ces/src/V1/ApiKeyConfig/RequestLocation.php index 18235eb7b088..d6f4f5bf3c56 100644 --- a/Ces/src/V1/ApiKeyConfig/RequestLocation.php +++ b/Ces/src/V1/ApiKeyConfig/RequestLocation.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/App.php b/Ces/src/V1/App.php index 7245a26b6308..ea6639f3b3bb 100644 --- a/Ces/src/V1/App.php +++ b/Ces/src/V1/App.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An app serves as a top-level container for a group of agents, including the @@ -217,15 +217,15 @@ class App extends \Google\Protobuf\Internal\Message * default to PARALLEL. * @type \Google\Cloud\Ces\V1\EvaluationMetricsThresholds $evaluation_metrics_thresholds * Optional. The evaluation thresholds for the app. - * @type array<\Google\Cloud\Ces\V1\App\VariableDeclaration>|\Google\Protobuf\Internal\RepeatedField $variable_declarations + * @type \Google\Cloud\Ces\V1\App\VariableDeclaration[] $variable_declarations * Optional. The declarations of the variables. - * @type array<\Google\Cloud\Ces\V1\App\VariableDeclaration>|\Google\Protobuf\Internal\RepeatedField $predefined_variable_declarations + * @type \Google\Cloud\Ces\V1\App\VariableDeclaration[] $predefined_variable_declarations * Output only. The declarations of predefined variables for the app. * @type string $global_instruction * Optional. Instructions for all the agents in the app. * You can use this instruction to set up a stable identity or personality * across all the agents. - * @type array|\Google\Protobuf\Internal\RepeatedField $guardrails + * @type string[] $guardrails * Optional. List of guardrails for the app. * Format: * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}` @@ -644,7 +644,7 @@ public function setEvaluationMetricsThresholds($var) * Optional. The declarations of the variables. * * Generated from protobuf field repeated .google.cloud.ces.v1.App.VariableDeclaration variable_declarations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\App\VariableDeclaration> */ public function getVariableDeclarations() { @@ -655,7 +655,7 @@ public function getVariableDeclarations() * Optional. The declarations of the variables. * * Generated from protobuf field repeated .google.cloud.ces.v1.App.VariableDeclaration variable_declarations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\App\VariableDeclaration>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\App\VariableDeclaration[] $var * @return $this */ public function setVariableDeclarations($var) @@ -670,7 +670,7 @@ public function setVariableDeclarations($var) * Output only. The declarations of predefined variables for the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.App.VariableDeclaration predefined_variable_declarations = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\App\VariableDeclaration> */ public function getPredefinedVariableDeclarations() { @@ -681,7 +681,7 @@ public function getPredefinedVariableDeclarations() * Output only. The declarations of predefined variables for the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.App.VariableDeclaration predefined_variable_declarations = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Ces\V1\App\VariableDeclaration>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\App\VariableDeclaration[] $var * @return $this */ public function setPredefinedVariableDeclarations($var) @@ -728,7 +728,7 @@ public function setGlobalInstruction($var) * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}` * * Generated from protobuf field repeated string guardrails = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getGuardrails() { @@ -741,7 +741,7 @@ public function getGuardrails() * `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}` * * Generated from protobuf field repeated string guardrails = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setGuardrails($var) diff --git a/Ces/src/V1/App/ToolExecutionMode.php b/Ces/src/V1/App/ToolExecutionMode.php index 27c7c91aa1ec..60acc672e851 100644 --- a/Ces/src/V1/App/ToolExecutionMode.php +++ b/Ces/src/V1/App/ToolExecutionMode.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/App/VariableDeclaration.php b/Ces/src/V1/App/VariableDeclaration.php index 0793b686c9cd..938fe468655a 100644 --- a/Ces/src/V1/App/VariableDeclaration.php +++ b/Ces/src/V1/App/VariableDeclaration.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\App; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the structure and metadata for a variable. @@ -147,4 +147,3 @@ public function setSchema($var) } - diff --git a/Ces/src/V1/AppSnapshot.php b/Ces/src/V1/AppSnapshot.php index f92117426973..05247df79371 100644 --- a/Ces/src/V1/AppSnapshot.php +++ b/Ces/src/V1/AppSnapshot.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A snapshot of the app. @@ -60,15 +60,15 @@ class AppSnapshot extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Ces\V1\App $app * Optional. The basic settings for the app. - * @type array<\Google\Cloud\Ces\V1\Agent>|\Google\Protobuf\Internal\RepeatedField $agents + * @type \Google\Cloud\Ces\V1\Agent[] $agents * Optional. List of agents in the app. - * @type array<\Google\Cloud\Ces\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $tools + * @type \Google\Cloud\Ces\V1\Tool[] $tools * Optional. List of tools in the app. - * @type array<\Google\Cloud\Ces\V1\Example>|\Google\Protobuf\Internal\RepeatedField $examples + * @type \Google\Cloud\Ces\V1\Example[] $examples * Optional. List of examples in the app. - * @type array<\Google\Cloud\Ces\V1\Guardrail>|\Google\Protobuf\Internal\RepeatedField $guardrails + * @type \Google\Cloud\Ces\V1\Guardrail[] $guardrails * Optional. List of guardrails in the app. - * @type array<\Google\Cloud\Ces\V1\Toolset>|\Google\Protobuf\Internal\RepeatedField $toolsets + * @type \Google\Cloud\Ces\V1\Toolset[] $toolsets * Optional. List of toolsets in the app. * } */ @@ -117,7 +117,7 @@ public function setApp($var) * Optional. List of agents in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Agent> */ public function getAgents() { @@ -128,7 +128,7 @@ public function getAgents() * Optional. List of agents in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Agent agents = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Agent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Agent[] $var * @return $this */ public function setAgents($var) @@ -143,7 +143,7 @@ public function setAgents($var) * Optional. List of tools in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Tool> */ public function getTools() { @@ -154,7 +154,7 @@ public function getTools() * Optional. List of tools in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Tool[] $var * @return $this */ public function setTools($var) @@ -169,7 +169,7 @@ public function setTools($var) * Optional. List of examples in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Example> */ public function getExamples() { @@ -180,7 +180,7 @@ public function getExamples() * Optional. List of examples in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Example examples = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Example>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Example[] $var * @return $this */ public function setExamples($var) @@ -195,7 +195,7 @@ public function setExamples($var) * Optional. List of guardrails in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Guardrail> */ public function getGuardrails() { @@ -206,7 +206,7 @@ public function getGuardrails() * Optional. List of guardrails in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Guardrail guardrails = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Guardrail>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Guardrail[] $var * @return $this */ public function setGuardrails($var) @@ -221,7 +221,7 @@ public function setGuardrails($var) * Optional. List of toolsets in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Toolset> */ public function getToolsets() { @@ -232,7 +232,7 @@ public function getToolsets() * Optional. List of toolsets in the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.Toolset toolsets = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Toolset>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Toolset[] $var * @return $this */ public function setToolsets($var) diff --git a/Ces/src/V1/AppVersion.php b/Ces/src/V1/AppVersion.php index e315dd881bed..c6d4d1cf9ca9 100644 --- a/Ces/src/V1/AppVersion.php +++ b/Ces/src/V1/AppVersion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * In Customer Engagement Suite (CES), an app version is a snapshot of the app diff --git a/Ces/src/V1/AudioProcessingConfig.php b/Ces/src/V1/AudioProcessingConfig.php index cde73fcb67b1..4a1da541a84f 100644 --- a/Ces/src/V1/AudioProcessingConfig.php +++ b/Ces/src/V1/AudioProcessingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for how the input and output audio should be processed and diff --git a/Ces/src/V1/AudioRecordingConfig.php b/Ces/src/V1/AudioRecordingConfig.php index 6c26b359be8b..eb053e46943c 100644 --- a/Ces/src/V1/AudioRecordingConfig.php +++ b/Ces/src/V1/AudioRecordingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for how the audio interactions should be recorded. @@ -22,7 +22,7 @@ class AudioRecordingConfig extends \Google\Protobuf\Internal\Message * requirements. * Note: If the Cloud Storage bucket is in a different project from the app, * you should grant `storage.objects.create` permission to the CES service - * agent `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * agent `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -56,7 +56,7 @@ class AudioRecordingConfig extends \Google\Protobuf\Internal\Message * requirements. * Note: If the Cloud Storage bucket is in a different project from the app, * you should grant `storage.objects.create` permission to the CES service - * agent `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * agent `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * @type string $gcs_path_prefix * Optional. The Cloud Storage path prefix for audio recordings. * This prefix can include the following placeholders, which will be @@ -82,7 +82,7 @@ public function __construct($data = NULL) { * requirements. * Note: If the Cloud Storage bucket is in a different project from the app, * you should grant `storage.objects.create` permission to the CES service - * agent `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * agent `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -99,7 +99,7 @@ public function getGcsBucket() * requirements. * Note: If the Cloud Storage bucket is in a different project from the app, * you should grant `storage.objects.create` permission to the CES service - * agent `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * agent `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string gcs_bucket = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var diff --git a/Ces/src/V1/BargeInConfig.php b/Ces/src/V1/BargeInConfig.php index 5ec88f72cc96..fa29738c52c7 100644 --- a/Ces/src/V1/BargeInConfig.php +++ b/Ces/src/V1/BargeInConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for how the user barge-in activities should be handled. diff --git a/Ces/src/V1/BatchDeleteConversationsRequest.php b/Ces/src/V1/BatchDeleteConversationsRequest.php index 7dc7e4883010..258dc00b6913 100644 --- a/Ces/src/V1/BatchDeleteConversationsRequest.php +++ b/Ces/src/V1/BatchDeleteConversationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -57,7 +57,7 @@ public static function build(string $parent): self * Required. The resource name of the app to delete conversations from. * Format: * `projects/{project}/locations/{location}/apps/{app}` - * @type array|\Google\Protobuf\Internal\RepeatedField $conversations + * @type string[] $conversations * Required. The resource names of the conversations to delete. * } */ @@ -100,7 +100,7 @@ public function setParent($var) * Required. The resource names of the conversations to delete. * * Generated from protobuf field repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getConversations() { @@ -111,7 +111,7 @@ public function getConversations() * Required. The resource names of the conversations to delete. * * Generated from protobuf field repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setConversations($var) diff --git a/Ces/src/V1/BatchDeleteConversationsResponse.php b/Ces/src/V1/BatchDeleteConversationsResponse.php index 002490bd216e..2c2fdbf839c6 100644 --- a/Ces/src/V1/BatchDeleteConversationsResponse.php +++ b/Ces/src/V1/BatchDeleteConversationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -42,11 +42,11 @@ class BatchDeleteConversationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $deleted_conversations + * @type string[] $deleted_conversations * The list of conversations that were successfully deleted. - * @type array|\Google\Protobuf\Internal\RepeatedField $failed_conversations + * @type string[] $failed_conversations * The list of conversations that failed to be deleted. - * @type array|\Google\Protobuf\Internal\RepeatedField $error_messages + * @type string[] $error_messages * Optional. A list of error messages associated with conversations that * failed to be deleted. * } @@ -60,7 +60,7 @@ public function __construct($data = NULL) { * The list of conversations that were successfully deleted. * * Generated from protobuf field repeated string deleted_conversations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDeletedConversations() { @@ -71,7 +71,7 @@ public function getDeletedConversations() * The list of conversations that were successfully deleted. * * Generated from protobuf field repeated string deleted_conversations = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDeletedConversations($var) @@ -86,7 +86,7 @@ public function setDeletedConversations($var) * The list of conversations that failed to be deleted. * * Generated from protobuf field repeated string failed_conversations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFailedConversations() { @@ -97,7 +97,7 @@ public function getFailedConversations() * The list of conversations that failed to be deleted. * * Generated from protobuf field repeated string failed_conversations = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFailedConversations($var) @@ -113,7 +113,7 @@ public function setFailedConversations($var) * failed to be deleted. * * Generated from protobuf field repeated string error_messages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getErrorMessages() { @@ -125,7 +125,7 @@ public function getErrorMessages() * failed to be deleted. * * Generated from protobuf field repeated string error_messages = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setErrorMessages($var) diff --git a/Ces/src/V1/BearerTokenConfig.php b/Ces/src/V1/BearerTokenConfig.php index 479181bb2502..7f54faac69e8 100644 --- a/Ces/src/V1/BearerTokenConfig.php +++ b/Ces/src/V1/BearerTokenConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for authentication with a bearer token. diff --git a/Ces/src/V1/BidiSessionClientMessage.php b/Ces/src/V1/BidiSessionClientMessage.php index d418be69b0b0..20af399b7c2b 100644 --- a/Ces/src/V1/BidiSessionClientMessage.php +++ b/Ces/src/V1/BidiSessionClientMessage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The top-level message sent by the client for the diff --git a/Ces/src/V1/BidiSessionServerMessage.php b/Ces/src/V1/BidiSessionServerMessage.php index e69db46f65af..68b077993302 100644 --- a/Ces/src/V1/BidiSessionServerMessage.php +++ b/Ces/src/V1/BidiSessionServerMessage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The top-level message returned from diff --git a/Ces/src/V1/BigQueryExportSettings.php b/Ces/src/V1/BigQueryExportSettings.php index a3ddd60a736a..03fc8a891086 100644 --- a/Ces/src/V1/BigQueryExportSettings.php +++ b/Ces/src/V1/BigQueryExportSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings to describe the BigQuery export behaviors for the app. @@ -25,7 +25,7 @@ class BigQueryExportSettings extends \Google\Protobuf\Internal\Message * Optional. The project ID of the BigQuery dataset to export the data to. * Note: If the BigQuery dataset is in a different project from the app, * you should grant `roles/bigquery.admin` role to the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -49,7 +49,7 @@ class BigQueryExportSettings extends \Google\Protobuf\Internal\Message * Optional. The project ID of the BigQuery dataset to export the data to. * Note: If the BigQuery dataset is in a different project from the app, * you should grant `roles/bigquery.admin` role to the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * @type string $dataset * Optional. The BigQuery dataset to export the data to. * } @@ -89,7 +89,7 @@ public function setEnabled($var) * Optional. The project ID of the BigQuery dataset to export the data to. * Note: If the BigQuery dataset is in a different project from the app, * you should grant `roles/bigquery.admin` role to the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -103,7 +103,7 @@ public function getProject() * Optional. The project ID of the BigQuery dataset to export the data to. * Note: If the BigQuery dataset is in a different project from the app, * you should grant `roles/bigquery.admin` role to the CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var diff --git a/Ces/src/V1/Blob.php b/Ces/src/V1/Blob.php index 1ed50cf27baa..2c391107940f 100644 --- a/Ces/src/V1/Blob.php +++ b/Ces/src/V1/Blob.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a blob input or output in the conversation. diff --git a/Ces/src/V1/Callback.php b/Ces/src/V1/Callback.php index b7553f1b0220..84670e8371a5 100644 --- a/Ces/src/V1/Callback.php +++ b/Ces/src/V1/Callback.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A callback defines the custom logic to be executed at various stages of diff --git a/Ces/src/V1/Changelog.php b/Ces/src/V1/Changelog.php index f8a1913f3942..3b04340137c0 100644 --- a/Ces/src/V1/Changelog.php +++ b/Ces/src/V1/Changelog.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Changelogs represent a change made to the app or to an resource within the @@ -121,7 +121,7 @@ class Changelog extends \Google\Protobuf\Internal\Message * Output only. The original resource before the change. * @type \Google\Protobuf\Struct $new_resource * Output only. The new resource after the change. - * @type array<\Google\Protobuf\Struct>|\Google\Protobuf\Internal\RepeatedField $dependent_resources + * @type \Google\Protobuf\Struct[] $dependent_resources * Output only. The dependent resources that were changed. * @type \Google\Protobuf\Timestamp $create_time * Output only. The time when the change was made. @@ -400,7 +400,7 @@ public function setNewResource($var) * Output only. The dependent resources that were changed. * * Generated from protobuf field repeated .google.protobuf.Struct dependent_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Struct> */ public function getDependentResources() { @@ -411,7 +411,7 @@ public function getDependentResources() * Output only. The dependent resources that were changed. * * Generated from protobuf field repeated .google.protobuf.Struct dependent_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Protobuf\Struct>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Struct[] $var * @return $this */ public function setDependentResources($var) diff --git a/Ces/src/V1/ChannelProfile.php b/Ces/src/V1/ChannelProfile.php index 2b95dcf8cb86..ee215808e49b 100644 --- a/Ces/src/V1/ChannelProfile.php +++ b/Ces/src/V1/ChannelProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A ChannelProfile configures the agent's behavior for a specific communication diff --git a/Ces/src/V1/ChannelProfile/ChannelType.php b/Ces/src/V1/ChannelProfile/ChannelType.php index 337a0b492f03..9e90f8793b79 100644 --- a/Ces/src/V1/ChannelProfile/ChannelType.php +++ b/Ces/src/V1/ChannelProfile/ChannelType.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/ChannelProfile/PersonaProperty.php b/Ces/src/V1/ChannelProfile/PersonaProperty.php index bf42bdc4c0f3..298250f8c4ad 100644 --- a/Ces/src/V1/ChannelProfile/PersonaProperty.php +++ b/Ces/src/V1/ChannelProfile/PersonaProperty.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\ChannelProfile; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the persona property of a channel. @@ -65,4 +65,3 @@ public function setPersona($var) } - diff --git a/Ces/src/V1/ChannelProfile/PersonaProperty/Persona.php b/Ces/src/V1/ChannelProfile/PersonaProperty/Persona.php index d3c5d451a04f..9ca35b70b628 100644 --- a/Ces/src/V1/ChannelProfile/PersonaProperty/Persona.php +++ b/Ces/src/V1/ChannelProfile/PersonaProperty/Persona.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/ChannelProfile/WebWidgetConfig.php b/Ces/src/V1/ChannelProfile/WebWidgetConfig.php index b0b9fe7d8f29..56bfede2452d 100644 --- a/Ces/src/V1/ChannelProfile/WebWidgetConfig.php +++ b/Ces/src/V1/ChannelProfile/WebWidgetConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\ChannelProfile; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for configuration for the web widget. @@ -177,4 +177,3 @@ public function setSecuritySettings($var) } - diff --git a/Ces/src/V1/ChannelProfile/WebWidgetConfig/Modality.php b/Ces/src/V1/ChannelProfile/WebWidgetConfig/Modality.php index 2cf2c9e3c6d2..b74b62a16b40 100644 --- a/Ces/src/V1/ChannelProfile/WebWidgetConfig/Modality.php +++ b/Ces/src/V1/ChannelProfile/WebWidgetConfig/Modality.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/ChannelProfile/WebWidgetConfig/SecuritySettings.php b/Ces/src/V1/ChannelProfile/WebWidgetConfig/SecuritySettings.php index c197559ca79e..18f0fa5976f3 100644 --- a/Ces/src/V1/ChannelProfile/WebWidgetConfig/SecuritySettings.php +++ b/Ces/src/V1/ChannelProfile/WebWidgetConfig/SecuritySettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\ChannelProfile\WebWidgetConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Security settings for the web widget. @@ -67,7 +67,7 @@ class SecuritySettings extends \Google\Protobuf\Internal\Message * If `true`, the web widget will check the origin of the website that * loads the web widget and only allow it to be loaded in the same origin * or any of the allowed origins. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_origins + * @type string[] $allowed_origins * Optional. The origins that are allowed to host the web widget. An * origin is defined by RFC 6454. If empty, all origins are allowed. A * maximum of 100 origins is allowed. Example: "https://example.com" @@ -153,7 +153,7 @@ public function setEnableOriginCheck($var) * maximum of 100 origins is allowed. Example: "https://example.com" * * Generated from protobuf field repeated string allowed_origins = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAllowedOrigins() { @@ -166,7 +166,7 @@ public function getAllowedOrigins() * maximum of 100 origins is allowed. Example: "https://example.com" * * Generated from protobuf field repeated string allowed_origins = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAllowedOrigins($var) @@ -207,4 +207,3 @@ public function setEnableRecaptcha($var) } - diff --git a/Ces/src/V1/ChannelProfile/WebWidgetConfig/Theme.php b/Ces/src/V1/ChannelProfile/WebWidgetConfig/Theme.php index 91eaa1788771..f540ba190873 100644 --- a/Ces/src/V1/ChannelProfile/WebWidgetConfig/Theme.php +++ b/Ces/src/V1/ChannelProfile/WebWidgetConfig/Theme.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Chunk.php b/Ces/src/V1/Chunk.php index 55b0fa4b4c8f..dce7a5de8356 100644 --- a/Ces/src/V1/Chunk.php +++ b/Ces/src/V1/Chunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A chunk of content within a message. diff --git a/Ces/src/V1/Citations.php b/Ces/src/V1/Citations.php index f9f5ece87243..de92f4582824 100644 --- a/Ces/src/V1/Citations.php +++ b/Ces/src/V1/Citations.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Citations associated with the agent response. @@ -28,7 +28,7 @@ class Citations extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Citations\CitedChunk>|\Google\Protobuf\Internal\RepeatedField $cited_chunks + * @type \Google\Cloud\Ces\V1\Citations\CitedChunk[] $cited_chunks * List of cited pieces of information. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * List of cited pieces of information. * * Generated from protobuf field repeated .google.cloud.ces.v1.Citations.CitedChunk cited_chunks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Citations\CitedChunk> */ public function getCitedChunks() { @@ -52,7 +52,7 @@ public function getCitedChunks() * List of cited pieces of information. * * Generated from protobuf field repeated .google.cloud.ces.v1.Citations.CitedChunk cited_chunks = 1; - * @param array<\Google\Cloud\Ces\V1\Citations\CitedChunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Citations\CitedChunk[] $var * @return $this */ public function setCitedChunks($var) diff --git a/Ces/src/V1/Citations/CitedChunk.php b/Ces/src/V1/Citations/CitedChunk.php index 373fda701c16..4e20410571aa 100644 --- a/Ces/src/V1/Citations/CitedChunk.php +++ b/Ces/src/V1/Citations/CitedChunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Citations; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Piece of cited information. @@ -133,4 +133,3 @@ public function setText($var) } - diff --git a/Ces/src/V1/ClientCertificateSettings.php b/Ces/src/V1/ClientCertificateSettings.php index e9d35a51ba56..4f9a3cd4cdaa 100644 --- a/Ces/src/V1/ClientCertificateSettings.php +++ b/Ces/src/V1/ClientCertificateSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for custom client certificates. diff --git a/Ces/src/V1/ClientFunction.php b/Ces/src/V1/ClientFunction.php index 9c10a73b080a..98aeaa19b885 100644 --- a/Ces/src/V1/ClientFunction.php +++ b/Ces/src/V1/ClientFunction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a client-side function that the agent can invoke. When the diff --git a/Ces/src/V1/CloudLoggingSettings.php b/Ces/src/V1/CloudLoggingSettings.php index 8d2203afc14f..7e9462dd4e24 100644 --- a/Ces/src/V1/CloudLoggingSettings.php +++ b/Ces/src/V1/CloudLoggingSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings to describe the Cloud Logging behaviors for the app. diff --git a/Ces/src/V1/CodeBlock.php b/Ces/src/V1/CodeBlock.php index 611b179e2726..edc689cf2682 100644 --- a/Ces/src/V1/CodeBlock.php +++ b/Ces/src/V1/CodeBlock.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A code block to be executed instead of a real tool call. diff --git a/Ces/src/V1/ConnectorTool.php b/Ces/src/V1/ConnectorTool.php index bb841d91008e..e5d44bee623a 100644 --- a/Ces/src/V1/ConnectorTool.php +++ b/Ces/src/V1/ConnectorTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A ConnectorTool allows connections to different integrations. diff --git a/Ces/src/V1/ConnectorToolset.php b/Ces/src/V1/ConnectorToolset.php index e0e4350a5f04..b75b67f672d8 100644 --- a/Ces/src/V1/ConnectorToolset.php +++ b/Ces/src/V1/ConnectorToolset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A toolset that generates tools from an Integration Connectors Connection. @@ -65,7 +65,7 @@ class ConnectorToolset extends \Google\Protobuf\Internal\Message * order to specify an EUC configuration here - otherwise, the Toolset * creation will fail. See: * https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override - * @type array<\Google\Cloud\Ces\V1\Action>|\Google\Protobuf\Internal\RepeatedField $connector_actions + * @type \Google\Cloud\Ces\V1\Action[] $connector_actions * Required. The list of connector actions/entity operations to generate tools * for. * } @@ -162,7 +162,7 @@ public function setAuthConfig($var) * for. * * Generated from protobuf field repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Action> */ public function getConnectorActions() { @@ -174,7 +174,7 @@ public function getConnectorActions() * for. * * Generated from protobuf field repeated .google.cloud.ces.v1.Action connector_actions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\Action>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Action[] $var * @return $this */ public function setConnectorActions($var) diff --git a/Ces/src/V1/Conversation.php b/Ces/src/V1/Conversation.php index ee4bbf65f4df..93006f3ec573 100644 --- a/Ces/src/V1/Conversation.php +++ b/Ces/src/V1/Conversation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A conversation represents an interaction between an end user and the CES app. @@ -119,7 +119,7 @@ class Conversation extends \Google\Protobuf\Internal\Message * Output only. Timestamp when the conversation was created. * @type \Google\Protobuf\Timestamp $end_time * Output only. Timestamp when the conversation was completed. - * @type array<\Google\Cloud\Ces\V1\Conversation\Turn>|\Google\Protobuf\Internal\RepeatedField $turns + * @type \Google\Cloud\Ces\V1\Conversation\Turn[] $turns * Required. The turns in the conversation. * @type int $turn_count * Output only. The number of turns in the conversation. @@ -128,7 +128,7 @@ class Conversation extends \Google\Protobuf\Internal\Message * [input_types][google.cloud.ces.v1.Conversation.input_types] instead. * @type int $source * Output only. Indicate the source of the conversation. - * @type array|\Google\Protobuf\Internal\RepeatedField $input_types + * @type int[] $input_types * Output only. The input types of the conversation. * @type string $entry_agent * Output only. The agent that initially handles the conversation. If not @@ -144,7 +144,7 @@ class Conversation extends \Google\Protobuf\Internal\Message * `projects/{project}/locations/{location}/apps/{app}/versions/{version}` * @type string $language_code * Output only. The language code of the conversation. - * @type array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $messages + * @type \Google\Cloud\Ces\V1\Message[] $messages * Deprecated. Use turns instead. * } */ @@ -259,7 +259,7 @@ public function setEndTime($var) * Required. The turns in the conversation. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation.Turn turns = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Conversation\Turn> */ public function getTurns() { @@ -270,7 +270,7 @@ public function getTurns() * Required. The turns in the conversation. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation.Turn turns = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\Conversation\Turn>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Conversation\Turn[] $var * @return $this */ public function setTurns($var) @@ -371,7 +371,7 @@ public function setSource($var) * Output only. The input types of the conversation. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation.InputType input_types = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getInputTypes() { @@ -382,7 +382,7 @@ public function getInputTypes() * Output only. The input types of the conversation. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation.InputType input_types = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setInputTypes($var) @@ -513,7 +513,7 @@ public function setLanguageCode($var) * Deprecated. Use turns instead. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 2 [deprecated = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Message> * @deprecated */ public function getMessages() @@ -528,7 +528,7 @@ public function getMessages() * Deprecated. Use turns instead. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 2 [deprecated = true]; - * @param array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Message[] $var * @return $this * @deprecated */ diff --git a/Ces/src/V1/Conversation/ChannelType.php b/Ces/src/V1/Conversation/ChannelType.php index a9dc97b0d61f..4e76640a9cf0 100644 --- a/Ces/src/V1/Conversation/ChannelType.php +++ b/Ces/src/V1/Conversation/ChannelType.php @@ -69,4 +69,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Conversation/InputType.php b/Ces/src/V1/Conversation/InputType.php index 1c7b3cc1ad8f..370140c61227 100644 --- a/Ces/src/V1/Conversation/InputType.php +++ b/Ces/src/V1/Conversation/InputType.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Conversation/Source.php b/Ces/src/V1/Conversation/Source.php index 71f12a6ea3ea..22d965789ed8 100644 --- a/Ces/src/V1/Conversation/Source.php +++ b/Ces/src/V1/Conversation/Source.php @@ -70,4 +70,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Conversation/Turn.php b/Ces/src/V1/Conversation/Turn.php index dd49f8f32c1e..a1e0b5327c27 100644 --- a/Ces/src/V1/Conversation/Turn.php +++ b/Ces/src/V1/Conversation/Turn.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Conversation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * All information about a single turn in the conversation. @@ -35,7 +35,7 @@ class Turn extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $messages + * @type \Google\Cloud\Ces\V1\Message[] $messages * Optional. List of messages in the conversation turn, including user * input, agent responses and intermediate events during the processing. * @type \Google\Cloud\Ces\V1\Span $root_span @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * input, agent responses and intermediate events during the processing. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Message> */ public function getMessages() { @@ -64,7 +64,7 @@ public function getMessages() * input, agent responses and intermediate events during the processing. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Message[] $var * @return $this */ public function setMessages($var) @@ -113,4 +113,3 @@ public function setRootSpan($var) } - diff --git a/Ces/src/V1/ConversationLoggingSettings.php b/Ces/src/V1/ConversationLoggingSettings.php index c728c387ba4e..20a99a156f9e 100644 --- a/Ces/src/V1/ConversationLoggingSettings.php +++ b/Ces/src/V1/ConversationLoggingSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings to describe the conversation logging behaviors for the app. diff --git a/Ces/src/V1/CreateAgentRequest.php b/Ces/src/V1/CreateAgentRequest.php index 9a03d26e4f51..67c13f204429 100644 --- a/Ces/src/V1/CreateAgentRequest.php +++ b/Ces/src/V1/CreateAgentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/CreateAppRequest.php b/Ces/src/V1/CreateAppRequest.php index d7a594fe7769..a4ddde4078bf 100644 --- a/Ces/src/V1/CreateAppRequest.php +++ b/Ces/src/V1/CreateAppRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/CreateAppVersionRequest.php b/Ces/src/V1/CreateAppVersionRequest.php index 564e39434fe2..d3f9b860b733 100644 --- a/Ces/src/V1/CreateAppVersionRequest.php +++ b/Ces/src/V1/CreateAppVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/CreateDeploymentRequest.php b/Ces/src/V1/CreateDeploymentRequest.php index 7245fa8908b0..4c583f92e396 100644 --- a/Ces/src/V1/CreateDeploymentRequest.php +++ b/Ces/src/V1/CreateDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/CreateExampleRequest.php b/Ces/src/V1/CreateExampleRequest.php index cf1acdee65b9..bb6ce29f6a32 100644 --- a/Ces/src/V1/CreateExampleRequest.php +++ b/Ces/src/V1/CreateExampleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/CreateGuardrailRequest.php b/Ces/src/V1/CreateGuardrailRequest.php index e806331c96ba..74424ed51290 100644 --- a/Ces/src/V1/CreateGuardrailRequest.php +++ b/Ces/src/V1/CreateGuardrailRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/CreateToolRequest.php b/Ces/src/V1/CreateToolRequest.php index d8b09c726fb4..65107e1171c1 100644 --- a/Ces/src/V1/CreateToolRequest.php +++ b/Ces/src/V1/CreateToolRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/CreateToolsetRequest.php b/Ces/src/V1/CreateToolsetRequest.php index 5b8a7071531d..1c7b08d56337 100644 --- a/Ces/src/V1/CreateToolsetRequest.php +++ b/Ces/src/V1/CreateToolsetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DataStore.php b/Ces/src/V1/DataStore.php index 08d9ec9e1912..474960506296 100644 --- a/Ces/src/V1/DataStore.php +++ b/Ces/src/V1/DataStore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A DataStore resource in Vertex AI Search. diff --git a/Ces/src/V1/DataStore/ConnectorConfig.php b/Ces/src/V1/DataStore/ConnectorConfig.php index e3bad3ec5c22..d9f5c1126a5e 100644 --- a/Ces/src/V1/DataStore/ConnectorConfig.php +++ b/Ces/src/V1/DataStore/ConnectorConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStore; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The connector config for the data store connection. @@ -137,4 +137,3 @@ public function setDataSource($var) } - diff --git a/Ces/src/V1/DataStore/DataStoreType.php b/Ces/src/V1/DataStore/DataStoreType.php index 8202f4c54216..f8b4d72fa701 100644 --- a/Ces/src/V1/DataStore/DataStoreType.php +++ b/Ces/src/V1/DataStore/DataStoreType.php @@ -75,4 +75,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/DataStore/DocumentProcessingMode.php b/Ces/src/V1/DataStore/DocumentProcessingMode.php index 2e76cc1b23b1..7d73fd195f88 100644 --- a/Ces/src/V1/DataStore/DocumentProcessingMode.php +++ b/Ces/src/V1/DataStore/DocumentProcessingMode.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/DataStoreSettings.php b/Ces/src/V1/DataStoreSettings.php index 3dd306ffc066..4ff35249c007 100644 --- a/Ces/src/V1/DataStoreSettings.php +++ b/Ces/src/V1/DataStoreSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Data store related settings for the app. @@ -28,7 +28,7 @@ class DataStoreSettings extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\DataStoreSettings\Engine>|\Google\Protobuf\Internal\RepeatedField $engines + * @type \Google\Cloud\Ces\V1\DataStoreSettings\Engine[] $engines * Output only. The engines for the app. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Output only. The engines for the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreSettings.Engine engines = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\DataStoreSettings\Engine> */ public function getEngines() { @@ -52,7 +52,7 @@ public function getEngines() * Output only. The engines for the app. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreSettings.Engine engines = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Ces\V1\DataStoreSettings\Engine>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\DataStoreSettings\Engine[] $var * @return $this */ public function setEngines($var) diff --git a/Ces/src/V1/DataStoreSettings/Engine.php b/Ces/src/V1/DataStoreSettings/Engine.php index 03bfa98fd645..9d37114ac458 100644 --- a/Ces/src/V1/DataStoreSettings/Engine.php +++ b/Ces/src/V1/DataStoreSettings/Engine.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An engine to which the data stores are connected. @@ -109,4 +109,3 @@ public function setType($var) } - diff --git a/Ces/src/V1/DataStoreSettings/Engine/Type.php b/Ces/src/V1/DataStoreSettings/Engine/Type.php index 9bca7dd4363b..f9a27df6f107 100644 --- a/Ces/src/V1/DataStoreSettings/Engine/Type.php +++ b/Ces/src/V1/DataStoreSettings/Engine/Type.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/DataStoreTool.php b/Ces/src/V1/DataStoreTool.php index c25d4dbb05c5..9e304557eab8 100644 --- a/Ces/src/V1/DataStoreTool.php +++ b/Ces/src/V1/DataStoreTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Tool to retrieve from Vertex AI Search datastore or engine for grounding. @@ -65,9 +65,9 @@ class DataStoreTool extends \Google\Protobuf\Internal\Message * Required. The data store tool name. * @type string $description * Optional. The tool description. - * @type array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpecs>|\Google\Protobuf\Internal\RepeatedField $boost_specs + * @type \Google\Cloud\Ces\V1\DataStoreTool\BoostSpecs[] $boost_specs * Optional. Boost specification to boost certain documents. - * @type array<\Google\Cloud\Ces\V1\DataStoreTool\ModalityConfig>|\Google\Protobuf\Internal\RepeatedField $modality_configs + * @type \Google\Cloud\Ces\V1\DataStoreTool\ModalityConfig[] $modality_configs * Optional. The modality configs for the data store. * @type int $filter_parameter_behavior * Optional. The filter parameter behavior. @@ -198,7 +198,7 @@ public function setDescription($var) * Optional. Boost specification to boost certain documents. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpecs boost_specs = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpecs> */ public function getBoostSpecs() { @@ -209,7 +209,7 @@ public function getBoostSpecs() * Optional. Boost specification to boost certain documents. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpecs boost_specs = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpecs>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\DataStoreTool\BoostSpecs[] $var * @return $this */ public function setBoostSpecs($var) @@ -224,7 +224,7 @@ public function setBoostSpecs($var) * Optional. The modality configs for the data store. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.ModalityConfig modality_configs = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\DataStoreTool\ModalityConfig> */ public function getModalityConfigs() { @@ -235,7 +235,7 @@ public function getModalityConfigs() * Optional. The modality configs for the data store. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.ModalityConfig modality_configs = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\DataStoreTool\ModalityConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\DataStoreTool\ModalityConfig[] $var * @return $this */ public function setModalityConfigs($var) diff --git a/Ces/src/V1/DataStoreTool/BoostSpec.php b/Ces/src/V1/DataStoreTool/BoostSpec.php index c276fc399617..5ea47c832609 100644 --- a/Ces/src/V1/DataStoreTool/BoostSpec.php +++ b/Ces/src/V1/DataStoreTool/BoostSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Boost specification to boost certain documents. @@ -28,7 +28,7 @@ class BoostSpec extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec>|\Google\Protobuf\Internal\RepeatedField $condition_boost_specs + * @type \Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec[] $condition_boost_specs * Required. A list of boosting specifications. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Required. A list of boosting specifications. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec> */ public function getConditionBoostSpecs() { @@ -52,7 +52,7 @@ public function getConditionBoostSpecs() * Required. A list of boosting specifications. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec condition_boost_specs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec[] $var * @return $this */ public function setConditionBoostSpecs($var) @@ -65,4 +65,3 @@ public function setConditionBoostSpecs($var) } - diff --git a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec.php b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec.php index 9b59a84765ab..f1171a03314f 100644 --- a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec.php +++ b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool\BoostSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Boost specification for a condition. @@ -187,4 +187,3 @@ public function setBoostControlSpec($var) } - diff --git a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec.php b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec.php index dad26987f231..8abb00a342a8 100644 --- a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec.php +++ b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification for custom ranking based on customer specified attribute @@ -70,7 +70,7 @@ class BoostControlSpec extends \Google\Protobuf\Internal\Message * @type int $interpolation_type * Optional. The interpolation type to be applied to connect the control * points listed below. - * @type array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint>|\Google\Protobuf\Internal\RepeatedField $control_points + * @type \Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint[] $control_points * Optional. The control points used to define the curve. The monotonic * function (defined through the interpolation_type above) passes * through the control points listed here. @@ -179,7 +179,7 @@ public function setInterpolationType($var) * through the control points listed here. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint> */ public function getControlPoints() { @@ -192,7 +192,7 @@ public function getControlPoints() * through the control points listed here. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint[] $var * @return $this */ public function setControlPoints($var) @@ -205,4 +205,3 @@ public function setControlPoints($var) } - diff --git a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php index 5e42edf4f315..6ae6318482c7 100644 --- a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php +++ b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php index f771c5f0718e..ba8c400a6b91 100644 --- a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php +++ b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool\BoostSpec\ConditionBoostSpec\BoostControlSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The control points used to define the curve. The curve defined @@ -125,4 +125,3 @@ public function setBoostAmount($var) } - diff --git a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php index 730613b13c56..bd41ac42e9f3 100644 --- a/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php +++ b/Ces/src/V1/DataStoreTool/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/DataStoreTool/BoostSpecs.php b/Ces/src/V1/DataStoreTool/BoostSpecs.php index ee24500336f0..b820356b5bc9 100644 --- a/Ces/src/V1/DataStoreTool/BoostSpecs.php +++ b/Ces/src/V1/DataStoreTool/BoostSpecs.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Boost specifications to boost certain documents. @@ -38,11 +38,11 @@ class BoostSpecs extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $data_stores + * @type string[] $data_stores * Required. The Data Store where the boosting configuration is applied. * Full resource name of DataStore, such as * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}. - * @type array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec>|\Google\Protobuf\Internal\RepeatedField $spec + * @type \Google\Cloud\Ces\V1\DataStoreTool\BoostSpec[] $spec * Required. A list of boosting specifications. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}. * * Generated from protobuf field repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDataStores() { @@ -70,7 +70,7 @@ public function getDataStores() * projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}. * * Generated from protobuf field repeated string data_stores = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDataStores($var) @@ -85,7 +85,7 @@ public function setDataStores($var) * Required. A list of boosting specifications. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec> */ public function getSpec() { @@ -96,7 +96,7 @@ public function getSpec() * Required. A list of boosting specifications. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.BoostSpec spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\DataStoreTool\BoostSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\DataStoreTool\BoostSpec[] $var * @return $this */ public function setSpec($var) @@ -109,4 +109,3 @@ public function setSpec($var) } - diff --git a/Ces/src/V1/DataStoreTool/DataStoreSource.php b/Ces/src/V1/DataStoreTool/DataStoreSource.php index 3e5fd7585b70..7f81a8d3b79e 100644 --- a/Ces/src/V1/DataStoreTool/DataStoreSource.php +++ b/Ces/src/V1/DataStoreTool/DataStoreSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for searching within a specific DataStore. @@ -117,4 +117,3 @@ public function setDataStore($var) } - diff --git a/Ces/src/V1/DataStoreTool/EngineSource.php b/Ces/src/V1/DataStoreTool/EngineSource.php index 0891924f71f7..6b3199662b4f 100644 --- a/Ces/src/V1/DataStoreTool/EngineSource.php +++ b/Ces/src/V1/DataStoreTool/EngineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for searching within an Engine, potentially targeting @@ -51,7 +51,7 @@ class EngineSource extends \Google\Protobuf\Internal\Message * Required. Full resource name of the Engine. * Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` - * @type array<\Google\Cloud\Ces\V1\DataStoreTool\DataStoreSource>|\Google\Protobuf\Internal\RepeatedField $data_store_sources + * @type \Google\Cloud\Ces\V1\DataStoreTool\DataStoreSource[] $data_store_sources * Optional. Use to target specific DataStores within the Engine. * If empty, the search applies to all DataStores associated with the * Engine. @@ -102,7 +102,7 @@ public function setEngine($var) * Engine. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.DataStoreSource data_store_sources = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\DataStoreTool\DataStoreSource> */ public function getDataStoreSources() { @@ -115,7 +115,7 @@ public function getDataStoreSources() * Engine. * * Generated from protobuf field repeated .google.cloud.ces.v1.DataStoreTool.DataStoreSource data_store_sources = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\DataStoreTool\DataStoreSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\DataStoreTool\DataStoreSource[] $var * @return $this */ public function setDataStoreSources($var) @@ -158,4 +158,3 @@ public function setFilter($var) } - diff --git a/Ces/src/V1/DataStoreTool/FilterParameterBehavior.php b/Ces/src/V1/DataStoreTool/FilterParameterBehavior.php index 419c2b89e91e..9e676e9893d0 100644 --- a/Ces/src/V1/DataStoreTool/FilterParameterBehavior.php +++ b/Ces/src/V1/DataStoreTool/FilterParameterBehavior.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/DataStoreTool/GroundingConfig.php b/Ces/src/V1/DataStoreTool/GroundingConfig.php index eaa17195273f..48ca782777a5 100644 --- a/Ces/src/V1/DataStoreTool/GroundingConfig.php +++ b/Ces/src/V1/DataStoreTool/GroundingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding configuration. @@ -123,4 +123,3 @@ public function setDisabled($var) } - diff --git a/Ces/src/V1/DataStoreTool/ModalityConfig.php b/Ces/src/V1/DataStoreTool/ModalityConfig.php index f0e6fafb1754..df7248ed3887 100644 --- a/Ces/src/V1/DataStoreTool/ModalityConfig.php +++ b/Ces/src/V1/DataStoreTool/ModalityConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * If specified, will apply the given configuration for the specified @@ -198,4 +198,3 @@ public function setGroundingConfig($var) } - diff --git a/Ces/src/V1/DataStoreTool/ModalityConfig/ModalityType.php b/Ces/src/V1/DataStoreTool/ModalityConfig/ModalityType.php index 057b9b089ca8..6d3f65ad81f3 100644 --- a/Ces/src/V1/DataStoreTool/ModalityConfig/ModalityType.php +++ b/Ces/src/V1/DataStoreTool/ModalityConfig/ModalityType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/DataStoreTool/RewriterConfig.php b/Ces/src/V1/DataStoreTool/RewriterConfig.php index 8ee770d99de1..9dd50f1fa87f 100644 --- a/Ces/src/V1/DataStoreTool/RewriterConfig.php +++ b/Ces/src/V1/DataStoreTool/RewriterConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rewriter configuration. @@ -143,4 +143,3 @@ public function setDisabled($var) } - diff --git a/Ces/src/V1/DataStoreTool/SummarizationConfig.php b/Ces/src/V1/DataStoreTool/SummarizationConfig.php index f3078097604e..126ca9af08a7 100644 --- a/Ces/src/V1/DataStoreTool/SummarizationConfig.php +++ b/Ces/src/V1/DataStoreTool/SummarizationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\DataStoreTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Summarization configuration. @@ -143,4 +143,3 @@ public function setDisabled($var) } - diff --git a/Ces/src/V1/DeleteAgentRequest.php b/Ces/src/V1/DeleteAgentRequest.php index ca2e8943c99f..ee4bbb8c353a 100644 --- a/Ces/src/V1/DeleteAgentRequest.php +++ b/Ces/src/V1/DeleteAgentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteAppRequest.php b/Ces/src/V1/DeleteAppRequest.php index bee7cc01a0a6..66aa8b40e16b 100644 --- a/Ces/src/V1/DeleteAppRequest.php +++ b/Ces/src/V1/DeleteAppRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteAppVersionRequest.php b/Ces/src/V1/DeleteAppVersionRequest.php index aa947e2bd333..5d22978ae83e 100644 --- a/Ces/src/V1/DeleteAppVersionRequest.php +++ b/Ces/src/V1/DeleteAppVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteConversationRequest.php b/Ces/src/V1/DeleteConversationRequest.php index ce9026d1c7c6..e0ea2ebecae0 100644 --- a/Ces/src/V1/DeleteConversationRequest.php +++ b/Ces/src/V1/DeleteConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteDeploymentRequest.php b/Ces/src/V1/DeleteDeploymentRequest.php index cb27b0a52953..d49e34d901e6 100644 --- a/Ces/src/V1/DeleteDeploymentRequest.php +++ b/Ces/src/V1/DeleteDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteExampleRequest.php b/Ces/src/V1/DeleteExampleRequest.php index ad5f21a434da..0597f2d38d9a 100644 --- a/Ces/src/V1/DeleteExampleRequest.php +++ b/Ces/src/V1/DeleteExampleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteGuardrailRequest.php b/Ces/src/V1/DeleteGuardrailRequest.php index 19005cb2c627..b489dbe9266e 100644 --- a/Ces/src/V1/DeleteGuardrailRequest.php +++ b/Ces/src/V1/DeleteGuardrailRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteToolRequest.php b/Ces/src/V1/DeleteToolRequest.php index d1ab2f16ab34..58a0c581e2c4 100644 --- a/Ces/src/V1/DeleteToolRequest.php +++ b/Ces/src/V1/DeleteToolRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/DeleteToolsetRequest.php b/Ces/src/V1/DeleteToolsetRequest.php index 261f395abdcb..1f1bfa337c20 100644 --- a/Ces/src/V1/DeleteToolsetRequest.php +++ b/Ces/src/V1/DeleteToolsetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/Deployment.php b/Ces/src/V1/Deployment.php index dd6f8e7be9f5..aaeba7147af5 100644 --- a/Ces/src/V1/Deployment.php +++ b/Ces/src/V1/Deployment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A deployment represents an immutable, queryable version of the app. diff --git a/Ces/src/V1/EndSession.php b/Ces/src/V1/EndSession.php index 3d9cdba933ab..ecb85ddc2298 100644 --- a/Ces/src/V1/EndSession.php +++ b/Ces/src/V1/EndSession.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Indicates the session has terminated, due to either successful completion diff --git a/Ces/src/V1/EndUserAuthConfig.php b/Ces/src/V1/EndUserAuthConfig.php index e13c8eee4d96..bb0618a7b408 100644 --- a/Ces/src/V1/EndUserAuthConfig.php +++ b/Ces/src/V1/EndUserAuthConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * End-user authentication configuration used for Connection calls. diff --git a/Ces/src/V1/EndUserAuthConfig/Oauth2AuthCodeConfig.php b/Ces/src/V1/EndUserAuthConfig/Oauth2AuthCodeConfig.php index 4deb901c5175..1fe24f0930f2 100644 --- a/Ces/src/V1/EndUserAuthConfig/Oauth2AuthCodeConfig.php +++ b/Ces/src/V1/EndUserAuthConfig/Oauth2AuthCodeConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\EndUserAuthConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Oauth 2.0 Authorization Code authentication configuration. @@ -69,4 +69,3 @@ public function setOauthToken($var) } - diff --git a/Ces/src/V1/EndUserAuthConfig/Oauth2JwtBearerConfig.php b/Ces/src/V1/EndUserAuthConfig/Oauth2JwtBearerConfig.php index f16ea179ae62..445618e64642 100644 --- a/Ces/src/V1/EndUserAuthConfig/Oauth2JwtBearerConfig.php +++ b/Ces/src/V1/EndUserAuthConfig/Oauth2JwtBearerConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\EndUserAuthConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * JWT Profile Oauth 2.0 Authorization Grant authentication configuration. @@ -145,4 +145,3 @@ public function setClientKey($var) } - diff --git a/Ces/src/V1/EvaluationMetricsThresholds.php b/Ces/src/V1/EvaluationMetricsThresholds.php index ca8eac990381..0219c9883687 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds.php +++ b/Ces/src/V1/EvaluationMetricsThresholds.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Threshold settings for metrics in an Evaluation. diff --git a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds.php b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds.php index 51ca6852eee5..5a8090ce5567 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds.php +++ b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\EvaluationMetricsThresholds; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for golden evaluations. @@ -171,4 +171,3 @@ public function setToolMatchingSettings($var) } - diff --git a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/ExpectationLevelMetricsThresholds.php b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/ExpectationLevelMetricsThresholds.php index b3cadc3f004e..47c90d9d1738 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/ExpectationLevelMetricsThresholds.php +++ b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/ExpectationLevelMetricsThresholds.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\EvaluationMetricsThresholds\GoldenEvaluationMetricsThresholds; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Expectation level metrics thresholds. @@ -79,4 +79,3 @@ public function setToolInvocationParameterCorrectnessThreshold($var) } - diff --git a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds.php b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds.php index 172344001509..710528e16049 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds.php +++ b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\EvaluationMetricsThresholds\GoldenEvaluationMetricsThresholds; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Turn level metrics thresholds. @@ -161,4 +161,3 @@ public function setSemanticSimilarityChannel($var) } - diff --git a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds/SemanticSimilarityChannel.php b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds/SemanticSimilarityChannel.php index cd026cf202d5..221e15797e1c 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds/SemanticSimilarityChannel.php +++ b/Ces/src/V1/EvaluationMetricsThresholds/GoldenEvaluationMetricsThresholds/TurnLevelMetricsThresholds/SemanticSimilarityChannel.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/EvaluationMetricsThresholds/HallucinationMetricBehavior.php b/Ces/src/V1/EvaluationMetricsThresholds/HallucinationMetricBehavior.php index 4d405b2721b1..baa6bd7c2093 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds/HallucinationMetricBehavior.php +++ b/Ces/src/V1/EvaluationMetricsThresholds/HallucinationMetricBehavior.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings.php b/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings.php index 2bf6f49db54a..3ecf6041bb0e 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings.php +++ b/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\EvaluationMetricsThresholds; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for matching tool calls. @@ -69,4 +69,3 @@ public function setExtraToolCallBehavior($var) } - diff --git a/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings/ExtraToolCallBehavior.php b/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings/ExtraToolCallBehavior.php index 4b14bc2c4bce..0de60fca40c8 100644 --- a/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings/ExtraToolCallBehavior.php +++ b/Ces/src/V1/EvaluationMetricsThresholds/ToolMatchingSettings/ExtraToolCallBehavior.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Event.php b/Ces/src/V1/Event.php index 6e302ac4757a..0aa3c60fa24c 100644 --- a/Ces/src/V1/Event.php +++ b/Ces/src/V1/Event.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Event input. diff --git a/Ces/src/V1/Example.php b/Ces/src/V1/Example.php index 1d18df3d90de..ad54a9b6926e 100644 --- a/Ces/src/V1/Example.php +++ b/Ces/src/V1/Example.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An example represents a sample conversation between the user and the @@ -98,7 +98,7 @@ class Example extends \Google\Protobuf\Internal\Message * specified, the example represents a conversation that is handled by the * root agent. Format: * `projects/{project}/locations/{location}/apps/{app}/agents/{agent}` - * @type array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $messages + * @type \Google\Cloud\Ces\V1\Message[] $messages * Optional. The collection of messages that make up the conversation. * @type \Google\Protobuf\Timestamp $create_time * Output only. Timestamp when the example was created. @@ -236,7 +236,7 @@ public function setEntryAgent($var) * Optional. The collection of messages that make up the conversation. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Message> */ public function getMessages() { @@ -247,7 +247,7 @@ public function getMessages() * Optional. The collection of messages that make up the conversation. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Message[] $var * @return $this */ public function setMessages($var) diff --git a/Ces/src/V1/ExecuteToolRequest.php b/Ces/src/V1/ExecuteToolRequest.php index ddb2e8e68eb4..42f3a86be63e 100644 --- a/Ces/src/V1/ExecuteToolRequest.php +++ b/Ces/src/V1/ExecuteToolRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ExecuteToolResponse.php b/Ces/src/V1/ExecuteToolResponse.php index 61c197c22d00..09a3990c2e2d 100644 --- a/Ces/src/V1/ExecuteToolResponse.php +++ b/Ces/src/V1/ExecuteToolResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Ces/src/V1/ExportAppRequest.php b/Ces/src/V1/ExportAppRequest.php index 28b8e26b217b..199dbb0e401a 100644 --- a/Ces/src/V1/ExportAppRequest.php +++ b/Ces/src/V1/ExportAppRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ExportAppRequest/ExportFormat.php b/Ces/src/V1/ExportAppRequest/ExportFormat.php index 66369e084729..40f37f1fb37b 100644 --- a/Ces/src/V1/ExportAppRequest/ExportFormat.php +++ b/Ces/src/V1/ExportAppRequest/ExportFormat.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/ExportAppResponse.php b/Ces/src/V1/ExportAppResponse.php index af41b73587ef..2cf27a6c244a 100644 --- a/Ces/src/V1/ExportAppResponse.php +++ b/Ces/src/V1/ExportAppResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Ces/src/V1/ExpressionCondition.php b/Ces/src/V1/ExpressionCondition.php index 2972dd7b2988..3112a4360dde 100644 --- a/Ces/src/V1/ExpressionCondition.php +++ b/Ces/src/V1/ExpressionCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Expression condition based on session state. diff --git a/Ces/src/V1/FileSearchTool.php b/Ces/src/V1/FileSearchTool.php index cf18f0acdff7..35fd93ede027 100644 --- a/Ces/src/V1/FileSearchTool.php +++ b/Ces/src/V1/FileSearchTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The file search tool allows the agent to search across the files uploaded by diff --git a/Ces/src/V1/FileSearchTool/CorpusType.php b/Ces/src/V1/FileSearchTool/CorpusType.php index 02ea455bce4c..64858d3d63d8 100644 --- a/Ces/src/V1/FileSearchTool/CorpusType.php +++ b/Ces/src/V1/FileSearchTool/CorpusType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/GenerateChatTokenRequest.php b/Ces/src/V1/GenerateChatTokenRequest.php index a5e1d2a5f608..6ce59c28b34d 100644 --- a/Ces/src/V1/GenerateChatTokenRequest.php +++ b/Ces/src/V1/GenerateChatTokenRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GenerateChatTokenResponse.php b/Ces/src/V1/GenerateChatTokenResponse.php index 637d8c6c2ec6..5eea350409cf 100644 --- a/Ces/src/V1/GenerateChatTokenResponse.php +++ b/Ces/src/V1/GenerateChatTokenResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Ces/src/V1/GetAgentRequest.php b/Ces/src/V1/GetAgentRequest.php index 962182db2294..f9b630021aa3 100644 --- a/Ces/src/V1/GetAgentRequest.php +++ b/Ces/src/V1/GetAgentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetAppRequest.php b/Ces/src/V1/GetAppRequest.php index c175b5db0c15..f4c477a21e8c 100644 --- a/Ces/src/V1/GetAppRequest.php +++ b/Ces/src/V1/GetAppRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetAppVersionRequest.php b/Ces/src/V1/GetAppVersionRequest.php index 1f200999ea5d..8497745d4c89 100644 --- a/Ces/src/V1/GetAppVersionRequest.php +++ b/Ces/src/V1/GetAppVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetChangelogRequest.php b/Ces/src/V1/GetChangelogRequest.php index 42decf2c2d3d..f3a7ae1ee1c5 100644 --- a/Ces/src/V1/GetChangelogRequest.php +++ b/Ces/src/V1/GetChangelogRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetConversationRequest.php b/Ces/src/V1/GetConversationRequest.php index dee2ef39dc0d..d6541a3ec720 100644 --- a/Ces/src/V1/GetConversationRequest.php +++ b/Ces/src/V1/GetConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetDeploymentRequest.php b/Ces/src/V1/GetDeploymentRequest.php index 16109f38c9aa..ab050f77870d 100644 --- a/Ces/src/V1/GetDeploymentRequest.php +++ b/Ces/src/V1/GetDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetExampleRequest.php b/Ces/src/V1/GetExampleRequest.php index 33d9ed354ba1..8df1e12e84eb 100644 --- a/Ces/src/V1/GetExampleRequest.php +++ b/Ces/src/V1/GetExampleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetGuardrailRequest.php b/Ces/src/V1/GetGuardrailRequest.php index cd0b3e913d25..f835a2d963ff 100644 --- a/Ces/src/V1/GetGuardrailRequest.php +++ b/Ces/src/V1/GetGuardrailRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetToolRequest.php b/Ces/src/V1/GetToolRequest.php index 3cf5e008cc9e..8cebccba3428 100644 --- a/Ces/src/V1/GetToolRequest.php +++ b/Ces/src/V1/GetToolRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GetToolsetRequest.php b/Ces/src/V1/GetToolsetRequest.php index 65c4b21446d7..5baab30b0bef 100644 --- a/Ces/src/V1/GetToolsetRequest.php +++ b/Ces/src/V1/GetToolsetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/GoAway.php b/Ces/src/V1/GoAway.php index 5af9b3491ed5..cf53b7fe5141 100644 --- a/Ces/src/V1/GoAway.php +++ b/Ces/src/V1/GoAway.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Indicates that the server will disconnect soon and the client should diff --git a/Ces/src/V1/GoogleSearchSuggestions.php b/Ces/src/V1/GoogleSearchSuggestions.php index f624d98fd2d4..1bef5314f525 100644 --- a/Ces/src/V1/GoogleSearchSuggestions.php +++ b/Ces/src/V1/GoogleSearchSuggestions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Search suggestions from [Google Search @@ -20,7 +20,7 @@ class GoogleSearchSuggestions extends \Google\Protobuf\Internal\Message * Compliant HTML and CSS styling for search suggestions. * The provided HTML and CSS automatically adapts to your device settings, * displaying in either light or dark mode indicated by - * `@media(prefers-color-scheme)`. + * `\@media(prefers-color-scheme)`. * * Generated from protobuf field repeated string htmls = 1; */ @@ -39,12 +39,12 @@ class GoogleSearchSuggestions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $htmls + * @type string[] $htmls * Compliant HTML and CSS styling for search suggestions. * The provided HTML and CSS automatically adapts to your device settings, * displaying in either light or dark mode indicated by - * `@media(prefers-color-scheme)`. - * @type array<\Google\Cloud\Ces\V1\WebSearchQuery>|\Google\Protobuf\Internal\RepeatedField $web_search_queries + * `\@media(prefers-color-scheme)`. + * @type \Google\Cloud\Ces\V1\WebSearchQuery[] $web_search_queries * List of queries used to perform the google search along with the search * result URIs forming the search suggestions. * } @@ -58,10 +58,10 @@ public function __construct($data = NULL) { * Compliant HTML and CSS styling for search suggestions. * The provided HTML and CSS automatically adapts to your device settings, * displaying in either light or dark mode indicated by - * `@media(prefers-color-scheme)`. + * `\@media(prefers-color-scheme)`. * * Generated from protobuf field repeated string htmls = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getHtmls() { @@ -72,10 +72,10 @@ public function getHtmls() * Compliant HTML and CSS styling for search suggestions. * The provided HTML and CSS automatically adapts to your device settings, * displaying in either light or dark mode indicated by - * `@media(prefers-color-scheme)`. + * `\@media(prefers-color-scheme)`. * * Generated from protobuf field repeated string htmls = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setHtmls($var) @@ -91,7 +91,7 @@ public function setHtmls($var) * result URIs forming the search suggestions. * * Generated from protobuf field repeated .google.cloud.ces.v1.WebSearchQuery web_search_queries = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\WebSearchQuery> */ public function getWebSearchQueries() { @@ -103,7 +103,7 @@ public function getWebSearchQueries() * result URIs forming the search suggestions. * * Generated from protobuf field repeated .google.cloud.ces.v1.WebSearchQuery web_search_queries = 2; - * @param array<\Google\Cloud\Ces\V1\WebSearchQuery>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\WebSearchQuery[] $var * @return $this */ public function setWebSearchQueries($var) diff --git a/Ces/src/V1/GoogleSearchTool.php b/Ces/src/V1/GoogleSearchTool.php index cea3d32f1e7a..d215623a1072 100644 --- a/Ces/src/V1/GoogleSearchTool.php +++ b/Ces/src/V1/GoogleSearchTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a tool to perform Google web searches for grounding. @@ -71,15 +71,15 @@ class GoogleSearchTool extends \Google\Protobuf\Internal\Message * Required. The name of the tool. * @type string $description * Optional. Description of the tool's purpose. - * @type array|\Google\Protobuf\Internal\RepeatedField $context_urls + * @type string[] $context_urls * Optional. Content will be fetched directly from these URLs for context and * grounding. Example: "https://example.com/path.html". A maximum of 20 URLs * are allowed. - * @type array|\Google\Protobuf\Internal\RepeatedField $preferred_domains + * @type string[] $preferred_domains * Optional. Specifies domains to restrict search results to. * Example: "example.com", "another.site". A maximum of 20 domains can be * specified. - * @type array|\Google\Protobuf\Internal\RepeatedField $exclude_domains + * @type string[] $exclude_domains * Optional. List of domains to be excluded from the search results. * Example: "example.com". * A maximum of 2000 domains can be excluded. @@ -151,7 +151,7 @@ public function setDescription($var) * are allowed. * * Generated from protobuf field repeated string context_urls = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContextUrls() { @@ -164,7 +164,7 @@ public function getContextUrls() * are allowed. * * Generated from protobuf field repeated string context_urls = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setContextUrls($var) @@ -181,7 +181,7 @@ public function setContextUrls($var) * specified. * * Generated from protobuf field repeated string preferred_domains = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPreferredDomains() { @@ -194,7 +194,7 @@ public function getPreferredDomains() * specified. * * Generated from protobuf field repeated string preferred_domains = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPreferredDomains($var) @@ -211,7 +211,7 @@ public function setPreferredDomains($var) * A maximum of 2000 domains can be excluded. * * Generated from protobuf field repeated string exclude_domains = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExcludeDomains() { @@ -224,7 +224,7 @@ public function getExcludeDomains() * A maximum of 2000 domains can be excluded. * * Generated from protobuf field repeated string exclude_domains = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExcludeDomains($var) diff --git a/Ces/src/V1/GoogleSearchTool/PromptConfig.php b/Ces/src/V1/GoogleSearchTool/PromptConfig.php index eddfeef03e30..a13368ed21dd 100644 --- a/Ces/src/V1/GoogleSearchTool/PromptConfig.php +++ b/Ces/src/V1/GoogleSearchTool/PromptConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\GoogleSearchTool; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Prompt settings used by the model when processing or summarizing the @@ -116,4 +116,3 @@ public function setVoicePrompt($var) } - diff --git a/Ces/src/V1/Guardrail.php b/Ces/src/V1/Guardrail.php index d96e7c56ab04..15924100d604 100644 --- a/Ces/src/V1/Guardrail.php +++ b/Ces/src/V1/Guardrail.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Guardrail contains a list of checks and balances to keep the agents safe and diff --git a/Ces/src/V1/Guardrail/CodeCallback.php b/Ces/src/V1/Guardrail/CodeCallback.php index fcebbcb93c1d..eb3db0fda28a 100644 --- a/Ces/src/V1/Guardrail/CodeCallback.php +++ b/Ces/src/V1/Guardrail/CodeCallback.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Guardrail; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Guardrail that blocks the conversation based on the code callbacks @@ -296,4 +296,3 @@ public function setAfterModelCallback($var) } - diff --git a/Ces/src/V1/Guardrail/ContentFilter.php b/Ces/src/V1/Guardrail/ContentFilter.php index d1c03873a826..c4ca769873de 100644 --- a/Ces/src/V1/Guardrail/ContentFilter.php +++ b/Ces/src/V1/Guardrail/ContentFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Guardrail; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Guardrail that bans certain content from being used in the conversation. @@ -53,12 +53,12 @@ class ContentFilter extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $banned_contents + * @type string[] $banned_contents * Optional. List of banned phrases. Applies to both user inputs and agent * responses. - * @type array|\Google\Protobuf\Internal\RepeatedField $banned_contents_in_user_input + * @type string[] $banned_contents_in_user_input * Optional. List of banned phrases. Applies only to user inputs. - * @type array|\Google\Protobuf\Internal\RepeatedField $banned_contents_in_agent_response + * @type string[] $banned_contents_in_agent_response * Optional. List of banned phrases. Applies only to agent responses. * @type int $match_type * Required. Match type for the content filter. @@ -76,7 +76,7 @@ public function __construct($data = NULL) { * responses. * * Generated from protobuf field repeated string banned_contents = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBannedContents() { @@ -88,7 +88,7 @@ public function getBannedContents() * responses. * * Generated from protobuf field repeated string banned_contents = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setBannedContents($var) @@ -103,7 +103,7 @@ public function setBannedContents($var) * Optional. List of banned phrases. Applies only to user inputs. * * Generated from protobuf field repeated string banned_contents_in_user_input = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBannedContentsInUserInput() { @@ -114,7 +114,7 @@ public function getBannedContentsInUserInput() * Optional. List of banned phrases. Applies only to user inputs. * * Generated from protobuf field repeated string banned_contents_in_user_input = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setBannedContentsInUserInput($var) @@ -129,7 +129,7 @@ public function setBannedContentsInUserInput($var) * Optional. List of banned phrases. Applies only to agent responses. * * Generated from protobuf field repeated string banned_contents_in_agent_response = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBannedContentsInAgentResponse() { @@ -140,7 +140,7 @@ public function getBannedContentsInAgentResponse() * Optional. List of banned phrases. Applies only to agent responses. * * Generated from protobuf field repeated string banned_contents_in_agent_response = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setBannedContentsInAgentResponse($var) @@ -205,4 +205,3 @@ public function setDisregardDiacritics($var) } - diff --git a/Ces/src/V1/Guardrail/ContentFilter/MatchType.php b/Ces/src/V1/Guardrail/ContentFilter/MatchType.php index d0e5907e2875..ca13b09142a8 100644 --- a/Ces/src/V1/Guardrail/ContentFilter/MatchType.php +++ b/Ces/src/V1/Guardrail/ContentFilter/MatchType.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Guardrail/LlmPolicy.php b/Ces/src/V1/Guardrail/LlmPolicy.php index f6f2885db284..9c08c93418e9 100644 --- a/Ces/src/V1/Guardrail/LlmPolicy.php +++ b/Ces/src/V1/Guardrail/LlmPolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Guardrail; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Guardrail that blocks the conversation if the LLM response is considered @@ -274,4 +274,3 @@ public function setAllowShortUtterance($var) } - diff --git a/Ces/src/V1/Guardrail/LlmPolicy/PolicyScope.php b/Ces/src/V1/Guardrail/LlmPolicy/PolicyScope.php index 36c68eb9cb39..cd01239950cf 100644 --- a/Ces/src/V1/Guardrail/LlmPolicy/PolicyScope.php +++ b/Ces/src/V1/Guardrail/LlmPolicy/PolicyScope.php @@ -69,4 +69,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Guardrail/LlmPromptSecurity.php b/Ces/src/V1/Guardrail/LlmPromptSecurity.php index 0165eb9de54c..c6235abcaf25 100644 --- a/Ces/src/V1/Guardrail/LlmPromptSecurity.php +++ b/Ces/src/V1/Guardrail/LlmPromptSecurity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Guardrail; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Guardrail that blocks the conversation if the input is considered unsafe @@ -173,4 +173,3 @@ public function getSecurityConfig() } - diff --git a/Ces/src/V1/Guardrail/LlmPromptSecurity/DefaultSecuritySettings.php b/Ces/src/V1/Guardrail/LlmPromptSecurity/DefaultSecuritySettings.php index d3fcc0000477..9071b6b5fd61 100644 --- a/Ces/src/V1/Guardrail/LlmPromptSecurity/DefaultSecuritySettings.php +++ b/Ces/src/V1/Guardrail/LlmPromptSecurity/DefaultSecuritySettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Guardrail\LlmPromptSecurity; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for default system security settings. @@ -73,4 +73,3 @@ public function setDefaultPromptTemplate($var) } - diff --git a/Ces/src/V1/Guardrail/ModelSafety.php b/Ces/src/V1/Guardrail/ModelSafety.php index dc1c1a30b92f..c1e62660125b 100644 --- a/Ces/src/V1/Guardrail/ModelSafety.php +++ b/Ces/src/V1/Guardrail/ModelSafety.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Guardrail; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model safety settings overrides. When this is set, it will override the @@ -30,7 +30,7 @@ class ModelSafety extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Guardrail\ModelSafety\SafetySetting>|\Google\Protobuf\Internal\RepeatedField $safety_settings + * @type \Google\Cloud\Ces\V1\Guardrail\ModelSafety\SafetySetting[] $safety_settings * Required. List of safety settings. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * Required. List of safety settings. * * Generated from protobuf field repeated .google.cloud.ces.v1.Guardrail.ModelSafety.SafetySetting safety_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Guardrail\ModelSafety\SafetySetting> */ public function getSafetySettings() { @@ -54,7 +54,7 @@ public function getSafetySettings() * Required. List of safety settings. * * Generated from protobuf field repeated .google.cloud.ces.v1.Guardrail.ModelSafety.SafetySetting safety_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\Guardrail\ModelSafety\SafetySetting>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Guardrail\ModelSafety\SafetySetting[] $var * @return $this */ public function setSafetySettings($var) @@ -67,4 +67,3 @@ public function setSafetySettings($var) } - diff --git a/Ces/src/V1/Guardrail/ModelSafety/HarmBlockThreshold.php b/Ces/src/V1/Guardrail/ModelSafety/HarmBlockThreshold.php index 895a9feadc85..c1e050f9071a 100644 --- a/Ces/src/V1/Guardrail/ModelSafety/HarmBlockThreshold.php +++ b/Ces/src/V1/Guardrail/ModelSafety/HarmBlockThreshold.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Guardrail/ModelSafety/HarmCategory.php b/Ces/src/V1/Guardrail/ModelSafety/HarmCategory.php index 46cbfc887611..ba69adca9582 100644 --- a/Ces/src/V1/Guardrail/ModelSafety/HarmCategory.php +++ b/Ces/src/V1/Guardrail/ModelSafety/HarmCategory.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Guardrail/ModelSafety/SafetySetting.php b/Ces/src/V1/Guardrail/ModelSafety/SafetySetting.php index 3212cc4cb10f..a8f43d62bdbe 100644 --- a/Ces/src/V1/Guardrail/ModelSafety/SafetySetting.php +++ b/Ces/src/V1/Guardrail/ModelSafety/SafetySetting.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\Guardrail\ModelSafety; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Safety setting. @@ -99,4 +99,3 @@ public function setThreshold($var) } - diff --git a/Ces/src/V1/Image.php b/Ces/src/V1/Image.php index 17cd5f104bbe..8e60d3ff37ea 100644 --- a/Ces/src/V1/Image.php +++ b/Ces/src/V1/Image.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an image input or output in the conversation. diff --git a/Ces/src/V1/ImportAppRequest.php b/Ces/src/V1/ImportAppRequest.php index 3e60b9988b73..8e1ddddd546c 100644 --- a/Ces/src/V1/ImportAppRequest.php +++ b/Ces/src/V1/ImportAppRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ImportAppRequest/ImportOptions.php b/Ces/src/V1/ImportAppRequest/ImportOptions.php index 893457514370..b72446144d07 100644 --- a/Ces/src/V1/ImportAppRequest/ImportOptions.php +++ b/Ces/src/V1/ImportAppRequest/ImportOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\ImportAppRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration options for the app import process. @@ -67,4 +67,3 @@ public function setConflictResolutionStrategy($var) } - diff --git a/Ces/src/V1/ImportAppRequest/ImportOptions/ConflictResolutionStrategy.php b/Ces/src/V1/ImportAppRequest/ImportOptions/ConflictResolutionStrategy.php index 01af693355ce..7c9383007c3e 100644 --- a/Ces/src/V1/ImportAppRequest/ImportOptions/ConflictResolutionStrategy.php +++ b/Ces/src/V1/ImportAppRequest/ImportOptions/ConflictResolutionStrategy.php @@ -74,4 +74,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/ImportAppResponse.php b/Ces/src/V1/ImportAppResponse.php index ba044b35d415..d80c6a0a5ea9 100644 --- a/Ces/src/V1/ImportAppResponse.php +++ b/Ces/src/V1/ImportAppResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -39,7 +39,7 @@ class ImportAppResponse extends \Google\Protobuf\Internal\Message * * @type string $name * The resource name of the app that was imported. - * @type array|\Google\Protobuf\Internal\RepeatedField $warnings + * @type string[] $warnings * Warning messages generated during the import process. * If errors occur for specific resources, they will not be included in the * imported app and the error will be mentioned here. @@ -82,7 +82,7 @@ public function setName($var) * imported app and the error will be mentioned here. * * Generated from protobuf field repeated string warnings = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getWarnings() { @@ -95,7 +95,7 @@ public function getWarnings() * imported app and the error will be mentioned here. * * Generated from protobuf field repeated string warnings = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setWarnings($var) diff --git a/Ces/src/V1/InputAudioConfig.php b/Ces/src/V1/InputAudioConfig.php index 62ee35576d99..869390453043 100644 --- a/Ces/src/V1/InputAudioConfig.php +++ b/Ces/src/V1/InputAudioConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * InputAudioConfig configures how the CES agent should interpret the incoming diff --git a/Ces/src/V1/InterruptionSignal.php b/Ces/src/V1/InterruptionSignal.php index 46b6e86b16d6..38cbc09fd37b 100644 --- a/Ces/src/V1/InterruptionSignal.php +++ b/Ces/src/V1/InterruptionSignal.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Indicates the agent's audio response has been interrupted. The client should diff --git a/Ces/src/V1/LanguageSettings.php b/Ces/src/V1/LanguageSettings.php index c3ecfa5463af..72da02b56868 100644 --- a/Ces/src/V1/LanguageSettings.php +++ b/Ces/src/V1/LanguageSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Language settings of the app. @@ -58,7 +58,7 @@ class LanguageSettings extends \Google\Protobuf\Internal\Message * * @type string $default_language_code * Optional. The default language code of the app. - * @type array|\Google\Protobuf\Internal\RepeatedField $supported_language_codes + * @type string[] $supported_language_codes * Optional. List of languages codes supported by the app, in addition to the * `default_language_code`. * @type bool $enable_multilingual_support @@ -112,7 +112,7 @@ public function setDefaultLanguageCode($var) * `default_language_code`. * * Generated from protobuf field repeated string supported_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSupportedLanguageCodes() { @@ -124,7 +124,7 @@ public function getSupportedLanguageCodes() * `default_language_code`. * * Generated from protobuf field repeated string supported_language_codes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSupportedLanguageCodes($var) diff --git a/Ces/src/V1/ListAgentsRequest.php b/Ces/src/V1/ListAgentsRequest.php index f8de189a993e..218fba7653c7 100644 --- a/Ces/src/V1/ListAgentsRequest.php +++ b/Ces/src/V1/ListAgentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListAgentsResponse.php b/Ces/src/V1/ListAgentsResponse.php index 2ff4e6169a8a..627e46beb552 100644 --- a/Ces/src/V1/ListAgentsResponse.php +++ b/Ces/src/V1/ListAgentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListAgentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Agent>|\Google\Protobuf\Internal\RepeatedField $agents + * @type \Google\Cloud\Ces\V1\Agent[] $agents * The list of agents. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of agents. * * Generated from protobuf field repeated .google.cloud.ces.v1.Agent agents = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Agent> */ public function getAgents() { @@ -67,7 +67,7 @@ public function getAgents() * The list of agents. * * Generated from protobuf field repeated .google.cloud.ces.v1.Agent agents = 1; - * @param array<\Google\Cloud\Ces\V1\Agent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Agent[] $var * @return $this */ public function setAgents($var) diff --git a/Ces/src/V1/ListAppVersionsRequest.php b/Ces/src/V1/ListAppVersionsRequest.php index 79a00c6a4023..9f06e716429d 100644 --- a/Ces/src/V1/ListAppVersionsRequest.php +++ b/Ces/src/V1/ListAppVersionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListAppVersionsResponse.php b/Ces/src/V1/ListAppVersionsResponse.php index 8be20d67efbe..9ffc5db20655 100644 --- a/Ces/src/V1/ListAppVersionsResponse.php +++ b/Ces/src/V1/ListAppVersionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListAppVersionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\AppVersion>|\Google\Protobuf\Internal\RepeatedField $app_versions + * @type \Google\Cloud\Ces\V1\AppVersion[] $app_versions * The list of app versions. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of app versions. * * Generated from protobuf field repeated .google.cloud.ces.v1.AppVersion app_versions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\AppVersion> */ public function getAppVersions() { @@ -67,7 +67,7 @@ public function getAppVersions() * The list of app versions. * * Generated from protobuf field repeated .google.cloud.ces.v1.AppVersion app_versions = 1; - * @param array<\Google\Cloud\Ces\V1\AppVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\AppVersion[] $var * @return $this */ public function setAppVersions($var) diff --git a/Ces/src/V1/ListAppsRequest.php b/Ces/src/V1/ListAppsRequest.php index 334ccd610a00..8fff8898251e 100644 --- a/Ces/src/V1/ListAppsRequest.php +++ b/Ces/src/V1/ListAppsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListAppsResponse.php b/Ces/src/V1/ListAppsResponse.php index 9082a2d5ae40..8b18c925dcc7 100644 --- a/Ces/src/V1/ListAppsResponse.php +++ b/Ces/src/V1/ListAppsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -44,14 +44,14 @@ class ListAppsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\App>|\Google\Protobuf\Internal\RepeatedField $apps + * @type \Google\Cloud\Ces\V1\App[] $apps * The list of apps. * @type string $next_page_token * A token that can be sent as * [ListAppsRequest.page_token][google.cloud.ces.v1.ListAppsRequest.page_token] * to retrieve the next page. Absence of this field indicates there are no * subsequent pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -64,7 +64,7 @@ public function __construct($data = NULL) { * The list of apps. * * Generated from protobuf field repeated .google.cloud.ces.v1.App apps = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\App> */ public function getApps() { @@ -75,7 +75,7 @@ public function getApps() * The list of apps. * * Generated from protobuf field repeated .google.cloud.ces.v1.App apps = 1; - * @param array<\Google\Cloud\Ces\V1\App>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\App[] $var * @return $this */ public function setApps($var) @@ -122,7 +122,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -133,7 +133,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Ces/src/V1/ListChangelogsRequest.php b/Ces/src/V1/ListChangelogsRequest.php index f967767043de..9bde2d8a44ac 100644 --- a/Ces/src/V1/ListChangelogsRequest.php +++ b/Ces/src/V1/ListChangelogsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -51,7 +51,7 @@ class ListChangelogsRequest extends \Google\Protobuf\Internal\Message * * `action="Create"` (case-sensitive exact match) * * `resource_type:agent` * * `resource_name:my-agent` - * * `author:me@example.com` + * * `author:me\@example.com` * * `create_time > "2025-01-01T00:00:00Z"` * * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool` * @@ -109,7 +109,7 @@ public static function build(string $parent): self * * `action="Create"` (case-sensitive exact match) * * `resource_type:agent` * * `resource_name:my-agent` - * * `author:me@example.com` + * * `author:me\@example.com` * * `create_time > "2025-01-01T00:00:00Z"` * * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool` * @type string $order_by @@ -222,7 +222,7 @@ public function setPageToken($var) * * `action="Create"` (case-sensitive exact match) * * `resource_type:agent` * * `resource_name:my-agent` - * * `author:me@example.com` + * * `author:me\@example.com` * * `create_time > "2025-01-01T00:00:00Z"` * * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool` * @@ -246,7 +246,7 @@ public function getFilter() * * `action="Create"` (case-sensitive exact match) * * `resource_type:agent` * * `resource_name:my-agent` - * * `author:me@example.com` + * * `author:me\@example.com` * * `create_time > "2025-01-01T00:00:00Z"` * * `create_time <= "2025-01-01T00:00:00Z" AND resource_type:tool` * diff --git a/Ces/src/V1/ListChangelogsResponse.php b/Ces/src/V1/ListChangelogsResponse.php index 6969e0222664..2b523b32c46f 100644 --- a/Ces/src/V1/ListChangelogsResponse.php +++ b/Ces/src/V1/ListChangelogsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListChangelogsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Changelog>|\Google\Protobuf\Internal\RepeatedField $changelogs + * @type \Google\Cloud\Ces\V1\Changelog[] $changelogs * The list of changelogs. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of changelogs. * * Generated from protobuf field repeated .google.cloud.ces.v1.Changelog changelogs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Changelog> */ public function getChangelogs() { @@ -67,7 +67,7 @@ public function getChangelogs() * The list of changelogs. * * Generated from protobuf field repeated .google.cloud.ces.v1.Changelog changelogs = 1; - * @param array<\Google\Cloud\Ces\V1\Changelog>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Changelog[] $var * @return $this */ public function setChangelogs($var) diff --git a/Ces/src/V1/ListConversationsRequest.php b/Ces/src/V1/ListConversationsRequest.php index f99829f71b03..444acee81169 100644 --- a/Ces/src/V1/ListConversationsRequest.php +++ b/Ces/src/V1/ListConversationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -98,7 +98,7 @@ public static function build(string $parent): self * @type int $source * Optional. Indicate the source of the conversation. If not set, Source.Live * will be applied by default. Will be deprecated in favor of `sources` field. - * @type array|\Google\Protobuf\Internal\RepeatedField $sources + * @type int[] $sources * Optional. Indicate the sources of the conversations. If not set, all * available sources will be applied by default. * } @@ -257,7 +257,7 @@ public function setSource($var) * available sources will be applied by default. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation.Source sources = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSources() { @@ -269,7 +269,7 @@ public function getSources() * available sources will be applied by default. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation.Source sources = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSources($var) diff --git a/Ces/src/V1/ListConversationsResponse.php b/Ces/src/V1/ListConversationsResponse.php index 7b5ed15664d0..4bd2c6b91cfd 100644 --- a/Ces/src/V1/ListConversationsResponse.php +++ b/Ces/src/V1/ListConversationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListConversationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Conversation>|\Google\Protobuf\Internal\RepeatedField $conversations + * @type \Google\Cloud\Ces\V1\Conversation[] $conversations * The list of conversations. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of conversations. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation conversations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Conversation> */ public function getConversations() { @@ -67,7 +67,7 @@ public function getConversations() * The list of conversations. * * Generated from protobuf field repeated .google.cloud.ces.v1.Conversation conversations = 1; - * @param array<\Google\Cloud\Ces\V1\Conversation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Conversation[] $var * @return $this */ public function setConversations($var) diff --git a/Ces/src/V1/ListDeploymentsRequest.php b/Ces/src/V1/ListDeploymentsRequest.php index 1f6362d6b3b1..2ad926ace54b 100644 --- a/Ces/src/V1/ListDeploymentsRequest.php +++ b/Ces/src/V1/ListDeploymentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListDeploymentsResponse.php b/Ces/src/V1/ListDeploymentsResponse.php index d47b4c451037..751038286c3f 100644 --- a/Ces/src/V1/ListDeploymentsResponse.php +++ b/Ces/src/V1/ListDeploymentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -36,7 +36,7 @@ class ListDeploymentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Deployment>|\Google\Protobuf\Internal\RepeatedField $deployments + * @type \Google\Cloud\Ces\V1\Deployment[] $deployments * The list of deployments. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The list of deployments. * * Generated from protobuf field repeated .google.cloud.ces.v1.Deployment deployments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Deployment> */ public function getDeployments() { @@ -63,7 +63,7 @@ public function getDeployments() * The list of deployments. * * Generated from protobuf field repeated .google.cloud.ces.v1.Deployment deployments = 1; - * @param array<\Google\Cloud\Ces\V1\Deployment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Deployment[] $var * @return $this */ public function setDeployments($var) diff --git a/Ces/src/V1/ListExamplesRequest.php b/Ces/src/V1/ListExamplesRequest.php index f1231071a90e..0fc18c189cac 100644 --- a/Ces/src/V1/ListExamplesRequest.php +++ b/Ces/src/V1/ListExamplesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListExamplesResponse.php b/Ces/src/V1/ListExamplesResponse.php index 58c3f998b559..be5b951b2fb3 100644 --- a/Ces/src/V1/ListExamplesResponse.php +++ b/Ces/src/V1/ListExamplesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListExamplesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Example>|\Google\Protobuf\Internal\RepeatedField $examples + * @type \Google\Cloud\Ces\V1\Example[] $examples * The list of examples. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of examples. * * Generated from protobuf field repeated .google.cloud.ces.v1.Example examples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Example> */ public function getExamples() { @@ -67,7 +67,7 @@ public function getExamples() * The list of examples. * * Generated from protobuf field repeated .google.cloud.ces.v1.Example examples = 1; - * @param array<\Google\Cloud\Ces\V1\Example>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Example[] $var * @return $this */ public function setExamples($var) diff --git a/Ces/src/V1/ListGuardrailsRequest.php b/Ces/src/V1/ListGuardrailsRequest.php index a77dcb70a9a2..5a62a63af316 100644 --- a/Ces/src/V1/ListGuardrailsRequest.php +++ b/Ces/src/V1/ListGuardrailsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListGuardrailsResponse.php b/Ces/src/V1/ListGuardrailsResponse.php index 53216aae550e..6b5616ab5f48 100644 --- a/Ces/src/V1/ListGuardrailsResponse.php +++ b/Ces/src/V1/ListGuardrailsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListGuardrailsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Guardrail>|\Google\Protobuf\Internal\RepeatedField $guardrails + * @type \Google\Cloud\Ces\V1\Guardrail[] $guardrails * The list of guardrails. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of guardrails. * * Generated from protobuf field repeated .google.cloud.ces.v1.Guardrail guardrails = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Guardrail> */ public function getGuardrails() { @@ -67,7 +67,7 @@ public function getGuardrails() * The list of guardrails. * * Generated from protobuf field repeated .google.cloud.ces.v1.Guardrail guardrails = 1; - * @param array<\Google\Cloud\Ces\V1\Guardrail>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Guardrail[] $var * @return $this */ public function setGuardrails($var) diff --git a/Ces/src/V1/ListToolsRequest.php b/Ces/src/V1/ListToolsRequest.php index b6aa37443db2..c620c3d63964 100644 --- a/Ces/src/V1/ListToolsRequest.php +++ b/Ces/src/V1/ListToolsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListToolsResponse.php b/Ces/src/V1/ListToolsResponse.php index a9eeb13319d1..b5314a6abecf 100644 --- a/Ces/src/V1/ListToolsResponse.php +++ b/Ces/src/V1/ListToolsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListToolsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $tools + * @type \Google\Cloud\Ces\V1\Tool[] $tools * The list of tools. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of tools. * * Generated from protobuf field repeated .google.cloud.ces.v1.Tool tools = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Tool> */ public function getTools() { @@ -67,7 +67,7 @@ public function getTools() * The list of tools. * * Generated from protobuf field repeated .google.cloud.ces.v1.Tool tools = 1; - * @param array<\Google\Cloud\Ces\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Tool[] $var * @return $this */ public function setTools($var) diff --git a/Ces/src/V1/ListToolsetsRequest.php b/Ces/src/V1/ListToolsetsRequest.php index d29dd4469b8d..c728c63c4d7e 100644 --- a/Ces/src/V1/ListToolsetsRequest.php +++ b/Ces/src/V1/ListToolsetsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/ListToolsetsResponse.php b/Ces/src/V1/ListToolsetsResponse.php index cd494e00d138..8f660b5e6be1 100644 --- a/Ces/src/V1/ListToolsetsResponse.php +++ b/Ces/src/V1/ListToolsetsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListToolsetsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Toolset>|\Google\Protobuf\Internal\RepeatedField $toolsets + * @type \Google\Cloud\Ces\V1\Toolset[] $toolsets * The list of toolsets. * @type string $next_page_token * A token that can be sent as @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The list of toolsets. * * Generated from protobuf field repeated .google.cloud.ces.v1.Toolset toolsets = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Toolset> */ public function getToolsets() { @@ -67,7 +67,7 @@ public function getToolsets() * The list of toolsets. * * Generated from protobuf field repeated .google.cloud.ces.v1.Toolset toolsets = 1; - * @param array<\Google\Cloud\Ces\V1\Toolset>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Toolset[] $var * @return $this */ public function setToolsets($var) diff --git a/Ces/src/V1/LoggingSettings.php b/Ces/src/V1/LoggingSettings.php index 362bf36448e8..b80a151f2b77 100644 --- a/Ces/src/V1/LoggingSettings.php +++ b/Ces/src/V1/LoggingSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings to describe the logging behaviors for the app. diff --git a/Ces/src/V1/McpTool.php b/Ces/src/V1/McpTool.php index 3bb9e7c6c8aa..91d1a07bf032 100644 --- a/Ces/src/V1/McpTool.php +++ b/Ces/src/V1/McpTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An MCP tool. diff --git a/Ces/src/V1/McpToolset.php b/Ces/src/V1/McpToolset.php index e3acb1f65ff0..60af0aa004f3 100644 --- a/Ces/src/V1/McpToolset.php +++ b/Ces/src/V1/McpToolset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A toolset that contains a list of tools that are offered by the MCP diff --git a/Ces/src/V1/Message.php b/Ces/src/V1/Message.php index 3b08d5ea5bda..6b9367f7a524 100644 --- a/Ces/src/V1/Message.php +++ b/Ces/src/V1/Message.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message within a conversation. @@ -43,7 +43,7 @@ class Message extends \Google\Protobuf\Internal\Message * * @type string $role * Optional. The role within the conversation, e.g., user, agent. - * @type array<\Google\Cloud\Ces\V1\Chunk>|\Google\Protobuf\Internal\RepeatedField $chunks + * @type \Google\Cloud\Ces\V1\Chunk[] $chunks * Optional. Content of the message as a series of chunks. * @type \Google\Protobuf\Timestamp $event_time * Optional. Timestamp when the message was sent or received. Should not be @@ -85,7 +85,7 @@ public function setRole($var) * Optional. Content of the message as a series of chunks. * * Generated from protobuf field repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Chunk> */ public function getChunks() { @@ -96,7 +96,7 @@ public function getChunks() * Optional. Content of the message as a series of chunks. * * Generated from protobuf field repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Chunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Chunk[] $var * @return $this */ public function setChunks($var) diff --git a/Ces/src/V1/MetricAnalysisSettings.php b/Ces/src/V1/MetricAnalysisSettings.php index d67d1a764eb6..b9c7697e6ad2 100644 --- a/Ces/src/V1/MetricAnalysisSettings.php +++ b/Ces/src/V1/MetricAnalysisSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings to describe the conversation data collection behaviors for LLM diff --git a/Ces/src/V1/ModelSettings.php b/Ces/src/V1/ModelSettings.php index c1860a2f5fcd..f88f0c6eb4b0 100644 --- a/Ces/src/V1/ModelSettings.php +++ b/Ces/src/V1/ModelSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model settings contains various configurations for the LLM model. diff --git a/Ces/src/V1/OAuthConfig.php b/Ces/src/V1/OAuthConfig.php index bf2cd56f131a..905c16e53d13 100644 --- a/Ces/src/V1/OAuthConfig.php +++ b/Ces/src/V1/OAuthConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for authentication with OAuth. @@ -33,7 +33,7 @@ class OAuthConfig extends \Google\Protobuf\Internal\Message * Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string client_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -68,11 +68,11 @@ class OAuthConfig extends \Google\Protobuf\Internal\Message * Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * @type string $token_endpoint * Required. The token endpoint in the OAuth provider to exchange for an * access token. - * @type array|\Google\Protobuf\Internal\RepeatedField $scopes + * @type string[] $scopes * Optional. The OAuth scopes to grant. * } */ @@ -139,7 +139,7 @@ public function setClientId($var) * Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string client_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -155,7 +155,7 @@ public function getClientSecretVersion() * Format: `projects/{project}/secrets/{secret}/versions/{version}` * Note: You should grant `roles/secretmanager.secretAccessor` role to the CES * service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string client_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -201,7 +201,7 @@ public function setTokenEndpoint($var) * Optional. The OAuth scopes to grant. * * Generated from protobuf field repeated string scopes = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getScopes() { @@ -212,7 +212,7 @@ public function getScopes() * Optional. The OAuth scopes to grant. * * Generated from protobuf field repeated string scopes = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setScopes($var) diff --git a/Ces/src/V1/OAuthConfig/OauthGrantType.php b/Ces/src/V1/OAuthConfig/OauthGrantType.php index bfa12c754516..ab14ffca36b4 100644 --- a/Ces/src/V1/OAuthConfig/OauthGrantType.php +++ b/Ces/src/V1/OAuthConfig/OauthGrantType.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/Omnichannel.php b/Ces/src/V1/Omnichannel.php index 8d78e6a8ae28..ffec8256fd9a 100644 --- a/Ces/src/V1/Omnichannel.php +++ b/Ces/src/V1/Omnichannel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an Omnichannel resource. diff --git a/Ces/src/V1/OmnichannelIntegrationConfig.php b/Ces/src/V1/OmnichannelIntegrationConfig.php index c0c99b54eb92..6b143467b5ef 100644 --- a/Ces/src/V1/OmnichannelIntegrationConfig.php +++ b/Ces/src/V1/OmnichannelIntegrationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * OmnichannelIntegrationConfig contains all App integration configs. diff --git a/Ces/src/V1/OmnichannelIntegrationConfig/CesAppConfig.php b/Ces/src/V1/OmnichannelIntegrationConfig/CesAppConfig.php index 8f446d8c73f1..a657d74e7a72 100644 --- a/Ces/src/V1/OmnichannelIntegrationConfig/CesAppConfig.php +++ b/Ces/src/V1/OmnichannelIntegrationConfig/CesAppConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\OmnichannelIntegrationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configs for CES app. @@ -69,4 +69,3 @@ public function setApp($var) } - diff --git a/Ces/src/V1/OmnichannelIntegrationConfig/ChannelConfig.php b/Ces/src/V1/OmnichannelIntegrationConfig/ChannelConfig.php index fd43ee17c96e..568d15cdc506 100644 --- a/Ces/src/V1/OmnichannelIntegrationConfig/ChannelConfig.php +++ b/Ces/src/V1/OmnichannelIntegrationConfig/ChannelConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\OmnichannelIntegrationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ChannelConfig contains config for various of app integration. @@ -73,4 +73,3 @@ public function getChannelConfig() } - diff --git a/Ces/src/V1/OmnichannelIntegrationConfig/RoutingConfig.php b/Ces/src/V1/OmnichannelIntegrationConfig/RoutingConfig.php index bbf79402a35e..f4a409e7a948 100644 --- a/Ces/src/V1/OmnichannelIntegrationConfig/RoutingConfig.php +++ b/Ces/src/V1/OmnichannelIntegrationConfig/RoutingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\OmnichannelIntegrationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Routing config specify how/who to route app events to a subscriber. @@ -65,4 +65,3 @@ public function setSubscriberKey($var) } - diff --git a/Ces/src/V1/OmnichannelIntegrationConfig/SubscriberConfig.php b/Ces/src/V1/OmnichannelIntegrationConfig/SubscriberConfig.php index 77073206eb43..b187ab0a871d 100644 --- a/Ces/src/V1/OmnichannelIntegrationConfig/SubscriberConfig.php +++ b/Ces/src/V1/OmnichannelIntegrationConfig/SubscriberConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\OmnichannelIntegrationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configs of subscribers. @@ -73,4 +73,3 @@ public function getSubscriberConfig() } - diff --git a/Ces/src/V1/OmnichannelIntegrationConfig/WhatsappConfig.php b/Ces/src/V1/OmnichannelIntegrationConfig/WhatsappConfig.php index f72d114e3ca8..afddafad3437 100644 --- a/Ces/src/V1/OmnichannelIntegrationConfig/WhatsappConfig.php +++ b/Ces/src/V1/OmnichannelIntegrationConfig/WhatsappConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\OmnichannelIntegrationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * How Omnichannel should receive/reply events from WhatsApp. @@ -247,4 +247,3 @@ public function setMetaBusinessPortfolioId($var) } - diff --git a/Ces/src/V1/OmnichannelOperationMetadata.php b/Ces/src/V1/OmnichannelOperationMetadata.php index df0a6015ec20..e0467b2edfa1 100644 --- a/Ces/src/V1/OmnichannelOperationMetadata.php +++ b/Ces/src/V1/OmnichannelOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of the long-running operation. diff --git a/Ces/src/V1/OpenApiTool.php b/Ces/src/V1/OpenApiTool.php index cef62bb53b9e..71d29d0a0b04 100644 --- a/Ces/src/V1/OpenApiTool.php +++ b/Ces/src/V1/OpenApiTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A remote API tool defined by an OpenAPI schema. diff --git a/Ces/src/V1/OpenApiToolset.php b/Ces/src/V1/OpenApiToolset.php index f609b2249d7c..d9f2b792113f 100644 --- a/Ces/src/V1/OpenApiToolset.php +++ b/Ces/src/V1/OpenApiToolset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A toolset that contains a list of tools that are defined by an OpenAPI diff --git a/Ces/src/V1/OperationMetadata.php b/Ces/src/V1/OperationMetadata.php index 29e09bbaa2f5..d8a894b5f144 100644 --- a/Ces/src/V1/OperationMetadata.php +++ b/Ces/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of the long-running operation. diff --git a/Ces/src/V1/OutputAudioConfig.php b/Ces/src/V1/OutputAudioConfig.php index f1cb61426fda..263e2e1af98a 100644 --- a/Ces/src/V1/OutputAudioConfig.php +++ b/Ces/src/V1/OutputAudioConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * OutputAudioConfig configures how the CES agent should synthesize outgoing diff --git a/Ces/src/V1/PythonCodeCondition.php b/Ces/src/V1/PythonCodeCondition.php index 94af69a70646..b2d2e8a13ee3 100644 --- a/Ces/src/V1/PythonCodeCondition.php +++ b/Ces/src/V1/PythonCodeCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Python code block to evaluate the condition. diff --git a/Ces/src/V1/PythonFunction.php b/Ces/src/V1/PythonFunction.php index 8abbcce33e0e..fbac2dfccf85 100644 --- a/Ces/src/V1/PythonFunction.php +++ b/Ces/src/V1/PythonFunction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Python function tool. diff --git a/Ces/src/V1/RecognitionResult.php b/Ces/src/V1/RecognitionResult.php index 86141185dcb5..b2cc9ff653b8 100644 --- a/Ces/src/V1/RecognitionResult.php +++ b/Ces/src/V1/RecognitionResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Speech recognition result for the audio input. diff --git a/Ces/src/V1/RedactionConfig.php b/Ces/src/V1/RedactionConfig.php index bfc11f7489ef..6c72b6adda3c 100644 --- a/Ces/src/V1/RedactionConfig.php +++ b/Ces/src/V1/RedactionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration to instruct how sensitive data should be handled. diff --git a/Ces/src/V1/RestoreAppVersionRequest.php b/Ces/src/V1/RestoreAppVersionRequest.php index 7f5b38e079ee..e4c2faed16da 100644 --- a/Ces/src/V1/RestoreAppVersionRequest.php +++ b/Ces/src/V1/RestoreAppVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/RestoreAppVersionResponse.php b/Ces/src/V1/RestoreAppVersionResponse.php index 80b9ca9b9c28..d078d5997e3e 100644 --- a/Ces/src/V1/RestoreAppVersionResponse.php +++ b/Ces/src/V1/RestoreAppVersionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Ces/src/V1/RetrieveToolSchemaRequest.php b/Ces/src/V1/RetrieveToolSchemaRequest.php index 6335e121e167..c4468bbe0981 100644 --- a/Ces/src/V1/RetrieveToolSchemaRequest.php +++ b/Ces/src/V1/RetrieveToolSchemaRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/RetrieveToolSchemaResponse.php b/Ces/src/V1/RetrieveToolSchemaResponse.php index f4592d618308..2214d671ee7d 100644 --- a/Ces/src/V1/RetrieveToolSchemaResponse.php +++ b/Ces/src/V1/RetrieveToolSchemaResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Ces/src/V1/RetrieveToolsRequest.php b/Ces/src/V1/RetrieveToolsRequest.php index 1679056cc745..e2420f0a0d53 100644 --- a/Ces/src/V1/RetrieveToolsRequest.php +++ b/Ces/src/V1/RetrieveToolsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -42,7 +42,7 @@ class RetrieveToolsRequest extends \Google\Protobuf\Internal\Message * Required. The name of the toolset to retrieve the tools for. * Format: * `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}` - * @type array|\Google\Protobuf\Internal\RepeatedField $tool_ids + * @type string[] $tool_ids * Optional. The identifiers of the tools to retrieve from the toolset. * If empty, all tools in the toolset will be returned. * } @@ -87,7 +87,7 @@ public function setToolset($var) * If empty, all tools in the toolset will be returned. * * Generated from protobuf field repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getToolIds() { @@ -99,7 +99,7 @@ public function getToolIds() * If empty, all tools in the toolset will be returned. * * Generated from protobuf field repeated string tool_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setToolIds($var) diff --git a/Ces/src/V1/RetrieveToolsResponse.php b/Ces/src/V1/RetrieveToolsResponse.php index 657caa99e33d..75ca63c4c261 100644 --- a/Ces/src/V1/RetrieveToolsResponse.php +++ b/Ces/src/V1/RetrieveToolsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -29,7 +29,7 @@ class RetrieveToolsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $tools + * @type \Google\Cloud\Ces\V1\Tool[] $tools * Required. The list of tools that are included in the specified toolset. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * Required. The list of tools that are included in the specified toolset. * * Generated from protobuf field repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Tool> */ public function getTools() { @@ -53,7 +53,7 @@ public function getTools() * Required. The list of tools that are included in the specified toolset. * * Generated from protobuf field repeated .google.cloud.ces.v1.Tool tools = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Tool[] $var * @return $this */ public function setTools($var) diff --git a/Ces/src/V1/RunSessionRequest.php b/Ces/src/V1/RunSessionRequest.php index f7b9ef0025b2..1ad4d1d5c9fa 100644 --- a/Ces/src/V1/RunSessionRequest.php +++ b/Ces/src/V1/RunSessionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -37,7 +37,7 @@ class RunSessionRequest extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Ces\V1\SessionConfig $config * Required. The configuration for the session. - * @type array<\Google\Cloud\Ces\V1\SessionInput>|\Google\Protobuf\Internal\RepeatedField $inputs + * @type \Google\Cloud\Ces\V1\SessionInput[] $inputs * Required. Inputs for the session. * } */ @@ -86,7 +86,7 @@ public function setConfig($var) * Required. Inputs for the session. * * Generated from protobuf field repeated .google.cloud.ces.v1.SessionInput inputs = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\SessionInput> */ public function getInputs() { @@ -97,7 +97,7 @@ public function getInputs() * Required. Inputs for the session. * * Generated from protobuf field repeated .google.cloud.ces.v1.SessionInput inputs = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\SessionInput>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\SessionInput[] $var * @return $this */ public function setInputs($var) diff --git a/Ces/src/V1/RunSessionResponse.php b/Ces/src/V1/RunSessionResponse.php index 9f1d1576ff92..770fa98c5d41 100644 --- a/Ces/src/V1/RunSessionResponse.php +++ b/Ces/src/V1/RunSessionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -29,7 +29,7 @@ class RunSessionResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\SessionOutput>|\Google\Protobuf\Internal\RepeatedField $outputs + * @type \Google\Cloud\Ces\V1\SessionOutput[] $outputs * Outputs for the session. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * Outputs for the session. * * Generated from protobuf field repeated .google.cloud.ces.v1.SessionOutput outputs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\SessionOutput> */ public function getOutputs() { @@ -53,7 +53,7 @@ public function getOutputs() * Outputs for the session. * * Generated from protobuf field repeated .google.cloud.ces.v1.SessionOutput outputs = 1; - * @param array<\Google\Cloud\Ces\V1\SessionOutput>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\SessionOutput[] $var * @return $this */ public function setOutputs($var) diff --git a/Ces/src/V1/Schema.php b/Ces/src/V1/Schema.php index a696910a801c..620eaf77fbe9 100644 --- a/Ces/src/V1/Schema.php +++ b/Ces/src/V1/Schema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a select subset of an OpenAPI 3.0 schema object. @@ -168,7 +168,7 @@ class Schema extends \Google\Protobuf\Internal\Message * Required. The type of the data. * @type array|\Google\Protobuf\Internal\MapField $properties * Optional. Properties of Type.OBJECT. - * @type array|\Google\Protobuf\Internal\RepeatedField $required + * @type string[] $required * Optional. Required properties of Type.OBJECT. * @type string $description * Optional. The description of the data. @@ -179,15 +179,15 @@ class Schema extends \Google\Protobuf\Internal\Message * @type bool $unique_items * Optional. Indicate the items in the array must be unique. Only applies to * TYPE.ARRAY. - * @type array<\Google\Cloud\Ces\V1\Schema>|\Google\Protobuf\Internal\RepeatedField $prefix_items + * @type \Google\Cloud\Ces\V1\Schema[] $prefix_items * Optional. Schemas of initial elements of Type.ARRAY. * @type \Google\Cloud\Ces\V1\Schema $additional_properties * Optional. Can either be a boolean or an object, controls the presence of * additional properties. - * @type array<\Google\Cloud\Ces\V1\Schema>|\Google\Protobuf\Internal\RepeatedField $any_of + * @type \Google\Cloud\Ces\V1\Schema[] $any_of * Optional. The value should be validated against any (one or more) of the * subschemas in the list. - * @type array|\Google\Protobuf\Internal\RepeatedField $enum + * @type string[] $enum * Optional. Possible values of the element of primitive type with enum * format. Examples: * 1. We can define direction as : @@ -293,7 +293,7 @@ public function setProperties($var) * Optional. Required properties of Type.OBJECT. * * Generated from protobuf field repeated string required = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRequired() { @@ -304,7 +304,7 @@ public function getRequired() * Optional. Required properties of Type.OBJECT. * * Generated from protobuf field repeated string required = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRequired($var) @@ -435,7 +435,7 @@ public function setUniqueItems($var) * Optional. Schemas of initial elements of Type.ARRAY. * * Generated from protobuf field repeated .google.cloud.ces.v1.Schema prefix_items = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Schema> */ public function getPrefixItems() { @@ -446,7 +446,7 @@ public function getPrefixItems() * Optional. Schemas of initial elements of Type.ARRAY. * * Generated from protobuf field repeated .google.cloud.ces.v1.Schema prefix_items = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Schema>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Schema[] $var * @return $this */ public function setPrefixItems($var) @@ -500,7 +500,7 @@ public function setAdditionalProperties($var) * subschemas in the list. * * Generated from protobuf field repeated .google.cloud.ces.v1.Schema any_of = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Schema> */ public function getAnyOf() { @@ -512,7 +512,7 @@ public function getAnyOf() * subschemas in the list. * * Generated from protobuf field repeated .google.cloud.ces.v1.Schema any_of = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Schema>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Schema[] $var * @return $this */ public function setAnyOf($var) @@ -532,7 +532,7 @@ public function setAnyOf($var) * {type:INTEGER, format:enum, enum:["101", "201", "301"]} * * Generated from protobuf field repeated string enum = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getEnum() { @@ -548,7 +548,7 @@ public function getEnum() * {type:INTEGER, format:enum, enum:["101", "201", "301"]} * * Generated from protobuf field repeated string enum = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setEnum($var) diff --git a/Ces/src/V1/Schema/Type.php b/Ces/src/V1/Schema/Type.php index 8567c226aa1e..c89e00a44567 100644 --- a/Ces/src/V1/Schema/Type.php +++ b/Ces/src/V1/Schema/Type.php @@ -91,4 +91,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/ServiceAccountAuthConfig.php b/Ces/src/V1/ServiceAccountAuthConfig.php index 75557bed63f8..da943f63a955 100644 --- a/Ces/src/V1/ServiceAccountAuthConfig.php +++ b/Ces/src/V1/ServiceAccountAuthConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for authentication using a custom service account. @@ -22,7 +22,7 @@ class ServiceAccountAuthConfig extends \Google\Protobuf\Internal\Message * The service account must have the * `roles/iam.serviceAccountTokenCreator` role granted to the * CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string service_account = 1 [(.google.api.field_behavior) = REQUIRED]; */ @@ -48,8 +48,8 @@ class ServiceAccountAuthConfig extends \Google\Protobuf\Internal\Message * The service account must have the * `roles/iam.serviceAccountTokenCreator` role granted to the * CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. - * @type array|\Google\Protobuf\Internal\RepeatedField $scopes + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. + * @type string[] $scopes * Optional. The OAuth scopes to grant. If not specified, the default scope * `https://www.googleapis.com/auth/cloud-platform` is used. * } @@ -66,7 +66,7 @@ public function __construct($data = NULL) { * The service account must have the * `roles/iam.serviceAccountTokenCreator` role granted to the * CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string service_account = 1 [(.google.api.field_behavior) = REQUIRED]; * @return string @@ -83,7 +83,7 @@ public function getServiceAccount() * The service account must have the * `roles/iam.serviceAccountTokenCreator` role granted to the * CES service agent - * `service-@gcp-sa-ces.iam.gserviceaccount.com`. + * `service-\@gcp-sa-ces.iam.gserviceaccount.com`. * * Generated from protobuf field string service_account = 1 [(.google.api.field_behavior) = REQUIRED]; * @param string $var @@ -102,7 +102,7 @@ public function setServiceAccount($var) * `https://www.googleapis.com/auth/cloud-platform` is used. * * Generated from protobuf field repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getScopes() { @@ -114,7 +114,7 @@ public function getScopes() * `https://www.googleapis.com/auth/cloud-platform` is used. * * Generated from protobuf field repeated string scopes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setScopes($var) diff --git a/Ces/src/V1/ServiceAgentIdTokenAuthConfig.php b/Ces/src/V1/ServiceAgentIdTokenAuthConfig.php index 64e1a32f6c37..b05f26401235 100644 --- a/Ces/src/V1/ServiceAgentIdTokenAuthConfig.php +++ b/Ces/src/V1/ServiceAgentIdTokenAuthConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for authentication with [ID diff --git a/Ces/src/V1/ServiceDirectoryConfig.php b/Ces/src/V1/ServiceDirectoryConfig.php index 62ccd2088044..0ecec735e5f1 100644 --- a/Ces/src/V1/ServiceDirectoryConfig.php +++ b/Ces/src/V1/ServiceDirectoryConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for tools using Service Directory. diff --git a/Ces/src/V1/SessionConfig.php b/Ces/src/V1/SessionConfig.php index ba4791e91671..b030c60a99b2 100644 --- a/Ces/src/V1/SessionConfig.php +++ b/Ces/src/V1/SessionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration for the session. @@ -97,7 +97,7 @@ class SessionConfig extends \Google\Protobuf\Internal\Message * Optional. Configuration for processing the input audio. * @type \Google\Cloud\Ces\V1\OutputAudioConfig $output_audio_config * Optional. Configuration for generating the output audio. - * @type array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $historical_contexts + * @type \Google\Cloud\Ces\V1\Message[] $historical_contexts * Optional. The historical context of the session, including user inputs, * agent responses, and other messages. Typically, CES agent would manage * session automatically so client doesn't need to explicitly populate this @@ -241,7 +241,7 @@ public function setOutputAudioConfig($var) * force the session start from certain state. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message historical_contexts = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Message> */ public function getHistoricalContexts() { @@ -256,7 +256,7 @@ public function getHistoricalContexts() * force the session start from certain state. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message historical_contexts = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Message[] $var * @return $this */ public function setHistoricalContexts($var) diff --git a/Ces/src/V1/SessionConfig/RemoteDialogflowQueryParameters.php b/Ces/src/V1/SessionConfig/RemoteDialogflowQueryParameters.php index 9b29b0bf389e..0c57ab0c4fad 100644 --- a/Ces/src/V1/SessionConfig/RemoteDialogflowQueryParameters.php +++ b/Ces/src/V1/SessionConfig/RemoteDialogflowQueryParameters.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\SessionConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters) @@ -168,4 +168,3 @@ public function setEndUserMetadata($var) } - diff --git a/Ces/src/V1/SessionInput.php b/Ces/src/V1/SessionInput.php index 26396c8d555b..a171ab712a3a 100644 --- a/Ces/src/V1/SessionInput.php +++ b/Ces/src/V1/SessionInput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Input for the session. diff --git a/Ces/src/V1/SessionOutput.php b/Ces/src/V1/SessionOutput.php index b96a17949426..9c8ce5be2278 100644 --- a/Ces/src/V1/SessionOutput.php +++ b/Ces/src/V1/SessionOutput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Output for the session. diff --git a/Ces/src/V1/SessionOutput/DiagnosticInfo.php b/Ces/src/V1/SessionOutput/DiagnosticInfo.php index 8652b5204b26..fc3ccea37f7b 100644 --- a/Ces/src/V1/SessionOutput/DiagnosticInfo.php +++ b/Ces/src/V1/SessionOutput/DiagnosticInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\SessionOutput; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains execution details during the processing. @@ -35,7 +35,7 @@ class DiagnosticInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $messages + * @type \Google\Cloud\Ces\V1\Message[] $messages * List of the messages that happened during the processing. * @type \Google\Cloud\Ces\V1\Span $root_span * A trace of the entire request processing, represented as a root span. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of the messages that happened during the processing. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Message> */ public function getMessages() { @@ -62,7 +62,7 @@ public function getMessages() * List of the messages that happened during the processing. * * Generated from protobuf field repeated .google.cloud.ces.v1.Message messages = 1; - * @param array<\Google\Cloud\Ces\V1\Message>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Message[] $var * @return $this */ public function setMessages($var) @@ -113,4 +113,3 @@ public function setRootSpan($var) } - diff --git a/Ces/src/V1/Span.php b/Ces/src/V1/Span.php index 0eddd3e825e0..2d825b1df2bb 100644 --- a/Ces/src/V1/Span.php +++ b/Ces/src/V1/Span.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A span is a unit of work or a single operation during the request processing. @@ -68,7 +68,7 @@ class Span extends \Google\Protobuf\Internal\Message * Output only. The duration of the span. * @type \Google\Protobuf\Struct $attributes * Output only. Key-value attributes associated with the span. - * @type array<\Google\Cloud\Ces\V1\Span>|\Google\Protobuf\Internal\RepeatedField $child_spans + * @type \Google\Cloud\Ces\V1\Span[] $child_spans * Output only. The child spans that are nested under this span. * } */ @@ -251,7 +251,7 @@ public function setAttributes($var) * Output only. The child spans that are nested under this span. * * Generated from protobuf field repeated .google.cloud.ces.v1.Span child_spans = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\Span> */ public function getChildSpans() { @@ -262,7 +262,7 @@ public function getChildSpans() * Output only. The child spans that are nested under this span. * * Generated from protobuf field repeated .google.cloud.ces.v1.Span child_spans = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Ces\V1\Span>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\Span[] $var * @return $this */ public function setChildSpans($var) diff --git a/Ces/src/V1/SynthesizeSpeechConfig.php b/Ces/src/V1/SynthesizeSpeechConfig.php index 28e073eb4012..9640ef495e37 100644 --- a/Ces/src/V1/SynthesizeSpeechConfig.php +++ b/Ces/src/V1/SynthesizeSpeechConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for how the agent response should be synthesized. diff --git a/Ces/src/V1/SystemTool.php b/Ces/src/V1/SystemTool.php index 34c578676bb0..880df801ddbd 100644 --- a/Ces/src/V1/SystemTool.php +++ b/Ces/src/V1/SystemTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Pre-defined system tool. diff --git a/Ces/src/V1/TimeZoneSettings.php b/Ces/src/V1/TimeZoneSettings.php index 64bf7fce8456..6fcf7a4a2339 100644 --- a/Ces/src/V1/TimeZoneSettings.php +++ b/Ces/src/V1/TimeZoneSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * TimeZone settings of the app. diff --git a/Ces/src/V1/TlsConfig.php b/Ces/src/V1/TlsConfig.php index f1a55ebf0598..906c3a75e15e 100644 --- a/Ces/src/V1/TlsConfig.php +++ b/Ces/src/V1/TlsConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The TLS configuration. @@ -29,7 +29,7 @@ class TlsConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\TlsConfig\CaCert>|\Google\Protobuf\Internal\RepeatedField $ca_certs + * @type \Google\Cloud\Ces\V1\TlsConfig\CaCert[] $ca_certs * Required. Specifies a list of allowed custom CA certificates for HTTPS * verification. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * verification. * * Generated from protobuf field repeated .google.cloud.ces.v1.TlsConfig.CaCert ca_certs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\TlsConfig\CaCert> */ public function getCaCerts() { @@ -56,7 +56,7 @@ public function getCaCerts() * verification. * * Generated from protobuf field repeated .google.cloud.ces.v1.TlsConfig.CaCert ca_certs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\TlsConfig\CaCert>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\TlsConfig\CaCert[] $var * @return $this */ public function setCaCerts($var) diff --git a/Ces/src/V1/TlsConfig/CaCert.php b/Ces/src/V1/TlsConfig/CaCert.php index 7cf3f70d69a2..6a8ff10bdc43 100644 --- a/Ces/src/V1/TlsConfig/CaCert.php +++ b/Ces/src/V1/TlsConfig/CaCert.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\TlsConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The CA certificate. @@ -139,4 +139,3 @@ public function setCert($var) } - diff --git a/Ces/src/V1/Tool.php b/Ces/src/V1/Tool.php index dd2d0524e391..72aabf85648a 100644 --- a/Ces/src/V1/Tool.php +++ b/Ces/src/V1/Tool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A tool represents an action that the CES agent can take to achieve certain diff --git a/Ces/src/V1/ToolCall.php b/Ces/src/V1/ToolCall.php index a66e6796309e..65ffc67c8196 100644 --- a/Ces/src/V1/ToolCall.php +++ b/Ces/src/V1/ToolCall.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the client or the agent to execute the specified tool. diff --git a/Ces/src/V1/ToolCalls.php b/Ces/src/V1/ToolCalls.php index 9819623352bd..65debf641718 100644 --- a/Ces/src/V1/ToolCalls.php +++ b/Ces/src/V1/ToolCalls.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the client to execute the tools and return the execution results @@ -29,7 +29,7 @@ class ToolCalls extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\ToolCall>|\Google\Protobuf\Internal\RepeatedField $tool_calls + * @type \Google\Cloud\Ces\V1\ToolCall[] $tool_calls * Optional. The list of tool calls to execute. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * Optional. The list of tool calls to execute. * * Generated from protobuf field repeated .google.cloud.ces.v1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\ToolCall> */ public function getToolCalls() { @@ -53,7 +53,7 @@ public function getToolCalls() * Optional. The list of tool calls to execute. * * Generated from protobuf field repeated .google.cloud.ces.v1.ToolCall tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\ToolCall>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\ToolCall[] $var * @return $this */ public function setToolCalls($var) diff --git a/Ces/src/V1/ToolFakeConfig.php b/Ces/src/V1/ToolFakeConfig.php index 7838a23517fb..8d253c13e566 100644 --- a/Ces/src/V1/ToolFakeConfig.php +++ b/Ces/src/V1/ToolFakeConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for tool behavior in fake mode. diff --git a/Ces/src/V1/ToolResponse.php b/Ces/src/V1/ToolResponse.php index 3b0e3f68ffe9..21b69ceec643 100644 --- a/Ces/src/V1/ToolResponse.php +++ b/Ces/src/V1/ToolResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The execution result of a specific tool from the client or the agent. diff --git a/Ces/src/V1/ToolResponses.php b/Ces/src/V1/ToolResponses.php index 88108d3182e6..4d4cade56e86 100644 --- a/Ces/src/V1/ToolResponses.php +++ b/Ces/src/V1/ToolResponses.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Execution results for the requested tool calls from the client. @@ -28,7 +28,7 @@ class ToolResponses extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\ToolResponse>|\Google\Protobuf\Internal\RepeatedField $tool_responses + * @type \Google\Cloud\Ces\V1\ToolResponse[] $tool_responses * Optional. The list of tool execution results. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Optional. The list of tool execution results. * * Generated from protobuf field repeated .google.cloud.ces.v1.ToolResponse tool_responses = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\ToolResponse> */ public function getToolResponses() { @@ -52,7 +52,7 @@ public function getToolResponses() * Optional. The list of tool execution results. * * Generated from protobuf field repeated .google.cloud.ces.v1.ToolResponse tool_responses = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Ces\V1\ToolResponse>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\ToolResponse[] $var * @return $this */ public function setToolResponses($var) diff --git a/Ces/src/V1/Toolset.php b/Ces/src/V1/Toolset.php index 43d18c17a166..43eeb53ac8f9 100644 --- a/Ces/src/V1/Toolset.php +++ b/Ces/src/V1/Toolset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A toolset represents a group of dynamically managed tools that can be used diff --git a/Ces/src/V1/ToolsetTool.php b/Ces/src/V1/ToolsetTool.php index 1455e4378ff2..85ffecbdf345 100644 --- a/Ces/src/V1/ToolsetTool.php +++ b/Ces/src/V1/ToolsetTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A tool that is created from a toolset. diff --git a/Ces/src/V1/TransferRule.php b/Ces/src/V1/TransferRule.php index 93390a9e6779..e547b4565eef 100644 --- a/Ces/src/V1/TransferRule.php +++ b/Ces/src/V1/TransferRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rule for transferring to a specific agent. diff --git a/Ces/src/V1/TransferRule/DeterministicTransfer.php b/Ces/src/V1/TransferRule/DeterministicTransfer.php index 336a85cb811b..91713b7307f1 100644 --- a/Ces/src/V1/TransferRule/DeterministicTransfer.php +++ b/Ces/src/V1/TransferRule/DeterministicTransfer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\TransferRule; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deterministic transfer rule. When the condition evaluates to true, the @@ -113,4 +113,3 @@ public function getConditionType() } - diff --git a/Ces/src/V1/TransferRule/Direction.php b/Ces/src/V1/TransferRule/Direction.php index 650f5612098b..b13b56f9ff6e 100644 --- a/Ces/src/V1/TransferRule/Direction.php +++ b/Ces/src/V1/TransferRule/Direction.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Ces/src/V1/TransferRule/DisablePlannerTransfer.php b/Ces/src/V1/TransferRule/DisablePlannerTransfer.php index 04f59e5d0471..60941e1b5a30 100644 --- a/Ces/src/V1/TransferRule/DisablePlannerTransfer.php +++ b/Ces/src/V1/TransferRule/DisablePlannerTransfer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\TransferRule; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A rule that prevents the planner from transferring to the target agent. @@ -79,4 +79,3 @@ public function setExpressionCondition($var) } - diff --git a/Ces/src/V1/TriggerAction.php b/Ces/src/V1/TriggerAction.php index 49027777d983..1bc6494cd1a2 100644 --- a/Ces/src/V1/TriggerAction.php +++ b/Ces/src/V1/TriggerAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Action that is taken when a certain precondition is met. diff --git a/Ces/src/V1/TriggerAction/GenerativeAnswer.php b/Ces/src/V1/TriggerAction/GenerativeAnswer.php index c4bcb9dd1c2a..162a6ddf4527 100644 --- a/Ces/src/V1/TriggerAction/GenerativeAnswer.php +++ b/Ces/src/V1/TriggerAction/GenerativeAnswer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\TriggerAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The agent will immediately respond with a generative answer. @@ -65,4 +65,3 @@ public function setPrompt($var) } - diff --git a/Ces/src/V1/TriggerAction/RespondImmediately.php b/Ces/src/V1/TriggerAction/RespondImmediately.php index 243a290c844c..429e7c6bf18e 100644 --- a/Ces/src/V1/TriggerAction/RespondImmediately.php +++ b/Ces/src/V1/TriggerAction/RespondImmediately.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\TriggerAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The agent will immediately respond with a preconfigured response. @@ -29,7 +29,7 @@ class RespondImmediately extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Ces\V1\TriggerAction\Response>|\Google\Protobuf\Internal\RepeatedField $responses + * @type \Google\Cloud\Ces\V1\TriggerAction\Response[] $responses * Required. The canned responses for the agent to choose from. The response * is chosen randomly. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * is chosen randomly. * * Generated from protobuf field repeated .google.cloud.ces.v1.TriggerAction.Response responses = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Ces\V1\TriggerAction\Response> */ public function getResponses() { @@ -56,7 +56,7 @@ public function getResponses() * is chosen randomly. * * Generated from protobuf field repeated .google.cloud.ces.v1.TriggerAction.Response responses = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Ces\V1\TriggerAction\Response>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Ces\V1\TriggerAction\Response[] $var * @return $this */ public function setResponses($var) @@ -69,4 +69,3 @@ public function setResponses($var) } - diff --git a/Ces/src/V1/TriggerAction/Response.php b/Ces/src/V1/TriggerAction/Response.php index ecc1d9a5619a..3309d7513702 100644 --- a/Ces/src/V1/TriggerAction/Response.php +++ b/Ces/src/V1/TriggerAction/Response.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\TriggerAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a response from the agent. @@ -103,4 +103,3 @@ public function setDisabled($var) } - diff --git a/Ces/src/V1/TriggerAction/TransferAgent.php b/Ces/src/V1/TriggerAction/TransferAgent.php index 0276e7ff5581..1a903c79af44 100644 --- a/Ces/src/V1/TriggerAction/TransferAgent.php +++ b/Ces/src/V1/TriggerAction/TransferAgent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1\TriggerAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The agent will transfer the conversation to a different agent. @@ -73,4 +73,3 @@ public function setAgent($var) } - diff --git a/Ces/src/V1/UpdateAgentRequest.php b/Ces/src/V1/UpdateAgentRequest.php index 7ec7fdcdcd81..55ba69b68786 100644 --- a/Ces/src/V1/UpdateAgentRequest.php +++ b/Ces/src/V1/UpdateAgentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/UpdateAppRequest.php b/Ces/src/V1/UpdateAppRequest.php index fd78965e6ac4..77e8d739e2d9 100644 --- a/Ces/src/V1/UpdateAppRequest.php +++ b/Ces/src/V1/UpdateAppRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/UpdateDeploymentRequest.php b/Ces/src/V1/UpdateDeploymentRequest.php index bc5301ec8d5b..ae875bcfec24 100644 --- a/Ces/src/V1/UpdateDeploymentRequest.php +++ b/Ces/src/V1/UpdateDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/UpdateExampleRequest.php b/Ces/src/V1/UpdateExampleRequest.php index 6719c3c096dd..781ce8df5be7 100644 --- a/Ces/src/V1/UpdateExampleRequest.php +++ b/Ces/src/V1/UpdateExampleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/UpdateGuardrailRequest.php b/Ces/src/V1/UpdateGuardrailRequest.php index a57129920ccb..f691277e1c76 100644 --- a/Ces/src/V1/UpdateGuardrailRequest.php +++ b/Ces/src/V1/UpdateGuardrailRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/UpdateToolRequest.php b/Ces/src/V1/UpdateToolRequest.php index 9fe4d8030723..c155e5198def 100644 --- a/Ces/src/V1/UpdateToolRequest.php +++ b/Ces/src/V1/UpdateToolRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/UpdateToolsetRequest.php b/Ces/src/V1/UpdateToolsetRequest.php index 00e67c90b56d..dc1a02dc4557 100644 --- a/Ces/src/V1/UpdateToolsetRequest.php +++ b/Ces/src/V1/UpdateToolsetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Ces/src/V1/WebSearchQuery.php b/Ces/src/V1/WebSearchQuery.php index ed11db613939..cc15c9791923 100644 --- a/Ces/src/V1/WebSearchQuery.php +++ b/Ces/src/V1/WebSearchQuery.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a single web search query and its associated search uri. diff --git a/Ces/src/V1/WidgetTool.php b/Ces/src/V1/WidgetTool.php index 5765951a8b71..ae7ac6d405c6 100644 --- a/Ces/src/V1/WidgetTool.php +++ b/Ces/src/V1/WidgetTool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Ces\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a widget tool that the agent can invoke. When the tool is chosen diff --git a/Ces/src/V1/WidgetTool/WidgetType.php b/Ces/src/V1/WidgetTool/WidgetType.php index 365557c81b0e..f846d5333986 100644 --- a/Ces/src/V1/WidgetTool/WidgetType.php +++ b/Ces/src/V1/WidgetTool/WidgetType.php @@ -116,4 +116,3 @@ public static function value($name) } } - diff --git a/Channel/metadata/V1/BillingAccounts.php b/Channel/metadata/V1/BillingAccounts.php index f65eeb3b4cec..49f00df62a97 100644 --- a/Channel/metadata/V1/BillingAccounts.php +++ b/Channel/metadata/V1/BillingAccounts.php @@ -18,17 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -.google/cloud/channel/v1/billing_accounts.protogoogle.cloud.channel.v1google/api/resource.protogoogle/protobuf/timestamp.proto" -BillingAccount -name ( BA - display_name ( 4 - create_time ( 2.google.protobuf.TimestampBA - currency_code ( BA - region_code ( BA:eAb -*cloudchannel.googleapis.com/BillingAccount4accounts/{account}/billingAccounts/{billing_account}Bl -com.google.cloud.channel.v1BBillingAccountsProtoPZ5cloud.google.com/go/channel/apiv1/channelpb;channelpbbproto3' + "\x0A\x8A\x04\x0A.google/cloud/channel/v1/billing_accounts.proto\x12\x17google.cloud.channel.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x8C\x02\x0A\x0EBillingAccount\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1A\x0A\x0Dcurrency_code\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x18\x0A\x0Bregion_code\x18\x05 \x01(\x09B\x03\xE0A\x03:e\xEAAb\x0A*cloudchannel.googleapis.com/BillingAccount\x124accounts/{account}/billingAccounts/{billing_account}Bl\x0A\x1Bcom.google.cloud.channel.v1B\x14BillingAccountsProtoP\x01Z5cloud.google.com/go/channel/apiv1/channelpb;channelpbb\x06proto3" , true); static::$is_initialized = true; diff --git a/Channel/metadata/V1/ChannelPartnerLinks.php b/Channel/metadata/V1/ChannelPartnerLinks.php index 86151bdca8d0..4e075479fd73 100644 Binary files a/Channel/metadata/V1/ChannelPartnerLinks.php and b/Channel/metadata/V1/ChannelPartnerLinks.php differ diff --git a/Channel/metadata/V1/Common.php b/Channel/metadata/V1/Common.php index 19d938d9fa7b..7790cc642fea 100644 Binary files a/Channel/metadata/V1/Common.php and b/Channel/metadata/V1/Common.php differ diff --git a/Channel/metadata/V1/Customers.php b/Channel/metadata/V1/Customers.php index 3ade69c2c872..345c5a28b59a 100644 Binary files a/Channel/metadata/V1/Customers.php and b/Channel/metadata/V1/Customers.php differ diff --git a/Channel/metadata/V1/EntitlementChanges.php b/Channel/metadata/V1/EntitlementChanges.php index 76e17539b4cd..3e786e4cb1c6 100644 Binary files a/Channel/metadata/V1/EntitlementChanges.php and b/Channel/metadata/V1/EntitlementChanges.php differ diff --git a/Channel/metadata/V1/Entitlements.php b/Channel/metadata/V1/Entitlements.php index 3169b2a7f2c0..2485f0d7594e 100644 Binary files a/Channel/metadata/V1/Entitlements.php and b/Channel/metadata/V1/Entitlements.php differ diff --git a/Channel/metadata/V1/Offers.php b/Channel/metadata/V1/Offers.php index 466db5ddda65..5aa9a6c6ada1 100644 Binary files a/Channel/metadata/V1/Offers.php and b/Channel/metadata/V1/Offers.php differ diff --git a/Channel/metadata/V1/Operations.php b/Channel/metadata/V1/Operations.php index f3c2ea6f2fdd..7a27651ef7af 100644 Binary files a/Channel/metadata/V1/Operations.php and b/Channel/metadata/V1/Operations.php differ diff --git a/Channel/metadata/V1/Products.php b/Channel/metadata/V1/Products.php index f23aa74508c8..a60b04a38d8e 100644 Binary files a/Channel/metadata/V1/Products.php and b/Channel/metadata/V1/Products.php differ diff --git a/Channel/metadata/V1/ReportsService.php b/Channel/metadata/V1/ReportsService.php index 5b934a3afcbf..96f3509cfc9b 100644 Binary files a/Channel/metadata/V1/ReportsService.php and b/Channel/metadata/V1/ReportsService.php differ diff --git a/Channel/metadata/V1/Repricing.php b/Channel/metadata/V1/Repricing.php index c78ebc9462ce..ea57bd1c2985 100644 Binary files a/Channel/metadata/V1/Repricing.php and b/Channel/metadata/V1/Repricing.php differ diff --git a/Channel/metadata/V1/Service.php b/Channel/metadata/V1/Service.php index 4e3c9adee1e1..385674242080 100644 Binary files a/Channel/metadata/V1/Service.php and b/Channel/metadata/V1/Service.php differ diff --git a/Channel/metadata/V1/SubscriberEvent.php b/Channel/metadata/V1/SubscriberEvent.php index a113d2079c3e..a2d884b68352 100644 Binary files a/Channel/metadata/V1/SubscriberEvent.php and b/Channel/metadata/V1/SubscriberEvent.php differ diff --git a/Channel/src/V1/ActivateEntitlementRequest.php b/Channel/src/V1/ActivateEntitlementRequest.php index 13c381a68edb..175d9a728c73 100644 --- a/Channel/src/V1/ActivateEntitlementRequest.php +++ b/Channel/src/V1/ActivateEntitlementRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/AdminUser.php b/Channel/src/V1/AdminUser.php index 5b412358a488..03cd44106e51 100644 --- a/Channel/src/V1/AdminUser.php +++ b/Channel/src/V1/AdminUser.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information needed to create an Admin User for Google Workspace. diff --git a/Channel/src/V1/AssociationInfo.php b/Channel/src/V1/AssociationInfo.php index 58cc984b0350..91b978d3da6f 100644 --- a/Channel/src/V1/AssociationInfo.php +++ b/Channel/src/V1/AssociationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Association links that an entitlement has to other entitlements. diff --git a/Channel/src/V1/BillableSku.php b/Channel/src/V1/BillableSku.php index 6775115bdb11..76a1a723d472 100644 --- a/Channel/src/V1/BillableSku.php +++ b/Channel/src/V1/BillableSku.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the Billable SKU information. diff --git a/Channel/src/V1/BillingAccount.php b/Channel/src/V1/BillingAccount.php index 91b31c36f504..fc60abb627c4 100644 --- a/Channel/src/V1/BillingAccount.php +++ b/Channel/src/V1/BillingAccount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a billing account. diff --git a/Channel/src/V1/BillingAccountPurchaseInfo.php b/Channel/src/V1/BillingAccountPurchaseInfo.php index 8263a70b749d..f535812810df 100644 --- a/Channel/src/V1/BillingAccountPurchaseInfo.php +++ b/Channel/src/V1/BillingAccountPurchaseInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a billing account that can be used to make a purchase. diff --git a/Channel/src/V1/CancelEntitlementRequest.php b/Channel/src/V1/CancelEntitlementRequest.php index a80839e799ca..2bcbf30f13f5 100644 --- a/Channel/src/V1/CancelEntitlementRequest.php +++ b/Channel/src/V1/CancelEntitlementRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ChangeOfferRequest.php b/Channel/src/V1/ChangeOfferRequest.php index 461d2e6d5f7d..dc447dd831af 100644 --- a/Channel/src/V1/ChangeOfferRequest.php +++ b/Channel/src/V1/ChangeOfferRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -92,7 +92,7 @@ class ChangeOfferRequest extends \Google\Protobuf\Internal\Message * @type string $offer * Required. New Offer. * Format: accounts/{account_id}/offers/{offer_id}. - * @type array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $parameters + * @type \Google\Cloud\Channel\V1\Parameter[] $parameters * Optional. Parameters needed to purchase the Offer. To view the available * Parameters refer to the * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] @@ -191,7 +191,7 @@ public function setOffer($var) * from the desired offer. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Parameter> */ public function getParameters() { @@ -205,7 +205,7 @@ public function getParameters() * from the desired offer. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Parameter[] $var * @return $this */ public function setParameters($var) diff --git a/Channel/src/V1/ChangeParametersRequest.php b/Channel/src/V1/ChangeParametersRequest.php index b84790f9599e..514ad867c427 100644 --- a/Channel/src/V1/ChangeParametersRequest.php +++ b/Channel/src/V1/ChangeParametersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -66,7 +66,7 @@ class ChangeParametersRequest extends \Google\Protobuf\Internal\Message * Required. The name of the entitlement to update. * Name uses the format: * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} - * @type array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $parameters + * @type \Google\Cloud\Channel\V1\Parameter[] $parameters * Required. Entitlement parameters to update. You can only change editable * parameters. * To view the available Parameters for a request, refer to the @@ -130,7 +130,7 @@ public function setName($var) * from the desired offer. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Parameter> */ public function getParameters() { @@ -145,7 +145,7 @@ public function getParameters() * from the desired offer. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Parameter[] $var * @return $this */ public function setParameters($var) diff --git a/Channel/src/V1/ChangeRenewalSettingsRequest.php b/Channel/src/V1/ChangeRenewalSettingsRequest.php index 3d76dff9e4fd..365b3cf1d881 100644 --- a/Channel/src/V1/ChangeRenewalSettingsRequest.php +++ b/Channel/src/V1/ChangeRenewalSettingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ChannelPartnerLink.php b/Channel/src/V1/ChannelPartnerLink.php index 7f10cc256cae..b09ababa2200 100644 --- a/Channel/src/V1/ChannelPartnerLink.php +++ b/Channel/src/V1/ChannelPartnerLink.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Entity representing a link between distributors and their indirect diff --git a/Channel/src/V1/ChannelPartnerRepricingConfig.php b/Channel/src/V1/ChannelPartnerRepricingConfig.php index 82fa0f5c3053..a4ec0f5ab1a7 100644 --- a/Channel/src/V1/ChannelPartnerRepricingConfig.php +++ b/Channel/src/V1/ChannelPartnerRepricingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for how a distributor will rebill a channel partner diff --git a/Channel/src/V1/CheckCloudIdentityAccountsExistRequest.php b/Channel/src/V1/CheckCloudIdentityAccountsExistRequest.php index 39dde78e6f22..b663e435a0af 100644 --- a/Channel/src/V1/CheckCloudIdentityAccountsExistRequest.php +++ b/Channel/src/V1/CheckCloudIdentityAccountsExistRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/CheckCloudIdentityAccountsExistResponse.php b/Channel/src/V1/CheckCloudIdentityAccountsExistResponse.php index 12ef087cacf0..9cb6f3f35e47 100644 --- a/Channel/src/V1/CheckCloudIdentityAccountsExistResponse.php +++ b/Channel/src/V1/CheckCloudIdentityAccountsExistResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -29,7 +29,7 @@ class CheckCloudIdentityAccountsExistResponse extends \Google\Protobuf\Internal\ * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\CloudIdentityCustomerAccount>|\Google\Protobuf\Internal\RepeatedField $cloud_identity_accounts + * @type \Google\Cloud\Channel\V1\CloudIdentityCustomerAccount[] $cloud_identity_accounts * The Cloud Identity accounts associated with the domain. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * The Cloud Identity accounts associated with the domain. * * Generated from protobuf field repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\CloudIdentityCustomerAccount> */ public function getCloudIdentityAccounts() { @@ -53,7 +53,7 @@ public function getCloudIdentityAccounts() * The Cloud Identity accounts associated with the domain. * * Generated from protobuf field repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1; - * @param array<\Google\Cloud\Channel\V1\CloudIdentityCustomerAccount>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\CloudIdentityCustomerAccount[] $var * @return $this */ public function setCloudIdentityAccounts($var) diff --git a/Channel/src/V1/CloudIdentityCustomerAccount.php b/Channel/src/V1/CloudIdentityCustomerAccount.php index 9053b70718f1..c21a30f4fee4 100644 --- a/Channel/src/V1/CloudIdentityCustomerAccount.php +++ b/Channel/src/V1/CloudIdentityCustomerAccount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Entity representing a Cloud Identity account that may be diff --git a/Channel/src/V1/CloudIdentityInfo.php b/Channel/src/V1/CloudIdentityInfo.php index 7dac16762bc8..e52586b3a3de 100644 --- a/Channel/src/V1/CloudIdentityInfo.php +++ b/Channel/src/V1/CloudIdentityInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud Identity information for the Cloud Channel Customer. diff --git a/Channel/src/V1/CloudIdentityInfo/CustomerType.php b/Channel/src/V1/CloudIdentityInfo/CustomerType.php index 4701262f55d4..d6152f8c5d27 100644 --- a/Channel/src/V1/CloudIdentityInfo/CustomerType.php +++ b/Channel/src/V1/CloudIdentityInfo/CustomerType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/Column.php b/Channel/src/V1/Column.php index aec2fcae50a1..7e1c6b2e5890 100644 --- a/Channel/src/V1/Column.php +++ b/Channel/src/V1/Column.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The definition of a report column. Specifies the data properties diff --git a/Channel/src/V1/Column/DataType.php b/Channel/src/V1/Column/DataType.php index e2dd84b6d427..c2b3f9f91544 100644 --- a/Channel/src/V1/Column/DataType.php +++ b/Channel/src/V1/Column/DataType.php @@ -88,4 +88,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/CommitmentSettings.php b/Channel/src/V1/CommitmentSettings.php index bbea2b343638..921ebd58dd2b 100644 --- a/Channel/src/V1/CommitmentSettings.php +++ b/Channel/src/V1/CommitmentSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Commitment settings for commitment-based offers. diff --git a/Channel/src/V1/ConditionalOverride.php b/Channel/src/V1/ConditionalOverride.php index 7d7133bb1ec5..b3b7b34c3eb8 100644 --- a/Channel/src/V1/ConditionalOverride.php +++ b/Channel/src/V1/ConditionalOverride.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the override to conditionally apply. diff --git a/Channel/src/V1/Constraints.php b/Channel/src/V1/Constraints.php index abbf8b1ba952..7303dacc90d0 100644 --- a/Channel/src/V1/Constraints.php +++ b/Channel/src/V1/Constraints.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the constraints for buying the Offer. diff --git a/Channel/src/V1/ContactInfo.php b/Channel/src/V1/ContactInfo.php index 044cf09030c8..373023d4c01b 100644 --- a/Channel/src/V1/ContactInfo.php +++ b/Channel/src/V1/ContactInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contact information for a customer account. diff --git a/Channel/src/V1/CreateChannelPartnerLinkRequest.php b/Channel/src/V1/CreateChannelPartnerLinkRequest.php index fc4895c5ad8b..f8502c8ea291 100644 --- a/Channel/src/V1/CreateChannelPartnerLinkRequest.php +++ b/Channel/src/V1/CreateChannelPartnerLinkRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/CreateChannelPartnerRepricingConfigRequest.php b/Channel/src/V1/CreateChannelPartnerRepricingConfigRequest.php index 64d5d61c9080..6389c1e18603 100644 --- a/Channel/src/V1/CreateChannelPartnerRepricingConfigRequest.php +++ b/Channel/src/V1/CreateChannelPartnerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/CreateCustomerRepricingConfigRequest.php b/Channel/src/V1/CreateCustomerRepricingConfigRequest.php index b8c3cbd800fa..bbe17df7e819 100644 --- a/Channel/src/V1/CreateCustomerRepricingConfigRequest.php +++ b/Channel/src/V1/CreateCustomerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/CreateCustomerRequest.php b/Channel/src/V1/CreateCustomerRequest.php index bd57f2e37edc..f7dc1ad52c5c 100644 --- a/Channel/src/V1/CreateCustomerRequest.php +++ b/Channel/src/V1/CreateCustomerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/CreateEntitlementRequest.php b/Channel/src/V1/CreateEntitlementRequest.php index 4385ea690282..d914a5605b00 100644 --- a/Channel/src/V1/CreateEntitlementRequest.php +++ b/Channel/src/V1/CreateEntitlementRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/Customer.php b/Channel/src/V1/Customer.php index 9315f9e37588..b2977df5f617 100644 --- a/Channel/src/V1/Customer.php +++ b/Channel/src/V1/Customer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Entity representing a customer of a reseller or distributor. diff --git a/Channel/src/V1/Customer/CustomerAttestationState.php b/Channel/src/V1/Customer/CustomerAttestationState.php index 55422a07564f..1d49e664dc99 100644 --- a/Channel/src/V1/Customer/CustomerAttestationState.php +++ b/Channel/src/V1/Customer/CustomerAttestationState.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/CustomerConstraints.php b/Channel/src/V1/CustomerConstraints.php index e28e22d19011..1263c20eb7f7 100644 --- a/Channel/src/V1/CustomerConstraints.php +++ b/Channel/src/V1/CustomerConstraints.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents constraints required to purchase the Offer for a customer. @@ -40,11 +40,11 @@ class CustomerConstraints extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_regions + * @type string[] $allowed_regions * Allowed geographical regions of the customer. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_customer_types + * @type int[] $allowed_customer_types * Allowed Customer Type. - * @type array|\Google\Protobuf\Internal\RepeatedField $promotional_order_types + * @type int[] $promotional_order_types * Allowed Promotional Order Type. Present for Promotional offers. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * Allowed geographical regions of the customer. * * Generated from protobuf field repeated string allowed_regions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAllowedRegions() { @@ -68,7 +68,7 @@ public function getAllowedRegions() * Allowed geographical regions of the customer. * * Generated from protobuf field repeated string allowed_regions = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAllowedRegions($var) @@ -83,7 +83,7 @@ public function setAllowedRegions($var) * Allowed Customer Type. * * Generated from protobuf field repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAllowedCustomerTypes() { @@ -94,7 +94,7 @@ public function getAllowedCustomerTypes() * Allowed Customer Type. * * Generated from protobuf field repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setAllowedCustomerTypes($var) @@ -109,7 +109,7 @@ public function setAllowedCustomerTypes($var) * Allowed Promotional Order Type. Present for Promotional offers. * * Generated from protobuf field repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPromotionalOrderTypes() { @@ -120,7 +120,7 @@ public function getPromotionalOrderTypes() * Allowed Promotional Order Type. Present for Promotional offers. * * Generated from protobuf field repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setPromotionalOrderTypes($var) diff --git a/Channel/src/V1/CustomerEvent.php b/Channel/src/V1/CustomerEvent.php index 028ba5e70d36..2b7af7583eab 100644 --- a/Channel/src/V1/CustomerEvent.php +++ b/Channel/src/V1/CustomerEvent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents Pub/Sub message content describing customer update. diff --git a/Channel/src/V1/CustomerEvent/Type.php b/Channel/src/V1/CustomerEvent/Type.php index f83ee94d8f81..1154d5207a24 100644 --- a/Channel/src/V1/CustomerEvent/Type.php +++ b/Channel/src/V1/CustomerEvent/Type.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/CustomerRepricingConfig.php b/Channel/src/V1/CustomerRepricingConfig.php index 45ff93a658d8..c7be605e8103 100644 --- a/Channel/src/V1/CustomerRepricingConfig.php +++ b/Channel/src/V1/CustomerRepricingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for how a reseller will reprice a Customer. diff --git a/Channel/src/V1/DateRange.php b/Channel/src/V1/DateRange.php index fd3f7d1cb8cb..2d91aa06a579 100644 --- a/Channel/src/V1/DateRange.php +++ b/Channel/src/V1/DateRange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of usage or invoice date ranges. diff --git a/Channel/src/V1/DeleteChannelPartnerRepricingConfigRequest.php b/Channel/src/V1/DeleteChannelPartnerRepricingConfigRequest.php index d0fc158ca4d4..89ab11ba030c 100644 --- a/Channel/src/V1/DeleteChannelPartnerRepricingConfigRequest.php +++ b/Channel/src/V1/DeleteChannelPartnerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteChannelPartnerRepricingConfig. diff --git a/Channel/src/V1/DeleteCustomerRepricingConfigRequest.php b/Channel/src/V1/DeleteCustomerRepricingConfigRequest.php index e2fd21b1e210..ab6372f288ab 100644 --- a/Channel/src/V1/DeleteCustomerRepricingConfigRequest.php +++ b/Channel/src/V1/DeleteCustomerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/DeleteCustomerRequest.php b/Channel/src/V1/DeleteCustomerRequest.php index 5b017cf19684..6528dda358a9 100644 --- a/Channel/src/V1/DeleteCustomerRequest.php +++ b/Channel/src/V1/DeleteCustomerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/DiscountComponent.php b/Channel/src/V1/DiscountComponent.php index 90ed4a8eedae..139028109001 100644 --- a/Channel/src/V1/DiscountComponent.php +++ b/Channel/src/V1/DiscountComponent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a single component of the total discount applicable on a Price. diff --git a/Channel/src/V1/EduData.php b/Channel/src/V1/EduData.php index d83745074dd9..f29b513f80cd 100644 --- a/Channel/src/V1/EduData.php +++ b/Channel/src/V1/EduData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Required Edu Attributes diff --git a/Channel/src/V1/EduData/InstituteSize.php b/Channel/src/V1/EduData/InstituteSize.php index 6f0357ccc2c9..f5349a95f6a1 100644 --- a/Channel/src/V1/EduData/InstituteSize.php +++ b/Channel/src/V1/EduData/InstituteSize.php @@ -94,4 +94,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/EduData/InstituteType.php b/Channel/src/V1/EduData/InstituteType.php index 74e61a89e705..a11d9d82f52f 100644 --- a/Channel/src/V1/EduData/InstituteType.php +++ b/Channel/src/V1/EduData/InstituteType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/Entitlement.php b/Channel/src/V1/Entitlement.php index f34fc7294ebd..8a9b985e1d55 100644 --- a/Channel/src/V1/Entitlement.php +++ b/Channel/src/V1/Entitlement.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An entitlement is a representation of a customer's ability to use a service. @@ -145,7 +145,7 @@ class Entitlement extends \Google\Protobuf\Internal\Message * Output only. Current provisioning state of the entitlement. * @type \Google\Cloud\Channel\V1\ProvisionedService $provisioned_service * Output only. Service provisioning details for the entitlement. - * @type array|\Google\Protobuf\Internal\RepeatedField $suspension_reasons + * @type int[] $suspension_reasons * Output only. Enumerable of all current suspension reasons for an * entitlement. * @type string $purchase_order_id @@ -158,7 +158,7 @@ class Entitlement extends \Google\Protobuf\Internal\Message * Output only. Settings for trial offers. * @type \Google\Cloud\Channel\V1\AssociationInfo $association_info * Association information to other entitlements. - * @type array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $parameters + * @type \Google\Cloud\Channel\V1\Parameter[] $parameters * Extended entitlement parameters. When creating an entitlement, valid * parameter names and values are defined in the * [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]. @@ -418,7 +418,7 @@ public function setProvisionedService($var) * entitlement. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSuspensionReasons() { @@ -430,7 +430,7 @@ public function getSuspensionReasons() * entitlement. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reasons = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSuspensionReasons($var) @@ -562,7 +562,7 @@ public function setAssociationInfo($var) * - display_name: The display name of the billing subaccount. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 26; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Parameter> */ public function getParameters() { @@ -584,7 +584,7 @@ public function getParameters() * - display_name: The display name of the billing subaccount. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 26; - * @param array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Parameter[] $var * @return $this */ public function setParameters($var) diff --git a/Channel/src/V1/Entitlement/ProvisioningState.php b/Channel/src/V1/Entitlement/ProvisioningState.php index d0d51aad0a62..f5d8dbc145e2 100644 --- a/Channel/src/V1/Entitlement/ProvisioningState.php +++ b/Channel/src/V1/Entitlement/ProvisioningState.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/Entitlement/SuspensionReason.php b/Channel/src/V1/Entitlement/SuspensionReason.php index 787244f20718..d106280c760c 100644 --- a/Channel/src/V1/Entitlement/SuspensionReason.php +++ b/Channel/src/V1/Entitlement/SuspensionReason.php @@ -83,4 +83,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/EntitlementChange.php b/Channel/src/V1/EntitlementChange.php index 67712df14483..021dcaad784a 100644 --- a/Channel/src/V1/EntitlementChange.php +++ b/Channel/src/V1/EntitlementChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Change event entry for Entitlement order history @@ -100,7 +100,7 @@ class EntitlementChange extends \Google\Protobuf\Internal\Message * The submitted time of the change. * @type int $operator_type * Operator type responsible for the change. - * @type array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $parameters + * @type \Google\Cloud\Channel\V1\Parameter[] $parameters * Extended parameters, such as: * purchase_order_number, gcp_details; * internal_correlation_id, long_running_operation_id, order_id; @@ -427,7 +427,7 @@ public function setOperatorType($var) * etc. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Parameter> */ public function getParameters() { @@ -441,7 +441,7 @@ public function getParameters() * etc. * * Generated from protobuf field repeated .google.cloud.channel.v1.Parameter parameters = 8; - * @param array<\Google\Cloud\Channel\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Parameter[] $var * @return $this */ public function setParameters($var) diff --git a/Channel/src/V1/EntitlementChange/ActivationReason.php b/Channel/src/V1/EntitlementChange/ActivationReason.php index b384d8b8812d..e53f4d502086 100644 --- a/Channel/src/V1/EntitlementChange/ActivationReason.php +++ b/Channel/src/V1/EntitlementChange/ActivationReason.php @@ -76,4 +76,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/EntitlementChange/CancellationReason.php b/Channel/src/V1/EntitlementChange/CancellationReason.php index b8bcdec6ab25..cec13443472c 100644 --- a/Channel/src/V1/EntitlementChange/CancellationReason.php +++ b/Channel/src/V1/EntitlementChange/CancellationReason.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/EntitlementChange/ChangeType.php b/Channel/src/V1/EntitlementChange/ChangeType.php index 585ad13a30d6..3a5c8e4e5070 100644 --- a/Channel/src/V1/EntitlementChange/ChangeType.php +++ b/Channel/src/V1/EntitlementChange/ChangeType.php @@ -146,4 +146,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/EntitlementChange/OperatorType.php b/Channel/src/V1/EntitlementChange/OperatorType.php index e19001867e51..b4dbc02ed3f2 100644 --- a/Channel/src/V1/EntitlementChange/OperatorType.php +++ b/Channel/src/V1/EntitlementChange/OperatorType.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/EntitlementEvent.php b/Channel/src/V1/EntitlementEvent.php index 99cc65175f21..58fa4c350c9a 100644 --- a/Channel/src/V1/EntitlementEvent.php +++ b/Channel/src/V1/EntitlementEvent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents Pub/Sub message content describing entitlement update. diff --git a/Channel/src/V1/EntitlementEvent/Type.php b/Channel/src/V1/EntitlementEvent/Type.php index 7f6b3c93ce87..a3c4d6650f2a 100644 --- a/Channel/src/V1/EntitlementEvent/Type.php +++ b/Channel/src/V1/EntitlementEvent/Type.php @@ -132,4 +132,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/FetchReportResultsRequest.php b/Channel/src/V1/FetchReportResultsRequest.php index 6990c7569ff9..4fe5308a0ccd 100644 --- a/Channel/src/V1/FetchReportResultsRequest.php +++ b/Channel/src/V1/FetchReportResultsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -96,7 +96,7 @@ public static function build(string $reportJob): self * of the previous * [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] * call. - * @type array|\Google\Protobuf\Internal\RepeatedField $partition_keys + * @type string[] $partition_keys * Optional. List of keys specifying which report partitions to return. * If empty, returns all partitions. * } @@ -213,7 +213,7 @@ public function setPageToken($var) * If empty, returns all partitions. * * Generated from protobuf field repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPartitionKeys() { @@ -225,7 +225,7 @@ public function getPartitionKeys() * If empty, returns all partitions. * * Generated from protobuf field repeated string partition_keys = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPartitionKeys($var) diff --git a/Channel/src/V1/FetchReportResultsResponse.php b/Channel/src/V1/FetchReportResultsResponse.php index 0e726c0369e3..c2f9fb0819a8 100644 --- a/Channel/src/V1/FetchReportResultsResponse.php +++ b/Channel/src/V1/FetchReportResultsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -50,7 +50,7 @@ class FetchReportResultsResponse extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Channel\V1\ReportResultsMetadata $report_metadata * The metadata for the report results (display name, columns, row count, and * date ranges). - * @type array<\Google\Cloud\Channel\V1\Row>|\Google\Protobuf\Internal\RepeatedField $rows + * @type \Google\Cloud\Channel\V1\Row[] $rows * The report's lists of values. Each row follows the settings and ordering * of the columns from `report_metadata`. * @type string $next_page_token @@ -107,7 +107,7 @@ public function setReportMetadata($var) * of the columns from `report_metadata`. * * Generated from protobuf field repeated .google.cloud.channel.v1.Row rows = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Row> */ public function getRows() { @@ -119,7 +119,7 @@ public function getRows() * of the columns from `report_metadata`. * * Generated from protobuf field repeated .google.cloud.channel.v1.Row rows = 2; - * @param array<\Google\Cloud\Channel\V1\Row>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Row[] $var * @return $this */ public function setRows($var) diff --git a/Channel/src/V1/GetChannelPartnerLinkRequest.php b/Channel/src/V1/GetChannelPartnerLinkRequest.php index 83a20fb9ff76..d1b547c1888b 100644 --- a/Channel/src/V1/GetChannelPartnerLinkRequest.php +++ b/Channel/src/V1/GetChannelPartnerLinkRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/GetChannelPartnerRepricingConfigRequest.php b/Channel/src/V1/GetChannelPartnerRepricingConfigRequest.php index 6937f4fb2578..ae90f198dcb5 100644 --- a/Channel/src/V1/GetChannelPartnerRepricingConfigRequest.php +++ b/Channel/src/V1/GetChannelPartnerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/GetCustomerRepricingConfigRequest.php b/Channel/src/V1/GetCustomerRepricingConfigRequest.php index a45c0826adb1..40be1be3b447 100644 --- a/Channel/src/V1/GetCustomerRepricingConfigRequest.php +++ b/Channel/src/V1/GetCustomerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/GetCustomerRequest.php b/Channel/src/V1/GetCustomerRequest.php index 936a2d67b50c..dcf2d01734f7 100644 --- a/Channel/src/V1/GetCustomerRequest.php +++ b/Channel/src/V1/GetCustomerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/GetEntitlementRequest.php b/Channel/src/V1/GetEntitlementRequest.php index 26585f4e6cd3..13900c52dac7 100644 --- a/Channel/src/V1/GetEntitlementRequest.php +++ b/Channel/src/V1/GetEntitlementRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ImportCustomerRequest.php b/Channel/src/V1/ImportCustomerRequest.php index 66b9c2eb6a15..d621d7e363c2 100644 --- a/Channel/src/V1/ImportCustomerRequest.php +++ b/Channel/src/V1/ImportCustomerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListChannelPartnerLinksRequest.php b/Channel/src/V1/ListChannelPartnerLinksRequest.php index e923617f485b..17f25b6e148b 100644 --- a/Channel/src/V1/ListChannelPartnerLinksRequest.php +++ b/Channel/src/V1/ListChannelPartnerLinksRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListChannelPartnerLinksResponse.php b/Channel/src/V1/ListChannelPartnerLinksResponse.php index fd67e919af80..28065ee92078 100644 --- a/Channel/src/V1/ListChannelPartnerLinksResponse.php +++ b/Channel/src/V1/ListChannelPartnerLinksResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListChannelPartnerLinksResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\ChannelPartnerLink>|\Google\Protobuf\Internal\RepeatedField $channel_partner_links + * @type \Google\Cloud\Channel\V1\ChannelPartnerLink[] $channel_partner_links * The Channel partner links for a reseller. * @type string $next_page_token * A token to retrieve the next page of results. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The Channel partner links for a reseller. * * Generated from protobuf field repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\ChannelPartnerLink> */ public function getChannelPartnerLinks() { @@ -67,7 +67,7 @@ public function getChannelPartnerLinks() * The Channel partner links for a reseller. * * Generated from protobuf field repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1; - * @param array<\Google\Cloud\Channel\V1\ChannelPartnerLink>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\ChannelPartnerLink[] $var * @return $this */ public function setChannelPartnerLinks($var) diff --git a/Channel/src/V1/ListChannelPartnerRepricingConfigsRequest.php b/Channel/src/V1/ListChannelPartnerRepricingConfigsRequest.php index 599896304dbc..694723e15bb0 100644 --- a/Channel/src/V1/ListChannelPartnerRepricingConfigsRequest.php +++ b/Channel/src/V1/ListChannelPartnerRepricingConfigsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListChannelPartnerRepricingConfigsResponse.php b/Channel/src/V1/ListChannelPartnerRepricingConfigsResponse.php index de8ee1005901..9af3f076ceec 100644 --- a/Channel/src/V1/ListChannelPartnerRepricingConfigsResponse.php +++ b/Channel/src/V1/ListChannelPartnerRepricingConfigsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListChannelPartnerRepricingConfigsResponse extends \Google\Protobuf\Intern * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\ChannelPartnerRepricingConfig>|\Google\Protobuf\Internal\RepeatedField $channel_partner_repricing_configs + * @type \Google\Cloud\Channel\V1\ChannelPartnerRepricingConfig[] $channel_partner_repricing_configs * The repricing configs for this channel partner. * @type string $next_page_token * A token to retrieve the next page of results. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The repricing configs for this channel partner. * * Generated from protobuf field repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\ChannelPartnerRepricingConfig> */ public function getChannelPartnerRepricingConfigs() { @@ -67,7 +67,7 @@ public function getChannelPartnerRepricingConfigs() * The repricing configs for this channel partner. * * Generated from protobuf field repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1; - * @param array<\Google\Cloud\Channel\V1\ChannelPartnerRepricingConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\ChannelPartnerRepricingConfig[] $var * @return $this */ public function setChannelPartnerRepricingConfigs($var) diff --git a/Channel/src/V1/ListCustomerRepricingConfigsRequest.php b/Channel/src/V1/ListCustomerRepricingConfigsRequest.php index 0e66f0310e66..1bf15f16f927 100644 --- a/Channel/src/V1/ListCustomerRepricingConfigsRequest.php +++ b/Channel/src/V1/ListCustomerRepricingConfigsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListCustomerRepricingConfigsResponse.php b/Channel/src/V1/ListCustomerRepricingConfigsResponse.php index 44e58bfd740d..e363d0de1b3d 100644 --- a/Channel/src/V1/ListCustomerRepricingConfigsResponse.php +++ b/Channel/src/V1/ListCustomerRepricingConfigsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListCustomerRepricingConfigsResponse extends \Google\Protobuf\Internal\Mes * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\CustomerRepricingConfig>|\Google\Protobuf\Internal\RepeatedField $customer_repricing_configs + * @type \Google\Cloud\Channel\V1\CustomerRepricingConfig[] $customer_repricing_configs * The repricing configs for this channel partner. * @type string $next_page_token * A token to retrieve the next page of results. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The repricing configs for this channel partner. * * Generated from protobuf field repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\CustomerRepricingConfig> */ public function getCustomerRepricingConfigs() { @@ -67,7 +67,7 @@ public function getCustomerRepricingConfigs() * The repricing configs for this channel partner. * * Generated from protobuf field repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1; - * @param array<\Google\Cloud\Channel\V1\CustomerRepricingConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\CustomerRepricingConfig[] $var * @return $this */ public function setCustomerRepricingConfigs($var) diff --git a/Channel/src/V1/ListCustomersRequest.php b/Channel/src/V1/ListCustomersRequest.php index 5b0e24201bbb..f0787c973dcf 100644 --- a/Channel/src/V1/ListCustomersRequest.php +++ b/Channel/src/V1/ListCustomersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListCustomersResponse.php b/Channel/src/V1/ListCustomersResponse.php index 02aed433f643..68892d062a29 100644 --- a/Channel/src/V1/ListCustomersResponse.php +++ b/Channel/src/V1/ListCustomersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListCustomersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\Customer>|\Google\Protobuf\Internal\RepeatedField $customers + * @type \Google\Cloud\Channel\V1\Customer[] $customers * The customers belonging to a reseller or distributor. * @type string $next_page_token * A token to retrieve the next page of results. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The customers belonging to a reseller or distributor. * * Generated from protobuf field repeated .google.cloud.channel.v1.Customer customers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Customer> */ public function getCustomers() { @@ -67,7 +67,7 @@ public function getCustomers() * The customers belonging to a reseller or distributor. * * Generated from protobuf field repeated .google.cloud.channel.v1.Customer customers = 1; - * @param array<\Google\Cloud\Channel\V1\Customer>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Customer[] $var * @return $this */ public function setCustomers($var) diff --git a/Channel/src/V1/ListEntitlementChangesRequest.php b/Channel/src/V1/ListEntitlementChangesRequest.php index e14327e24ec9..3bbccc2ae8c3 100644 --- a/Channel/src/V1/ListEntitlementChangesRequest.php +++ b/Channel/src/V1/ListEntitlementChangesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListEntitlementChangesResponse.php b/Channel/src/V1/ListEntitlementChangesResponse.php index 80c431cb0eff..838a63b4cd59 100644 --- a/Channel/src/V1/ListEntitlementChangesResponse.php +++ b/Channel/src/V1/ListEntitlementChangesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -35,7 +35,7 @@ class ListEntitlementChangesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\EntitlementChange>|\Google\Protobuf\Internal\RepeatedField $entitlement_changes + * @type \Google\Cloud\Channel\V1\EntitlementChange[] $entitlement_changes * The list of entitlement changes. * @type string $next_page_token * A token to list the next page of results. @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * The list of entitlement changes. * * Generated from protobuf field repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\EntitlementChange> */ public function getEntitlementChanges() { @@ -61,7 +61,7 @@ public function getEntitlementChanges() * The list of entitlement changes. * * Generated from protobuf field repeated .google.cloud.channel.v1.EntitlementChange entitlement_changes = 1; - * @param array<\Google\Cloud\Channel\V1\EntitlementChange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\EntitlementChange[] $var * @return $this */ public function setEntitlementChanges($var) diff --git a/Channel/src/V1/ListEntitlementsRequest.php b/Channel/src/V1/ListEntitlementsRequest.php index 4df91cd2c6fb..0ef628cc5b71 100644 --- a/Channel/src/V1/ListEntitlementsRequest.php +++ b/Channel/src/V1/ListEntitlementsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListEntitlementsResponse.php b/Channel/src/V1/ListEntitlementsResponse.php index 2babef97eadd..b1e0e7078dec 100644 --- a/Channel/src/V1/ListEntitlementsResponse.php +++ b/Channel/src/V1/ListEntitlementsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListEntitlementsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $entitlements + * @type \Google\Cloud\Channel\V1\Entitlement[] $entitlements * The reseller customer's entitlements. * @type string $next_page_token * A token to list the next page of results. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * The reseller customer's entitlements. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Entitlement> */ public function getEntitlements() { @@ -67,7 +67,7 @@ public function getEntitlements() * The reseller customer's entitlements. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 1; - * @param array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Entitlement[] $var * @return $this */ public function setEntitlements($var) diff --git a/Channel/src/V1/ListOffersRequest.php b/Channel/src/V1/ListOffersRequest.php index 5370e285ab62..ddfd6400087e 100644 --- a/Channel/src/V1/ListOffersRequest.php +++ b/Channel/src/V1/ListOffersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListOffers. diff --git a/Channel/src/V1/ListOffersResponse.php b/Channel/src/V1/ListOffersResponse.php index fff6c1532fe8..8223fa86d601 100644 --- a/Channel/src/V1/ListOffersResponse.php +++ b/Channel/src/V1/ListOffersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListOffers. @@ -36,7 +36,7 @@ class ListOffersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\Offer>|\Google\Protobuf\Internal\RepeatedField $offers + * @type \Google\Cloud\Channel\V1\Offer[] $offers * The list of Offers requested. * The pricing information for each Offer only includes the base price. * Effective prices and discounts aren't populated. @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * Effective prices and discounts aren't populated. * * Generated from protobuf field repeated .google.cloud.channel.v1.Offer offers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Offer> */ public function getOffers() { @@ -68,7 +68,7 @@ public function getOffers() * Effective prices and discounts aren't populated. * * Generated from protobuf field repeated .google.cloud.channel.v1.Offer offers = 1; - * @param array<\Google\Cloud\Channel\V1\Offer>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Offer[] $var * @return $this */ public function setOffers($var) diff --git a/Channel/src/V1/ListProductsRequest.php b/Channel/src/V1/ListProductsRequest.php index 9e9c76f24c8c..f7d1127c8634 100644 --- a/Channel/src/V1/ListProductsRequest.php +++ b/Channel/src/V1/ListProductsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListProducts. diff --git a/Channel/src/V1/ListProductsResponse.php b/Channel/src/V1/ListProductsResponse.php index 5e7523527d34..7bbd1f13fa5f 100644 --- a/Channel/src/V1/ListProductsResponse.php +++ b/Channel/src/V1/ListProductsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListProducts. @@ -34,7 +34,7 @@ class ListProductsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\Product>|\Google\Protobuf\Internal\RepeatedField $products + * @type \Google\Cloud\Channel\V1\Product[] $products * List of Products requested. * @type string $next_page_token * A token to retrieve the next page of results. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * List of Products requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.Product products = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Product> */ public function getProducts() { @@ -60,7 +60,7 @@ public function getProducts() * List of Products requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.Product products = 1; - * @param array<\Google\Cloud\Channel\V1\Product>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Product[] $var * @return $this */ public function setProducts($var) diff --git a/Channel/src/V1/ListPurchasableOffersRequest.php b/Channel/src/V1/ListPurchasableOffersRequest.php index 2d11e9d6b787..ebe7024255d3 100644 --- a/Channel/src/V1/ListPurchasableOffersRequest.php +++ b/Channel/src/V1/ListPurchasableOffersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListPurchasableOffers. diff --git a/Channel/src/V1/ListPurchasableOffersRequest/ChangeOfferPurchase.php b/Channel/src/V1/ListPurchasableOffersRequest/ChangeOfferPurchase.php index 17b1763db5dd..3bf37f3453fa 100644 --- a/Channel/src/V1/ListPurchasableOffersRequest/ChangeOfferPurchase.php +++ b/Channel/src/V1/ListPurchasableOffersRequest/ChangeOfferPurchase.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1\ListPurchasableOffersRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List Offers for ChangeOffer purchase. @@ -165,4 +165,3 @@ public function setBillingAccount($var) } - diff --git a/Channel/src/V1/ListPurchasableOffersRequest/CreateEntitlementPurchase.php b/Channel/src/V1/ListPurchasableOffersRequest/CreateEntitlementPurchase.php index 15655108e4b1..b6394146471c 100644 --- a/Channel/src/V1/ListPurchasableOffersRequest/CreateEntitlementPurchase.php +++ b/Channel/src/V1/ListPurchasableOffersRequest/CreateEntitlementPurchase.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1\ListPurchasableOffersRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List Offers for CreateEntitlement purchase. @@ -107,4 +107,3 @@ public function setBillingAccount($var) } - diff --git a/Channel/src/V1/ListPurchasableOffersResponse.php b/Channel/src/V1/ListPurchasableOffersResponse.php index b84b46f910ad..b400a1a1376e 100644 --- a/Channel/src/V1/ListPurchasableOffersResponse.php +++ b/Channel/src/V1/ListPurchasableOffersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListPurchasableOffers. @@ -34,7 +34,7 @@ class ListPurchasableOffersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\PurchasableOffer>|\Google\Protobuf\Internal\RepeatedField $purchasable_offers + * @type \Google\Cloud\Channel\V1\PurchasableOffer[] $purchasable_offers * The list of Offers requested. * @type string $next_page_token * A token to retrieve the next page of results. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The list of Offers requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\PurchasableOffer> */ public function getPurchasableOffers() { @@ -60,7 +60,7 @@ public function getPurchasableOffers() * The list of Offers requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.PurchasableOffer purchasable_offers = 1; - * @param array<\Google\Cloud\Channel\V1\PurchasableOffer>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\PurchasableOffer[] $var * @return $this */ public function setPurchasableOffers($var) diff --git a/Channel/src/V1/ListPurchasableSkusRequest.php b/Channel/src/V1/ListPurchasableSkusRequest.php index 97079a55e727..66656afb723a 100644 --- a/Channel/src/V1/ListPurchasableSkusRequest.php +++ b/Channel/src/V1/ListPurchasableSkusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListPurchasableSkus. diff --git a/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase.php b/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase.php index 585d92baaae5..a4f3e56372d2 100644 --- a/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase.php +++ b/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1\ListPurchasableSkusRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List SKUs for upgrading or downgrading an entitlement. Make the purchase @@ -109,4 +109,3 @@ public function setChangeType($var) } - diff --git a/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase/ChangeType.php b/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase/ChangeType.php index e036318fb9c5..74fe78434d73 100644 --- a/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase/ChangeType.php +++ b/Channel/src/V1/ListPurchasableSkusRequest/ChangeOfferPurchase/ChangeType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/ListPurchasableSkusRequest/CreateEntitlementPurchase.php b/Channel/src/V1/ListPurchasableSkusRequest/CreateEntitlementPurchase.php index 9fde52c01682..83b65aa2d0e9 100644 --- a/Channel/src/V1/ListPurchasableSkusRequest/CreateEntitlementPurchase.php +++ b/Channel/src/V1/ListPurchasableSkusRequest/CreateEntitlementPurchase.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1\ListPurchasableSkusRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List SKUs for a new entitlement. Make the purchase using @@ -74,4 +74,3 @@ public function setProduct($var) } - diff --git a/Channel/src/V1/ListPurchasableSkusResponse.php b/Channel/src/V1/ListPurchasableSkusResponse.php index fd65e62e7733..9293e9bb0518 100644 --- a/Channel/src/V1/ListPurchasableSkusResponse.php +++ b/Channel/src/V1/ListPurchasableSkusResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListPurchasableSkus. @@ -34,7 +34,7 @@ class ListPurchasableSkusResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\PurchasableSku>|\Google\Protobuf\Internal\RepeatedField $purchasable_skus + * @type \Google\Cloud\Channel\V1\PurchasableSku[] $purchasable_skus * The list of SKUs requested. * @type string $next_page_token * A token to retrieve the next page of results. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The list of SKUs requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\PurchasableSku> */ public function getPurchasableSkus() { @@ -60,7 +60,7 @@ public function getPurchasableSkus() * The list of SKUs requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.PurchasableSku purchasable_skus = 1; - * @param array<\Google\Cloud\Channel\V1\PurchasableSku>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\PurchasableSku[] $var * @return $this */ public function setPurchasableSkus($var) diff --git a/Channel/src/V1/ListReportsRequest.php b/Channel/src/V1/ListReportsRequest.php index 160f89efe401..68d8a97c583e 100644 --- a/Channel/src/V1/ListReportsRequest.php +++ b/Channel/src/V1/ListReportsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListReportsResponse.php b/Channel/src/V1/ListReportsResponse.php index bdb57f30e133..b83495efc4d1 100644 --- a/Channel/src/V1/ListReportsResponse.php +++ b/Channel/src/V1/ListReportsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListReportsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\Report>|\Google\Protobuf\Internal\RepeatedField $reports + * @type \Google\Cloud\Channel\V1\Report[] $reports * The reports available to the partner. * @type string $next_page_token * Pass this token to @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * The reports available to the partner. * * Generated from protobuf field repeated .google.cloud.channel.v1.Report reports = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Report> */ public function getReports() { @@ -66,7 +66,7 @@ public function getReports() * The reports available to the partner. * * Generated from protobuf field repeated .google.cloud.channel.v1.Report reports = 1; - * @param array<\Google\Cloud\Channel\V1\Report>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Report[] $var * @return $this */ public function setReports($var) diff --git a/Channel/src/V1/ListSkuGroupBillableSkusRequest.php b/Channel/src/V1/ListSkuGroupBillableSkusRequest.php index f1c9f7e9e817..47077adeb94c 100644 --- a/Channel/src/V1/ListSkuGroupBillableSkusRequest.php +++ b/Channel/src/V1/ListSkuGroupBillableSkusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListSkuGroupBillableSkus. diff --git a/Channel/src/V1/ListSkuGroupBillableSkusResponse.php b/Channel/src/V1/ListSkuGroupBillableSkusResponse.php index f9b40ece803c..fbeee2832619 100644 --- a/Channel/src/V1/ListSkuGroupBillableSkusResponse.php +++ b/Channel/src/V1/ListSkuGroupBillableSkusResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListSkuGroupBillableSkus. @@ -37,7 +37,7 @@ class ListSkuGroupBillableSkusResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\BillableSku>|\Google\Protobuf\Internal\RepeatedField $billable_skus + * @type \Google\Cloud\Channel\V1\BillableSku[] $billable_skus * The list of billable SKUs in the requested SKU group. * @type string $next_page_token * A token to retrieve the next page of results. @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * The list of billable SKUs in the requested SKU group. * * Generated from protobuf field repeated .google.cloud.channel.v1.BillableSku billable_skus = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\BillableSku> */ public function getBillableSkus() { @@ -66,7 +66,7 @@ public function getBillableSkus() * The list of billable SKUs in the requested SKU group. * * Generated from protobuf field repeated .google.cloud.channel.v1.BillableSku billable_skus = 1; - * @param array<\Google\Cloud\Channel\V1\BillableSku>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\BillableSku[] $var * @return $this */ public function setBillableSkus($var) diff --git a/Channel/src/V1/ListSkuGroupsRequest.php b/Channel/src/V1/ListSkuGroupsRequest.php index 4383ed56e6fc..dce555fd90cd 100644 --- a/Channel/src/V1/ListSkuGroupsRequest.php +++ b/Channel/src/V1/ListSkuGroupsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListSkuGroups. diff --git a/Channel/src/V1/ListSkuGroupsResponse.php b/Channel/src/V1/ListSkuGroupsResponse.php index b8c476f2a3c7..2001ecbefc09 100644 --- a/Channel/src/V1/ListSkuGroupsResponse.php +++ b/Channel/src/V1/ListSkuGroupsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListSkuGroups. @@ -37,7 +37,7 @@ class ListSkuGroupsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\SkuGroup>|\Google\Protobuf\Internal\RepeatedField $sku_groups + * @type \Google\Cloud\Channel\V1\SkuGroup[] $sku_groups * The list of SKU groups requested. * @type string $next_page_token * A token to retrieve the next page of results. @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * The list of SKU groups requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\SkuGroup> */ public function getSkuGroups() { @@ -66,7 +66,7 @@ public function getSkuGroups() * The list of SKU groups requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.SkuGroup sku_groups = 1; - * @param array<\Google\Cloud\Channel\V1\SkuGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\SkuGroup[] $var * @return $this */ public function setSkuGroups($var) diff --git a/Channel/src/V1/ListSkusRequest.php b/Channel/src/V1/ListSkusRequest.php index c094f5fdd9cc..15efddd07313 100644 --- a/Channel/src/V1/ListSkusRequest.php +++ b/Channel/src/V1/ListSkusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListSkus. diff --git a/Channel/src/V1/ListSkusResponse.php b/Channel/src/V1/ListSkusResponse.php index cd46fcbcc0b6..ab23f216d59a 100644 --- a/Channel/src/V1/ListSkusResponse.php +++ b/Channel/src/V1/ListSkusResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListSkus. @@ -34,7 +34,7 @@ class ListSkusResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\Sku>|\Google\Protobuf\Internal\RepeatedField $skus + * @type \Google\Cloud\Channel\V1\Sku[] $skus * The list of SKUs requested. * @type string $next_page_token * A token to retrieve the next page of results. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The list of SKUs requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.Sku skus = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Sku> */ public function getSkus() { @@ -60,7 +60,7 @@ public function getSkus() * The list of SKUs requested. * * Generated from protobuf field repeated .google.cloud.channel.v1.Sku skus = 1; - * @param array<\Google\Cloud\Channel\V1\Sku>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Sku[] $var * @return $this */ public function setSkus($var) diff --git a/Channel/src/V1/ListSubscribersRequest.php b/Channel/src/V1/ListSubscribersRequest.php index e3ae70b7ec0d..dfdf08fc3b82 100644 --- a/Channel/src/V1/ListSubscribersRequest.php +++ b/Channel/src/V1/ListSubscribersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request Message for ListSubscribers. diff --git a/Channel/src/V1/ListSubscribersResponse.php b/Channel/src/V1/ListSubscribersResponse.php index 3563be1f102a..22f9842fbda9 100644 --- a/Channel/src/V1/ListSubscribersResponse.php +++ b/Channel/src/V1/ListSubscribersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response Message for ListSubscribers. @@ -43,7 +43,7 @@ class ListSubscribersResponse extends \Google\Protobuf\Internal\Message * * @type string $topic * Name of the topic registered with the reseller. - * @type array|\Google\Protobuf\Internal\RepeatedField $service_accounts + * @type string[] $service_accounts * List of service accounts which have subscriber access to the topic. * @type string $next_page_token * A token that can be sent as `page_token` to retrieve the next page. @@ -85,7 +85,7 @@ public function setTopic($var) * List of service accounts which have subscriber access to the topic. * * Generated from protobuf field repeated string service_accounts = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getServiceAccounts() { @@ -96,7 +96,7 @@ public function getServiceAccounts() * List of service accounts which have subscriber access to the topic. * * Generated from protobuf field repeated string service_accounts = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setServiceAccounts($var) diff --git a/Channel/src/V1/ListTransferableOffersRequest.php b/Channel/src/V1/ListTransferableOffersRequest.php index 363c3f884897..7416acffe62d 100644 --- a/Channel/src/V1/ListTransferableOffersRequest.php +++ b/Channel/src/V1/ListTransferableOffersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListTransferableOffersResponse.php b/Channel/src/V1/ListTransferableOffersResponse.php index fcd6a9486696..213713fdd8b7 100644 --- a/Channel/src/V1/ListTransferableOffersResponse.php +++ b/Channel/src/V1/ListTransferableOffersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -39,7 +39,7 @@ class ListTransferableOffersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\TransferableOffer>|\Google\Protobuf\Internal\RepeatedField $transferable_offers + * @type \Google\Cloud\Channel\V1\TransferableOffer[] $transferable_offers * Information about Offers for a customer that can be used for * transfer. * @type string $next_page_token @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * transfer. * * Generated from protobuf field repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\TransferableOffer> */ public function getTransferableOffers() { @@ -71,7 +71,7 @@ public function getTransferableOffers() * transfer. * * Generated from protobuf field repeated .google.cloud.channel.v1.TransferableOffer transferable_offers = 1; - * @param array<\Google\Cloud\Channel\V1\TransferableOffer>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\TransferableOffer[] $var * @return $this */ public function setTransferableOffers($var) diff --git a/Channel/src/V1/ListTransferableSkusRequest.php b/Channel/src/V1/ListTransferableSkusRequest.php index 05204cef05ba..56419705b5f6 100644 --- a/Channel/src/V1/ListTransferableSkusRequest.php +++ b/Channel/src/V1/ListTransferableSkusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ListTransferableSkusResponse.php b/Channel/src/V1/ListTransferableSkusResponse.php index b5dfcfb615c9..d5bd8ad74a3d 100644 --- a/Channel/src/V1/ListTransferableSkusResponse.php +++ b/Channel/src/V1/ListTransferableSkusResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -38,7 +38,7 @@ class ListTransferableSkusResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\TransferableSku>|\Google\Protobuf\Internal\RepeatedField $transferable_skus + * @type \Google\Cloud\Channel\V1\TransferableSku[] $transferable_skus * Information about existing SKUs for a customer that needs a transfer. * @type string $next_page_token * A token to retrieve the next page of results. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * Information about existing SKUs for a customer that needs a transfer. * * Generated from protobuf field repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\TransferableSku> */ public function getTransferableSkus() { @@ -67,7 +67,7 @@ public function getTransferableSkus() * Information about existing SKUs for a customer that needs a transfer. * * Generated from protobuf field repeated .google.cloud.channel.v1.TransferableSku transferable_skus = 1; - * @param array<\Google\Cloud\Channel\V1\TransferableSku>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\TransferableSku[] $var * @return $this */ public function setTransferableSkus($var) diff --git a/Channel/src/V1/LookupOfferRequest.php b/Channel/src/V1/LookupOfferRequest.php index 8eb68a43266d..5f3ab9b76142 100644 --- a/Channel/src/V1/LookupOfferRequest.php +++ b/Channel/src/V1/LookupOfferRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for LookupOffer. diff --git a/Channel/src/V1/MarketingInfo.php b/Channel/src/V1/MarketingInfo.php index 1c6e7fc83818..cc613390dfbd 100644 --- a/Channel/src/V1/MarketingInfo.php +++ b/Channel/src/V1/MarketingInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the marketing information for a Product, SKU or Offer. diff --git a/Channel/src/V1/Media.php b/Channel/src/V1/Media.php index a3d12df4edce..92e39a9e7e15 100644 --- a/Channel/src/V1/Media.php +++ b/Channel/src/V1/Media.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents media information. diff --git a/Channel/src/V1/Offer.php b/Channel/src/V1/Offer.php index 0e6cfd19b61e..3da68d52d6fb 100644 --- a/Channel/src/V1/Offer.php +++ b/Channel/src/V1/Offer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an offer made to resellers for purchase. @@ -96,13 +96,13 @@ class Offer extends \Google\Protobuf\Internal\Message * Describes the payment plan for the Offer. * @type \Google\Cloud\Channel\V1\Constraints $constraints * Constraints on transacting the Offer. - * @type array<\Google\Cloud\Channel\V1\PriceByResource>|\Google\Protobuf\Internal\RepeatedField $price_by_resources + * @type \Google\Cloud\Channel\V1\PriceByResource[] $price_by_resources * Price for each monetizable resource type. * @type \Google\Protobuf\Timestamp $start_time * Start of the Offer validity time. * @type \Google\Protobuf\Timestamp $end_time * Output only. End of the Offer validity time. - * @type array<\Google\Cloud\Channel\V1\ParameterDefinition>|\Google\Protobuf\Internal\RepeatedField $parameter_definitions + * @type \Google\Cloud\Channel\V1\ParameterDefinition[] $parameter_definitions * Parameters required to use current Offer to purchase. * @type string $deal_code * The deal code of the offer to get a special promotion or discount. @@ -289,7 +289,7 @@ public function setConstraints($var) * Price for each monetizable resource type. * * Generated from protobuf field repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\PriceByResource> */ public function getPriceByResources() { @@ -300,7 +300,7 @@ public function getPriceByResources() * Price for each monetizable resource type. * * Generated from protobuf field repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6; - * @param array<\Google\Cloud\Channel\V1\PriceByResource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\PriceByResource[] $var * @return $this */ public function setPriceByResources($var) @@ -387,7 +387,7 @@ public function setEndTime($var) * Parameters required to use current Offer to purchase. * * Generated from protobuf field repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\ParameterDefinition> */ public function getParameterDefinitions() { @@ -398,7 +398,7 @@ public function getParameterDefinitions() * Parameters required to use current Offer to purchase. * * Generated from protobuf field repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9; - * @param array<\Google\Cloud\Channel\V1\ParameterDefinition>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\ParameterDefinition[] $var * @return $this */ public function setParameterDefinitions($var) diff --git a/Channel/src/V1/OperationMetadata.php b/Channel/src/V1/OperationMetadata.php index 7461d6f4f391..aa2a60e5a628 100644 --- a/Channel/src/V1/OperationMetadata.php +++ b/Channel/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Provides contextual information about a diff --git a/Channel/src/V1/OperationMetadata/OperationType.php b/Channel/src/V1/OperationMetadata/OperationType.php index 0d26bfd9cf26..8d65b12aa18a 100644 --- a/Channel/src/V1/OperationMetadata/OperationType.php +++ b/Channel/src/V1/OperationMetadata/OperationType.php @@ -122,4 +122,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/Parameter.php b/Channel/src/V1/Parameter.php index 575fe49a1a56..c420f1cd32fa 100644 --- a/Channel/src/V1/Parameter.php +++ b/Channel/src/V1/Parameter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Definition for extended entitlement parameters. diff --git a/Channel/src/V1/ParameterDefinition.php b/Channel/src/V1/ParameterDefinition.php index 40201811f065..b33df9178b4d 100644 --- a/Channel/src/V1/ParameterDefinition.php +++ b/Channel/src/V1/ParameterDefinition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Parameter's definition. Specifies what parameter is required to use the @@ -79,7 +79,7 @@ class ParameterDefinition extends \Google\Protobuf\Internal\Message * Maximum value of the parameter, if applicable. Inclusive. For example, * maximum seats when purchasing Google Workspace Business Standard. * Applicable to INT64 and DOUBLE parameter types. - * @type array<\Google\Cloud\Channel\V1\Value>|\Google\Protobuf\Internal\RepeatedField $allowed_values + * @type \Google\Cloud\Channel\V1\Value[] $allowed_values * If not empty, parameter values must be drawn from this list. * For example, [us-west1, us-west2, ...] * Applicable to STRING parameter type. @@ -232,7 +232,7 @@ public function setMaxValue($var) * Applicable to STRING parameter type. * * Generated from protobuf field repeated .google.cloud.channel.v1.Value allowed_values = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Value> */ public function getAllowedValues() { @@ -245,7 +245,7 @@ public function getAllowedValues() * Applicable to STRING parameter type. * * Generated from protobuf field repeated .google.cloud.channel.v1.Value allowed_values = 5; - * @param array<\Google\Cloud\Channel\V1\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Value[] $var * @return $this */ public function setAllowedValues($var) diff --git a/Channel/src/V1/ParameterDefinition/ParameterType.php b/Channel/src/V1/ParameterDefinition/ParameterType.php index a5dee14a5101..30394f986032 100644 --- a/Channel/src/V1/ParameterDefinition/ParameterType.php +++ b/Channel/src/V1/ParameterDefinition/ParameterType.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/PercentageAdjustment.php b/Channel/src/V1/PercentageAdjustment.php index 4e93c4c2f951..2e068364c724 100644 --- a/Channel/src/V1/PercentageAdjustment.php +++ b/Channel/src/V1/PercentageAdjustment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An adjustment that applies a flat markup or markdown to an entire bill. diff --git a/Channel/src/V1/Period.php b/Channel/src/V1/Period.php index 0981fae6f873..37b114d78ebc 100644 --- a/Channel/src/V1/Period.php +++ b/Channel/src/V1/Period.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents period in days/months/years. diff --git a/Channel/src/V1/Plan.php b/Channel/src/V1/Plan.php index 36dfc4a38969..a22e9d5fec2f 100644 --- a/Channel/src/V1/Plan.php +++ b/Channel/src/V1/Plan.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The payment plan for the Offer. Describes how to make a payment. diff --git a/Channel/src/V1/Price.php b/Channel/src/V1/Price.php index a3ae7fafae6a..9cc4cdfa694d 100644 --- a/Channel/src/V1/Price.php +++ b/Channel/src/V1/Price.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the price of the Offer. @@ -75,7 +75,7 @@ class Price extends \Google\Protobuf\Internal\Message * Example: 1 month, 6 months, 1 year, etc. * @type string $external_price_uri * Link to external price list, such as link to Google Voice rate card. - * @type array<\Google\Cloud\Channel\V1\DiscountComponent>|\Google\Protobuf\Internal\RepeatedField $discount_components + * @type \Google\Cloud\Channel\V1\DiscountComponent[] $discount_components * Breakdown of the discount into its components. * This will be empty if there is no discount present. * } @@ -256,7 +256,7 @@ public function setExternalPriceUri($var) * This will be empty if there is no discount present. * * Generated from protobuf field repeated .google.cloud.channel.v1.DiscountComponent discount_components = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\DiscountComponent> */ public function getDiscountComponents() { @@ -268,7 +268,7 @@ public function getDiscountComponents() * This will be empty if there is no discount present. * * Generated from protobuf field repeated .google.cloud.channel.v1.DiscountComponent discount_components = 5; - * @param array<\Google\Cloud\Channel\V1\DiscountComponent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\DiscountComponent[] $var * @return $this */ public function setDiscountComponents($var) diff --git a/Channel/src/V1/PriceByResource.php b/Channel/src/V1/PriceByResource.php index c7716c2f5df3..b2e0ef8576bf 100644 --- a/Channel/src/V1/PriceByResource.php +++ b/Channel/src/V1/PriceByResource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents price by resource type. @@ -44,7 +44,7 @@ class PriceByResource extends \Google\Protobuf\Internal\Message * Resource Type. Example: SEAT * @type \Google\Cloud\Channel\V1\Price $price * Price of the Offer. Present if there are no price phases. - * @type array<\Google\Cloud\Channel\V1\PricePhase>|\Google\Protobuf\Internal\RepeatedField $price_phases + * @type \Google\Cloud\Channel\V1\PricePhase[] $price_phases * Specifies the price by time range. * } */ @@ -119,7 +119,7 @@ public function setPrice($var) * Specifies the price by time range. * * Generated from protobuf field repeated .google.cloud.channel.v1.PricePhase price_phases = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\PricePhase> */ public function getPricePhases() { @@ -130,7 +130,7 @@ public function getPricePhases() * Specifies the price by time range. * * Generated from protobuf field repeated .google.cloud.channel.v1.PricePhase price_phases = 3; - * @param array<\Google\Cloud\Channel\V1\PricePhase>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\PricePhase[] $var * @return $this */ public function setPricePhases($var) diff --git a/Channel/src/V1/PricePhase.php b/Channel/src/V1/PricePhase.php index f96fecb48948..fed55f0a4bb4 100644 --- a/Channel/src/V1/PricePhase.php +++ b/Channel/src/V1/PricePhase.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the price by the duration of months. @@ -62,7 +62,7 @@ class PricePhase extends \Google\Protobuf\Internal\Message * Defines first period for the phase. * @type \Google\Cloud\Channel\V1\Price $price * Price of the phase. Present if there are no price tiers. - * @type array<\Google\Cloud\Channel\V1\PriceTier>|\Google\Protobuf\Internal\RepeatedField $price_tiers + * @type \Google\Cloud\Channel\V1\PriceTier[] $price_tiers * Price by the resource tiers. * } */ @@ -189,7 +189,7 @@ public function setPrice($var) * Price by the resource tiers. * * Generated from protobuf field repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\PriceTier> */ public function getPriceTiers() { @@ -200,7 +200,7 @@ public function getPriceTiers() * Price by the resource tiers. * * Generated from protobuf field repeated .google.cloud.channel.v1.PriceTier price_tiers = 5; - * @param array<\Google\Cloud\Channel\V1\PriceTier>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\PriceTier[] $var * @return $this */ public function setPriceTiers($var) diff --git a/Channel/src/V1/PriceTier.php b/Channel/src/V1/PriceTier.php index 841cafd24ee5..48e572b4acec 100644 --- a/Channel/src/V1/PriceTier.php +++ b/Channel/src/V1/PriceTier.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines price at resource tier level. diff --git a/Channel/src/V1/Product.php b/Channel/src/V1/Product.php index c83cb84c0406..f41ff52d2a76 100644 --- a/Channel/src/V1/Product.php +++ b/Channel/src/V1/Product.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Product is the entity a customer uses when placing an order. For example, diff --git a/Channel/src/V1/ProvisionCloudIdentityRequest.php b/Channel/src/V1/ProvisionCloudIdentityRequest.php index e2d118f9e89c..8ed5650b57fe 100644 --- a/Channel/src/V1/ProvisionCloudIdentityRequest.php +++ b/Channel/src/V1/ProvisionCloudIdentityRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/ProvisionedService.php b/Channel/src/V1/ProvisionedService.php index 1f8430dca72e..72ed208b1865 100644 --- a/Channel/src/V1/ProvisionedService.php +++ b/Channel/src/V1/ProvisionedService.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Service provisioned for an entitlement. diff --git a/Channel/src/V1/PurchasableOffer.php b/Channel/src/V1/PurchasableOffer.php index 79f4ce8d63bb..4a0106ea148f 100644 --- a/Channel/src/V1/PurchasableOffer.php +++ b/Channel/src/V1/PurchasableOffer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Offer that you can purchase for a customer. This is used in the diff --git a/Channel/src/V1/PurchasableSku.php b/Channel/src/V1/PurchasableSku.php index d3050a9580e5..0b9afb158d79 100644 --- a/Channel/src/V1/PurchasableSku.php +++ b/Channel/src/V1/PurchasableSku.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * SKU that you can purchase. This is used in ListPurchasableSku API diff --git a/Channel/src/V1/QueryEligibleBillingAccountsRequest.php b/Channel/src/V1/QueryEligibleBillingAccountsRequest.php index 19ff11ad09c1..590aea9395b9 100644 --- a/Channel/src/V1/QueryEligibleBillingAccountsRequest.php +++ b/Channel/src/V1/QueryEligibleBillingAccountsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for QueryEligibleBillingAccounts. @@ -39,7 +39,7 @@ class QueryEligibleBillingAccountsRequest extends \Google\Protobuf\Internal\Mess * @type string $customer * Required. The resource name of the customer to list eligible billing * accounts for. Format: accounts/{account_id}/customers/{customer_id}. - * @type array|\Google\Protobuf\Internal\RepeatedField $skus + * @type string[] $skus * Required. List of SKUs to list eligible billing accounts for. At least one * SKU is required. Format: products/{product_id}/skus/{sku_id}. * } @@ -82,7 +82,7 @@ public function setCustomer($var) * SKU is required. Format: products/{product_id}/skus/{sku_id}. * * Generated from protobuf field repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSkus() { @@ -94,7 +94,7 @@ public function getSkus() * SKU is required. Format: products/{product_id}/skus/{sku_id}. * * Generated from protobuf field repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSkus($var) diff --git a/Channel/src/V1/QueryEligibleBillingAccountsResponse.php b/Channel/src/V1/QueryEligibleBillingAccountsResponse.php index 02ebd10688cd..e2bbb3fbc516 100644 --- a/Channel/src/V1/QueryEligibleBillingAccountsResponse.php +++ b/Channel/src/V1/QueryEligibleBillingAccountsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for QueryEligibleBillingAccounts. @@ -31,7 +31,7 @@ class QueryEligibleBillingAccountsResponse extends \Google\Protobuf\Internal\Mes * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\SkuPurchaseGroup>|\Google\Protobuf\Internal\RepeatedField $sku_purchase_groups + * @type \Google\Cloud\Channel\V1\SkuPurchaseGroup[] $sku_purchase_groups * List of SKU purchase groups where each group represents a set of SKUs that * must be purchased using the same billing account. Each SKU from * [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * group. * * Generated from protobuf field repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\SkuPurchaseGroup> */ public function getSkuPurchaseGroups() { @@ -64,7 +64,7 @@ public function getSkuPurchaseGroups() * group. * * Generated from protobuf field repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1; - * @param array<\Google\Cloud\Channel\V1\SkuPurchaseGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\SkuPurchaseGroup[] $var * @return $this */ public function setSkuPurchaseGroups($var) diff --git a/Channel/src/V1/RegisterSubscriberRequest.php b/Channel/src/V1/RegisterSubscriberRequest.php index e459930458ef..259715db7969 100644 --- a/Channel/src/V1/RegisterSubscriberRequest.php +++ b/Channel/src/V1/RegisterSubscriberRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request Message for RegisterSubscriber. diff --git a/Channel/src/V1/RegisterSubscriberResponse.php b/Channel/src/V1/RegisterSubscriberResponse.php index e7fac5047d10..2fa5148b3b7f 100644 --- a/Channel/src/V1/RegisterSubscriberResponse.php +++ b/Channel/src/V1/RegisterSubscriberResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response Message for RegisterSubscriber. diff --git a/Channel/src/V1/RenewalSettings.php b/Channel/src/V1/RenewalSettings.php index 21463761196e..e7912446b8f5 100644 --- a/Channel/src/V1/RenewalSettings.php +++ b/Channel/src/V1/RenewalSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Renewal settings for renewable Offers. diff --git a/Channel/src/V1/Report.php b/Channel/src/V1/Report.php index 04a3efe4173a..185d23bf67fc 100644 --- a/Channel/src/V1/Report.php +++ b/Channel/src/V1/Report.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The ID and description of a report that was used to generate report data. @@ -63,7 +63,7 @@ class Report extends \Google\Protobuf\Internal\Message * accounts/{account_id}/reports/{report_id} * @type string $display_name * A human-readable name for this report. - * @type array<\Google\Cloud\Channel\V1\Column>|\Google\Protobuf\Internal\RepeatedField $columns + * @type \Google\Cloud\Channel\V1\Column[] $columns * The list of columns included in the report. This defines the schema of * the report results. * @type string $description @@ -141,7 +141,7 @@ public function setDisplayName($var) * the report results. * * Generated from protobuf field repeated .google.cloud.channel.v1.Column columns = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Column> */ public function getColumns() { @@ -153,7 +153,7 @@ public function getColumns() * the report results. * * Generated from protobuf field repeated .google.cloud.channel.v1.Column columns = 3; - * @param array<\Google\Cloud\Channel\V1\Column>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Column[] $var * @return $this */ public function setColumns($var) diff --git a/Channel/src/V1/ReportJob.php b/Channel/src/V1/ReportJob.php index 245877cf8eb9..b977fe2d739b 100644 --- a/Channel/src/V1/ReportJob.php +++ b/Channel/src/V1/ReportJob.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The result of a [RunReportJob][] operation. Contains the name to use in diff --git a/Channel/src/V1/ReportResultsMetadata.php b/Channel/src/V1/ReportResultsMetadata.php index 2f8ccb027c37..0939bd20f200 100644 --- a/Channel/src/V1/ReportResultsMetadata.php +++ b/Channel/src/V1/ReportResultsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The features describing the data. Returned by diff --git a/Channel/src/V1/ReportStatus.php b/Channel/src/V1/ReportStatus.php index 021129ceb758..571ff424b514 100644 --- a/Channel/src/V1/ReportStatus.php +++ b/Channel/src/V1/ReportStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Status of a report generation process. diff --git a/Channel/src/V1/ReportStatus/State.php b/Channel/src/V1/ReportStatus/State.php index b2d678843c7d..1077f5e606eb 100644 --- a/Channel/src/V1/ReportStatus/State.php +++ b/Channel/src/V1/ReportStatus/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/ReportValue.php b/Channel/src/V1/ReportValue.php index 5633371d8210..f660d5642567 100644 --- a/Channel/src/V1/ReportValue.php +++ b/Channel/src/V1/ReportValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single report value. diff --git a/Channel/src/V1/RepricingAdjustment.php b/Channel/src/V1/RepricingAdjustment.php index 8bba14f1a351..d7ffa5be9123 100644 --- a/Channel/src/V1/RepricingAdjustment.php +++ b/Channel/src/V1/RepricingAdjustment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A type that represents the various adjustments you can apply to a bill. diff --git a/Channel/src/V1/RepricingCondition.php b/Channel/src/V1/RepricingCondition.php index 61a84f17d466..42a9c47e5104 100644 --- a/Channel/src/V1/RepricingCondition.php +++ b/Channel/src/V1/RepricingCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the various repricing conditions you can use for a conditional diff --git a/Channel/src/V1/RepricingConfig.php b/Channel/src/V1/RepricingConfig.php index dbeb8a61abec..44ec0be10f2d 100644 --- a/Channel/src/V1/RepricingConfig.php +++ b/Channel/src/V1/RepricingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for repricing a Google bill over a period of time. @@ -82,7 +82,7 @@ class RepricingConfig extends \Google\Protobuf\Internal\Message * Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to * use for this bill. Specifies the relative cost based on repricing costs you * will apply. - * @type array<\Google\Cloud\Channel\V1\ConditionalOverride>|\Google\Protobuf\Internal\RepeatedField $conditional_overrides + * @type \Google\Cloud\Channel\V1\ConditionalOverride[] $conditional_overrides * The conditional overrides to apply for this configuration. If you list * multiple overrides, only the first valid override is used. If you don't * list any overrides, the API uses the normal adjustment and rebilling basis. @@ -308,7 +308,7 @@ public function setRebillingBasis($var) * list any overrides, the API uses the normal adjustment and rebilling basis. * * Generated from protobuf field repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\ConditionalOverride> */ public function getConditionalOverrides() { @@ -321,7 +321,7 @@ public function getConditionalOverrides() * list any overrides, the API uses the normal adjustment and rebilling basis. * * Generated from protobuf field repeated .google.cloud.channel.v1.ConditionalOverride conditional_overrides = 6; - * @param array<\Google\Cloud\Channel\V1\ConditionalOverride>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\ConditionalOverride[] $var * @return $this */ public function setConditionalOverrides($var) diff --git a/Channel/src/V1/RepricingConfig/ChannelPartnerGranularity.php b/Channel/src/V1/RepricingConfig/ChannelPartnerGranularity.php index 64be60c7c705..23166076b2ef 100644 --- a/Channel/src/V1/RepricingConfig/ChannelPartnerGranularity.php +++ b/Channel/src/V1/RepricingConfig/ChannelPartnerGranularity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1\RepricingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Applies the repricing configuration at the channel partner level. @@ -37,4 +37,3 @@ public function __construct($data = NULL) { } - diff --git a/Channel/src/V1/RepricingConfig/EntitlementGranularity.php b/Channel/src/V1/RepricingConfig/EntitlementGranularity.php index a7fb55fe070f..7443e9be1053 100644 --- a/Channel/src/V1/RepricingConfig/EntitlementGranularity.php +++ b/Channel/src/V1/RepricingConfig/EntitlementGranularity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1\RepricingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Applies the repricing configuration at the entitlement level. @@ -73,4 +73,3 @@ public function setEntitlement($var) } - diff --git a/Channel/src/V1/Row.php b/Channel/src/V1/Row.php index cb52b8c5617d..8ad823f2ccc8 100644 --- a/Channel/src/V1/Row.php +++ b/Channel/src/V1/Row.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A row of report values. @@ -36,7 +36,7 @@ class Row extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\ReportValue>|\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Cloud\Channel\V1\ReportValue[] $values * The list of values in the row. * @type string $partition_key * The key for the partition this row belongs to. This field is empty @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The list of values in the row. * * Generated from protobuf field repeated .google.cloud.channel.v1.ReportValue values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\ReportValue> */ public function getValues() { @@ -63,7 +63,7 @@ public function getValues() * The list of values in the row. * * Generated from protobuf field repeated .google.cloud.channel.v1.ReportValue values = 1; - * @param array<\Google\Cloud\Channel\V1\ReportValue>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\ReportValue[] $var * @return $this */ public function setValues($var) diff --git a/Channel/src/V1/RunReportJobRequest.php b/Channel/src/V1/RunReportJobRequest.php index a451d37eced4..f4889cd1cc3a 100644 --- a/Channel/src/V1/RunReportJobRequest.php +++ b/Channel/src/V1/RunReportJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/RunReportJobResponse.php b/Channel/src/V1/RunReportJobResponse.php index f1ec1a139add..0292f0ffa95c 100644 --- a/Channel/src/V1/RunReportJobResponse.php +++ b/Channel/src/V1/RunReportJobResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/Channel/src/V1/Sku.php b/Channel/src/V1/Sku.php index 3ae247f17f69..d6a3d18ceb84 100644 --- a/Channel/src/V1/Sku.php +++ b/Channel/src/V1/Sku.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a product's purchasable Stock Keeping Unit (SKU). diff --git a/Channel/src/V1/SkuGroup.php b/Channel/src/V1/SkuGroup.php index e5f1ae738189..dbd4ce142595 100644 --- a/Channel/src/V1/SkuGroup.php +++ b/Channel/src/V1/SkuGroup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the SKU group information. diff --git a/Channel/src/V1/SkuGroupCondition.php b/Channel/src/V1/SkuGroupCondition.php index 1bf2635f43c8..586890f4675a 100644 --- a/Channel/src/V1/SkuGroupCondition.php +++ b/Channel/src/V1/SkuGroupCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A condition that applies the override if a line item SKU is found in the SKU diff --git a/Channel/src/V1/SkuPurchaseGroup.php b/Channel/src/V1/SkuPurchaseGroup.php index 2801c420a6db..09204c489c52 100644 --- a/Channel/src/V1/SkuPurchaseGroup.php +++ b/Channel/src/V1/SkuPurchaseGroup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a set of SKUs that must be purchased using the same billing @@ -36,10 +36,10 @@ class SkuPurchaseGroup extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $skus + * @type string[] $skus * Resource names of the SKUs included in this group. * Format: products/{product_id}/skus/{sku_id}. - * @type array<\Google\Cloud\Channel\V1\BillingAccountPurchaseInfo>|\Google\Protobuf\Internal\RepeatedField $billing_account_purchase_infos + * @type \Google\Cloud\Channel\V1\BillingAccountPurchaseInfo[] $billing_account_purchase_infos * List of billing accounts that are eligible to purhcase these SKUs. * } */ @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * Format: products/{product_id}/skus/{sku_id}. * * Generated from protobuf field repeated string skus = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSkus() { @@ -65,7 +65,7 @@ public function getSkus() * Format: products/{product_id}/skus/{sku_id}. * * Generated from protobuf field repeated string skus = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSkus($var) @@ -80,7 +80,7 @@ public function setSkus($var) * List of billing accounts that are eligible to purhcase these SKUs. * * Generated from protobuf field repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\BillingAccountPurchaseInfo> */ public function getBillingAccountPurchaseInfos() { @@ -91,7 +91,7 @@ public function getBillingAccountPurchaseInfos() * List of billing accounts that are eligible to purhcase these SKUs. * * Generated from protobuf field repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2; - * @param array<\Google\Cloud\Channel\V1\BillingAccountPurchaseInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\BillingAccountPurchaseInfo[] $var * @return $this */ public function setBillingAccountPurchaseInfos($var) diff --git a/Channel/src/V1/StartPaidServiceRequest.php b/Channel/src/V1/StartPaidServiceRequest.php index 82eac90f8f87..7285c3f6301c 100644 --- a/Channel/src/V1/StartPaidServiceRequest.php +++ b/Channel/src/V1/StartPaidServiceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/SubscriberEvent.php b/Channel/src/V1/SubscriberEvent.php index 392eba08f806..a8ce55b502dd 100644 --- a/Channel/src/V1/SubscriberEvent.php +++ b/Channel/src/V1/SubscriberEvent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents information which resellers will get as part of notification from diff --git a/Channel/src/V1/SuspendEntitlementRequest.php b/Channel/src/V1/SuspendEntitlementRequest.php index ba1d384acd84..d064d331f9c4 100644 --- a/Channel/src/V1/SuspendEntitlementRequest.php +++ b/Channel/src/V1/SuspendEntitlementRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/TransferEligibility.php b/Channel/src/V1/TransferEligibility.php index 18eddc51f72e..8998baee2914 100644 --- a/Channel/src/V1/TransferEligibility.php +++ b/Channel/src/V1/TransferEligibility.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies transfer eligibility of a SKU. diff --git a/Channel/src/V1/TransferEligibility/Reason.php b/Channel/src/V1/TransferEligibility/Reason.php index 70fa36615a50..0e04bbdeca54 100644 --- a/Channel/src/V1/TransferEligibility/Reason.php +++ b/Channel/src/V1/TransferEligibility/Reason.php @@ -74,4 +74,3 @@ public static function value($name) } } - diff --git a/Channel/src/V1/TransferEntitlementsRequest.php b/Channel/src/V1/TransferEntitlementsRequest.php index 2efec2e1cb22..30fb312e9d91 100644 --- a/Channel/src/V1/TransferEntitlementsRequest.php +++ b/Channel/src/V1/TransferEntitlementsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -65,7 +65,7 @@ class TransferEntitlementsRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the reseller's customer account that will * receive transferred entitlements. Parent uses the format: * accounts/{account_id}/customers/{customer_id} - * @type array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $entitlements + * @type \Google\Cloud\Channel\V1\Entitlement[] $entitlements * Required. The new entitlements to create or transfer. * @type string $auth_token * The super admin of the resold customer generates this token to @@ -124,7 +124,7 @@ public function setParent($var) * Required. The new entitlements to create or transfer. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Entitlement> */ public function getEntitlements() { @@ -135,7 +135,7 @@ public function getEntitlements() * Required. The new entitlements to create or transfer. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Entitlement[] $var * @return $this */ public function setEntitlements($var) diff --git a/Channel/src/V1/TransferEntitlementsResponse.php b/Channel/src/V1/TransferEntitlementsResponse.php index a645c4d15a78..4b1425330387 100644 --- a/Channel/src/V1/TransferEntitlementsResponse.php +++ b/Channel/src/V1/TransferEntitlementsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -30,7 +30,7 @@ class TransferEntitlementsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $entitlements + * @type \Google\Cloud\Channel\V1\Entitlement[] $entitlements * The transferred entitlements. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * The transferred entitlements. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Entitlement> */ public function getEntitlements() { @@ -54,7 +54,7 @@ public function getEntitlements() * The transferred entitlements. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 1; - * @param array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Entitlement[] $var * @return $this */ public function setEntitlements($var) diff --git a/Channel/src/V1/TransferEntitlementsToGoogleRequest.php b/Channel/src/V1/TransferEntitlementsToGoogleRequest.php index 38c52a6d370d..d62164d88cc3 100644 --- a/Channel/src/V1/TransferEntitlementsToGoogleRequest.php +++ b/Channel/src/V1/TransferEntitlementsToGoogleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -56,7 +56,7 @@ class TransferEntitlementsToGoogleRequest extends \Google\Protobuf\Internal\Mess * Required. The resource name of the reseller's customer account where the * entitlements transfer from. Parent uses the format: * accounts/{account_id}/customers/{customer_id} - * @type array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $entitlements + * @type \Google\Cloud\Channel\V1\Entitlement[] $entitlements * Required. The entitlements to transfer to Google. * @type string $request_id * Optional. You can specify an optional unique request ID, and if you need to @@ -110,7 +110,7 @@ public function setParent($var) * Required. The entitlements to transfer to Google. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Channel\V1\Entitlement> */ public function getEntitlements() { @@ -121,7 +121,7 @@ public function getEntitlements() * Required. The entitlements to transfer to Google. * * Generated from protobuf field repeated .google.cloud.channel.v1.Entitlement entitlements = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Channel\V1\Entitlement>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Channel\V1\Entitlement[] $var * @return $this */ public function setEntitlements($var) diff --git a/Channel/src/V1/TransferableOffer.php b/Channel/src/V1/TransferableOffer.php index 71e55d110696..3525c7f6b0fc 100644 --- a/Channel/src/V1/TransferableOffer.php +++ b/Channel/src/V1/TransferableOffer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * TransferableOffer represents an Offer that can be used in Transfer. diff --git a/Channel/src/V1/TransferableSku.php b/Channel/src/V1/TransferableSku.php index 95112a99b38b..cce41c9ddda9 100644 --- a/Channel/src/V1/TransferableSku.php +++ b/Channel/src/V1/TransferableSku.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * TransferableSku represents information a reseller needs to view existing diff --git a/Channel/src/V1/TrialSettings.php b/Channel/src/V1/TrialSettings.php index 5f1fca083b18..24558a1cf5f4 100644 --- a/Channel/src/V1/TrialSettings.php +++ b/Channel/src/V1/TrialSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for trial offers. diff --git a/Channel/src/V1/UnregisterSubscriberRequest.php b/Channel/src/V1/UnregisterSubscriberRequest.php index 785d27125f47..ffb42d5920d4 100644 --- a/Channel/src/V1/UnregisterSubscriberRequest.php +++ b/Channel/src/V1/UnregisterSubscriberRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request Message for UnregisterSubscriber. diff --git a/Channel/src/V1/UnregisterSubscriberResponse.php b/Channel/src/V1/UnregisterSubscriberResponse.php index 205cd1b6a9a5..b1c2a36ef9f9 100644 --- a/Channel/src/V1/UnregisterSubscriberResponse.php +++ b/Channel/src/V1/UnregisterSubscriberResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response Message for UnregisterSubscriber. diff --git a/Channel/src/V1/UpdateChannelPartnerLinkRequest.php b/Channel/src/V1/UpdateChannelPartnerLinkRequest.php index 937fbbd95ee9..4df4e6f4841f 100644 --- a/Channel/src/V1/UpdateChannelPartnerLinkRequest.php +++ b/Channel/src/V1/UpdateChannelPartnerLinkRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/UpdateChannelPartnerRepricingConfigRequest.php b/Channel/src/V1/UpdateChannelPartnerRepricingConfigRequest.php index 1c40dbd6b6b0..6fc5da19f5bb 100644 --- a/Channel/src/V1/UpdateChannelPartnerRepricingConfigRequest.php +++ b/Channel/src/V1/UpdateChannelPartnerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/UpdateCustomerRepricingConfigRequest.php b/Channel/src/V1/UpdateCustomerRepricingConfigRequest.php index c169a27618de..35ce602bbe6f 100644 --- a/Channel/src/V1/UpdateCustomerRepricingConfigRequest.php +++ b/Channel/src/V1/UpdateCustomerRepricingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/UpdateCustomerRequest.php b/Channel/src/V1/UpdateCustomerRequest.php index 32d8bd00b166..c2423de3b62f 100644 --- a/Channel/src/V1/UpdateCustomerRequest.php +++ b/Channel/src/V1/UpdateCustomerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/Channel/src/V1/Value.php b/Channel/src/V1/Value.php index 4499f4542c0f..1db9c7d09d60 100644 --- a/Channel/src/V1/Value.php +++ b/Channel/src/V1/Value.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Channel\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Data type and value of a parameter. diff --git a/Chronicle/metadata/V1/DataAccessControl.php b/Chronicle/metadata/V1/DataAccessControl.php index 8cce115fc2ad..211a4b8a9af5 100644 Binary files a/Chronicle/metadata/V1/DataAccessControl.php and b/Chronicle/metadata/V1/DataAccessControl.php differ diff --git a/Chronicle/metadata/V1/Entity.php b/Chronicle/metadata/V1/Entity.php index 16512833f86d..45b8f91f3f08 100644 Binary files a/Chronicle/metadata/V1/Entity.php and b/Chronicle/metadata/V1/Entity.php differ diff --git a/Chronicle/metadata/V1/Instance.php b/Chronicle/metadata/V1/Instance.php index d19799e34863..35968a37f5c2 100644 --- a/Chronicle/metadata/V1/Instance.php +++ b/Chronicle/metadata/V1/Instance.php @@ -19,18 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - -(google/cloud/chronicle/v1/instance.protogoogle.cloud.chronicle.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto" -Instance -name ( BA:yAv -!chronicle.googleapis.com/Instance|\Google\Protobuf\Internal\RepeatedField $allowed_data_access_labels + * @type \Google\Cloud\Chronicle\V1\DataAccessLabelReference[] $allowed_data_access_labels * Optional. The allowed labels for the scope. * Either allow_all or allowed_data_access_labels needs to be provided. * When provided, there has to be at least one label allowed for the scope to @@ -113,7 +113,7 @@ class DataAccessScope extends \Google\Protobuf\Internal\Message * The logical operator for evaluation of the allowed labels is OR. * E.g.: A customer with scope with allowed labels A and B will be able * to see data with labeled with A or B or (A and B). - * @type array<\Google\Cloud\Chronicle\V1\DataAccessLabelReference>|\Google\Protobuf\Internal\RepeatedField $denied_data_access_labels + * @type \Google\Cloud\Chronicle\V1\DataAccessLabelReference[] $denied_data_access_labels * Optional. The denied labels for the scope. * The logical operator for evaluation of the denied labels is AND. * E.g.: A customer with scope with denied labels A and B won't be able @@ -186,7 +186,7 @@ public function setName($var) * to see data with labeled with A or B or (A and B). * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\DataAccessLabelReference> */ public function getAllowedDataAccessLabels() { @@ -203,7 +203,7 @@ public function getAllowedDataAccessLabels() * to see data with labeled with A or B or (A and B). * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessLabelReference allowed_data_access_labels = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Chronicle\V1\DataAccessLabelReference>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\DataAccessLabelReference[] $var * @return $this */ public function setAllowedDataAccessLabels($var) @@ -222,7 +222,7 @@ public function setAllowedDataAccessLabels($var) * and data with labels A and B. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\DataAccessLabelReference> */ public function getDeniedDataAccessLabels() { @@ -237,7 +237,7 @@ public function getDeniedDataAccessLabels() * and data with labels A and B. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessLabelReference denied_data_access_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Chronicle\V1\DataAccessLabelReference>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\DataAccessLabelReference[] $var * @return $this */ public function setDeniedDataAccessLabels($var) diff --git a/Chronicle/src/V1/DeleteDataAccessLabelRequest.php b/Chronicle/src/V1/DeleteDataAccessLabelRequest.php index 5b0e2a7c618a..31005e449a5e 100644 --- a/Chronicle/src/V1/DeleteDataAccessLabelRequest.php +++ b/Chronicle/src/V1/DeleteDataAccessLabelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to delete a data access label. diff --git a/Chronicle/src/V1/DeleteDataAccessScopeRequest.php b/Chronicle/src/V1/DeleteDataAccessScopeRequest.php index cc42b9a7c581..5d5ef83446ba 100644 --- a/Chronicle/src/V1/DeleteDataAccessScopeRequest.php +++ b/Chronicle/src/V1/DeleteDataAccessScopeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to delete a data access scope. diff --git a/Chronicle/src/V1/DeleteRuleRequest.php b/Chronicle/src/V1/DeleteRuleRequest.php index c1b8a7a64801..65679e334596 100644 --- a/Chronicle/src/V1/DeleteRuleRequest.php +++ b/Chronicle/src/V1/DeleteRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the DeleteRule method. diff --git a/Chronicle/src/V1/DeleteWatchlistRequest.php b/Chronicle/src/V1/DeleteWatchlistRequest.php index c88ce0ea8b5f..d713acb98186 100644 --- a/Chronicle/src/V1/DeleteWatchlistRequest.php +++ b/Chronicle/src/V1/DeleteWatchlistRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for deleting watchlist. diff --git a/Chronicle/src/V1/GetDataAccessLabelRequest.php b/Chronicle/src/V1/GetDataAccessLabelRequest.php index 8a5e6235678f..74aead7733a7 100644 --- a/Chronicle/src/V1/GetDataAccessLabelRequest.php +++ b/Chronicle/src/V1/GetDataAccessLabelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to retrieve a data access label. diff --git a/Chronicle/src/V1/GetDataAccessScopeRequest.php b/Chronicle/src/V1/GetDataAccessScopeRequest.php index 2ec273351f6f..0ee76b341d49 100644 --- a/Chronicle/src/V1/GetDataAccessScopeRequest.php +++ b/Chronicle/src/V1/GetDataAccessScopeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to retrieve a data access scope. diff --git a/Chronicle/src/V1/GetInstanceRequest.php b/Chronicle/src/V1/GetInstanceRequest.php index e34a6b066548..f7f10e18fe26 100644 --- a/Chronicle/src/V1/GetInstanceRequest.php +++ b/Chronicle/src/V1/GetInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to get a Instance. diff --git a/Chronicle/src/V1/GetReferenceListRequest.php b/Chronicle/src/V1/GetReferenceListRequest.php index 99bc280ef352..baf589cbd38c 100644 --- a/Chronicle/src/V1/GetReferenceListRequest.php +++ b/Chronicle/src/V1/GetReferenceListRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to get details about a reference list. diff --git a/Chronicle/src/V1/GetRetrohuntRequest.php b/Chronicle/src/V1/GetRetrohuntRequest.php index fc79f509ae97..2d46a2a1ae1f 100644 --- a/Chronicle/src/V1/GetRetrohuntRequest.php +++ b/Chronicle/src/V1/GetRetrohuntRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetRetrohunt method. diff --git a/Chronicle/src/V1/GetRuleDeploymentRequest.php b/Chronicle/src/V1/GetRuleDeploymentRequest.php index bace08149fe9..c5defab4535b 100644 --- a/Chronicle/src/V1/GetRuleDeploymentRequest.php +++ b/Chronicle/src/V1/GetRuleDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetRuleDeployment. diff --git a/Chronicle/src/V1/GetRuleRequest.php b/Chronicle/src/V1/GetRuleRequest.php index eafe110f5feb..d43e6dff3705 100644 --- a/Chronicle/src/V1/GetRuleRequest.php +++ b/Chronicle/src/V1/GetRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetRule method. diff --git a/Chronicle/src/V1/GetWatchlistRequest.php b/Chronicle/src/V1/GetWatchlistRequest.php index 79fa446daf25..056e4ed0fcf8 100644 --- a/Chronicle/src/V1/GetWatchlistRequest.php +++ b/Chronicle/src/V1/GetWatchlistRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for getting a watchlist. diff --git a/Chronicle/src/V1/IngestionLabel.php b/Chronicle/src/V1/IngestionLabel.php index f886f7bfebcf..de4fea8fbc81 100644 --- a/Chronicle/src/V1/IngestionLabel.php +++ b/Chronicle/src/V1/IngestionLabel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Representation of an ingestion label type. diff --git a/Chronicle/src/V1/InputsUsed.php b/Chronicle/src/V1/InputsUsed.php index 4617a4ad5e44..a8afa8fd340e 100644 --- a/Chronicle/src/V1/InputsUsed.php +++ b/Chronicle/src/V1/InputsUsed.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * InputsUsed is a convenience field that tells us which sources diff --git a/Chronicle/src/V1/Instance.php b/Chronicle/src/V1/Instance.php index 09184b6e25d9..4f364828a412 100644 --- a/Chronicle/src/V1/Instance.php +++ b/Chronicle/src/V1/Instance.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Instance represents an instantiation of the Instance product. diff --git a/Chronicle/src/V1/ListDataAccessLabelsRequest.php b/Chronicle/src/V1/ListDataAccessLabelsRequest.php index 129b789719d7..40f14437c42a 100644 --- a/Chronicle/src/V1/ListDataAccessLabelsRequest.php +++ b/Chronicle/src/V1/ListDataAccessLabelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListDataAccessLabels. diff --git a/Chronicle/src/V1/ListDataAccessLabelsResponse.php b/Chronicle/src/V1/ListDataAccessLabelsResponse.php index dd755d7c9011..0fb2a491bf5d 100644 --- a/Chronicle/src/V1/ListDataAccessLabelsResponse.php +++ b/Chronicle/src/V1/ListDataAccessLabelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListDataAccessLabels. @@ -35,7 +35,7 @@ class ListDataAccessLabelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\DataAccessLabel>|\Google\Protobuf\Internal\RepeatedField $data_access_labels + * @type \Google\Cloud\Chronicle\V1\DataAccessLabel[] $data_access_labels * List of data access labels. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of data access labels. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessLabel data_access_labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\DataAccessLabel> */ public function getDataAccessLabels() { @@ -62,7 +62,7 @@ public function getDataAccessLabels() * List of data access labels. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessLabel data_access_labels = 1; - * @param array<\Google\Cloud\Chronicle\V1\DataAccessLabel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\DataAccessLabel[] $var * @return $this */ public function setDataAccessLabels($var) diff --git a/Chronicle/src/V1/ListDataAccessScopesRequest.php b/Chronicle/src/V1/ListDataAccessScopesRequest.php index fde2926eda50..54813ad9638e 100644 --- a/Chronicle/src/V1/ListDataAccessScopesRequest.php +++ b/Chronicle/src/V1/ListDataAccessScopesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListDataAccessScopes. diff --git a/Chronicle/src/V1/ListDataAccessScopesResponse.php b/Chronicle/src/V1/ListDataAccessScopesResponse.php index 9dde8b23b448..fd1d5cd91bc8 100644 --- a/Chronicle/src/V1/ListDataAccessScopesResponse.php +++ b/Chronicle/src/V1/ListDataAccessScopesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListDataAccessScopes. @@ -41,7 +41,7 @@ class ListDataAccessScopesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\DataAccessScope>|\Google\Protobuf\Internal\RepeatedField $data_access_scopes + * @type \Google\Cloud\Chronicle\V1\DataAccessScope[] $data_access_scopes * List of data access scopes. * @type bool $global_data_access_scope_granted * Whether or not global scope is granted to the user. @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * List of data access scopes. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessScope data_access_scopes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\DataAccessScope> */ public function getDataAccessScopes() { @@ -70,7 +70,7 @@ public function getDataAccessScopes() * List of data access scopes. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.DataAccessScope data_access_scopes = 1; - * @param array<\Google\Cloud\Chronicle\V1\DataAccessScope>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\DataAccessScope[] $var * @return $this */ public function setDataAccessScopes($var) diff --git a/Chronicle/src/V1/ListReferenceListsRequest.php b/Chronicle/src/V1/ListReferenceListsRequest.php index 733500325425..f06a8a98b070 100644 --- a/Chronicle/src/V1/ListReferenceListsRequest.php +++ b/Chronicle/src/V1/ListReferenceListsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for a list of reference lists. diff --git a/Chronicle/src/V1/ListReferenceListsResponse.php b/Chronicle/src/V1/ListReferenceListsResponse.php index a227f659f438..9c7b02ac252a 100644 --- a/Chronicle/src/V1/ListReferenceListsResponse.php +++ b/Chronicle/src/V1/ListReferenceListsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response to a request for a list of reference lists. @@ -36,7 +36,7 @@ class ListReferenceListsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\ReferenceList>|\Google\Protobuf\Internal\RepeatedField $reference_lists + * @type \Google\Cloud\Chronicle\V1\ReferenceList[] $reference_lists * The reference lists. * Ordered in ascending alphabetical order by name. * @type string $next_page_token @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * Ordered in ascending alphabetical order by name. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.ReferenceList reference_lists = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\ReferenceList> */ public function getReferenceLists() { @@ -66,7 +66,7 @@ public function getReferenceLists() * Ordered in ascending alphabetical order by name. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.ReferenceList reference_lists = 1; - * @param array<\Google\Cloud\Chronicle\V1\ReferenceList>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\ReferenceList[] $var * @return $this */ public function setReferenceLists($var) diff --git a/Chronicle/src/V1/ListRetrohuntsRequest.php b/Chronicle/src/V1/ListRetrohuntsRequest.php index 38fe9950409e..0fb98bf934cf 100644 --- a/Chronicle/src/V1/ListRetrohuntsRequest.php +++ b/Chronicle/src/V1/ListRetrohuntsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRetrohunts method. diff --git a/Chronicle/src/V1/ListRetrohuntsResponse.php b/Chronicle/src/V1/ListRetrohuntsResponse.php index d8731f04af5b..c4dc57d829af 100644 --- a/Chronicle/src/V1/ListRetrohuntsResponse.php +++ b/Chronicle/src/V1/ListRetrohuntsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRetrohunts method. @@ -35,7 +35,7 @@ class ListRetrohuntsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\Retrohunt>|\Google\Protobuf\Internal\RepeatedField $retrohunts + * @type \Google\Cloud\Chronicle\V1\Retrohunt[] $retrohunts * The retrohunts from the specified rule. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The retrohunts from the specified rule. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\Retrohunt> */ public function getRetrohunts() { @@ -62,7 +62,7 @@ public function getRetrohunts() * The retrohunts from the specified rule. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Retrohunt retrohunts = 1; - * @param array<\Google\Cloud\Chronicle\V1\Retrohunt>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\Retrohunt[] $var * @return $this */ public function setRetrohunts($var) diff --git a/Chronicle/src/V1/ListRuleDeploymentsRequest.php b/Chronicle/src/V1/ListRuleDeploymentsRequest.php index 50e638b3b4e5..a9135574e7c7 100644 --- a/Chronicle/src/V1/ListRuleDeploymentsRequest.php +++ b/Chronicle/src/V1/ListRuleDeploymentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRuleDeployments. diff --git a/Chronicle/src/V1/ListRuleDeploymentsResponse.php b/Chronicle/src/V1/ListRuleDeploymentsResponse.php index e1a4998696c9..b3057a270969 100644 --- a/Chronicle/src/V1/ListRuleDeploymentsResponse.php +++ b/Chronicle/src/V1/ListRuleDeploymentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRuleDeployments. @@ -35,7 +35,7 @@ class ListRuleDeploymentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\RuleDeployment>|\Google\Protobuf\Internal\RepeatedField $rule_deployments + * @type \Google\Cloud\Chronicle\V1\RuleDeployment[] $rule_deployments * The rule deployments from all rules. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The rule deployments from all rules. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.RuleDeployment rule_deployments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\RuleDeployment> */ public function getRuleDeployments() { @@ -62,7 +62,7 @@ public function getRuleDeployments() * The rule deployments from all rules. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.RuleDeployment rule_deployments = 1; - * @param array<\Google\Cloud\Chronicle\V1\RuleDeployment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\RuleDeployment[] $var * @return $this */ public function setRuleDeployments($var) diff --git a/Chronicle/src/V1/ListRuleRevisionsRequest.php b/Chronicle/src/V1/ListRuleRevisionsRequest.php index f136cbc2c040..a22efe8c8aff 100644 --- a/Chronicle/src/V1/ListRuleRevisionsRequest.php +++ b/Chronicle/src/V1/ListRuleRevisionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRuleRevisions method. diff --git a/Chronicle/src/V1/ListRuleRevisionsResponse.php b/Chronicle/src/V1/ListRuleRevisionsResponse.php index 4c0963b95dc9..9b6fb1ea283d 100644 --- a/Chronicle/src/V1/ListRuleRevisionsResponse.php +++ b/Chronicle/src/V1/ListRuleRevisionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRuleRevisions method. @@ -35,7 +35,7 @@ class ListRuleRevisionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\Rule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Cloud\Chronicle\V1\Rule[] $rules * The revisions of the rule. * @type string $next_page_token * A token that can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The revisions of the rule. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Rule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\Rule> */ public function getRules() { @@ -62,7 +62,7 @@ public function getRules() * The revisions of the rule. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Rule rules = 1; - * @param array<\Google\Cloud\Chronicle\V1\Rule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\Rule[] $var * @return $this */ public function setRules($var) diff --git a/Chronicle/src/V1/ListRulesRequest.php b/Chronicle/src/V1/ListRulesRequest.php index 43a37a828f5a..9a5c5ce2394c 100644 --- a/Chronicle/src/V1/ListRulesRequest.php +++ b/Chronicle/src/V1/ListRulesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRules method. diff --git a/Chronicle/src/V1/ListRulesResponse.php b/Chronicle/src/V1/ListRulesResponse.php index 948eceac16cb..acf552de7aac 100644 --- a/Chronicle/src/V1/ListRulesResponse.php +++ b/Chronicle/src/V1/ListRulesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRules method. @@ -35,7 +35,7 @@ class ListRulesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\Rule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Cloud\Chronicle\V1\Rule[] $rules * The rules from the specified instance. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The rules from the specified instance. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Rule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\Rule> */ public function getRules() { @@ -62,7 +62,7 @@ public function getRules() * The rules from the specified instance. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Rule rules = 1; - * @param array<\Google\Cloud\Chronicle\V1\Rule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\Rule[] $var * @return $this */ public function setRules($var) diff --git a/Chronicle/src/V1/ListWatchlistsRequest.php b/Chronicle/src/V1/ListWatchlistsRequest.php index 280b8cc34938..0fef99adc24d 100644 --- a/Chronicle/src/V1/ListWatchlistsRequest.php +++ b/Chronicle/src/V1/ListWatchlistsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for listing watchlists. diff --git a/Chronicle/src/V1/ListWatchlistsResponse.php b/Chronicle/src/V1/ListWatchlistsResponse.php index b491033b78bd..7c89c05776a3 100644 --- a/Chronicle/src/V1/ListWatchlistsResponse.php +++ b/Chronicle/src/V1/ListWatchlistsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for listing watchlists. @@ -35,7 +35,7 @@ class ListWatchlistsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Chronicle\V1\Watchlist>|\Google\Protobuf\Internal\RepeatedField $watchlists + * @type \Google\Cloud\Chronicle\V1\Watchlist[] $watchlists * Optional. The watchlists from the specified instance. * @type string $next_page_token * Optional. A token, which can be sent as `page_token` to retrieve the next @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * Optional. The watchlists from the specified instance. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\Watchlist> */ public function getWatchlists() { @@ -62,7 +62,7 @@ public function getWatchlists() * Optional. The watchlists from the specified instance. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.Watchlist watchlists = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Chronicle\V1\Watchlist>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\Watchlist[] $var * @return $this */ public function setWatchlists($var) diff --git a/Chronicle/src/V1/ReferenceList.php b/Chronicle/src/V1/ReferenceList.php index 1be2c105848f..fa290dd6040a 100644 --- a/Chronicle/src/V1/ReferenceList.php +++ b/Chronicle/src/V1/ReferenceList.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A reference list. @@ -100,13 +100,13 @@ class ReferenceList extends \Google\Protobuf\Internal\Message * Output only. The timestamp when the reference list was last updated. * @type string $description * Required. A user-provided description of the reference list. - * @type array<\Google\Cloud\Chronicle\V1\ReferenceListEntry>|\Google\Protobuf\Internal\RepeatedField $entries + * @type \Google\Cloud\Chronicle\V1\ReferenceListEntry[] $entries * Required. The entries of the reference list. * When listed, they are returned in the order that was specified at creation * or update. The combined size of the values of the reference list may not * exceed 6MB. * This is returned only when the view is REFERENCE_LIST_VIEW_FULL. - * @type array|\Google\Protobuf\Internal\RepeatedField $rules + * @type string[] $rules * Output only. The resource names for the associated self-authored Rules that * use this reference list. This is returned only when the view is * REFERENCE_LIST_VIEW_FULL. @@ -253,7 +253,7 @@ public function setDescription($var) * This is returned only when the view is REFERENCE_LIST_VIEW_FULL. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\ReferenceListEntry> */ public function getEntries() { @@ -268,7 +268,7 @@ public function getEntries() * This is returned only when the view is REFERENCE_LIST_VIEW_FULL. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Chronicle\V1\ReferenceListEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\ReferenceListEntry[] $var * @return $this */ public function setEntries($var) @@ -285,7 +285,7 @@ public function setEntries($var) * REFERENCE_LIST_VIEW_FULL. * * Generated from protobuf field repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRules() { @@ -298,7 +298,7 @@ public function getRules() * REFERENCE_LIST_VIEW_FULL. * * Generated from protobuf field repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRules($var) diff --git a/Chronicle/src/V1/ReferenceListEntry.php b/Chronicle/src/V1/ReferenceListEntry.php index 74ac059b8dbd..09d9360018ce 100644 --- a/Chronicle/src/V1/ReferenceListEntry.php +++ b/Chronicle/src/V1/ReferenceListEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An entry in a reference list. diff --git a/Chronicle/src/V1/ReferenceListScope.php b/Chronicle/src/V1/ReferenceListScope.php index 89c4d02a8409..56675595cb8a 100644 --- a/Chronicle/src/V1/ReferenceListScope.php +++ b/Chronicle/src/V1/ReferenceListScope.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ReferenceListScope specifies the list of scope names of the reference list. @@ -30,7 +30,7 @@ class ReferenceListScope extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $scope_names + * @type string[] $scope_names * Optional. The list of scope names of the reference list. The scope names * should be full resource names and should be of the format: * `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`. @@ -47,7 +47,7 @@ public function __construct($data = NULL) { * `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`. * * Generated from protobuf field repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getScopeNames() { @@ -60,7 +60,7 @@ public function getScopeNames() * `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`. * * Generated from protobuf field repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setScopeNames($var) diff --git a/Chronicle/src/V1/Retrohunt.php b/Chronicle/src/V1/Retrohunt.php index 0f2abb158dcd..39703c9069fd 100644 --- a/Chronicle/src/V1/Retrohunt.php +++ b/Chronicle/src/V1/Retrohunt.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Retrohunt is an execution of a Rule over a time range in the past. @@ -18,7 +18,7 @@ class Retrohunt extends \Google\Protobuf\Internal\Message /** * The resource name of the retrohunt. * Retrohunt is the child of a rule revision. {rule} in the format below is - * structured as {rule_id@revision_id}. + * structured as {rule_id\@revision_id}. * Format: * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}` * @@ -63,7 +63,7 @@ class Retrohunt extends \Google\Protobuf\Internal\Message * @type string $name * The resource name of the retrohunt. * Retrohunt is the child of a rule revision. {rule} in the format below is - * structured as {rule_id@revision_id}. + * structured as {rule_id\@revision_id}. * Format: * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}` * @type \Google\Type\Interval $process_interval @@ -88,7 +88,7 @@ public function __construct($data = NULL) { /** * The resource name of the retrohunt. * Retrohunt is the child of a rule revision. {rule} in the format below is - * structured as {rule_id@revision_id}. + * structured as {rule_id\@revision_id}. * Format: * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}` * @@ -103,7 +103,7 @@ public function getName() /** * The resource name of the retrohunt. * Retrohunt is the child of a rule revision. {rule} in the format below is - * structured as {rule_id@revision_id}. + * structured as {rule_id\@revision_id}. * Format: * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}` * diff --git a/Chronicle/src/V1/Retrohunt/State.php b/Chronicle/src/V1/Retrohunt/State.php index 714495f1aeb2..0c54a8ff495c 100644 --- a/Chronicle/src/V1/Retrohunt/State.php +++ b/Chronicle/src/V1/Retrohunt/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/Chronicle/src/V1/RetrohuntMetadata.php b/Chronicle/src/V1/RetrohuntMetadata.php index 8b2f3b2a48f4..87deefb9bb2e 100644 --- a/Chronicle/src/V1/RetrohuntMetadata.php +++ b/Chronicle/src/V1/RetrohuntMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Operation Metadata for Retrohunts. diff --git a/Chronicle/src/V1/Rule.php b/Chronicle/src/V1/Rule.php index 4609601f64c2..d1fced9182be 100644 --- a/Chronicle/src/V1/Rule.php +++ b/Chronicle/src/V1/Rule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The Rule resource represents a user-created rule. @@ -198,10 +198,10 @@ class Rule extends \Google\Protobuf\Internal\Message * @type int $type * Output only. User-facing type of the rule. Extracted from the events * section of rule text. Populated in BASIC view and FULL view. - * @type array|\Google\Protobuf\Internal\RepeatedField $reference_lists + * @type string[] $reference_lists * Output only. Resource names of the reference lists used in this rule. * Populated in FULL view. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_run_frequencies + * @type int[] $allowed_run_frequencies * Output only. The run frequencies that are allowed for the rule. * Populated in BASIC view and FULL view. * @type string $etag @@ -218,7 +218,7 @@ class Rule extends \Google\Protobuf\Internal\Message * both the user's and the rule's scopes. * The scope should be in the format: * `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope}`. - * @type array<\Google\Cloud\Chronicle\V1\CompilationDiagnostic>|\Google\Protobuf\Internal\RepeatedField $compilation_diagnostics + * @type \Google\Cloud\Chronicle\V1\CompilationDiagnostic[] $compilation_diagnostics * Output only. A list of a rule's corresponding compilation diagnostic * messages such as compilation errors and compilation warnings. Populated in * FULL view. @@ -585,7 +585,7 @@ public function setType($var) * Populated in FULL view. * * Generated from protobuf field repeated string reference_lists = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReferenceLists() { @@ -597,7 +597,7 @@ public function getReferenceLists() * Populated in FULL view. * * Generated from protobuf field repeated string reference_lists = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReferenceLists($var) @@ -613,7 +613,7 @@ public function setReferenceLists($var) * Populated in BASIC view and FULL view. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.RunFrequency allowed_run_frequencies = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAllowedRunFrequencies() { @@ -625,7 +625,7 @@ public function getAllowedRunFrequencies() * Populated in BASIC view and FULL view. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.RunFrequency allowed_run_frequencies = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setAllowedRunFrequencies($var) @@ -714,7 +714,7 @@ public function setScope($var) * FULL view. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.CompilationDiagnostic compilation_diagnostics = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Chronicle\V1\CompilationDiagnostic> */ public function getCompilationDiagnostics() { @@ -727,7 +727,7 @@ public function getCompilationDiagnostics() * FULL view. * * Generated from protobuf field repeated .google.cloud.chronicle.v1.CompilationDiagnostic compilation_diagnostics = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Chronicle\V1\CompilationDiagnostic>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Chronicle\V1\CompilationDiagnostic[] $var * @return $this */ public function setCompilationDiagnostics($var) diff --git a/Chronicle/src/V1/Rule/CompilationState.php b/Chronicle/src/V1/Rule/CompilationState.php index f60afaf4afdf..fde2594a8645 100644 --- a/Chronicle/src/V1/Rule/CompilationState.php +++ b/Chronicle/src/V1/Rule/CompilationState.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/Chronicle/src/V1/RuleDeployment.php b/Chronicle/src/V1/RuleDeployment.php index b07dfb1c6a24..59c5d3f3033c 100644 --- a/Chronicle/src/V1/RuleDeployment.php +++ b/Chronicle/src/V1/RuleDeployment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The RuleDeployment resource represents the deployment state of a Rule. @@ -129,12 +129,12 @@ class RuleDeployment extends \Google\Protobuf\Internal\Message * The run frequency of the rule deployment. * @type int $execution_state * Output only. The execution state of the rule deployment. - * @type array|\Google\Protobuf\Internal\RepeatedField $producer_rules + * @type string[] $producer_rules * Output only. The names of the associated/chained producer rules. Rules are * considered producers for this rule if this rule explicitly filters on their * ruleid. Format: * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` - * @type array|\Google\Protobuf\Internal\RepeatedField $consumer_rules + * @type string[] $consumer_rules * Output only. The names of the associated/chained consumer rules. Rules are * considered consumers of this rule if their rule text explicitly filters on * this rule's ruleid. Format: @@ -374,7 +374,7 @@ public function setExecutionState($var) * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` * * Generated from protobuf field repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getProducerRules() { @@ -388,7 +388,7 @@ public function getProducerRules() * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` * * Generated from protobuf field repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setProducerRules($var) @@ -406,7 +406,7 @@ public function setProducerRules($var) * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` * * Generated from protobuf field repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getConsumerRules() { @@ -420,7 +420,7 @@ public function getConsumerRules() * `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` * * Generated from protobuf field repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setConsumerRules($var) diff --git a/Chronicle/src/V1/RuleDeployment/ExecutionState.php b/Chronicle/src/V1/RuleDeployment/ExecutionState.php index a97e8268f877..c942861abbcc 100644 --- a/Chronicle/src/V1/RuleDeployment/ExecutionState.php +++ b/Chronicle/src/V1/RuleDeployment/ExecutionState.php @@ -70,4 +70,3 @@ public static function value($name) } } - diff --git a/Chronicle/src/V1/ScopeInfo.php b/Chronicle/src/V1/ScopeInfo.php index 0b38447aab64..69d47b86337b 100644 --- a/Chronicle/src/V1/ScopeInfo.php +++ b/Chronicle/src/V1/ScopeInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ScopeInfo specifies the scope info of the reference list. diff --git a/Chronicle/src/V1/Severity.php b/Chronicle/src/V1/Severity.php index faa1d81785c1..8d2c048917ac 100644 --- a/Chronicle/src/V1/Severity.php +++ b/Chronicle/src/V1/Severity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Severity represents the severity level of the rule. diff --git a/Chronicle/src/V1/UpdateDataAccessLabelRequest.php b/Chronicle/src/V1/UpdateDataAccessLabelRequest.php index b5d3ce078b86..6830fde1824e 100644 --- a/Chronicle/src/V1/UpdateDataAccessLabelRequest.php +++ b/Chronicle/src/V1/UpdateDataAccessLabelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateDataAccessLabel method. diff --git a/Chronicle/src/V1/UpdateDataAccessScopeRequest.php b/Chronicle/src/V1/UpdateDataAccessScopeRequest.php index 02a7962734b7..b332994c240e 100644 --- a/Chronicle/src/V1/UpdateDataAccessScopeRequest.php +++ b/Chronicle/src/V1/UpdateDataAccessScopeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateDataAccessScope method. diff --git a/Chronicle/src/V1/UpdateReferenceListRequest.php b/Chronicle/src/V1/UpdateReferenceListRequest.php index 597d9a6c710f..f38d1db1fad1 100644 --- a/Chronicle/src/V1/UpdateReferenceListRequest.php +++ b/Chronicle/src/V1/UpdateReferenceListRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to update a reference list. diff --git a/Chronicle/src/V1/UpdateRuleDeploymentRequest.php b/Chronicle/src/V1/UpdateRuleDeploymentRequest.php index 1d0a1f1fb617..b6628f53c50e 100644 --- a/Chronicle/src/V1/UpdateRuleDeploymentRequest.php +++ b/Chronicle/src/V1/UpdateRuleDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateRuleDeployment. diff --git a/Chronicle/src/V1/UpdateRuleRequest.php b/Chronicle/src/V1/UpdateRuleRequest.php index b825cb43bd13..4d51451d9e75 100644 --- a/Chronicle/src/V1/UpdateRuleRequest.php +++ b/Chronicle/src/V1/UpdateRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateRule method. diff --git a/Chronicle/src/V1/UpdateWatchlistRequest.php b/Chronicle/src/V1/UpdateWatchlistRequest.php index e8d3e9e93433..9afffa4ab421 100644 --- a/Chronicle/src/V1/UpdateWatchlistRequest.php +++ b/Chronicle/src/V1/UpdateWatchlistRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for updating watchlist. diff --git a/Chronicle/src/V1/Watchlist.php b/Chronicle/src/V1/Watchlist.php index 1472e6a81f12..2c3553e82f3e 100644 --- a/Chronicle/src/V1/Watchlist.php +++ b/Chronicle/src/V1/Watchlist.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A watchlist is a list of entities that allows for bulk operations over the diff --git a/Chronicle/src/V1/Watchlist/EntityCount.php b/Chronicle/src/V1/Watchlist/EntityCount.php index 9569c148155d..6ed43d57e34a 100644 --- a/Chronicle/src/V1/Watchlist/EntityCount.php +++ b/Chronicle/src/V1/Watchlist/EntityCount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1\Watchlist; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Count of different types of entities in the watchlist. @@ -99,4 +99,3 @@ public function setAsset($var) } - diff --git a/Chronicle/src/V1/Watchlist/EntityPopulationMechanism.php b/Chronicle/src/V1/Watchlist/EntityPopulationMechanism.php index 165bb80a204d..1d821fb12d88 100644 --- a/Chronicle/src/V1/Watchlist/EntityPopulationMechanism.php +++ b/Chronicle/src/V1/Watchlist/EntityPopulationMechanism.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1\Watchlist; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Mechanism to populate entities in the watchlist. @@ -73,4 +73,3 @@ public function getMechanism() } - diff --git a/Chronicle/src/V1/Watchlist/EntityPopulationMechanism/Manual.php b/Chronicle/src/V1/Watchlist/EntityPopulationMechanism/Manual.php index da4bd5a49f60..610033c25683 100644 --- a/Chronicle/src/V1/Watchlist/EntityPopulationMechanism/Manual.php +++ b/Chronicle/src/V1/Watchlist/EntityPopulationMechanism/Manual.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1\Watchlist\EntityPopulationMechanism; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Entities are added manually. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/Chronicle/src/V1/WatchlistUserPreferences.php b/Chronicle/src/V1/WatchlistUserPreferences.php index ac37533eed3c..1e28b313f6fe 100644 --- a/Chronicle/src/V1/WatchlistUserPreferences.php +++ b/Chronicle/src/V1/WatchlistUserPreferences.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Chronicle\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of user preferences for watchlist UI configuration. diff --git a/CommerceConsumerProcurement/metadata/V1/LicenseManagementService.php b/CommerceConsumerProcurement/metadata/V1/LicenseManagementService.php index e57ecb95ceb5..14ab8a82edab 100644 Binary files a/CommerceConsumerProcurement/metadata/V1/LicenseManagementService.php and b/CommerceConsumerProcurement/metadata/V1/LicenseManagementService.php differ diff --git a/CommerceConsumerProcurement/metadata/V1/Order.php b/CommerceConsumerProcurement/metadata/V1/Order.php index cb132f25167a..1f4c8abd71b4 100644 Binary files a/CommerceConsumerProcurement/metadata/V1/Order.php and b/CommerceConsumerProcurement/metadata/V1/Order.php differ diff --git a/CommerceConsumerProcurement/metadata/V1/ProcurementService.php b/CommerceConsumerProcurement/metadata/V1/ProcurementService.php index f71ca250fd21..ec6057fc2638 100644 Binary files a/CommerceConsumerProcurement/metadata/V1/ProcurementService.php and b/CommerceConsumerProcurement/metadata/V1/ProcurementService.php differ diff --git a/CommerceConsumerProcurement/src/V1/AssignRequest.php b/CommerceConsumerProcurement/src/V1/AssignRequest.php index 7cad3988cfd4..02c5ab8a2526 100644 --- a/CommerceConsumerProcurement/src/V1/AssignRequest.php +++ b/CommerceConsumerProcurement/src/V1/AssignRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -24,7 +24,7 @@ class AssignRequest extends \Google\Protobuf\Internal\Message protected $parent = ''; /** * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED]; */ @@ -54,9 +54,9 @@ public static function build(string $parent, array $usernames): self * * @type string $parent * Required. License pool name. - * @type array|\Google\Protobuf\Internal\RepeatedField $usernames + * @type string[] $usernames * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * } */ public function __construct($data = NULL) { @@ -92,10 +92,10 @@ public function setParent($var) /** * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUsernames() { @@ -104,10 +104,10 @@ public function getUsernames() /** * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUsernames($var) diff --git a/CommerceConsumerProcurement/src/V1/AssignResponse.php b/CommerceConsumerProcurement/src/V1/AssignResponse.php index 8dc2ea6b662b..8aaa73f341fc 100644 --- a/CommerceConsumerProcurement/src/V1/AssignResponse.php +++ b/CommerceConsumerProcurement/src/V1/AssignResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/CommerceConsumerProcurement/src/V1/AssignmentProtocol.php b/CommerceConsumerProcurement/src/V1/AssignmentProtocol.php index 1d068020ee10..17f520a89d8d 100644 --- a/CommerceConsumerProcurement/src/V1/AssignmentProtocol.php +++ b/CommerceConsumerProcurement/src/V1/AssignmentProtocol.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Assignment protocol for a license pool. diff --git a/CommerceConsumerProcurement/src/V1/AssignmentProtocol/AutoAssignmentType.php b/CommerceConsumerProcurement/src/V1/AssignmentProtocol/AutoAssignmentType.php index 14e80415f81d..519877f9b368 100644 --- a/CommerceConsumerProcurement/src/V1/AssignmentProtocol/AutoAssignmentType.php +++ b/CommerceConsumerProcurement/src/V1/AssignmentProtocol/AutoAssignmentType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for automatic assignments handled by data plane operations. @@ -83,4 +83,3 @@ public function setInactiveLicenseTtl($var) } - diff --git a/CommerceConsumerProcurement/src/V1/AssignmentProtocol/ManualAssignmentType.php b/CommerceConsumerProcurement/src/V1/AssignmentProtocol/ManualAssignmentType.php index 25d147e3b0ab..6e4026c768db 100644 --- a/CommerceConsumerProcurement/src/V1/AssignmentProtocol/ManualAssignmentType.php +++ b/CommerceConsumerProcurement/src/V1/AssignmentProtocol/ManualAssignmentType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Allow manual assignments triggered by administrative operations only. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/CommerceConsumerProcurement/src/V1/CancelOrderMetadata.php b/CommerceConsumerProcurement/src/V1/CancelOrderMetadata.php index 58e2200fed76..712e8ed65be6 100644 --- a/CommerceConsumerProcurement/src/V1/CancelOrderMetadata.php +++ b/CommerceConsumerProcurement/src/V1/CancelOrderMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message stored in the metadata field of the Operation returned by diff --git a/CommerceConsumerProcurement/src/V1/CancelOrderRequest.php b/CommerceConsumerProcurement/src/V1/CancelOrderRequest.php index bf6be9598319..958dbc6c9637 100644 --- a/CommerceConsumerProcurement/src/V1/CancelOrderRequest.php +++ b/CommerceConsumerProcurement/src/V1/CancelOrderRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/CommerceConsumerProcurement/src/V1/CancelOrderRequest/CancellationPolicy.php b/CommerceConsumerProcurement/src/V1/CancelOrderRequest/CancellationPolicy.php index 3044ad0c4f8f..a2c805bf2473 100644 --- a/CommerceConsumerProcurement/src/V1/CancelOrderRequest/CancellationPolicy.php +++ b/CommerceConsumerProcurement/src/V1/CancelOrderRequest/CancellationPolicy.php @@ -65,4 +65,3 @@ public static function value($name) } } - diff --git a/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersRequest.php b/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersRequest.php index 37bb56e1839a..7737bf3ddeba 100644 --- a/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersRequest.php +++ b/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersResponse.php b/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersResponse.php index ad994465605b..e821223618b5 100644 --- a/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersResponse.php +++ b/CommerceConsumerProcurement/src/V1/EnumerateLicensedUsersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -36,7 +36,7 @@ class EnumerateLicensedUsersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LicensedUser>|\Google\Protobuf\Internal\RepeatedField $licensed_users + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\LicensedUser[] $licensed_users * The list of licensed users. * @type string $next_page_token * A token that can be sent as `page_token` to retrieve the next page. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The list of licensed users. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\LicensedUser> */ public function getLicensedUsers() { @@ -63,7 +63,7 @@ public function getLicensedUsers() * The list of licensed users. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LicensedUser>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\LicensedUser[] $var * @return $this */ public function setLicensedUsers($var) diff --git a/CommerceConsumerProcurement/src/V1/GetLicensePoolRequest.php b/CommerceConsumerProcurement/src/V1/GetLicensePoolRequest.php index 23e2d4af8b0e..4fb20b5e2488 100644 --- a/CommerceConsumerProcurement/src/V1/GetLicensePoolRequest.php +++ b/CommerceConsumerProcurement/src/V1/GetLicensePoolRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for getting a license pool. diff --git a/CommerceConsumerProcurement/src/V1/GetOrderRequest.php b/CommerceConsumerProcurement/src/V1/GetOrderRequest.php index 943ba57e4de0..cff6d78b602d 100644 --- a/CommerceConsumerProcurement/src/V1/GetOrderRequest.php +++ b/CommerceConsumerProcurement/src/V1/GetOrderRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/CommerceConsumerProcurement/src/V1/LicensePool.php b/CommerceConsumerProcurement/src/V1/LicensePool.php index cc37fd0582f8..ac83a95b782b 100644 --- a/CommerceConsumerProcurement/src/V1/LicensePool.php +++ b/CommerceConsumerProcurement/src/V1/LicensePool.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A license pool represents a pool of licenses that can be assigned to users. diff --git a/CommerceConsumerProcurement/src/V1/LicensedUser.php b/CommerceConsumerProcurement/src/V1/LicensedUser.php index 959c7b3cd26e..f71f79f8c300 100644 --- a/CommerceConsumerProcurement/src/V1/LicensedUser.php +++ b/CommerceConsumerProcurement/src/V1/LicensedUser.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A licensed user. @@ -17,7 +17,7 @@ class LicensedUser extends \Google\Protobuf\Internal\Message { /** * Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field string username = 1; */ @@ -45,7 +45,7 @@ class LicensedUser extends \Google\Protobuf\Internal\Message * * @type string $username * Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * @type \Google\Protobuf\Timestamp $assign_time * Output only. Timestamp when the license was assigned. * @type \Google\Protobuf\Timestamp $recent_usage_time @@ -61,7 +61,7 @@ public function __construct($data = NULL) { /** * Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field string username = 1; * @return string @@ -73,7 +73,7 @@ public function getUsername() /** * Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field string username = 1; * @param string $var diff --git a/CommerceConsumerProcurement/src/V1/LineItem.php b/CommerceConsumerProcurement/src/V1/LineItem.php index e712a3797887..53eb9e980c7c 100644 --- a/CommerceConsumerProcurement/src/V1/LineItem.php +++ b/CommerceConsumerProcurement/src/V1/LineItem.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single item within an order. @@ -61,7 +61,7 @@ class LineItem extends \Google\Protobuf\Internal\Message * Output only. A change made on the item which is pending and not yet * effective. Absence of this field indicates the line item is not undergoing * a change. - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemChange>|\Google\Protobuf\Internal\RepeatedField $change_history + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemChange[] $change_history * Output only. Changes made on the item that are not pending anymore which * might be because they already took effect, were reverted by the customer, * or were rejected by the partner. No more operations are allowed on these @@ -184,7 +184,7 @@ public function setPendingChange($var) * changes. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemChange> */ public function getChangeHistory() { @@ -198,7 +198,7 @@ public function getChangeHistory() * changes. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItemChange change_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemChange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemChange[] $var * @return $this */ public function setChangeHistory($var) diff --git a/CommerceConsumerProcurement/src/V1/LineItemChange.php b/CommerceConsumerProcurement/src/V1/LineItemChange.php index a3c85ed71658..cfa64f1509fb 100644 --- a/CommerceConsumerProcurement/src/V1/LineItemChange.php +++ b/CommerceConsumerProcurement/src/V1/LineItemChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A change made on a line item. diff --git a/CommerceConsumerProcurement/src/V1/LineItemInfo.php b/CommerceConsumerProcurement/src/V1/LineItemInfo.php index 91fc696cf2da..2056e6984a34 100644 --- a/CommerceConsumerProcurement/src/V1/LineItemInfo.php +++ b/CommerceConsumerProcurement/src/V1/LineItemInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Line item information. @@ -46,7 +46,7 @@ class LineItemInfo extends \Google\Protobuf\Internal\Message * Optional. The name of the offer can have either of these formats: * 'billingAccounts/{billing_account}/offers/{offer}', * or 'services/{service}/standardOffers/{offer}'. - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $parameters + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter[] $parameters * Optional. User-provided parameters. * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\Subscription $subscription * Output only. Information about the subscription created, if applicable. @@ -91,7 +91,7 @@ public function setOffer($var) * Optional. User-provided parameters. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter> */ public function getParameters() { @@ -102,7 +102,7 @@ public function getParameters() * Optional. User-provided parameters. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.Parameter parameters = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter[] $var * @return $this */ public function setParameters($var) diff --git a/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php b/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php index 4ed442035bcf..497f2e92ce18 100644 --- a/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php +++ b/CommerceConsumerProcurement/src/V1/ListOrdersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for diff --git a/CommerceConsumerProcurement/src/V1/ListOrdersResponse.php b/CommerceConsumerProcurement/src/V1/ListOrdersResponse.php index 4b56a71deca0..01cd61ae9a45 100644 --- a/CommerceConsumerProcurement/src/V1/ListOrdersResponse.php +++ b/CommerceConsumerProcurement/src/V1/ListOrdersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -35,7 +35,7 @@ class ListOrdersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\Order>|\Google\Protobuf\Internal\RepeatedField $orders + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\Order[] $orders * The list of orders in this response. * @type string $next_page_token * The token for fetching the next page. @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * The list of orders in this response. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\Order> */ public function getOrders() { @@ -61,7 +61,7 @@ public function getOrders() * The list of orders in this response. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\Order>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\Order[] $var * @return $this */ public function setOrders($var) diff --git a/CommerceConsumerProcurement/src/V1/ModifyOrderMetadata.php b/CommerceConsumerProcurement/src/V1/ModifyOrderMetadata.php index e457f78bd1eb..86802bcfcbed 100644 --- a/CommerceConsumerProcurement/src/V1/ModifyOrderMetadata.php +++ b/CommerceConsumerProcurement/src/V1/ModifyOrderMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message stored in the metadata field of the Operation returned by diff --git a/CommerceConsumerProcurement/src/V1/ModifyOrderRequest.php b/CommerceConsumerProcurement/src/V1/ModifyOrderRequest.php index f9638efd58e9..48de9b3471bf 100644 --- a/CommerceConsumerProcurement/src/V1/ModifyOrderRequest.php +++ b/CommerceConsumerProcurement/src/V1/ModifyOrderRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -54,7 +54,7 @@ class ModifyOrderRequest extends \Google\Protobuf\Internal\Message * * @type string $name * Required. Name of the order to update. - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\ModifyOrderRequest\Modification>|\Google\Protobuf\Internal\RepeatedField $modifications + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\ModifyOrderRequest\Modification[] $modifications * Optional. Modifications for an existing Order created by an Offer. * Required when Offer based Order is being modified, except for when going * from an offer to a public plan. @@ -104,7 +104,7 @@ public function setName($var) * from an offer to a public plan. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\ModifyOrderRequest\Modification> */ public function getModifications() { @@ -117,7 +117,7 @@ public function getModifications() * from an offer to a public plan. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.ModifyOrderRequest.Modification modifications = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\ModifyOrderRequest\Modification>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\ModifyOrderRequest\Modification[] $var * @return $this */ public function setModifications($var) diff --git a/CommerceConsumerProcurement/src/V1/ModifyOrderRequest/Modification.php b/CommerceConsumerProcurement/src/V1/ModifyOrderRequest/Modification.php index 51db5bb537e3..ebd9dbf7f5c1 100644 --- a/CommerceConsumerProcurement/src/V1/ModifyOrderRequest/Modification.php +++ b/CommerceConsumerProcurement/src/V1/ModifyOrderRequest/Modification.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1\ModifyOrderRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Modifications to make on the order. @@ -213,4 +213,3 @@ public function setAutoRenewalBehavior($var) } - diff --git a/CommerceConsumerProcurement/src/V1/Order.php b/CommerceConsumerProcurement/src/V1/Order.php index cb5c73676e6a..76469f4d2df4 100644 --- a/CommerceConsumerProcurement/src/V1/Order.php +++ b/CommerceConsumerProcurement/src/V1/Order.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a purchase made by a customer on Cloud Marketplace. @@ -79,9 +79,9 @@ class Order extends \Google\Protobuf\Internal\Message * `billingAccounts/{billing_account}/orders/{order}`. * @type string $display_name * Required. The user-specified name of the order. - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem>|\Google\Protobuf\Internal\RepeatedField $line_items + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem[] $line_items * Output only. The items being purchased. - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem>|\Google\Protobuf\Internal\RepeatedField $cancelled_line_items + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem[] $cancelled_line_items * Output only. Line items that were cancelled. * @type \Google\Protobuf\Timestamp $create_time * Output only. The creation timestamp. @@ -156,7 +156,7 @@ public function setDisplayName($var) * Output only. The items being purchased. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem> */ public function getLineItems() { @@ -167,7 +167,7 @@ public function getLineItems() * Output only. The items being purchased. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem[] $var * @return $this */ public function setLineItems($var) @@ -182,7 +182,7 @@ public function setLineItems($var) * Output only. Line items that were cancelled. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem> */ public function getCancelledLineItems() { @@ -193,7 +193,7 @@ public function getCancelledLineItems() * Output only. Line items that were cancelled. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItem[] $var * @return $this */ public function setCancelledLineItems($var) diff --git a/CommerceConsumerProcurement/src/V1/Parameter.php b/CommerceConsumerProcurement/src/V1/Parameter.php index 68347cc77f1e..01c2a782ba39 100644 --- a/CommerceConsumerProcurement/src/V1/Parameter.php +++ b/CommerceConsumerProcurement/src/V1/Parameter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * User-provided Parameters. diff --git a/CommerceConsumerProcurement/src/V1/Parameter/Value.php b/CommerceConsumerProcurement/src/V1/Parameter/Value.php index cb70fe4ef0bb..03ee05949974 100644 --- a/CommerceConsumerProcurement/src/V1/Parameter/Value.php +++ b/CommerceConsumerProcurement/src/V1/Parameter/Value.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.Parameter.Value @@ -137,4 +137,3 @@ public function getKind() } - diff --git a/CommerceConsumerProcurement/src/V1/PlaceOrderMetadata.php b/CommerceConsumerProcurement/src/V1/PlaceOrderMetadata.php index d90354724332..44e5edab322d 100644 --- a/CommerceConsumerProcurement/src/V1/PlaceOrderMetadata.php +++ b/CommerceConsumerProcurement/src/V1/PlaceOrderMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message stored in the metadata field of the Operation returned by diff --git a/CommerceConsumerProcurement/src/V1/PlaceOrderRequest.php b/CommerceConsumerProcurement/src/V1/PlaceOrderRequest.php index 38716b51963c..2a08a25b9e6a 100644 --- a/CommerceConsumerProcurement/src/V1/PlaceOrderRequest.php +++ b/CommerceConsumerProcurement/src/V1/PlaceOrderRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -58,7 +58,7 @@ class PlaceOrderRequest extends \Google\Protobuf\Internal\Message * This field has the form `billingAccounts/{billing-account-id}`. * @type string $display_name * Required. The user-specified name of the order being placed. - * @type array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemInfo>|\Google\Protobuf\Internal\RepeatedField $line_item_info + * @type \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemInfo[] $line_item_info * Optional. Places order for offer. Required when an offer-based order is * being placed. * @type string $request_id @@ -133,7 +133,7 @@ public function setDisplayName($var) * being placed. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemInfo> */ public function getLineItemInfo() { @@ -145,7 +145,7 @@ public function getLineItemInfo() * being placed. * * Generated from protobuf field repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Commerce\Consumer\Procurement\V1\LineItemInfo[] $var * @return $this */ public function setLineItemInfo($var) diff --git a/CommerceConsumerProcurement/src/V1/Subscription.php b/CommerceConsumerProcurement/src/V1/Subscription.php index ee10c101f400..df359e4a9c5c 100644 --- a/CommerceConsumerProcurement/src/V1/Subscription.php +++ b/CommerceConsumerProcurement/src/V1/Subscription.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Subscription information. diff --git a/CommerceConsumerProcurement/src/V1/UnassignRequest.php b/CommerceConsumerProcurement/src/V1/UnassignRequest.php index b61d1f46d9bb..bf44cdda22d8 100644 --- a/CommerceConsumerProcurement/src/V1/UnassignRequest.php +++ b/CommerceConsumerProcurement/src/V1/UnassignRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -24,7 +24,7 @@ class UnassignRequest extends \Google\Protobuf\Internal\Message protected $parent = ''; /** * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED]; */ @@ -54,9 +54,9 @@ public static function build(string $parent, array $usernames): self * * @type string $parent * Required. License pool name. - * @type array|\Google\Protobuf\Internal\RepeatedField $usernames + * @type string[] $usernames * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * } */ public function __construct($data = NULL) { @@ -92,10 +92,10 @@ public function setParent($var) /** * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUsernames() { @@ -104,10 +104,10 @@ public function getUsernames() /** * Required. Username. - * Format: `name@domain.com`. + * Format: `name\@domain.com`. * * Generated from protobuf field repeated string usernames = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUsernames($var) diff --git a/CommerceConsumerProcurement/src/V1/UnassignResponse.php b/CommerceConsumerProcurement/src/V1/UnassignResponse.php index 80b8d97dccc0..658bcb22a4b3 100644 --- a/CommerceConsumerProcurement/src/V1/UnassignResponse.php +++ b/CommerceConsumerProcurement/src/V1/UnassignResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for diff --git a/CommerceConsumerProcurement/src/V1/UpdateLicensePoolRequest.php b/CommerceConsumerProcurement/src/V1/UpdateLicensePoolRequest.php index 58377294310c..5ecd5480e5aa 100644 --- a/CommerceConsumerProcurement/src/V1/UpdateLicensePoolRequest.php +++ b/CommerceConsumerProcurement/src/V1/UpdateLicensePoolRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Commerce\Consumer\Procurement\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for updating a license pool. diff --git a/CommonProtos/metadata/Api/Annotations.php b/CommonProtos/metadata/Api/Annotations.php index 7bec22e341ef..a700b2da7a2a 100644 --- a/CommonProtos/metadata/Api/Annotations.php +++ b/CommonProtos/metadata/Api/Annotations.php @@ -16,11 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\Http::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/api/annotations.proto -google.api google/protobuf/descriptor.protoBn -com.google.apiBAnnotationsProtoPZAgoogle.golang.org/genproto/googleapis/api/annotations;annotationsGAPIbproto3' + "\x0A\xC4\x01\x0A\x1Cgoogle/api/annotations.proto\x12\x0Agoogle.api\x1A google/protobuf/descriptor.protoBn\x0A\x0Ecom.google.apiB\x10AnnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Auth.php b/CommonProtos/metadata/Api/Auth.php index 7240db844379..24d567740772 100644 Binary files a/CommonProtos/metadata/Api/Auth.php and b/CommonProtos/metadata/Api/Auth.php differ diff --git a/CommonProtos/metadata/Api/Backend.php b/CommonProtos/metadata/Api/Backend.php index 6d50482434ec..ff0a49db79c1 100644 Binary files a/CommonProtos/metadata/Api/Backend.php and b/CommonProtos/metadata/Api/Backend.php differ diff --git a/CommonProtos/metadata/Api/Billing.php b/CommonProtos/metadata/Api/Billing.php index 818aac14fe02..0bfe90cbb1b2 100644 --- a/CommonProtos/metadata/Api/Billing.php +++ b/CommonProtos/metadata/Api/Billing.php @@ -15,16 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/billing.proto -google.api" -BillingE -consumer_destinations ( 2&.google.api.Billing.BillingDestinationA -BillingDestination -monitored_resource (  -metrics ( Bn -com.google.apiB BillingProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xB4\x02\x0A\x18google/api/billing.proto\x12\x0Agoogle.api\"\x93\x01\x0A\x07Billing\x12E\x0A\x15consumer_destinations\x18\x08 \x03(\x0B2&.google.api.Billing.BillingDestination\x1AA\x0A\x12BillingDestination\x12\x1A\x0A\x12monitored_resource\x18\x01 \x01(\x09\x12\x0F\x0A\x07metrics\x18\x02 \x03(\x09Bn\x0A\x0Ecom.google.apiB\x0CBillingProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Client.php b/CommonProtos/metadata/Api/Client.php index 28f84630237d..b9bfd8c76584 100644 Binary files a/CommonProtos/metadata/Api/Client.php and b/CommonProtos/metadata/Api/Client.php differ diff --git a/CommonProtos/metadata/Api/ConfigChange.php b/CommonProtos/metadata/Api/ConfigChange.php index b0444eb417b7..82abb6653244 100644 Binary files a/CommonProtos/metadata/Api/ConfigChange.php and b/CommonProtos/metadata/Api/ConfigChange.php differ diff --git a/CommonProtos/metadata/Api/Consumer.php b/CommonProtos/metadata/Api/Consumer.php index a62c598fa434..3e59e137926a 100644 Binary files a/CommonProtos/metadata/Api/Consumer.php and b/CommonProtos/metadata/Api/Consumer.php differ diff --git a/CommonProtos/metadata/Api/Context.php b/CommonProtos/metadata/Api/Context.php index 74ffd87adbc9..b06c93bd719f 100644 --- a/CommonProtos/metadata/Api/Context.php +++ b/CommonProtos/metadata/Api/Context.php @@ -15,19 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/context.proto -google.api"1 -Context& -rules ( 2.google.api.ContextRule" - ContextRule -selector (  - requested (  -provided ( " -allowed_request_extensions ( # -allowed_response_extensions ( Bn -com.google.apiB ContextProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xE1\x02\x0A\x18google/api/context.proto\x12\x0Agoogle.api\"1\x0A\x07Context\x12&\x0A\x05rules\x18\x01 \x03(\x0B2\x17.google.api.ContextRule\"\x8D\x01\x0A\x0BContextRule\x12\x10\x0A\x08selector\x18\x01 \x01(\x09\x12\x11\x0A\x09requested\x18\x02 \x03(\x09\x12\x10\x0A\x08provided\x18\x03 \x03(\x09\x12\"\x0A\x1Aallowed_request_extensions\x18\x04 \x03(\x09\x12#\x0A\x1Ballowed_response_extensions\x18\x05 \x03(\x09Bn\x0A\x0Ecom.google.apiB\x0CContextProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Control.php b/CommonProtos/metadata/Api/Control.php index ead6700efc79..ae0f4142baea 100644 --- a/CommonProtos/metadata/Api/Control.php +++ b/CommonProtos/metadata/Api/Control.php @@ -16,14 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\Policy::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/api/control.proto -google.api"Q -Control - environment ( 1 -method_policies ( 2.google.api.MethodPolicyBn -com.google.apiB ControlProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xF1\x01\x0A\x18google/api/control.proto\x12\x0Agoogle.api\"Q\x0A\x07Control\x12\x13\x0A\x0Benvironment\x18\x01 \x01(\x09\x121\x0A\x0Fmethod_policies\x18\x04 \x03(\x0B2\x18.google.api.MethodPolicyBn\x0A\x0Ecom.google.apiB\x0CControlProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Distribution.php b/CommonProtos/metadata/Api/Distribution.php index 052aa6c2bdea..90f51fe3e87c 100644 Binary files a/CommonProtos/metadata/Api/Distribution.php and b/CommonProtos/metadata/Api/Distribution.php differ diff --git a/CommonProtos/metadata/Api/Documentation.php b/CommonProtos/metadata/Api/Documentation.php index 2c80046e48dc..a83176a54c3e 100644 --- a/CommonProtos/metadata/Api/Documentation.php +++ b/CommonProtos/metadata/Api/Documentation.php @@ -15,26 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/documentation.proto -google.api" - Documentation -summary (  -pages ( 2.google.api.Page, -rules ( 2.google.api.DocumentationRule -documentation_root_url (  -service_root_url (  -overview ( "[ -DocumentationRule -selector (  - description (  -deprecation_description ( "I -Page -name (  -content ( " -subpages ( 2.google.api.PageBt -com.google.apiBDocumentationProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\x90\x04\x0A\x1Egoogle/api/documentation.proto\x12\x0Agoogle.api\"\xBB\x01\x0A\x0DDocumentation\x12\x0F\x0A\x07summary\x18\x01 \x01(\x09\x12\x1F\x0A\x05pages\x18\x05 \x03(\x0B2\x10.google.api.Page\x12,\x0A\x05rules\x18\x03 \x03(\x0B2\x1D.google.api.DocumentationRule\x12\x1E\x0A\x16documentation_root_url\x18\x04 \x01(\x09\x12\x18\x0A\x10service_root_url\x18\x06 \x01(\x09\x12\x10\x0A\x08overview\x18\x02 \x01(\x09\"[\x0A\x11DocumentationRule\x12\x10\x0A\x08selector\x18\x01 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12\x1F\x0A\x17deprecation_description\x18\x03 \x01(\x09\"I\x0A\x04Page\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0F\x0A\x07content\x18\x02 \x01(\x09\x12\"\x0A\x08subpages\x18\x03 \x03(\x0B2\x10.google.api.PageBt\x0A\x0Ecom.google.apiB\x12DocumentationProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Endpoint.php b/CommonProtos/metadata/Api/Endpoint.php index a51aa072e11d..1e4fb87a4de6 100644 --- a/CommonProtos/metadata/Api/Endpoint.php +++ b/CommonProtos/metadata/Api/Endpoint.php @@ -15,17 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/endpoint.proto -google.api"M -Endpoint -name (  -aliases (  -targete (  - -allow_cors (Bo -com.google.apiB EndpointProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xEF\x01\x0A\x19google/api/endpoint.proto\x12\x0Agoogle.api\"M\x0A\x08Endpoint\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0F\x0A\x07aliases\x18\x02 \x03(\x09\x12\x0E\x0A\x06target\x18e \x01(\x09\x12\x12\x0A\x0Aallow_cors\x18\x05 \x01(\x08Bo\x0A\x0Ecom.google.apiB\x0DEndpointProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/ErrorReason.php b/CommonProtos/metadata/Api/ErrorReason.php index 49f233ae3ca1..cf1a058fd5cb 100644 Binary files a/CommonProtos/metadata/Api/ErrorReason.php and b/CommonProtos/metadata/Api/ErrorReason.php differ diff --git a/CommonProtos/metadata/Api/FieldBehavior.php b/CommonProtos/metadata/Api/FieldBehavior.php index b8a8d26ac9e5..72cc2439c61f 100644 Binary files a/CommonProtos/metadata/Api/FieldBehavior.php and b/CommonProtos/metadata/Api/FieldBehavior.php differ diff --git a/CommonProtos/metadata/Api/FieldInfo.php b/CommonProtos/metadata/Api/FieldInfo.php index 7daa960c1423..b699c4dcd537 100644 Binary files a/CommonProtos/metadata/Api/FieldInfo.php and b/CommonProtos/metadata/Api/FieldInfo.php differ diff --git a/CommonProtos/metadata/Api/Http.php b/CommonProtos/metadata/Api/Http.php index d0b9c683a75a..2798dde48900 100644 Binary files a/CommonProtos/metadata/Api/Http.php and b/CommonProtos/metadata/Api/Http.php differ diff --git a/CommonProtos/metadata/Api/Httpbody.php b/CommonProtos/metadata/Api/Httpbody.php index 88417c291d61..414f11115319 100644 --- a/CommonProtos/metadata/Api/Httpbody.php +++ b/CommonProtos/metadata/Api/Httpbody.php @@ -16,16 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Any::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/api/httpbody.proto -google.api"X -HttpBody - content_type (  -data ( ( - -extensions ( 2.google.protobuf.AnyBe -com.google.apiB HttpBodyProtoPZ;google.golang.org/genproto/googleapis/api/httpbody;httpbodyGAPIbproto3' + "\x0A\xF0\x01\x0A\x19google/api/httpbody.proto\x12\x0Agoogle.api\"X\x0A\x08HttpBody\x12\x14\x0A\x0Ccontent_type\x18\x01 \x01(\x09\x12\x0C\x0A\x04data\x18\x02 \x01(\x0C\x12(\x0A\x0Aextensions\x18\x03 \x03(\x0B2\x14.google.protobuf.AnyBe\x0A\x0Ecom.google.apiB\x0DHttpBodyProtoP\x01Z;google.golang.org/genproto/googleapis/api/httpbody;httpbody\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Label.php b/CommonProtos/metadata/Api/Label.php index 3dd6ebb152e3..d076fa333968 100644 Binary files a/CommonProtos/metadata/Api/Label.php and b/CommonProtos/metadata/Api/Label.php differ diff --git a/CommonProtos/metadata/Api/LaunchStage.php b/CommonProtos/metadata/Api/LaunchStage.php index 3f19c3ce1315..6fd92a165718 100644 Binary files a/CommonProtos/metadata/Api/LaunchStage.php and b/CommonProtos/metadata/Api/LaunchStage.php differ diff --git a/CommonProtos/metadata/Api/Log.php b/CommonProtos/metadata/Api/Log.php index 6fe86a67c780..5f7c45af5ae5 100644 --- a/CommonProtos/metadata/Api/Log.php +++ b/CommonProtos/metadata/Api/Log.php @@ -16,16 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\Label::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/api/log.proto -google.api"u - LogDescriptor -name ( + -labels ( 2.google.api.LabelDescriptor - description (  - display_name ( Bj -com.google.apiBLogProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\x8D\x02\x0A\x14google/api/log.proto\x12\x0Agoogle.api\"u\x0A\x0DLogDescriptor\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12+\x0A\x06labels\x18\x02 \x03(\x0B2\x1B.google.api.LabelDescriptor\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12\x14\x0A\x0Cdisplay_name\x18\x04 \x01(\x09Bj\x0A\x0Ecom.google.apiB\x08LogProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Logging.php b/CommonProtos/metadata/Api/Logging.php index 179277d6d497..921a88c8432e 100644 --- a/CommonProtos/metadata/Api/Logging.php +++ b/CommonProtos/metadata/Api/Logging.php @@ -15,17 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/logging.proto -google.api" -LoggingE -producer_destinations ( 2&.google.api.Logging.LoggingDestinationE -consumer_destinations ( 2&.google.api.Logging.LoggingDestination> -LoggingDestination -monitored_resource (  -logs ( Bn -com.google.apiB LoggingProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xF8\x02\x0A\x18google/api/logging.proto\x12\x0Agoogle.api\"\xD7\x01\x0A\x07Logging\x12E\x0A\x15producer_destinations\x18\x01 \x03(\x0B2&.google.api.Logging.LoggingDestination\x12E\x0A\x15consumer_destinations\x18\x02 \x03(\x0B2&.google.api.Logging.LoggingDestination\x1A>\x0A\x12LoggingDestination\x12\x1A\x0A\x12monitored_resource\x18\x03 \x01(\x09\x12\x0C\x0A\x04logs\x18\x01 \x03(\x09Bn\x0A\x0Ecom.google.apiB\x0CLoggingProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Metric.php b/CommonProtos/metadata/Api/Metric.php index 93c38242c59c..bac797115c35 100644 Binary files a/CommonProtos/metadata/Api/Metric.php and b/CommonProtos/metadata/Api/Metric.php differ diff --git a/CommonProtos/metadata/Api/MonitoredResource.php b/CommonProtos/metadata/Api/MonitoredResource.php index 311dfb202198..e7cb60fa0e10 100644 --- a/CommonProtos/metadata/Api/MonitoredResource.php +++ b/CommonProtos/metadata/Api/MonitoredResource.php @@ -18,30 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\LaunchStage::initOnce(); \GPBMetadata\Google\Protobuf\Struct::initOnce(); $pool->internalAddGeneratedFile( - ' - -#google/api/monitored_resource.proto -google.apigoogle/api/launch_stage.protogoogle/protobuf/struct.proto" -MonitoredResourceDescriptor -name (  -type (  - display_name (  - description ( + -labels ( 2.google.api.LabelDescriptor- - launch_stage (2.google.api.LaunchStage" -MonitoredResource -type ( 9 -labels ( 2).google.api.MonitoredResource.LabelsEntry- - LabelsEntry -key (  -value ( :8" -MonitoredResourceMetadata. - system_labels ( 2.google.protobuf.StructJ - user_labels ( 25.google.api.MonitoredResourceMetadata.UserLabelsEntry1 -UserLabelsEntry -key (  -value ( :8Bv -com.google.apiBMonitoredResourceProtoPZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredresGAPIbproto3' + "\x0A\x8C\x06\x0A#google/api/monitored_resource.proto\x12\x0Agoogle.api\x1A\x1Dgoogle/api/launch_stage.proto\x1A\x1Cgoogle/protobuf/struct.proto\"\xC0\x01\x0A\x1BMonitoredResourceDescriptor\x12\x0C\x0A\x04name\x18\x05 \x01(\x09\x12\x0C\x0A\x04type\x18\x01 \x01(\x09\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12+\x0A\x06labels\x18\x04 \x03(\x0B2\x1B.google.api.LabelDescriptor\x12-\x0A\x0Claunch_stage\x18\x07 \x01(\x0E2\x17.google.api.LaunchStage\"\x8B\x01\x0A\x11MonitoredResource\x12\x0C\x0A\x04type\x18\x01 \x01(\x09\x129\x0A\x06labels\x18\x02 \x03(\x0B2).google.api.MonitoredResource.LabelsEntry\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\xCA\x01\x0A\x19MonitoredResourceMetadata\x12.\x0A\x0Dsystem_labels\x18\x01 \x01(\x0B2\x17.google.protobuf.Struct\x12J\x0A\x0Buser_labels\x18\x02 \x03(\x0B25.google.api.MonitoredResourceMetadata.UserLabelsEntry\x1A1\x0A\x0FUserLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01Bv\x0A\x0Ecom.google.apiB\x16MonitoredResourceProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredres\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Monitoring.php b/CommonProtos/metadata/Api/Monitoring.php index 2b13194a2f39..4c70cb0defc8 100644 --- a/CommonProtos/metadata/Api/Monitoring.php +++ b/CommonProtos/metadata/Api/Monitoring.php @@ -15,18 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/monitoring.proto -google.api" - -MonitoringK -producer_destinations ( 2,.google.api.Monitoring.MonitoringDestinationK -consumer_destinations ( 2,.google.api.Monitoring.MonitoringDestinationD -MonitoringDestination -monitored_resource (  -metrics ( Bq -com.google.apiBMonitoringProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\x93\x03\x0A\x1Bgoogle/api/monitoring.proto\x12\x0Agoogle.api\"\xEC\x01\x0A\x0AMonitoring\x12K\x0A\x15producer_destinations\x18\x01 \x03(\x0B2,.google.api.Monitoring.MonitoringDestination\x12K\x0A\x15consumer_destinations\x18\x02 \x03(\x0B2,.google.api.Monitoring.MonitoringDestination\x1AD\x0A\x15MonitoringDestination\x12\x1A\x0A\x12monitored_resource\x18\x01 \x01(\x09\x12\x0F\x0A\x07metrics\x18\x02 \x03(\x09Bq\x0A\x0Ecom.google.apiB\x0FMonitoringProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Policy.php b/CommonProtos/metadata/Api/Policy.php index c7d3fee465c2..5d6bd055727b 100644 --- a/CommonProtos/metadata/Api/Policy.php +++ b/CommonProtos/metadata/Api/Policy.php @@ -15,18 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/policy.proto -google.api google/protobuf/descriptor.proto"S - FieldPolicy -selector (  -resource_permission (  - resource_type ( "S - MethodPolicy -selector ( 1 -request_policies ( 2.google.api.FieldPolicyBm -com.google.apiB PolicyProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xE8\x02\x0A\x17google/api/policy.proto\x12\x0Agoogle.api\x1A google/protobuf/descriptor.proto\"S\x0A\x0BFieldPolicy\x12\x10\x0A\x08selector\x18\x01 \x01(\x09\x12\x1B\x0A\x13resource_permission\x18\x02 \x01(\x09\x12\x15\x0A\x0Dresource_type\x18\x03 \x01(\x09\"S\x0A\x0CMethodPolicy\x12\x10\x0A\x08selector\x18\x09 \x01(\x09\x121\x0A\x10request_policies\x18\x02 \x03(\x0B2\x17.google.api.FieldPolicyBm\x0A\x0Ecom.google.apiB\x0BPolicyProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Quota.php b/CommonProtos/metadata/Api/Quota.php index 422638385288..4f0eded77a02 100644 --- a/CommonProtos/metadata/Api/Quota.php +++ b/CommonProtos/metadata/Api/Quota.php @@ -15,38 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/quota.proto -google.api"] -Quota& -limits ( 2.google.api.QuotaLimit, - metric_rules ( 2.google.api.MetricRule" - -MetricRule -selector ( = - metric_costs ( 2\'.google.api.MetricRule.MetricCostsEntry2 -MetricCostsEntry -key (  -value (:8" - -QuotaLimit -name (  - description (  - default_limit ( - max_limit ( - free_tier ( -duration (  -metric (  -unit ( 2 -values - ( 2".google.api.QuotaLimit.ValuesEntry - display_name ( - - ValuesEntry -key (  -value (:8Bl -com.google.apiB -QuotaProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xA5\x05\x0A\x16google/api/quota.proto\x12\x0Agoogle.api\"]\x0A\x05Quota\x12&\x0A\x06limits\x18\x03 \x03(\x0B2\x16.google.api.QuotaLimit\x12,\x0A\x0Cmetric_rules\x18\x04 \x03(\x0B2\x16.google.api.MetricRule\"\x91\x01\x0A\x0AMetricRule\x12\x10\x0A\x08selector\x18\x01 \x01(\x09\x12=\x0A\x0Cmetric_costs\x18\x02 \x03(\x0B2'.google.api.MetricRule.MetricCostsEntry\x1A2\x0A\x10MetricCostsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x03:\x028\x01\"\x95\x02\x0A\x0AQuotaLimit\x12\x0C\x0A\x04name\x18\x06 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12\x15\x0A\x0Ddefault_limit\x18\x03 \x01(\x03\x12\x11\x0A\x09max_limit\x18\x04 \x01(\x03\x12\x11\x0A\x09free_tier\x18\x07 \x01(\x03\x12\x10\x0A\x08duration\x18\x05 \x01(\x09\x12\x0E\x0A\x06metric\x18\x08 \x01(\x09\x12\x0C\x0A\x04unit\x18\x09 \x01(\x09\x122\x0A\x06values\x18\x0A \x03(\x0B2\".google.api.QuotaLimit.ValuesEntry\x12\x14\x0A\x0Cdisplay_name\x18\x0C \x01(\x09\x1A-\x0A\x0BValuesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x03:\x028\x01Bl\x0A\x0Ecom.google.apiB\x0AQuotaProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Resource.php b/CommonProtos/metadata/Api/Resource.php index 3e175ea87dc7..06f145e91841 100644 Binary files a/CommonProtos/metadata/Api/Resource.php and b/CommonProtos/metadata/Api/Resource.php differ diff --git a/CommonProtos/metadata/Api/Routing.php b/CommonProtos/metadata/Api/Routing.php index 6139d258cf20..8146395c2b21 100644 --- a/CommonProtos/metadata/Api/Routing.php +++ b/CommonProtos/metadata/Api/Routing.php @@ -15,16 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/routing.proto -google.api google/protobuf/descriptor.proto"G - RoutingRule8 -routing_parameters ( 2.google.api.RoutingParameter"8 -RoutingParameter -field (  - path_template ( Bj -com.google.apiB RoutingProtoPZAgoogle.golang.org/genproto/googleapis/api/annotations;annotationsGAPIbproto3' + "\x0A\xBF\x02\x0A\x18google/api/routing.proto\x12\x0Agoogle.api\x1A google/protobuf/descriptor.proto\"G\x0A\x0BRoutingRule\x128\x0A\x12routing_parameters\x18\x02 \x03(\x0B2\x1C.google.api.RoutingParameter\"8\x0A\x10RoutingParameter\x12\x0D\x0A\x05field\x18\x01 \x01(\x09\x12\x15\x0A\x0Dpath_template\x18\x02 \x01(\x09Bj\x0A\x0Ecom.google.apiB\x0CRoutingProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Service.php b/CommonProtos/metadata/Api/Service.php index 109365a38fd2..93c4c518f2a0 100644 --- a/CommonProtos/metadata/Api/Service.php +++ b/CommonProtos/metadata/Api/Service.php @@ -36,42 +36,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\Type::initOnce(); \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/api/service.proto -google.apigoogle/api/backend.protogoogle/api/billing.protogoogle/api/client.protogoogle/api/context.protogoogle/api/control.protogoogle/api/documentation.protogoogle/api/endpoint.protogoogle/api/http.protogoogle/api/log.protogoogle/api/logging.protogoogle/api/metric.proto#google/api/monitored_resource.protogoogle/api/monitoring.protogoogle/api/quota.protogoogle/api/source_info.proto!google/api/system_parameter.protogoogle/api/usage.protogoogle/protobuf/api.protogoogle/protobuf/type.protogoogle/protobuf/wrappers.proto" -Service -name (  -title (  -producer_project_id (  - -id! ( " -apis ( 2.google.protobuf.Api$ -types ( 2.google.protobuf.Type$ -enums ( 2.google.protobuf.Enum0 - documentation ( 2.google.api.Documentation$ -backend ( 2.google.api.Backend -http ( 2.google.api.Http -quota - ( 2.google.api.Quota2 -authentication ( 2.google.api.Authentication$ -context ( 2.google.api.Context -usage ( 2.google.api.Usage\' - endpoints ( 2.google.api.Endpoint$ -control ( 2.google.api.Control\' -logs ( 2.google.api.LogDescriptor- -metrics ( 2.google.api.MetricDescriptorD -monitored_resources ( 2\'.google.api.MonitoredResourceDescriptor$ -billing ( 2.google.api.Billing$ -logging ( 2.google.api.Logging* - -monitoring ( 2.google.api.Monitoring7 -system_parameters ( 2.google.api.SystemParameters+ - source_info% ( 2.google.api.SourceInfo* - -publishing- ( 2.google.api.Publishing4 -config_version ( 2.google.protobuf.UInt32ValueBn -com.google.apiB ServiceProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xC9\x0D\x0A\x18google/api/service.proto\x12\x0Agoogle.api\x1A\x18google/api/backend.proto\x1A\x18google/api/billing.proto\x1A\x17google/api/client.proto\x1A\x18google/api/context.proto\x1A\x18google/api/control.proto\x1A\x1Egoogle/api/documentation.proto\x1A\x19google/api/endpoint.proto\x1A\x15google/api/http.proto\x1A\x14google/api/log.proto\x1A\x18google/api/logging.proto\x1A\x17google/api/metric.proto\x1A#google/api/monitored_resource.proto\x1A\x1Bgoogle/api/monitoring.proto\x1A\x16google/api/quota.proto\x1A\x1Cgoogle/api/source_info.proto\x1A!google/api/system_parameter.proto\x1A\x16google/api/usage.proto\x1A\x19google/protobuf/api.proto\x1A\x1Agoogle/protobuf/type.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"\x82\x08\x0A\x07Service\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0D\x0A\x05title\x18\x02 \x01(\x09\x12\x1B\x0A\x13producer_project_id\x18\x16 \x01(\x09\x12\x0A\x0A\x02id\x18! \x01(\x09\x12\"\x0A\x04apis\x18\x03 \x03(\x0B2\x14.google.protobuf.Api\x12\$\x0A\x05types\x18\x04 \x03(\x0B2\x15.google.protobuf.Type\x12\$\x0A\x05enums\x18\x05 \x03(\x0B2\x15.google.protobuf.Enum\x120\x0A\x0Ddocumentation\x18\x06 \x01(\x0B2\x19.google.api.Documentation\x12\$\x0A\x07backend\x18\x08 \x01(\x0B2\x13.google.api.Backend\x12\x1E\x0A\x04http\x18\x09 \x01(\x0B2\x10.google.api.Http\x12 \x0A\x05quota\x18\x0A \x01(\x0B2\x11.google.api.Quota\x122\x0A\x0Eauthentication\x18\x0B \x01(\x0B2\x1A.google.api.Authentication\x12\$\x0A\x07context\x18\x0C \x01(\x0B2\x13.google.api.Context\x12 \x0A\x05usage\x18\x0F \x01(\x0B2\x11.google.api.Usage\x12'\x0A\x09endpoints\x18\x12 \x03(\x0B2\x14.google.api.Endpoint\x12\$\x0A\x07control\x18\x15 \x01(\x0B2\x13.google.api.Control\x12'\x0A\x04logs\x18\x17 \x03(\x0B2\x19.google.api.LogDescriptor\x12-\x0A\x07metrics\x18\x18 \x03(\x0B2\x1C.google.api.MetricDescriptor\x12D\x0A\x13monitored_resources\x18\x19 \x03(\x0B2'.google.api.MonitoredResourceDescriptor\x12\$\x0A\x07billing\x18\x1A \x01(\x0B2\x13.google.api.Billing\x12\$\x0A\x07logging\x18\x1B \x01(\x0B2\x13.google.api.Logging\x12*\x0A\x0Amonitoring\x18\x1C \x01(\x0B2\x16.google.api.Monitoring\x127\x0A\x11system_parameters\x18\x1D \x01(\x0B2\x1C.google.api.SystemParameters\x12+\x0A\x0Bsource_info\x18% \x01(\x0B2\x16.google.api.SourceInfo\x12*\x0A\x0Apublishing\x18- \x01(\x0B2\x16.google.api.Publishing\x124\x0A\x0Econfig_version\x18\x14 \x01(\x0B2\x1C.google.protobuf.UInt32ValueBn\x0A\x0Ecom.google.apiB\x0CServiceProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/SourceInfo.php b/CommonProtos/metadata/Api/SourceInfo.php index 9e3a180e4643..f22fde7c287a 100644 --- a/CommonProtos/metadata/Api/SourceInfo.php +++ b/CommonProtos/metadata/Api/SourceInfo.php @@ -16,14 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Any::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/api/source_info.proto -google.api"8 - -SourceInfo* - source_files ( 2.google.protobuf.AnyBq -com.google.apiBSourceInfoProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xDF\x01\x0A\x1Cgoogle/api/source_info.proto\x12\x0Agoogle.api\"8\x0A\x0ASourceInfo\x12*\x0A\x0Csource_files\x18\x01 \x03(\x0B2\x14.google.protobuf.AnyBq\x0A\x0Ecom.google.apiB\x0FSourceInfoProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/SystemParameter.php b/CommonProtos/metadata/Api/SystemParameter.php index d341405aa53d..cc85b39549d8 100644 --- a/CommonProtos/metadata/Api/SystemParameter.php +++ b/CommonProtos/metadata/Api/SystemParameter.php @@ -15,21 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -!google/api/system_parameter.proto -google.api"B -SystemParameters. -rules ( 2.google.api.SystemParameterRule"X -SystemParameterRule -selector ( / - -parameters ( 2.google.api.SystemParameter"Q -SystemParameter -name (  - http_header (  -url_query_parameter ( Bv -com.google.apiBSystemParameterProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xA0\x03\x0A!google/api/system_parameter.proto\x12\x0Agoogle.api\"B\x0A\x10SystemParameters\x12.\x0A\x05rules\x18\x01 \x03(\x0B2\x1F.google.api.SystemParameterRule\"X\x0A\x13SystemParameterRule\x12\x10\x0A\x08selector\x18\x01 \x01(\x09\x12/\x0A\x0Aparameters\x18\x02 \x03(\x0B2\x1B.google.api.SystemParameter\"Q\x0A\x0FSystemParameter\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x13\x0A\x0Bhttp_header\x18\x02 \x01(\x09\x12\x1B\x0A\x13url_query_parameter\x18\x03 \x01(\x09Bv\x0A\x0Ecom.google.apiB\x14SystemParameterProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Usage.php b/CommonProtos/metadata/Api/Usage.php index 3d7a644cd2ce..82f244faa367 100644 --- a/CommonProtos/metadata/Api/Usage.php +++ b/CommonProtos/metadata/Api/Usage.php @@ -15,20 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/usage.proto -google.api"j -Usage - requirements ( $ -rules ( 2.google.api.UsageRule% -producer_notification_channel ( "] - UsageRule -selector (  -allow_unregistered_calls ( -skip_service_control (Bl -com.google.apiB -UsageProtoPZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigGAPIbproto3' + "\x0A\xE5\x02\x0A\x16google/api/usage.proto\x12\x0Agoogle.api\"j\x0A\x05Usage\x12\x14\x0A\x0Crequirements\x18\x01 \x03(\x09\x12\$\x0A\x05rules\x18\x06 \x03(\x0B2\x15.google.api.UsageRule\x12%\x0A\x1Dproducer_notification_channel\x18\x07 \x01(\x09\"]\x0A\x09UsageRule\x12\x10\x0A\x08selector\x18\x01 \x01(\x09\x12 \x0A\x18allow_unregistered_calls\x18\x02 \x01(\x08\x12\x1C\x0A\x14skip_service_control\x18\x03 \x01(\x08Bl\x0A\x0Ecom.google.apiB\x0AUsageProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Api/Visibility.php b/CommonProtos/metadata/Api/Visibility.php index e9dd98b5815d..b1f2fa0b6ccb 100644 --- a/CommonProtos/metadata/Api/Visibility.php +++ b/CommonProtos/metadata/Api/Visibility.php @@ -15,17 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/api/visibility.proto -google.api google/protobuf/descriptor.proto"7 - -Visibility) -rules ( 2.google.api.VisibilityRule"7 -VisibilityRule -selector (  - restriction ( Bk -com.google.apiBVisibilityProtoPZ?google.golang.org/genproto/googleapis/api/visibility;visibilityGAPIbproto3' + "\x0A\xB2\x02\x0A\x1Bgoogle/api/visibility.proto\x12\x0Agoogle.api\x1A google/protobuf/descriptor.proto\"7\x0A\x0AVisibility\x12)\x0A\x05rules\x18\x01 \x03(\x0B2\x1A.google.api.VisibilityRule\"7\x0A\x0EVisibilityRule\x12\x10\x0A\x08selector\x18\x01 \x01(\x09\x12\x13\x0A\x0Brestriction\x18\x02 \x01(\x09Bk\x0A\x0Ecom.google.apiB\x0FVisibilityProtoP\x01Z?google.golang.org/genproto/googleapis/api/visibility;visibility\xA2\x02\x04GAPIb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Cloud/ExtendedOperations.php b/CommonProtos/metadata/Cloud/ExtendedOperations.php index 08219cbcbcb6..2f09c858bb0e 100644 Binary files a/CommonProtos/metadata/Cloud/ExtendedOperations.php and b/CommonProtos/metadata/Cloud/ExtendedOperations.php differ diff --git a/CommonProtos/metadata/Cloud/Location/Locations.php b/CommonProtos/metadata/Cloud/Location/Locations.php index ad572c23925e..d18965d1bd1e 100644 --- a/CommonProtos/metadata/Cloud/Location/Locations.php +++ b/CommonProtos/metadata/Cloud/Location/Locations.php @@ -18,33 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\Any::initOnce(); \GPBMetadata\Google\Api\Client::initOnce(); $pool->internalAddGeneratedFile( - ' - -%google/cloud/location/locations.protogoogle.cloud.locationgoogle/protobuf/any.protogoogle/api/client.proto"[ -ListLocationsRequest -name (  -filter (  - page_size ( - -page_token ( "d -ListLocationsResponse2 - locations ( 2.google.cloud.location.Location -next_page_token ( "" -GetLocationRequest -name ( " -Location -name (  - location_id (  - display_name ( ; -labels ( 2+.google.cloud.location.Location.LabelsEntry& -metadata ( 2.google.protobuf.Any- - LabelsEntry -key (  -value ( :82 - Locations - ListLocations+.google.cloud.location.ListLocationsRequest,.google.cloud.location.ListLocationsResponse"?9/v1/{name=locations}Z!/v1/{name=projects/*}/locations - GetLocation).google.cloud.location.GetLocationRequest.google.cloud.location.Location"C=/v1/{name=locations/*}Z#!/v1/{name=projects/*/locations/*}HAcloud.googleapis.comA.https://www.googleapis.com/auth/cloud-platformBo -com.google.cloud.locationBLocationsProtoPZ=google.golang.org/genproto/googleapis/cloud/location;locationbproto3' + "\x0A\xD3\x08\x0A%google/cloud/location/locations.proto\x12\x15google.cloud.location\x1A\x19google/protobuf/any.proto\x1A\x17google/api/client.proto\"[\x0A\x14ListLocationsRequest\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\"d\x0A\x15ListLocationsResponse\x122\x0A\x09locations\x18\x01 \x03(\x0B2\x1F.google.cloud.location.Location\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\"\x0A\x12GetLocationRequest\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\"\xD7\x01\x0A\x08Location\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\x12\x14\x0A\x0Cdisplay_name\x18\x05 \x01(\x09\x12;\x0A\x06labels\x18\x02 \x03(\x0B2+.google.cloud.location.Location.LabelsEntry\x12&\x0A\x08metadata\x18\x03 \x01(\x0B2\x14.google.protobuf.Any\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x012\xA4\x03\x0A\x09Locations\x12\xAB\x01\x0A\x0DListLocations\x12+.google.cloud.location.ListLocationsRequest\x1A,.google.cloud.location.ListLocationsResponse\"?\x82\xD3\xE4\x93\x029\x12\x14/v1/{name=locations}Z!\x12\x1F/v1/{name=projects/*}/locations\x12\x9E\x01\x0A\x0BGetLocation\x12).google.cloud.location.GetLocationRequest\x1A\x1F.google.cloud.location.Location\"C\x82\xD3\xE4\x93\x02=\x12\x16/v1/{name=locations/*}Z#\x12!/v1/{name=projects/*/locations/*}\x1AH\xCAA\x14cloud.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformBo\x0A\x19com.google.cloud.locationB\x0ELocationsProtoP\x01Z=google.golang.org/genproto/googleapis/cloud/location;location\xF8\x01\x01b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Google/Iam/V1/IamPolicy.php b/CommonProtos/metadata/Google/Iam/V1/IamPolicy.php index 05b9b12748ab..3c8924647d4b 100644 --- a/CommonProtos/metadata/Google/Iam/V1/IamPolicy.php +++ b/CommonProtos/metadata/Google/Iam/V1/IamPolicy.php @@ -22,29 +22,7 @@ public static function initOnce() { \GPBMetadata\Google\Iam\V1\Policy::initOnce(); \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/iam/v1/iam_policy.proto google.iam.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/iam/v1/options.protogoogle/iam/v1/policy.proto google/protobuf/field_mask.proto" -SetIamPolicyRequest -resource ( B AA -** -policy ( 2.google.iam.v1.PolicyBA/ - update_mask ( 2.google.protobuf.FieldMask"d -GetIamPolicyRequest -resource ( B AA -*0 -options ( 2.google.iam.v1.GetPolicyOptions"R -TestIamPermissionsRequest -resource ( B AA -* - permissions ( BA"1 -TestIamPermissionsResponse - permissions ( 2 - IAMPolicyt - SetIamPolicy".google.iam.v1.SetIamPolicyRequest.google.iam.v1.Policy")#"/v1/{resource=**}:setIamPolicy:*t - GetIamPolicy".google.iam.v1.GetIamPolicyRequest.google.iam.v1.Policy")#"/v1/{resource=**}:getIamPolicy:* -TestIamPermissions(.google.iam.v1.TestIamPermissionsRequest).google.iam.v1.TestIamPermissionsResponse"/)"$/v1/{resource=**}:testIamPermissions:*Aiam-meta-api.googleapis.comB| -com.google.iam.v1BIamPolicyProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbGoogle.Cloud.Iam.V1Google\\Cloud\\Iam\\V1bproto3' + "\x0A\x9B\x09\x0A\x1Egoogle/iam/v1/iam_policy.proto\x12\x0Dgoogle.iam.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/iam/v1/options.proto\x1A\x1Agoogle/iam/v1/policy.proto\x1A google/protobuf/field_mask.proto\"\x8F\x01\x0A\x13SetIamPolicyRequest\x12\x1B\x0A\x08resource\x18\x01 \x01(\x09B\x09\xE0A\x02\xFAA\x03\x0A\x01*\x12*\x0A\x06policy\x18\x02 \x01(\x0B2\x15.google.iam.v1.PolicyB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"d\x0A\x13GetIamPolicyRequest\x12\x1B\x0A\x08resource\x18\x01 \x01(\x09B\x09\xE0A\x02\xFAA\x03\x0A\x01*\x120\x0A\x07options\x18\x02 \x01(\x0B2\x1F.google.iam.v1.GetPolicyOptions\"R\x0A\x19TestIamPermissionsRequest\x12\x1B\x0A\x08resource\x18\x01 \x01(\x09B\x09\xE0A\x02\xFAA\x03\x0A\x01*\x12\x18\x0A\x0Bpermissions\x18\x02 \x03(\x09B\x03\xE0A\x02\"1\x0A\x1ATestIamPermissionsResponse\x12\x13\x0A\x0Bpermissions\x18\x01 \x03(\x092\xB4\x03\x0A\x09IAMPolicy\x12t\x0A\x0CSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\")\x82\xD3\xE4\x93\x02#\"\x1E/v1/{resource=**}:setIamPolicy:\x01*\x12t\x0A\x0CGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\")\x82\xD3\xE4\x93\x02#\"\x1E/v1/{resource=**}:getIamPolicy:\x01*\x12\x9A\x01\x0A\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1A).google.iam.v1.TestIamPermissionsResponse\"/\x82\xD3\xE4\x93\x02)\"\$/v1/{resource=**}:testIamPermissions:\x01*\x1A\x1E\xCAA\x1Biam-meta-api.googleapis.comB|\x0A\x11com.google.iam.v1B\x0EIamPolicyProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xAA\x02\x13Google.Cloud.Iam.V1\xCA\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Google/Iam/V1/Logging/AuditData.php b/CommonProtos/metadata/Google/Iam/V1/Logging/AuditData.php index 3dcb651dbc4b..93ae1a0279ec 100644 --- a/CommonProtos/metadata/Google/Iam/V1/Logging/AuditData.php +++ b/CommonProtos/metadata/Google/Iam/V1/Logging/AuditData.php @@ -16,12 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Iam\V1\Policy::initOnce(); $pool->internalAddGeneratedFile( - ' - -&google/iam/v1/logging/audit_data.protogoogle.iam.v1.logging"= - AuditData0 - policy_delta ( 2.google.iam.v1.PolicyDeltaB -com.google.iam.v1.loggingBAuditDataProtoPZ9cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpbGoogle.Cloud.Iam.V1.Loggingbproto3' + "\x0A\x8F\x02\x0A&google/iam/v1/logging/audit_data.proto\x12\x15google.iam.v1.logging\"=\x0A\x09AuditData\x120\x0A\x0Cpolicy_delta\x18\x02 \x01(\x0B2\x1A.google.iam.v1.PolicyDeltaB\x86\x01\x0A\x19com.google.iam.v1.loggingB\x0EAuditDataProtoP\x01Z9cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpb\xAA\x02\x1BGoogle.Cloud.Iam.V1.Loggingb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Google/Iam/V1/Options.php b/CommonProtos/metadata/Google/Iam/V1/Options.php index 630ae5b65ee4..c5cfe44b6d86 100644 --- a/CommonProtos/metadata/Google/Iam/V1/Options.php +++ b/CommonProtos/metadata/Google/Iam/V1/Options.php @@ -15,12 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/iam/v1/options.proto google.iam.v1"4 -GetPolicyOptions -requested_policy_version (B} -com.google.iam.v1B OptionsProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbGoogle.Cloud.Iam.V1Google\\Cloud\\Iam\\V1bproto3' + "\x0A\xE9\x01\x0A\x1Bgoogle/iam/v1/options.proto\x12\x0Dgoogle.iam.v1\"4\x0A\x10GetPolicyOptions\x12 \x0A\x18requested_policy_version\x18\x01 \x01(\x05B}\x0A\x11com.google.iam.v1B\x0COptionsProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xF8\x01\x01\xAA\x02\x13Google.Cloud.Iam.V1\xCA\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Google/Iam/V1/Policy.php b/CommonProtos/metadata/Google/Iam/V1/Policy.php index ed5ae8178e3c..8d23aec66987 100644 Binary files a/CommonProtos/metadata/Google/Iam/V1/Policy.php and b/CommonProtos/metadata/Google/Iam/V1/Policy.php differ diff --git a/CommonProtos/metadata/Google/Iam/V1/ResourcePolicyMember.php b/CommonProtos/metadata/Google/Iam/V1/ResourcePolicyMember.php index aa0d5616de62..e7eb2e57e0f5 100644 --- a/CommonProtos/metadata/Google/Iam/V1/ResourcePolicyMember.php +++ b/CommonProtos/metadata/Google/Iam/V1/ResourcePolicyMember.php @@ -16,13 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - ' - -*google/iam/v1/resource_policy_member.proto google.iam.v1"e -ResourcePolicyMember& -iam_policy_name_principal ( BA% -iam_policy_uid_principal ( BAB -com.google.iam.v1BResourcePolicyMemberProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbGoogle.Cloud.Iam.V1Google\\Cloud\\Iam\\V1bproto3' + "\x0A\xB4\x02\x0A*google/iam/v1/resource_policy_member.proto\x12\x0Dgoogle.iam.v1\"e\x0A\x14ResourcePolicyMember\x12&\x0A\x19iam_policy_name_principal\x18\x01 \x01(\x09B\x03\xE0A\x03\x12%\x0A\x18iam_policy_uid_principal\x18\x02 \x01(\x09B\x03\xE0A\x03B\x87\x01\x0A\x11com.google.iam.v1B\x19ResourcePolicyMemberProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xAA\x02\x13Google.Cloud.Iam.V1\xCA\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Google/Logging/Type/HttpRequest.php b/CommonProtos/metadata/Google/Logging/Type/HttpRequest.php index 3c51368ee2a3..5bb5ed5eb488 100644 --- a/CommonProtos/metadata/Google/Logging/Type/HttpRequest.php +++ b/CommonProtos/metadata/Google/Logging/Type/HttpRequest.php @@ -16,28 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Duration::initOnce(); $pool->internalAddGeneratedFile( - ' - -&google/logging/type/http_request.protogoogle.logging.type" - HttpRequest -request_method (  - request_url (  - request_size ( -status ( - response_size ( - -user_agent (  - remote_ip (  - server_ip (  -referer ( * -latency ( 2.google.protobuf.Duration - cache_lookup ( - cache_hit (* -"cache_validated_with_origin_server - ( -cache_fill_bytes ( -protocol ( B -com.google.logging.typeBHttpRequestProtoPZ8google.golang.org/genproto/googleapis/logging/type;ltypeGoogle.Cloud.Logging.TypeGoogle\\Cloud\\Logging\\TypeGoogle::Cloud::Logging::Typebproto3' + "\x0A\xF8\x04\x0A&google/logging/type/http_request.proto\x12\x13google.logging.type\"\xEF\x02\x0A\x0BHttpRequest\x12\x16\x0A\x0Erequest_method\x18\x01 \x01(\x09\x12\x13\x0A\x0Brequest_url\x18\x02 \x01(\x09\x12\x14\x0A\x0Crequest_size\x18\x03 \x01(\x03\x12\x0E\x0A\x06status\x18\x04 \x01(\x05\x12\x15\x0A\x0Dresponse_size\x18\x05 \x01(\x03\x12\x12\x0A\x0Auser_agent\x18\x06 \x01(\x09\x12\x11\x0A\x09remote_ip\x18\x07 \x01(\x09\x12\x11\x0A\x09server_ip\x18\x0D \x01(\x09\x12\x0F\x0A\x07referer\x18\x08 \x01(\x09\x12*\x0A\x07latency\x18\x0E \x01(\x0B2\x19.google.protobuf.Duration\x12\x14\x0A\x0Ccache_lookup\x18\x0B \x01(\x08\x12\x11\x0A\x09cache_hit\x18\x09 \x01(\x08\x12*\x0A\"cache_validated_with_origin_server\x18\x0A \x01(\x08\x12\x18\x0A\x10cache_fill_bytes\x18\x0C \x01(\x03\x12\x10\x0A\x08protocol\x18\x0F \x01(\x09B\xBE\x01\x0A\x17com.google.logging.typeB\x10HttpRequestProtoP\x01Z8google.golang.org/genproto/googleapis/logging/type;ltype\xAA\x02\x19Google.Cloud.Logging.Type\xCA\x02\x19Google\\Cloud\\Logging\\Type\xEA\x02\x1CGoogle::Cloud::Logging::Typeb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Google/Logging/Type/LogSeverity.php b/CommonProtos/metadata/Google/Logging/Type/LogSeverity.php index 6acaa6953afd..0955634f7305 100644 Binary files a/CommonProtos/metadata/Google/Logging/Type/LogSeverity.php and b/CommonProtos/metadata/Google/Logging/Type/LogSeverity.php differ diff --git a/CommonProtos/metadata/Iam/V1/IamPolicy.php b/CommonProtos/metadata/Iam/V1/IamPolicy.php index 05b9b12748ab..3c8924647d4b 100644 --- a/CommonProtos/metadata/Iam/V1/IamPolicy.php +++ b/CommonProtos/metadata/Iam/V1/IamPolicy.php @@ -22,29 +22,7 @@ public static function initOnce() { \GPBMetadata\Google\Iam\V1\Policy::initOnce(); \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/iam/v1/iam_policy.proto google.iam.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/iam/v1/options.protogoogle/iam/v1/policy.proto google/protobuf/field_mask.proto" -SetIamPolicyRequest -resource ( B AA -** -policy ( 2.google.iam.v1.PolicyBA/ - update_mask ( 2.google.protobuf.FieldMask"d -GetIamPolicyRequest -resource ( B AA -*0 -options ( 2.google.iam.v1.GetPolicyOptions"R -TestIamPermissionsRequest -resource ( B AA -* - permissions ( BA"1 -TestIamPermissionsResponse - permissions ( 2 - IAMPolicyt - SetIamPolicy".google.iam.v1.SetIamPolicyRequest.google.iam.v1.Policy")#"/v1/{resource=**}:setIamPolicy:*t - GetIamPolicy".google.iam.v1.GetIamPolicyRequest.google.iam.v1.Policy")#"/v1/{resource=**}:getIamPolicy:* -TestIamPermissions(.google.iam.v1.TestIamPermissionsRequest).google.iam.v1.TestIamPermissionsResponse"/)"$/v1/{resource=**}:testIamPermissions:*Aiam-meta-api.googleapis.comB| -com.google.iam.v1BIamPolicyProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbGoogle.Cloud.Iam.V1Google\\Cloud\\Iam\\V1bproto3' + "\x0A\x9B\x09\x0A\x1Egoogle/iam/v1/iam_policy.proto\x12\x0Dgoogle.iam.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/iam/v1/options.proto\x1A\x1Agoogle/iam/v1/policy.proto\x1A google/protobuf/field_mask.proto\"\x8F\x01\x0A\x13SetIamPolicyRequest\x12\x1B\x0A\x08resource\x18\x01 \x01(\x09B\x09\xE0A\x02\xFAA\x03\x0A\x01*\x12*\x0A\x06policy\x18\x02 \x01(\x0B2\x15.google.iam.v1.PolicyB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"d\x0A\x13GetIamPolicyRequest\x12\x1B\x0A\x08resource\x18\x01 \x01(\x09B\x09\xE0A\x02\xFAA\x03\x0A\x01*\x120\x0A\x07options\x18\x02 \x01(\x0B2\x1F.google.iam.v1.GetPolicyOptions\"R\x0A\x19TestIamPermissionsRequest\x12\x1B\x0A\x08resource\x18\x01 \x01(\x09B\x09\xE0A\x02\xFAA\x03\x0A\x01*\x12\x18\x0A\x0Bpermissions\x18\x02 \x03(\x09B\x03\xE0A\x02\"1\x0A\x1ATestIamPermissionsResponse\x12\x13\x0A\x0Bpermissions\x18\x01 \x03(\x092\xB4\x03\x0A\x09IAMPolicy\x12t\x0A\x0CSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\")\x82\xD3\xE4\x93\x02#\"\x1E/v1/{resource=**}:setIamPolicy:\x01*\x12t\x0A\x0CGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\")\x82\xD3\xE4\x93\x02#\"\x1E/v1/{resource=**}:getIamPolicy:\x01*\x12\x9A\x01\x0A\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1A).google.iam.v1.TestIamPermissionsResponse\"/\x82\xD3\xE4\x93\x02)\"\$/v1/{resource=**}:testIamPermissions:\x01*\x1A\x1E\xCAA\x1Biam-meta-api.googleapis.comB|\x0A\x11com.google.iam.v1B\x0EIamPolicyProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xAA\x02\x13Google.Cloud.Iam.V1\xCA\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Iam/V1/Logging/AuditData.php b/CommonProtos/metadata/Iam/V1/Logging/AuditData.php index 3dcb651dbc4b..93ae1a0279ec 100644 --- a/CommonProtos/metadata/Iam/V1/Logging/AuditData.php +++ b/CommonProtos/metadata/Iam/V1/Logging/AuditData.php @@ -16,12 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Iam\V1\Policy::initOnce(); $pool->internalAddGeneratedFile( - ' - -&google/iam/v1/logging/audit_data.protogoogle.iam.v1.logging"= - AuditData0 - policy_delta ( 2.google.iam.v1.PolicyDeltaB -com.google.iam.v1.loggingBAuditDataProtoPZ9cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpbGoogle.Cloud.Iam.V1.Loggingbproto3' + "\x0A\x8F\x02\x0A&google/iam/v1/logging/audit_data.proto\x12\x15google.iam.v1.logging\"=\x0A\x09AuditData\x120\x0A\x0Cpolicy_delta\x18\x02 \x01(\x0B2\x1A.google.iam.v1.PolicyDeltaB\x86\x01\x0A\x19com.google.iam.v1.loggingB\x0EAuditDataProtoP\x01Z9cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpb\xAA\x02\x1BGoogle.Cloud.Iam.V1.Loggingb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Iam/V1/Options.php b/CommonProtos/metadata/Iam/V1/Options.php index 630ae5b65ee4..c5cfe44b6d86 100644 --- a/CommonProtos/metadata/Iam/V1/Options.php +++ b/CommonProtos/metadata/Iam/V1/Options.php @@ -15,12 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/iam/v1/options.proto google.iam.v1"4 -GetPolicyOptions -requested_policy_version (B} -com.google.iam.v1B OptionsProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbGoogle.Cloud.Iam.V1Google\\Cloud\\Iam\\V1bproto3' + "\x0A\xE9\x01\x0A\x1Bgoogle/iam/v1/options.proto\x12\x0Dgoogle.iam.v1\"4\x0A\x10GetPolicyOptions\x12 \x0A\x18requested_policy_version\x18\x01 \x01(\x05B}\x0A\x11com.google.iam.v1B\x0COptionsProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xF8\x01\x01\xAA\x02\x13Google.Cloud.Iam.V1\xCA\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Iam/V1/Policy.php b/CommonProtos/metadata/Iam/V1/Policy.php index ed5ae8178e3c..8d23aec66987 100644 Binary files a/CommonProtos/metadata/Iam/V1/Policy.php and b/CommonProtos/metadata/Iam/V1/Policy.php differ diff --git a/CommonProtos/metadata/Iam/V1/ResourcePolicyMember.php b/CommonProtos/metadata/Iam/V1/ResourcePolicyMember.php index aa0d5616de62..e7eb2e57e0f5 100644 --- a/CommonProtos/metadata/Iam/V1/ResourcePolicyMember.php +++ b/CommonProtos/metadata/Iam/V1/ResourcePolicyMember.php @@ -16,13 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - ' - -*google/iam/v1/resource_policy_member.proto google.iam.v1"e -ResourcePolicyMember& -iam_policy_name_principal ( BA% -iam_policy_uid_principal ( BAB -com.google.iam.v1BResourcePolicyMemberProtoPZ)cloud.google.com/go/iam/apiv1/iampb;iampbGoogle.Cloud.Iam.V1Google\\Cloud\\Iam\\V1bproto3' + "\x0A\xB4\x02\x0A*google/iam/v1/resource_policy_member.proto\x12\x0Dgoogle.iam.v1\"e\x0A\x14ResourcePolicyMember\x12&\x0A\x19iam_policy_name_principal\x18\x01 \x01(\x09B\x03\xE0A\x03\x12%\x0A\x18iam_policy_uid_principal\x18\x02 \x01(\x09B\x03\xE0A\x03B\x87\x01\x0A\x11com.google.iam.v1B\x19ResourcePolicyMemberProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xAA\x02\x13Google.Cloud.Iam.V1\xCA\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Logging/Type/HttpRequest.php b/CommonProtos/metadata/Logging/Type/HttpRequest.php index 3c51368ee2a3..5bb5ed5eb488 100644 --- a/CommonProtos/metadata/Logging/Type/HttpRequest.php +++ b/CommonProtos/metadata/Logging/Type/HttpRequest.php @@ -16,28 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Duration::initOnce(); $pool->internalAddGeneratedFile( - ' - -&google/logging/type/http_request.protogoogle.logging.type" - HttpRequest -request_method (  - request_url (  - request_size ( -status ( - response_size ( - -user_agent (  - remote_ip (  - server_ip (  -referer ( * -latency ( 2.google.protobuf.Duration - cache_lookup ( - cache_hit (* -"cache_validated_with_origin_server - ( -cache_fill_bytes ( -protocol ( B -com.google.logging.typeBHttpRequestProtoPZ8google.golang.org/genproto/googleapis/logging/type;ltypeGoogle.Cloud.Logging.TypeGoogle\\Cloud\\Logging\\TypeGoogle::Cloud::Logging::Typebproto3' + "\x0A\xF8\x04\x0A&google/logging/type/http_request.proto\x12\x13google.logging.type\"\xEF\x02\x0A\x0BHttpRequest\x12\x16\x0A\x0Erequest_method\x18\x01 \x01(\x09\x12\x13\x0A\x0Brequest_url\x18\x02 \x01(\x09\x12\x14\x0A\x0Crequest_size\x18\x03 \x01(\x03\x12\x0E\x0A\x06status\x18\x04 \x01(\x05\x12\x15\x0A\x0Dresponse_size\x18\x05 \x01(\x03\x12\x12\x0A\x0Auser_agent\x18\x06 \x01(\x09\x12\x11\x0A\x09remote_ip\x18\x07 \x01(\x09\x12\x11\x0A\x09server_ip\x18\x0D \x01(\x09\x12\x0F\x0A\x07referer\x18\x08 \x01(\x09\x12*\x0A\x07latency\x18\x0E \x01(\x0B2\x19.google.protobuf.Duration\x12\x14\x0A\x0Ccache_lookup\x18\x0B \x01(\x08\x12\x11\x0A\x09cache_hit\x18\x09 \x01(\x08\x12*\x0A\"cache_validated_with_origin_server\x18\x0A \x01(\x08\x12\x18\x0A\x10cache_fill_bytes\x18\x0C \x01(\x03\x12\x10\x0A\x08protocol\x18\x0F \x01(\x09B\xBE\x01\x0A\x17com.google.logging.typeB\x10HttpRequestProtoP\x01Z8google.golang.org/genproto/googleapis/logging/type;ltype\xAA\x02\x19Google.Cloud.Logging.Type\xCA\x02\x19Google\\Cloud\\Logging\\Type\xEA\x02\x1CGoogle::Cloud::Logging::Typeb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Logging/Type/LogSeverity.php b/CommonProtos/metadata/Logging/Type/LogSeverity.php index 6acaa6953afd..0955634f7305 100644 Binary files a/CommonProtos/metadata/Logging/Type/LogSeverity.php and b/CommonProtos/metadata/Logging/Type/LogSeverity.php differ diff --git a/CommonProtos/metadata/Rpc/Code.php b/CommonProtos/metadata/Rpc/Code.php index 2a57a20c597c..fe364e8ea743 100644 Binary files a/CommonProtos/metadata/Rpc/Code.php and b/CommonProtos/metadata/Rpc/Code.php differ diff --git a/CommonProtos/metadata/Rpc/Context/AttributeContext.php b/CommonProtos/metadata/Rpc/Context/AttributeContext.php index d7402e286e31..6336f6a66484 100644 --- a/CommonProtos/metadata/Rpc/Context/AttributeContext.php +++ b/CommonProtos/metadata/Rpc/Context/AttributeContext.php @@ -19,88 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\Struct::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -*google/rpc/context/attribute_context.protogoogle.rpc.contextgoogle/protobuf/duration.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" -AttributeContext9 -origin ( 2).google.rpc.context.AttributeContext.Peer9 -source ( 2).google.rpc.context.AttributeContext.Peer> - destination ( 2).google.rpc.context.AttributeContext.Peer= -request ( 2,.google.rpc.context.AttributeContext.Request? -response ( 2-.google.rpc.context.AttributeContext.Response? -resource ( 2-.google.rpc.context.AttributeContext.Resource5 -api ( 2(.google.rpc.context.AttributeContext.Api( - -extensions ( 2.google.protobuf.Any -Peer - -ip (  -port (E -labels ( 25.google.rpc.context.AttributeContext.Peer.LabelsEntry - principal (  - region_code ( - - LabelsEntry -key (  -value ( :8L -Api -service (  - operation (  -protocol (  -version (  -Auth - principal (  - audiences (  - presenter ( \' -claims ( 2.google.protobuf.Struct - access_levels (  -Request - -id (  -method ( J -headers ( 29.google.rpc.context.AttributeContext.Request.HeadersEntry -path (  -host (  -scheme (  -query ( ( -time ( 2.google.protobuf.Timestamp -size - ( -protocol (  -reason ( 7 -auth ( 2).google.rpc.context.AttributeContext.Auth. - HeadersEntry -key (  -value ( :8 -Response -code ( -size (K -headers ( 2:.google.rpc.context.AttributeContext.Response.HeadersEntry( -time ( 2.google.protobuf.Timestamp2 -backend_latency ( 2.google.protobuf.Duration. - HeadersEntry -key (  -value ( :8 -Resource -service (  -name (  -type ( I -labels ( 29.google.rpc.context.AttributeContext.Resource.LabelsEntry -uid ( S - annotations ( 2>.google.rpc.context.AttributeContext.Resource.AnnotationsEntry - display_name ( / - create_time ( 2.google.protobuf.Timestamp/ - update_time ( 2.google.protobuf.Timestamp/ - delete_time - ( 2.google.protobuf.Timestamp -etag (  -location ( - - LabelsEntry -key (  -value ( :82 -AnnotationsEntry -key (  -value ( :8B -com.google.rpc.contextBAttributeContextProtoPZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_contextbproto3' + "\x0A\xBB\x12\x0A*google/rpc/context/attribute_context.proto\x12\x12google.rpc.context\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x83\x10\x0A\x10AttributeContext\x129\x0A\x06origin\x18\x07 \x01(\x0B2).google.rpc.context.AttributeContext.Peer\x129\x0A\x06source\x18\x01 \x01(\x0B2).google.rpc.context.AttributeContext.Peer\x12>\x0A\x0Bdestination\x18\x02 \x01(\x0B2).google.rpc.context.AttributeContext.Peer\x12=\x0A\x07request\x18\x03 \x01(\x0B2,.google.rpc.context.AttributeContext.Request\x12?\x0A\x08response\x18\x04 \x01(\x0B2-.google.rpc.context.AttributeContext.Response\x12?\x0A\x08resource\x18\x05 \x01(\x0B2-.google.rpc.context.AttributeContext.Resource\x125\x0A\x03api\x18\x06 \x01(\x0B2(.google.rpc.context.AttributeContext.Api\x12(\x0A\x0Aextensions\x18\x08 \x03(\x0B2\x14.google.protobuf.Any\x1A\xBE\x01\x0A\x04Peer\x12\x0A\x0A\x02ip\x18\x01 \x01(\x09\x12\x0C\x0A\x04port\x18\x02 \x01(\x03\x12E\x0A\x06labels\x18\x06 \x03(\x0B25.google.rpc.context.AttributeContext.Peer.LabelsEntry\x12\x11\x0A\x09principal\x18\x07 \x01(\x09\x12\x13\x0A\x0Bregion_code\x18\x08 \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1AL\x0A\x03Api\x12\x0F\x0A\x07service\x18\x01 \x01(\x09\x12\x11\x0A\x09operation\x18\x02 \x01(\x09\x12\x10\x0A\x08protocol\x18\x03 \x01(\x09\x12\x0F\x0A\x07version\x18\x04 \x01(\x09\x1A\x7F\x0A\x04Auth\x12\x11\x0A\x09principal\x18\x01 \x01(\x09\x12\x11\x0A\x09audiences\x18\x02 \x03(\x09\x12\x11\x0A\x09presenter\x18\x03 \x01(\x09\x12'\x0A\x06claims\x18\x04 \x01(\x0B2\x17.google.protobuf.Struct\x12\x15\x0A\x0Daccess_levels\x18\x05 \x03(\x09\x1A\xEF\x02\x0A\x07Request\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12\x0E\x0A\x06method\x18\x02 \x01(\x09\x12J\x0A\x07headers\x18\x03 \x03(\x0B29.google.rpc.context.AttributeContext.Request.HeadersEntry\x12\x0C\x0A\x04path\x18\x04 \x01(\x09\x12\x0C\x0A\x04host\x18\x05 \x01(\x09\x12\x0E\x0A\x06scheme\x18\x06 \x01(\x09\x12\x0D\x0A\x05query\x18\x07 \x01(\x09\x12(\x0A\x04time\x18\x09 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x0C\x0A\x04size\x18\x0A \x01(\x03\x12\x10\x0A\x08protocol\x18\x0B \x01(\x09\x12\x0E\x0A\x06reason\x18\x0C \x01(\x09\x127\x0A\x04auth\x18\x0D \x01(\x0B2).google.rpc.context.AttributeContext.Auth\x1A.\x0A\x0CHeadersEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A\x81\x02\x0A\x08Response\x12\x0C\x0A\x04code\x18\x01 \x01(\x03\x12\x0C\x0A\x04size\x18\x02 \x01(\x03\x12K\x0A\x07headers\x18\x03 \x03(\x0B2:.google.rpc.context.AttributeContext.Response.HeadersEntry\x12(\x0A\x04time\x18\x04 \x01(\x0B2\x1A.google.protobuf.Timestamp\x122\x0A\x0Fbackend_latency\x18\x05 \x01(\x0B2\x19.google.protobuf.Duration\x1A.\x0A\x0CHeadersEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A\x90\x04\x0A\x08Resource\x12\x0F\x0A\x07service\x18\x01 \x01(\x09\x12\x0C\x0A\x04name\x18\x02 \x01(\x09\x12\x0C\x0A\x04type\x18\x03 \x01(\x09\x12I\x0A\x06labels\x18\x04 \x03(\x0B29.google.rpc.context.AttributeContext.Resource.LabelsEntry\x12\x0B\x0A\x03uid\x18\x05 \x01(\x09\x12S\x0A\x0Bannotations\x18\x06 \x03(\x0B2>.google.rpc.context.AttributeContext.Resource.AnnotationsEntry\x12\x14\x0A\x0Cdisplay_name\x18\x07 \x01(\x09\x12/\x0A\x0Bcreate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bupdate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bdelete_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x0C\x0A\x04etag\x18\x0B \x01(\x09\x12\x10\x0A\x08location\x18\x0C \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A2\x0A\x10AnnotationsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01B\x8B\x01\x0A\x16com.google.rpc.contextB\x15AttributeContextProtoP\x01ZUgoogle.golang.org/genproto/googleapis/rpc/context/attribute_context;attribute_context\xF8\x01\x01b\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Rpc/Context/AuditContext.php b/CommonProtos/metadata/Rpc/Context/AuditContext.php index 085e04b2fe33..285c3acb9fb1 100644 --- a/CommonProtos/metadata/Rpc/Context/AuditContext.php +++ b/CommonProtos/metadata/Rpc/Context/AuditContext.php @@ -16,16 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Struct::initOnce(); $pool->internalAddGeneratedFile( - ' - -&google/rpc/context/audit_context.protogoogle.rpc.context" - AuditContext - audit_log ( 1 -scrubbed_request ( 2.google.protobuf.Struct2 -scrubbed_response ( 2.google.protobuf.Struct$ -scrubbed_response_item_count ( -target_resource ( Bh -com.google.rpc.contextBAuditContextProtoPZ9google.golang.org/genproto/googleapis/rpc/context;contextbproto3' + "\x0A\xF8\x02\x0A&google/rpc/context/audit_context.proto\x12\x12google.rpc.context\"\xC7\x01\x0A\x0CAuditContext\x12\x11\x0A\x09audit_log\x18\x01 \x01(\x0C\x121\x0A\x10scrubbed_request\x18\x02 \x01(\x0B2\x17.google.protobuf.Struct\x122\x0A\x11scrubbed_response\x18\x03 \x01(\x0B2\x17.google.protobuf.Struct\x12\$\x0A\x1Cscrubbed_response_item_count\x18\x04 \x01(\x05\x12\x17\x0A\x0Ftarget_resource\x18\x05 \x01(\x09Bh\x0A\x16com.google.rpc.contextB\x11AuditContextProtoP\x01Z9google.golang.org/genproto/googleapis/rpc/context;contextb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Rpc/ErrorDetails.php b/CommonProtos/metadata/Rpc/ErrorDetails.php index c377e86efbcc..4b9f0d7941e1 100644 Binary files a/CommonProtos/metadata/Rpc/ErrorDetails.php and b/CommonProtos/metadata/Rpc/ErrorDetails.php differ diff --git a/CommonProtos/metadata/Rpc/Status.php b/CommonProtos/metadata/Rpc/Status.php index 8560f427c4af..6122a2706632 100644 --- a/CommonProtos/metadata/Rpc/Status.php +++ b/CommonProtos/metadata/Rpc/Status.php @@ -16,15 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Any::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/rpc/status.proto -google.rpc"N -Status -code ( -message ( % -details ( 2.google.protobuf.AnyBa -com.google.rpcB StatusProtoPZ7google.golang.org/genproto/googleapis/rpc/status;statusRPCbproto3' + "\x0A\xE0\x01\x0A\x17google/rpc/status.proto\x12\x0Agoogle.rpc\"N\x0A\x06Status\x12\x0C\x0A\x04code\x18\x01 \x01(\x05\x12\x0F\x0A\x07message\x18\x02 \x01(\x09\x12%\x0A\x07details\x18\x03 \x03(\x0B2\x14.google.protobuf.AnyBa\x0A\x0Ecom.google.rpcB\x0BStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xF8\x01\x01\xA2\x02\x03RPCb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/CalendarPeriod.php b/CommonProtos/metadata/Type/CalendarPeriod.php index 2f1368e67728..ab089774437f 100644 Binary files a/CommonProtos/metadata/Type/CalendarPeriod.php and b/CommonProtos/metadata/Type/CalendarPeriod.php differ diff --git a/CommonProtos/metadata/Type/Color.php b/CommonProtos/metadata/Type/Color.php index cae1566ccac6..c7fdd8a9d745 100644 --- a/CommonProtos/metadata/Type/Color.php +++ b/CommonProtos/metadata/Type/Color.php @@ -16,16 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/type/color.proto google.type"] -Color -red ( -green ( -blue (* -alpha ( 2.google.protobuf.FloatValueB` -com.google.typeB -ColorProtoPZ6google.golang.org/genproto/googleapis/type/color;colorGTPbproto3' + "\x0A\xEF\x01\x0A\x17google/type/color.proto\x12\x0Bgoogle.type\"]\x0A\x05Color\x12\x0B\x0A\x03red\x18\x01 \x01(\x02\x12\x0D\x0A\x05green\x18\x02 \x01(\x02\x12\x0C\x0A\x04blue\x18\x03 \x01(\x02\x12*\x0A\x05alpha\x18\x04 \x01(\x0B2\x1B.google.protobuf.FloatValueB`\x0A\x0Fcom.google.typeB\x0AColorProtoP\x01Z6google.golang.org/genproto/googleapis/type/color;color\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Date.php b/CommonProtos/metadata/Type/Date.php index 8d754f8c3324..dc7f1aa8e057 100644 --- a/CommonProtos/metadata/Type/Date.php +++ b/CommonProtos/metadata/Type/Date.php @@ -15,14 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/type/date.proto google.type"0 -Date -year ( -month ( -day (B] -com.google.typeB DateProtoPZ4google.golang.org/genproto/googleapis/type/date;dateGTPbproto3' + "\x0A\xBE\x01\x0A\x16google/type/date.proto\x12\x0Bgoogle.type\"0\x0A\x04Date\x12\x0C\x0A\x04year\x18\x01 \x01(\x05\x12\x0D\x0A\x05month\x18\x02 \x01(\x05\x12\x0B\x0A\x03day\x18\x03 \x01(\x05B]\x0A\x0Fcom.google.typeB\x09DateProtoP\x01Z4google.golang.org/genproto/googleapis/type/date;date\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Datetime.php b/CommonProtos/metadata/Type/Datetime.php index bb5feded27f0..20ae4747068d 100644 Binary files a/CommonProtos/metadata/Type/Datetime.php and b/CommonProtos/metadata/Type/Datetime.php differ diff --git a/CommonProtos/metadata/Type/Dayofweek.php b/CommonProtos/metadata/Type/Dayofweek.php index b79adcd91008..28162e9432dd 100644 Binary files a/CommonProtos/metadata/Type/Dayofweek.php and b/CommonProtos/metadata/Type/Dayofweek.php differ diff --git a/CommonProtos/metadata/Type/Decimal.php b/CommonProtos/metadata/Type/Decimal.php index 20ddcb69dcb4..de218c971097 100644 --- a/CommonProtos/metadata/Type/Decimal.php +++ b/CommonProtos/metadata/Type/Decimal.php @@ -15,12 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/type/decimal.proto google.type" -Decimal -value ( Bf -com.google.typeB DecimalProtoPZ:google.golang.org/genproto/googleapis/type/decimal;decimalGTPbproto3' + "\x0A\xB2\x01\x0A\x19google/type/decimal.proto\x12\x0Bgoogle.type\"\x18\x0A\x07Decimal\x12\x0D\x0A\x05value\x18\x01 \x01(\x09Bf\x0A\x0Fcom.google.typeB\x0CDecimalProtoP\x01Z:google.golang.org/genproto/googleapis/type/decimal;decimal\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Expr.php b/CommonProtos/metadata/Type/Expr.php index db6f33b0576d..3c97d0abd6e7 100644 --- a/CommonProtos/metadata/Type/Expr.php +++ b/CommonProtos/metadata/Type/Expr.php @@ -15,16 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/type/expr.proto google.type"P -Expr - -expression (  -title (  - description (  -location ( BZ -com.google.typeB ExprProtoPZ4google.golang.org/genproto/googleapis/type/expr;exprGTPbproto3' + "\x0A\xDB\x01\x0A\x16google/type/expr.proto\x12\x0Bgoogle.type\"P\x0A\x04Expr\x12\x12\x0A\x0Aexpression\x18\x01 \x01(\x09\x12\x0D\x0A\x05title\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12\x10\x0A\x08location\x18\x04 \x01(\x09BZ\x0A\x0Fcom.google.typeB\x09ExprProtoP\x01Z4google.golang.org/genproto/googleapis/type/expr;expr\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Fraction.php b/CommonProtos/metadata/Type/Fraction.php index 4c34bf80f0eb..425f834380fd 100644 --- a/CommonProtos/metadata/Type/Fraction.php +++ b/CommonProtos/metadata/Type/Fraction.php @@ -15,13 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/type/fraction.proto google.type"2 -Fraction - numerator ( - denominator (Bf -com.google.typeB FractionProtoPZinternalAddGeneratedFile( - ' - -google/type/interval.proto google.type"h -Interval. - -start_time ( 2.google.protobuf.Timestamp, -end_time ( 2.google.protobuf.TimestampBi -com.google.typeB IntervalProtoPZinternalAddGeneratedFile( - ' - -google/type/latlng.proto google.type"- -LatLng -latitude ( - longitude (Bc -com.google.typeB LatLngProtoPZ8google.golang.org/genproto/googleapis/type/latlng;latlngGTPbproto3' + "\x0A\xC3\x01\x0A\x18google/type/latlng.proto\x12\x0Bgoogle.type\"-\x0A\x06LatLng\x12\x10\x0A\x08latitude\x18\x01 \x01(\x01\x12\x11\x0A\x09longitude\x18\x02 \x01(\x01Bc\x0A\x0Fcom.google.typeB\x0BLatLngProtoP\x01Z8google.golang.org/genproto/googleapis/type/latlng;latlng\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/LocalizedText.php b/CommonProtos/metadata/Type/LocalizedText.php index ab6434325203..73911d79e0d8 100644 --- a/CommonProtos/metadata/Type/LocalizedText.php +++ b/CommonProtos/metadata/Type/LocalizedText.php @@ -15,13 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - - google/type/localized_text.proto google.type"4 - LocalizedText -text (  - language_code ( Bz -com.google.typeBLocalizedTextProtoPZHgoogle.golang.org/genproto/googleapis/type/localized_text;localized_textGTPbproto3' + "\x0A\xE9\x01\x0A google/type/localized_text.proto\x12\x0Bgoogle.type\"4\x0A\x0DLocalizedText\x12\x0C\x0A\x04text\x18\x01 \x01(\x09\x12\x15\x0A\x0Dlanguage_code\x18\x02 \x01(\x09Bz\x0A\x0Fcom.google.typeB\x12LocalizedTextProtoP\x01ZHgoogle.golang.org/genproto/googleapis/type/localized_text;localized_text\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Money.php b/CommonProtos/metadata/Type/Money.php index 01395b88921d..7b8b187ad95b 100644 --- a/CommonProtos/metadata/Type/Money.php +++ b/CommonProtos/metadata/Type/Money.php @@ -15,15 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/type/money.proto google.type"< -Money - currency_code (  -units ( -nanos (B` -com.google.typeB -MoneyProtoPZ6google.golang.org/genproto/googleapis/type/money;moneyGTPbproto3' + "\x0A\xCE\x01\x0A\x17google/type/money.proto\x12\x0Bgoogle.type\"<\x0A\x05Money\x12\x15\x0A\x0Dcurrency_code\x18\x01 \x01(\x09\x12\x0D\x0A\x05units\x18\x02 \x01(\x03\x12\x0D\x0A\x05nanos\x18\x03 \x01(\x05B`\x0A\x0Fcom.google.typeB\x0AMoneyProtoP\x01Z6google.golang.org/genproto/googleapis/type/money;money\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Month.php b/CommonProtos/metadata/Type/Month.php index e0c5124fc866..b634e51780aa 100644 Binary files a/CommonProtos/metadata/Type/Month.php and b/CommonProtos/metadata/Type/Month.php differ diff --git a/CommonProtos/metadata/Type/PhoneNumber.php b/CommonProtos/metadata/Type/PhoneNumber.php index d70da1e8fd69..8434f51ba148 100644 Binary files a/CommonProtos/metadata/Type/PhoneNumber.php and b/CommonProtos/metadata/Type/PhoneNumber.php differ diff --git a/CommonProtos/metadata/Type/PostalAddress.php b/CommonProtos/metadata/Type/PostalAddress.php index 46425c7d9f03..c914ed0a3cdf 100644 --- a/CommonProtos/metadata/Type/PostalAddress.php +++ b/CommonProtos/metadata/Type/PostalAddress.php @@ -15,24 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - - google/type/postal_address.proto google.type" - PostalAddress -revision ( - region_code (  - language_code (  - postal_code (  - sorting_code (  -administrative_area (  -locality (  - sublocality (  - address_lines (  - -recipients - (  - organization ( Bx -com.google.typeBPostalAddressProtoPZFgoogle.golang.org/genproto/googleapis/type/postaladdress;postaladdressGTPbproto3' + "\x0A\xB1\x03\x0A google/type/postal_address.proto\x12\x0Bgoogle.type\"\xFD\x01\x0A\x0DPostalAddress\x12\x10\x0A\x08revision\x18\x01 \x01(\x05\x12\x13\x0A\x0Bregion_code\x18\x02 \x01(\x09\x12\x15\x0A\x0Dlanguage_code\x18\x03 \x01(\x09\x12\x13\x0A\x0Bpostal_code\x18\x04 \x01(\x09\x12\x14\x0A\x0Csorting_code\x18\x05 \x01(\x09\x12\x1B\x0A\x13administrative_area\x18\x06 \x01(\x09\x12\x10\x0A\x08locality\x18\x07 \x01(\x09\x12\x13\x0A\x0Bsublocality\x18\x08 \x01(\x09\x12\x15\x0A\x0Daddress_lines\x18\x09 \x03(\x09\x12\x12\x0A\x0Arecipients\x18\x0A \x03(\x09\x12\x14\x0A\x0Corganization\x18\x0B \x01(\x09Bx\x0A\x0Fcom.google.typeB\x12PostalAddressProtoP\x01ZFgoogle.golang.org/genproto/googleapis/type/postaladdress;postaladdress\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Quaternion.php b/CommonProtos/metadata/Type/Quaternion.php index 117de8e605b5..8db65b49e6f2 100644 --- a/CommonProtos/metadata/Type/Quaternion.php +++ b/CommonProtos/metadata/Type/Quaternion.php @@ -15,16 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/type/quaternion.proto google.type"8 - -Quaternion -x ( -y ( -z ( -w (Bo -com.google.typeBQuaternionProtoPZ@google.golang.org/genproto/googleapis/type/quaternion;quaternionGTPbproto3' + "\x0A\xDE\x01\x0A\x1Cgoogle/type/quaternion.proto\x12\x0Bgoogle.type\"8\x0A\x0AQuaternion\x12\x09\x0A\x01x\x18\x01 \x01(\x01\x12\x09\x0A\x01y\x18\x02 \x01(\x01\x12\x09\x0A\x01z\x18\x03 \x01(\x01\x12\x09\x0A\x01w\x18\x04 \x01(\x01Bo\x0A\x0Fcom.google.typeB\x0FQuaternionProtoP\x01Z@google.golang.org/genproto/googleapis/type/quaternion;quaternion\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/metadata/Type/Timeofday.php b/CommonProtos/metadata/Type/Timeofday.php index ae198be1b30d..8e2a973fdb1d 100644 --- a/CommonProtos/metadata/Type/Timeofday.php +++ b/CommonProtos/metadata/Type/Timeofday.php @@ -15,15 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -google/type/timeofday.proto google.type"K - TimeOfDay -hours ( -minutes ( -seconds ( -nanos (Bl -com.google.typeBTimeOfDayProtoPZ>google.golang.org/genproto/googleapis/type/timeofday;timeofdayGTPbproto3' + "\x0A\xED\x01\x0A\x1Bgoogle/type/timeofday.proto\x12\x0Bgoogle.type\"K\x0A\x09TimeOfDay\x12\x0D\x0A\x05hours\x18\x01 \x01(\x05\x12\x0F\x0A\x07minutes\x18\x02 \x01(\x05\x12\x0F\x0A\x07seconds\x18\x03 \x01(\x05\x12\x0D\x0A\x05nanos\x18\x04 \x01(\x05Bl\x0A\x0Fcom.google.typeB\x0ETimeOfDayProtoP\x01Z>google.golang.org/genproto/googleapis/type/timeofday;timeofday\xF8\x01\x01\xA2\x02\x03GTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/CommonProtos/src/Api/Advice.php b/CommonProtos/src/Api/Advice.php index e4a537828a0d..5db1462592bd 100644 --- a/CommonProtos/src/Api/Advice.php +++ b/CommonProtos/src/Api/Advice.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated advice about this change, used for providing more diff --git a/CommonProtos/src/Api/AuthProvider.php b/CommonProtos/src/Api/AuthProvider.php index 3640d3a6fd52..4241a3eea8a5 100644 --- a/CommonProtos/src/Api/AuthProvider.php +++ b/CommonProtos/src/Api/AuthProvider.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for an authentication provider, including support for @@ -30,7 +30,7 @@ class AuthProvider extends \Google\Protobuf\Internal\Message * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. * Example: https://securetoken.google.com - * Example: 1234567-compute@developer.gserviceaccount.com + * Example: 1234567-compute\@developer.gserviceaccount.com * * Generated from protobuf field string issuer = 2; */ @@ -114,7 +114,7 @@ class AuthProvider extends \Google\Protobuf\Internal\Message * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. * Example: https://securetoken.google.com - * Example: 1234567-compute@developer.gserviceaccount.com + * Example: 1234567-compute\@developer.gserviceaccount.com * @type string $jwks_uri * URL of the provider's public key set to validate signature of the JWT. See * [OpenID @@ -146,7 +146,7 @@ class AuthProvider extends \Google\Protobuf\Internal\Message * @type string $authorization_url * Redirect URL if JWT token is required but not present or is expired. * Implement authorizationUrl of securityDefinitions in OpenAPI spec. - * @type array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $jwt_locations + * @type \Google\Api\JwtLocation[] $jwt_locations * Defines the locations to extract the JWT. For now it is only used by the * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) @@ -204,7 +204,7 @@ public function setId($var) * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. * Example: https://securetoken.google.com - * Example: 1234567-compute@developer.gserviceaccount.com + * Example: 1234567-compute\@developer.gserviceaccount.com * * Generated from protobuf field string issuer = 2; * @return string @@ -219,7 +219,7 @@ public function getIssuer() * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 * Usually a URL or an email address. * Example: https://securetoken.google.com - * Example: 1234567-compute@developer.gserviceaccount.com + * Example: 1234567-compute\@developer.gserviceaccount.com * * Generated from protobuf field string issuer = 2; * @param string $var @@ -379,7 +379,7 @@ public function setAuthorizationUrl($var) * - query: access_token * * Generated from protobuf field repeated .google.api.JwtLocation jwt_locations = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\JwtLocation> */ public function getJwtLocations() { @@ -404,7 +404,7 @@ public function getJwtLocations() * - query: access_token * * Generated from protobuf field repeated .google.api.JwtLocation jwt_locations = 6; - * @param array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\JwtLocation[] $var * @return $this */ public function setJwtLocations($var) diff --git a/CommonProtos/src/Api/AuthRequirement.php b/CommonProtos/src/Api/AuthRequirement.php index 287f2a744fee..01f92d53818b 100644 --- a/CommonProtos/src/Api/AuthRequirement.php +++ b/CommonProtos/src/Api/AuthRequirement.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * User-defined authentication requirements, including support for diff --git a/CommonProtos/src/Api/Authentication.php b/CommonProtos/src/Api/Authentication.php index 9ee3ba6e23a6..608c6fb23bd0 100644 --- a/CommonProtos/src/Api/Authentication.php +++ b/CommonProtos/src/Api/Authentication.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Authentication` defines the authentication configuration for API methods @@ -50,10 +50,10 @@ class Authentication extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\AuthenticationRule[] $rules * A list of authentication rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. - * @type array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $providers + * @type \Google\Api\AuthProvider[] $providers * Defines a set of authentication providers that a service supports. * } */ @@ -67,7 +67,7 @@ public function __construct($data = NULL) { * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.AuthenticationRule rules = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\AuthenticationRule> */ public function getRules() { @@ -79,7 +79,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.AuthenticationRule rules = 3; - * @param array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\AuthenticationRule[] $var * @return $this */ public function setRules($var) @@ -94,7 +94,7 @@ public function setRules($var) * Defines a set of authentication providers that a service supports. * * Generated from protobuf field repeated .google.api.AuthProvider providers = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\AuthProvider> */ public function getProviders() { @@ -105,7 +105,7 @@ public function getProviders() * Defines a set of authentication providers that a service supports. * * Generated from protobuf field repeated .google.api.AuthProvider providers = 4; - * @param array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\AuthProvider[] $var * @return $this */ public function setProviders($var) diff --git a/CommonProtos/src/Api/AuthenticationRule.php b/CommonProtos/src/Api/AuthenticationRule.php index 760681186a9b..3abcb6dec118 100644 --- a/CommonProtos/src/Api/AuthenticationRule.php +++ b/CommonProtos/src/Api/AuthenticationRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Authentication rules for the service. @@ -64,7 +64,7 @@ class AuthenticationRule extends \Google\Protobuf\Internal\Message * @type bool $allow_without_credential * If true, the service accepts API keys without any other credential. * This flag only applies to HTTP and gRPC requests. - * @type array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $requirements + * @type \Google\Api\AuthRequirement[] $requirements * Requirements for additional authentication providers. * } */ @@ -171,7 +171,7 @@ public function setAllowWithoutCredential($var) * Requirements for additional authentication providers. * * Generated from protobuf field repeated .google.api.AuthRequirement requirements = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\AuthRequirement> */ public function getRequirements() { @@ -182,7 +182,7 @@ public function getRequirements() * Requirements for additional authentication providers. * * Generated from protobuf field repeated .google.api.AuthRequirement requirements = 7; - * @param array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\AuthRequirement[] $var * @return $this */ public function setRequirements($var) diff --git a/CommonProtos/src/Api/Backend.php b/CommonProtos/src/Api/Backend.php index 28b6a07fedc2..6ffebebbf701 100644 --- a/CommonProtos/src/Api/Backend.php +++ b/CommonProtos/src/Api/Backend.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Backend` defines the backend configuration for a service. @@ -29,7 +29,7 @@ class Backend extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\BackendRule[] $rules * A list of API backend rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.BackendRule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\BackendRule> */ public function getRules() { @@ -56,7 +56,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.BackendRule rules = 1; - * @param array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\BackendRule[] $var * @return $this */ public function setRules($var) diff --git a/CommonProtos/src/Api/BackendRule.php b/CommonProtos/src/Api/BackendRule.php index fa45353241f5..374c824bc399 100644 --- a/CommonProtos/src/Api/BackendRule.php +++ b/CommonProtos/src/Api/BackendRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A backend rule provides configuration for an individual API element. diff --git a/CommonProtos/src/Api/BackendRule/PathTranslation.php b/CommonProtos/src/Api/BackendRule/PathTranslation.php index d076295cda5d..366c5496d121 100644 --- a/CommonProtos/src/Api/BackendRule/PathTranslation.php +++ b/CommonProtos/src/Api/BackendRule/PathTranslation.php @@ -90,4 +90,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/Billing.php b/CommonProtos/src/Api/Billing.php index 241d2f013f6a..860acaf9891e 100644 --- a/CommonProtos/src/Api/Billing.php +++ b/CommonProtos/src/Api/Billing.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Billing related configuration of the service. @@ -59,7 +59,7 @@ class Billing extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations + * @type \Google\Api\Billing\BillingDestination[] $consumer_destinations * Billing configurations for sending metrics to the consumer project. * There can be multiple consumer destinations per service, each one must have * a different monitored resource type. A metric can be used in at most @@ -78,7 +78,7 @@ public function __construct($data = NULL) { * one consumer destination. * * Generated from protobuf field repeated .google.api.Billing.BillingDestination consumer_destinations = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Billing\BillingDestination> */ public function getConsumerDestinations() { @@ -92,7 +92,7 @@ public function getConsumerDestinations() * one consumer destination. * * Generated from protobuf field repeated .google.api.Billing.BillingDestination consumer_destinations = 8; - * @param array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Billing\BillingDestination[] $var * @return $this */ public function setConsumerDestinations($var) diff --git a/CommonProtos/src/Api/Billing/BillingDestination.php b/CommonProtos/src/Api/Billing/BillingDestination.php index 39be6ddc54e2..1075320bd76d 100644 --- a/CommonProtos/src/Api/Billing/BillingDestination.php +++ b/CommonProtos/src/Api/Billing/BillingDestination.php @@ -5,8 +5,8 @@ namespace Google\Api\Billing; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of a specific billing destination (Currently only support @@ -43,7 +43,7 @@ class BillingDestination extends \Google\Protobuf\Internal\Message * The monitored resource type. The type must be defined in * [Service.monitored_resources][google.api.Service.monitored_resources] * section. - * @type array|\Google\Protobuf\Internal\RepeatedField $metrics + * @type string[] $metrics * Names of the metrics to report to this billing destination. * Each name must be defined in * [Service.metrics][google.api.Service.metrics] section. @@ -90,7 +90,7 @@ public function setMonitoredResource($var) * [Service.metrics][google.api.Service.metrics] section. * * Generated from protobuf field repeated string metrics = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMetrics() { @@ -103,7 +103,7 @@ public function getMetrics() * [Service.metrics][google.api.Service.metrics] section. * * Generated from protobuf field repeated string metrics = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMetrics($var) @@ -116,4 +116,3 @@ public function setMetrics($var) } - diff --git a/CommonProtos/src/Api/ClientLibrarySettings.php b/CommonProtos/src/Api/ClientLibrarySettings.php index d67588e01775..b4b81075cd82 100644 --- a/CommonProtos/src/Api/ClientLibrarySettings.php +++ b/CommonProtos/src/Api/ClientLibrarySettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details about how and where to publish client libraries. diff --git a/CommonProtos/src/Api/CommonLanguageSettings.php b/CommonProtos/src/Api/CommonLanguageSettings.php index 07f82300787a..2a3ad65deaf8 100644 --- a/CommonProtos/src/Api/CommonLanguageSettings.php +++ b/CommonProtos/src/Api/CommonLanguageSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Required information for every language. @@ -45,7 +45,7 @@ class CommonLanguageSettings extends \Google\Protobuf\Internal\Message * @type string $reference_docs_uri * Link to automatically generated reference documentation. Example: * https://cloud.google.com/nodejs/docs/reference/asset/latest - * @type array|\Google\Protobuf\Internal\RepeatedField $destinations + * @type int[] $destinations * The destination where API teams want this client library to be published. * @type \Google\Api\SelectiveGapicGeneration $selective_gapic_generation * Configuration for which RPCs should be generated in the GAPIC client. @@ -94,7 +94,7 @@ public function setReferenceDocsUri($var) * The destination where API teams want this client library to be published. * * Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDestinations() { @@ -105,7 +105,7 @@ public function getDestinations() * The destination where API teams want this client library to be published. * * Generated from protobuf field repeated .google.api.ClientLibraryDestination destinations = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setDestinations($var) diff --git a/CommonProtos/src/Api/ConfigChange.php b/CommonProtos/src/Api/ConfigChange.php index 8c4fcd5e6181..95968e096f0d 100644 --- a/CommonProtos/src/Api/ConfigChange.php +++ b/CommonProtos/src/Api/ConfigChange.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Output generated from semantically comparing two versions of a service @@ -85,7 +85,7 @@ class ConfigChange extends \Google\Protobuf\Internal\Message * in JSON format. This field will not be populated if ChangeType == REMOVED. * @type int $change_type * The type for this change, either ADDED, REMOVED, or MODIFIED. - * @type array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $advices + * @type \Google\Api\Advice[] $advices * Collection of advice provided for this change, useful for determining the * possible impact of this change. * } @@ -224,7 +224,7 @@ public function setChangeType($var) * possible impact of this change. * * Generated from protobuf field repeated .google.api.Advice advices = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Advice> */ public function getAdvices() { @@ -236,7 +236,7 @@ public function getAdvices() * possible impact of this change. * * Generated from protobuf field repeated .google.api.Advice advices = 5; - * @param array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Advice[] $var * @return $this */ public function setAdvices($var) diff --git a/CommonProtos/src/Api/Context.php b/CommonProtos/src/Api/Context.php index b353115ea73a..a8fb3dcba8c6 100644 --- a/CommonProtos/src/Api/Context.php +++ b/CommonProtos/src/Api/Context.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Context` defines which contexts an API requests. @@ -56,7 +56,7 @@ class Context extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\ContextRule[] $rules * A list of RPC context rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. * } @@ -71,7 +71,7 @@ public function __construct($data = NULL) { * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.ContextRule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\ContextRule> */ public function getRules() { @@ -83,7 +83,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.ContextRule rules = 1; - * @param array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\ContextRule[] $var * @return $this */ public function setRules($var) diff --git a/CommonProtos/src/Api/ContextRule.php b/CommonProtos/src/Api/ContextRule.php index f455b1e61662..669b1af4a0e1 100644 --- a/CommonProtos/src/Api/ContextRule.php +++ b/CommonProtos/src/Api/ContextRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A context rule provides information about the context for an individual API @@ -63,16 +63,16 @@ class ContextRule extends \Google\Protobuf\Internal\Message * Selects the methods to which this rule applies. * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. - * @type array|\Google\Protobuf\Internal\RepeatedField $requested + * @type string[] $requested * A list of full type names of requested contexts, only the requested context * will be made available to the backend. - * @type array|\Google\Protobuf\Internal\RepeatedField $provided + * @type string[] $provided * A list of full type names of provided contexts. It is used to support * propagating HTTP headers and ETags from the response extension. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_request_extensions + * @type string[] $allowed_request_extensions * A list of full type names or extension IDs of extensions allowed in grpc * side channel from client to backend. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_response_extensions + * @type string[] $allowed_response_extensions * A list of full type names or extension IDs of extensions allowed in grpc * side channel from backend to client. * } @@ -117,7 +117,7 @@ public function setSelector($var) * will be made available to the backend. * * Generated from protobuf field repeated string requested = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRequested() { @@ -129,7 +129,7 @@ public function getRequested() * will be made available to the backend. * * Generated from protobuf field repeated string requested = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRequested($var) @@ -145,7 +145,7 @@ public function setRequested($var) * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field repeated string provided = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getProvided() { @@ -157,7 +157,7 @@ public function getProvided() * propagating HTTP headers and ETags from the response extension. * * Generated from protobuf field repeated string provided = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setProvided($var) @@ -173,7 +173,7 @@ public function setProvided($var) * side channel from client to backend. * * Generated from protobuf field repeated string allowed_request_extensions = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAllowedRequestExtensions() { @@ -185,7 +185,7 @@ public function getAllowedRequestExtensions() * side channel from client to backend. * * Generated from protobuf field repeated string allowed_request_extensions = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAllowedRequestExtensions($var) @@ -201,7 +201,7 @@ public function setAllowedRequestExtensions($var) * side channel from backend to client. * * Generated from protobuf field repeated string allowed_response_extensions = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAllowedResponseExtensions() { @@ -213,7 +213,7 @@ public function getAllowedResponseExtensions() * side channel from backend to client. * * Generated from protobuf field repeated string allowed_response_extensions = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAllowedResponseExtensions($var) diff --git a/CommonProtos/src/Api/Control.php b/CommonProtos/src/Api/Control.php index 5b9bdf128897..b076b32efd91 100644 --- a/CommonProtos/src/Api/Control.php +++ b/CommonProtos/src/Api/Control.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Selects and configures the service controller used by the service. @@ -43,7 +43,7 @@ class Control extends \Google\Protobuf\Internal\Message * The service controller environment to use. If empty, no control plane * feature (like quota and billing) will be enabled. The recommended value for * most services is servicecontrol.googleapis.com - * @type array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $method_policies + * @type \Google\Api\MethodPolicy[] $method_policies * Defines policies applying to the API methods of the service. * } */ @@ -86,7 +86,7 @@ public function setEnvironment($var) * Defines policies applying to the API methods of the service. * * Generated from protobuf field repeated .google.api.MethodPolicy method_policies = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\MethodPolicy> */ public function getMethodPolicies() { @@ -97,7 +97,7 @@ public function getMethodPolicies() * Defines policies applying to the API methods of the service. * * Generated from protobuf field repeated .google.api.MethodPolicy method_policies = 4; - * @param array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\MethodPolicy[] $var * @return $this */ public function setMethodPolicies($var) diff --git a/CommonProtos/src/Api/CppSettings.php b/CommonProtos/src/Api/CppSettings.php index d814b5c3c687..d19648352d9f 100644 --- a/CommonProtos/src/Api/CppSettings.php +++ b/CommonProtos/src/Api/CppSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for C++ client libraries. diff --git a/CommonProtos/src/Api/CustomHttpPattern.php b/CommonProtos/src/Api/CustomHttpPattern.php index e9370320daae..2cd8d9658420 100644 --- a/CommonProtos/src/Api/CustomHttpPattern.php +++ b/CommonProtos/src/Api/CustomHttpPattern.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A custom pattern is used for defining custom HTTP verb. diff --git a/CommonProtos/src/Api/Distribution.php b/CommonProtos/src/Api/Distribution.php index e81aae5cbd5f..21d1527b3020 100644 --- a/CommonProtos/src/Api/Distribution.php +++ b/CommonProtos/src/Api/Distribution.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Distribution` contains summary statistics for a population of values. It @@ -117,7 +117,7 @@ class Distribution extends \Google\Protobuf\Internal\Message * @type \Google\Api\Distribution\BucketOptions $bucket_options * Defines the histogram bucket boundaries. If the distribution does not * contain a histogram, then omit this field. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $bucket_counts + * @type int[]|string[] $bucket_counts * The number of values in each bucket of the histogram, as described in * `bucket_options`. If the distribution does not have a histogram, then omit * this field. If there is a histogram, then the sum of the values in @@ -131,7 +131,7 @@ class Distribution extends \Google\Protobuf\Internal\Message * count for the underflow bucket (number 0). The next N-2 values are the * counts for the finite buckets (number 1 through N-2). The N'th value in * `bucket_counts` is the count for the overflow bucket (number N-1). - * @type array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $exemplars + * @type \Google\Api\Distribution\Exemplar[] $exemplars * Must be in increasing order of `value` field. * } */ @@ -326,7 +326,7 @@ public function setBucketOptions($var) * `bucket_counts` is the count for the overflow bucket (number N-1). * * Generated from protobuf field repeated int64 bucket_counts = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField|RepeatedField */ public function getBucketCounts() { @@ -349,7 +349,7 @@ public function getBucketCounts() * `bucket_counts` is the count for the overflow bucket (number N-1). * * Generated from protobuf field repeated int64 bucket_counts = 7; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[]|string[] $var * @return $this */ public function setBucketCounts($var) @@ -364,7 +364,7 @@ public function setBucketCounts($var) * Must be in increasing order of `value` field. * * Generated from protobuf field repeated .google.api.Distribution.Exemplar exemplars = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Distribution\Exemplar> */ public function getExemplars() { @@ -375,7 +375,7 @@ public function getExemplars() * Must be in increasing order of `value` field. * * Generated from protobuf field repeated .google.api.Distribution.Exemplar exemplars = 10; - * @param array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Distribution\Exemplar[] $var * @return $this */ public function setExemplars($var) diff --git a/CommonProtos/src/Api/Distribution/BucketOptions.php b/CommonProtos/src/Api/Distribution/BucketOptions.php index 22aa21fe4ac9..9592cb4b7671 100644 --- a/CommonProtos/src/Api/Distribution/BucketOptions.php +++ b/CommonProtos/src/Api/Distribution/BucketOptions.php @@ -5,8 +5,8 @@ namespace Google\Api\Distribution; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `BucketOptions` describes the bucket boundaries used to create a histogram @@ -152,4 +152,3 @@ public function getOptions() } - diff --git a/CommonProtos/src/Api/Distribution/BucketOptions/Explicit.php b/CommonProtos/src/Api/Distribution/BucketOptions/Explicit.php index e39aaaef7b05..5921bd98dfbb 100644 --- a/CommonProtos/src/Api/Distribution/BucketOptions/Explicit.php +++ b/CommonProtos/src/Api/Distribution/BucketOptions/Explicit.php @@ -5,8 +5,8 @@ namespace Google\Api\Distribution\BucketOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a set of buckets with arbitrary widths. @@ -35,7 +35,7 @@ class Explicit extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $bounds + * @type float[] $bounds * The values must be monotonically increasing. * } */ @@ -48,7 +48,7 @@ public function __construct($data = NULL) { * The values must be monotonically increasing. * * Generated from protobuf field repeated double bounds = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBounds() { @@ -59,7 +59,7 @@ public function getBounds() * The values must be monotonically increasing. * * Generated from protobuf field repeated double bounds = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param float[] $var * @return $this */ public function setBounds($var) @@ -72,4 +72,3 @@ public function setBounds($var) } - diff --git a/CommonProtos/src/Api/Distribution/BucketOptions/Exponential.php b/CommonProtos/src/Api/Distribution/BucketOptions/Exponential.php index b717581138f6..58e67685834c 100644 --- a/CommonProtos/src/Api/Distribution/BucketOptions/Exponential.php +++ b/CommonProtos/src/Api/Distribution/BucketOptions/Exponential.php @@ -5,8 +5,8 @@ namespace Google\Api\Distribution\BucketOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies an exponential sequence of buckets that have a width that is @@ -139,4 +139,3 @@ public function setScale($var) } - diff --git a/CommonProtos/src/Api/Distribution/BucketOptions/Linear.php b/CommonProtos/src/Api/Distribution/BucketOptions/Linear.php index 8ed9bc9cf6a0..ca602bd7463c 100644 --- a/CommonProtos/src/Api/Distribution/BucketOptions/Linear.php +++ b/CommonProtos/src/Api/Distribution/BucketOptions/Linear.php @@ -5,8 +5,8 @@ namespace Google\Api\Distribution\BucketOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a linear sequence of buckets that all have the same width @@ -139,4 +139,3 @@ public function setOffset($var) } - diff --git a/CommonProtos/src/Api/Distribution/Exemplar.php b/CommonProtos/src/Api/Distribution/Exemplar.php index 5e7654a734d7..4c28e48e173f 100644 --- a/CommonProtos/src/Api/Distribution/Exemplar.php +++ b/CommonProtos/src/Api/Distribution/Exemplar.php @@ -5,8 +5,8 @@ namespace Google\Api\Distribution; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Exemplars are example points that may be used to annotate aggregated @@ -56,7 +56,7 @@ class Exemplar extends \Google\Protobuf\Internal\Message * exemplar belongs. * @type \Google\Protobuf\Timestamp $timestamp * The observation (sampling) time of the above value. - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $attachments + * @type \Google\Protobuf\Any[] $attachments * Contextual information about the example value. Examples are: * Trace: type.googleapis.com/google.monitoring.v3.SpanContext * Literal string: type.googleapis.com/google.protobuf.StringValue @@ -145,7 +145,7 @@ public function setTimestamp($var) * single exemplar, and this is enforced by the system. * * Generated from protobuf field repeated .google.protobuf.Any attachments = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Any> */ public function getAttachments() { @@ -162,7 +162,7 @@ public function getAttachments() * single exemplar, and this is enforced by the system. * * Generated from protobuf field repeated .google.protobuf.Any attachments = 3; - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Any[] $var * @return $this */ public function setAttachments($var) @@ -175,4 +175,3 @@ public function setAttachments($var) } - diff --git a/CommonProtos/src/Api/Distribution/Range.php b/CommonProtos/src/Api/Distribution/Range.php index 8ace8a8b4883..7446a794ed9f 100644 --- a/CommonProtos/src/Api/Distribution/Range.php +++ b/CommonProtos/src/Api/Distribution/Range.php @@ -5,8 +5,8 @@ namespace Google\Api\Distribution; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The range of the population values. @@ -99,4 +99,3 @@ public function setMax($var) } - diff --git a/CommonProtos/src/Api/Documentation.php b/CommonProtos/src/Api/Documentation.php index aced421cf52b..6d84f784c333 100644 --- a/CommonProtos/src/Api/Documentation.php +++ b/CommonProtos/src/Api/Documentation.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Documentation` provides the information for describing a service. @@ -131,9 +131,9 @@ class Documentation extends \Google\Protobuf\Internal\Message * text. It becomes the overview of the service displayed in Google Cloud * Console. * NOTE: This field is equivalent to the standard field `description`. - * @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $pages + * @type \Google\Api\Page[] $pages * The top level pages for the documentation set. - * @type array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\DocumentationRule[] $rules * A list of documentation rules that apply to individual API elements. * **NOTE:** All service configuration rules follow "last one wins" order. * @type string $documentation_root_url @@ -200,7 +200,7 @@ public function setSummary($var) * The top level pages for the documentation set. * * Generated from protobuf field repeated .google.api.Page pages = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Page> */ public function getPages() { @@ -211,7 +211,7 @@ public function getPages() * The top level pages for the documentation set. * * Generated from protobuf field repeated .google.api.Page pages = 5; - * @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Page[] $var * @return $this */ public function setPages($var) @@ -227,7 +227,7 @@ public function setPages($var) * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.DocumentationRule rules = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\DocumentationRule> */ public function getRules() { @@ -239,7 +239,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.DocumentationRule rules = 3; - * @param array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\DocumentationRule[] $var * @return $this */ public function setRules($var) diff --git a/CommonProtos/src/Api/DocumentationRule.php b/CommonProtos/src/Api/DocumentationRule.php index c904d1a38c8f..d6c654532551 100644 --- a/CommonProtos/src/Api/DocumentationRule.php +++ b/CommonProtos/src/Api/DocumentationRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A documentation rule provides information about individual API elements. diff --git a/CommonProtos/src/Api/DotnetSettings.php b/CommonProtos/src/Api/DotnetSettings.php index de7672c0fdcd..3f94ff3a94e5 100644 --- a/CommonProtos/src/Api/DotnetSettings.php +++ b/CommonProtos/src/Api/DotnetSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for Dotnet client libraries. @@ -87,16 +87,16 @@ class DotnetSettings extends \Google\Protobuf\Internal\Message * named from different services would cause naming collisions. * Example entry: * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset" - * @type array|\Google\Protobuf\Internal\RepeatedField $ignored_resources + * @type string[] $ignored_resources * List of full resource types to ignore during generation. * This is typically used for API-specific Location resources, * which should be handled by the generator as if they were actually * the common Location resources. * Example entry: "documentai.googleapis.com/Location" - * @type array|\Google\Protobuf\Internal\RepeatedField $forced_namespace_aliases + * @type string[] $forced_namespace_aliases * Namespaces which must be aliased in snippets due to * a known (but non-generator-predictable) naming collision - * @type array|\Google\Protobuf\Internal\RepeatedField $handwritten_signatures + * @type string[] $handwritten_signatures * Method signatures (in the form "service.method(signature)") * which are provided separately, so shouldn't be generated. * Snippets *calling* these methods are still generated, however. @@ -219,7 +219,7 @@ public function setRenamedResources($var) * Example entry: "documentai.googleapis.com/Location" * * Generated from protobuf field repeated string ignored_resources = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIgnoredResources() { @@ -234,7 +234,7 @@ public function getIgnoredResources() * Example entry: "documentai.googleapis.com/Location" * * Generated from protobuf field repeated string ignored_resources = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIgnoredResources($var) @@ -250,7 +250,7 @@ public function setIgnoredResources($var) * a known (but non-generator-predictable) naming collision * * Generated from protobuf field repeated string forced_namespace_aliases = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getForcedNamespaceAliases() { @@ -262,7 +262,7 @@ public function getForcedNamespaceAliases() * a known (but non-generator-predictable) naming collision * * Generated from protobuf field repeated string forced_namespace_aliases = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setForcedNamespaceAliases($var) @@ -279,7 +279,7 @@ public function setForcedNamespaceAliases($var) * Snippets *calling* these methods are still generated, however. * * Generated from protobuf field repeated string handwritten_signatures = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getHandwrittenSignatures() { @@ -292,7 +292,7 @@ public function getHandwrittenSignatures() * Snippets *calling* these methods are still generated, however. * * Generated from protobuf field repeated string handwritten_signatures = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setHandwrittenSignatures($var) diff --git a/CommonProtos/src/Api/Endpoint.php b/CommonProtos/src/Api/Endpoint.php index 41c1cbe6003e..694c63a577b4 100644 --- a/CommonProtos/src/Api/Endpoint.php +++ b/CommonProtos/src/Api/Endpoint.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Endpoint` describes a network address of a service that serves a set of @@ -77,7 +77,7 @@ class Endpoint extends \Google\Protobuf\Internal\Message * * @type string $name * The canonical name of this endpoint. - * @type array|\Google\Protobuf\Internal\RepeatedField $aliases + * @type string[] $aliases * Aliases for this endpoint, these will be served by the same UrlMap as the * parent endpoint, and will be provisioned in the GCP stack for the Regional * Endpoints. @@ -133,7 +133,7 @@ public function setName($var) * Endpoints. * * Generated from protobuf field repeated string aliases = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAliases() { @@ -146,7 +146,7 @@ public function getAliases() * Endpoints. * * Generated from protobuf field repeated string aliases = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAliases($var) diff --git a/CommonProtos/src/Api/ErrorReason.php b/CommonProtos/src/Api/ErrorReason.php index 04641c2202f9..f70bb4392a15 100644 --- a/CommonProtos/src/Api/ErrorReason.php +++ b/CommonProtos/src/Api/ErrorReason.php @@ -375,7 +375,7 @@ class ErrorReason * "metadata": { * "service": "storage.googleapis.com", * "method": "google.storage.v1.Storage.GetObject", - * "email": "user@123.iam.gserviceaccount.com" + * "email": "user\@123.iam.gserviceaccount.com" * } * } * diff --git a/CommonProtos/src/Api/FieldInfo.php b/CommonProtos/src/Api/FieldInfo.php index 617bf4026f5e..71cf35a1027a 100644 --- a/CommonProtos/src/Api/FieldInfo.php +++ b/CommonProtos/src/Api/FieldInfo.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rich semantic information of an API field beyond basic typing. @@ -42,7 +42,7 @@ class FieldInfo extends \Google\Protobuf\Internal\Message * The standard format of a field value. This does not explicitly configure * any API consumer, just documents the API's format for the field it is * applied to. - * @type array<\Google\Api\TypeReference>|\Google\Protobuf\Internal\RepeatedField $referenced_types + * @type \Google\Api\TypeReference[] $referenced_types * The type(s) that the annotated, generic field may represent. * Currently, this must only be used on fields of type `google.protobuf.Any`. * Supporting other generic types may be considered in the future. @@ -89,7 +89,7 @@ public function setFormat($var) * Supporting other generic types may be considered in the future. * * Generated from protobuf field repeated .google.api.TypeReference referenced_types = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\TypeReference> */ public function getReferencedTypes() { @@ -102,7 +102,7 @@ public function getReferencedTypes() * Supporting other generic types may be considered in the future. * * Generated from protobuf field repeated .google.api.TypeReference referenced_types = 2; - * @param array<\Google\Api\TypeReference>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\TypeReference[] $var * @return $this */ public function setReferencedTypes($var) diff --git a/CommonProtos/src/Api/FieldInfo/Format.php b/CommonProtos/src/Api/FieldInfo/Format.php index 1977ca9732ba..88fc61c69d22 100644 --- a/CommonProtos/src/Api/FieldInfo/Format.php +++ b/CommonProtos/src/Api/FieldInfo/Format.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/FieldPolicy.php b/CommonProtos/src/Api/FieldPolicy.php index 53474a456ada..3600a2de91b8 100644 --- a/CommonProtos/src/Api/FieldPolicy.php +++ b/CommonProtos/src/Api/FieldPolicy.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google API Policy Annotation diff --git a/CommonProtos/src/Api/GoSettings.php b/CommonProtos/src/Api/GoSettings.php index f70db3cdc852..efff4b80aa84 100644 --- a/CommonProtos/src/Api/GoSettings.php +++ b/CommonProtos/src/Api/GoSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for Go client libraries. diff --git a/CommonProtos/src/Api/Http.php b/CommonProtos/src/Api/Http.php index 712894e0e9e1..2f7542b434f6 100644 --- a/CommonProtos/src/Api/Http.php +++ b/CommonProtos/src/Api/Http.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the HTTP configuration for an API service. It contains a list of @@ -41,7 +41,7 @@ class Http extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\HttpRule[] $rules * A list of HTTP configuration rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. * @type bool $fully_decode_reserved_expansion @@ -62,7 +62,7 @@ public function __construct($data = NULL) { * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.HttpRule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\HttpRule> */ public function getRules() { @@ -74,7 +74,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.HttpRule rules = 1; - * @param array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\HttpRule[] $var * @return $this */ public function setRules($var) diff --git a/CommonProtos/src/Api/HttpBody.php b/CommonProtos/src/Api/HttpBody.php index c5626f10177b..36b78af6f17f 100644 --- a/CommonProtos/src/Api/HttpBody.php +++ b/CommonProtos/src/Api/HttpBody.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message that represents an arbitrary HTTP body. It should only be used for @@ -74,7 +74,7 @@ class HttpBody extends \Google\Protobuf\Internal\Message * The HTTP Content-Type header value specifying the content type of the body. * @type string $data * The HTTP request/response body as raw binary. - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $extensions + * @type \Google\Protobuf\Any[] $extensions * Application specific response metadata. Must be set in the first response * for streaming APIs. * } @@ -141,7 +141,7 @@ public function setData($var) * for streaming APIs. * * Generated from protobuf field repeated .google.protobuf.Any extensions = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Any> */ public function getExtensions() { @@ -153,7 +153,7 @@ public function getExtensions() * for streaming APIs. * * Generated from protobuf field repeated .google.protobuf.Any extensions = 3; - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Any[] $var * @return $this */ public function setExtensions($var) diff --git a/CommonProtos/src/Api/HttpRule.php b/CommonProtos/src/Api/HttpRule.php index 3b72f5a4cb9a..c7cf45ce1476 100644 --- a/CommonProtos/src/Api/HttpRule.php +++ b/CommonProtos/src/Api/HttpRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * gRPC Transcoding @@ -32,7 +32,7 @@ * service Messaging { * rpc GetMessage(GetMessageRequest) returns (Message) { * option (google.api.http) = { - * get: "/v1/{name=messages/*}" + * get: "/v1/{name=messages/*}" * }; * } * } @@ -179,7 +179,7 @@ * [Discovery * Document](https://developers.google.com/discovery/v1/reference/apis) as * `{var}`. - * If a variable contains multiple path segments, such as `"{var=foo/*}"` + * If a variable contains multiple path segments, such as `"{var=foo/*}"` * or `"{var=**}"`, when such a variable is expanded into a URL path on the * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. * The server side does the reverse decoding, except "%2F" and "%2f" are left @@ -306,7 +306,7 @@ class HttpRule extends \Google\Protobuf\Internal\Message * as the HTTP response body. * NOTE: The referred field must be present at the top-level of the response * message type. - * @type array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $additional_bindings + * @type \Google\Api\HttpRule[] $additional_bindings * Additional HTTP bindings for the selector. Nested bindings must * not contain an `additional_bindings` field themselves (that is, * the nesting may only be one level deep). @@ -615,7 +615,7 @@ public function setResponseBody($var) * the nesting may only be one level deep). * * Generated from protobuf field repeated .google.api.HttpRule additional_bindings = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\HttpRule> */ public function getAdditionalBindings() { @@ -628,7 +628,7 @@ public function getAdditionalBindings() * the nesting may only be one level deep). * * Generated from protobuf field repeated .google.api.HttpRule additional_bindings = 11; - * @param array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\HttpRule[] $var * @return $this */ public function setAdditionalBindings($var) diff --git a/CommonProtos/src/Api/JavaSettings.php b/CommonProtos/src/Api/JavaSettings.php index cddb41b393b7..52b10f645e47 100644 --- a/CommonProtos/src/Api/JavaSettings.php +++ b/CommonProtos/src/Api/JavaSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for Java client libraries. diff --git a/CommonProtos/src/Api/JwtLocation.php b/CommonProtos/src/Api/JwtLocation.php index 1bfbdd88e22f..9bd8ac73cc48 100644 --- a/CommonProtos/src/Api/JwtLocation.php +++ b/CommonProtos/src/Api/JwtLocation.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a location to extract JWT from an API request. diff --git a/CommonProtos/src/Api/LabelDescriptor.php b/CommonProtos/src/Api/LabelDescriptor.php index 67fa39ad382a..ac1aa409607f 100644 --- a/CommonProtos/src/Api/LabelDescriptor.php +++ b/CommonProtos/src/Api/LabelDescriptor.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A description of a label. diff --git a/CommonProtos/src/Api/LabelDescriptor/ValueType.php b/CommonProtos/src/Api/LabelDescriptor/ValueType.php index 044b29d332eb..42ec76a25a43 100644 --- a/CommonProtos/src/Api/LabelDescriptor/ValueType.php +++ b/CommonProtos/src/Api/LabelDescriptor/ValueType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/LogDescriptor.php b/CommonProtos/src/Api/LogDescriptor.php index bb4855885f79..6973e8d0f56c 100644 --- a/CommonProtos/src/Api/LogDescriptor.php +++ b/CommonProtos/src/Api/LogDescriptor.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A description of a log type. Example in YAML format: @@ -64,7 +64,7 @@ class LogDescriptor extends \Google\Protobuf\Internal\Message * include the following characters: upper- and lower-case alphanumeric * characters [A-Za-z0-9], and punctuation characters including * slash, underscore, hyphen, period [/_-.]. - * @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels + * @type \Google\Api\LabelDescriptor[] $labels * The set of labels that are available to describe a specific log entry. * Runtime requests that contain labels not specified here are * considered invalid. @@ -119,7 +119,7 @@ public function setName($var) * considered invalid. * * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\LabelDescriptor> */ public function getLabels() { @@ -132,7 +132,7 @@ public function getLabels() * considered invalid. * * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 2; - * @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\LabelDescriptor[] $var * @return $this */ public function setLabels($var) diff --git a/CommonProtos/src/Api/Logging.php b/CommonProtos/src/Api/Logging.php index 52198c138222..9c2f5b086211 100644 --- a/CommonProtos/src/Api/Logging.php +++ b/CommonProtos/src/Api/Logging.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Logging configuration of the service. @@ -66,12 +66,12 @@ class Logging extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $producer_destinations + * @type \Google\Api\Logging\LoggingDestination[] $producer_destinations * Logging configurations for sending logs to the producer project. * There can be multiple producer destinations, each one must have a * different monitored resource type. A log can be used in at most * one producer destination. - * @type array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations + * @type \Google\Api\Logging\LoggingDestination[] $consumer_destinations * Logging configurations for sending logs to the consumer project. * There can be multiple consumer destinations, each one must have a * different monitored resource type. A log can be used in at most @@ -90,7 +90,7 @@ public function __construct($data = NULL) { * one producer destination. * * Generated from protobuf field repeated .google.api.Logging.LoggingDestination producer_destinations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Logging\LoggingDestination> */ public function getProducerDestinations() { @@ -104,7 +104,7 @@ public function getProducerDestinations() * one producer destination. * * Generated from protobuf field repeated .google.api.Logging.LoggingDestination producer_destinations = 1; - * @param array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Logging\LoggingDestination[] $var * @return $this */ public function setProducerDestinations($var) @@ -122,7 +122,7 @@ public function setProducerDestinations($var) * one consumer destination. * * Generated from protobuf field repeated .google.api.Logging.LoggingDestination consumer_destinations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Logging\LoggingDestination> */ public function getConsumerDestinations() { @@ -136,7 +136,7 @@ public function getConsumerDestinations() * one consumer destination. * * Generated from protobuf field repeated .google.api.Logging.LoggingDestination consumer_destinations = 2; - * @param array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Logging\LoggingDestination[] $var * @return $this */ public function setConsumerDestinations($var) diff --git a/CommonProtos/src/Api/Logging/LoggingDestination.php b/CommonProtos/src/Api/Logging/LoggingDestination.php index 22d2e9147bec..7c0d6fe7cf96 100644 --- a/CommonProtos/src/Api/Logging/LoggingDestination.php +++ b/CommonProtos/src/Api/Logging/LoggingDestination.php @@ -5,8 +5,8 @@ namespace Google\Api\Logging; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of a specific logging destination (the producer project @@ -44,7 +44,7 @@ class LoggingDestination extends \Google\Protobuf\Internal\Message * The monitored resource type. The type must be defined in the * [Service.monitored_resources][google.api.Service.monitored_resources] * section. - * @type array|\Google\Protobuf\Internal\RepeatedField $logs + * @type string[] $logs * Names of the logs to be sent to this destination. Each name must * be defined in the [Service.logs][google.api.Service.logs] section. If the * log name is not a domain scoped name, it will be automatically prefixed @@ -93,7 +93,7 @@ public function setMonitoredResource($var) * with the service name followed by "/". * * Generated from protobuf field repeated string logs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLogs() { @@ -107,7 +107,7 @@ public function getLogs() * with the service name followed by "/". * * Generated from protobuf field repeated string logs = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLogs($var) @@ -120,4 +120,3 @@ public function setLogs($var) } - diff --git a/CommonProtos/src/Api/MethodPolicy.php b/CommonProtos/src/Api/MethodPolicy.php index faeb40a909de..a8b98647a566 100644 --- a/CommonProtos/src/Api/MethodPolicy.php +++ b/CommonProtos/src/Api/MethodPolicy.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines policies applying to an RPC method. @@ -46,7 +46,7 @@ class MethodPolicy extends \Google\Protobuf\Internal\Message * details. * NOTE: This field must not be set in the proto annotation. It will be * automatically filled by the service config compiler . - * @type array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $request_policies + * @type \Google\Api\FieldPolicy[] $request_policies * Policies that are applicable to the request message. * } */ @@ -95,7 +95,7 @@ public function setSelector($var) * Policies that are applicable to the request message. * * Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\FieldPolicy> */ public function getRequestPolicies() { @@ -106,7 +106,7 @@ public function getRequestPolicies() * Policies that are applicable to the request message. * * Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2; - * @param array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\FieldPolicy[] $var * @return $this */ public function setRequestPolicies($var) diff --git a/CommonProtos/src/Api/MethodSettings.php b/CommonProtos/src/Api/MethodSettings.php index 0e95d507a691..eecf2370066c 100644 --- a/CommonProtos/src/Api/MethodSettings.php +++ b/CommonProtos/src/Api/MethodSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the generator configuration for a method. @@ -86,7 +86,7 @@ class MethodSettings extends \Google\Protobuf\Internal\Message * poll_delay_multiplier: 1.5 * max_poll_delay: 360s # 6 minutes * total_poll_timeout: 54000s # 90 minutes - * @type array|\Google\Protobuf\Internal\RepeatedField $auto_populated_fields + * @type string[] $auto_populated_fields * List of top-level fields of the request message, that should be * automatically populated by the client libraries based on their * (google.api.field_info).format. Currently supported format: UUID4. @@ -211,7 +211,7 @@ public function setLongRunning($var) * - request_id * * Generated from protobuf field repeated string auto_populated_fields = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAutoPopulatedFields() { @@ -230,7 +230,7 @@ public function getAutoPopulatedFields() * - request_id * * Generated from protobuf field repeated string auto_populated_fields = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAutoPopulatedFields($var) diff --git a/CommonProtos/src/Api/MethodSettings/LongRunning.php b/CommonProtos/src/Api/MethodSettings/LongRunning.php index eba2265583bf..075592a4e868 100644 --- a/CommonProtos/src/Api/MethodSettings/LongRunning.php +++ b/CommonProtos/src/Api/MethodSettings/LongRunning.php @@ -5,8 +5,8 @@ namespace Google\Api\MethodSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes settings to use when generating API methods that use the @@ -221,4 +221,3 @@ public function setTotalPollTimeout($var) } - diff --git a/CommonProtos/src/Api/Metric.php b/CommonProtos/src/Api/Metric.php index 488552fb8787..cbcfc0aa77fa 100644 --- a/CommonProtos/src/Api/Metric.php +++ b/CommonProtos/src/Api/Metric.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specific metric, identified by specifying values for all of the diff --git a/CommonProtos/src/Api/MetricDescriptor.php b/CommonProtos/src/Api/MetricDescriptor.php index b8a39d69dd88..78b29e6d9a0d 100644 --- a/CommonProtos/src/Api/MetricDescriptor.php +++ b/CommonProtos/src/Api/MetricDescriptor.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a metric type and its schema. Once a metric descriptor is created, @@ -203,7 +203,7 @@ class MetricDescriptor extends \Google\Protobuf\Internal\Message * "custom.googleapis.com/invoice/paid/amount" * "external.googleapis.com/prometheus/up" * "appengine.googleapis.com/http/server/response_latencies" - * @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels + * @type \Google\Api\LabelDescriptor[] $labels * The set of labels that can be used to describe a specific * instance of this metric type. For example, the * `appengine.googleapis.com/http/server/response_latencies` metric @@ -311,7 +311,7 @@ class MetricDescriptor extends \Google\Protobuf\Internal\Message * Optional. Metadata which can be used to guide usage of the metric. * @type int $launch_stage * Optional. The launch stage of the metric definition. - * @type array|\Google\Protobuf\Internal\RepeatedField $monitored_resource_types + * @type string[] $monitored_resource_types * Read-only. If present, then a [time * series][google.monitoring.v3.TimeSeries], which is identified partially by * a metric type and a @@ -398,7 +398,7 @@ public function setType($var) * for responses that failed. * * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\LabelDescriptor> */ public function getLabels() { @@ -414,7 +414,7 @@ public function getLabels() * for responses that failed. * * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 2; - * @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\LabelDescriptor[] $var * @return $this */ public function setLabels($var) @@ -800,7 +800,7 @@ public function setLaunchStage($var) * monitored resource types listed here. * * Generated from protobuf field repeated string monitored_resource_types = 13; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMonitoredResourceTypes() { @@ -816,7 +816,7 @@ public function getMonitoredResourceTypes() * monitored resource types listed here. * * Generated from protobuf field repeated string monitored_resource_types = 13; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMonitoredResourceTypes($var) diff --git a/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php b/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php index d4ce06e499c4..a7fab28ba357 100644 --- a/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php +++ b/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata.php @@ -5,8 +5,8 @@ namespace Google\Api\MetricDescriptor; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Additional annotations that can be used to guide the usage of a metric. @@ -67,7 +67,7 @@ class MetricDescriptorMetadata extends \Google\Protobuf\Internal\Message * The delay of data points caused by ingestion. Data points older than this * age are guaranteed to be ingested and available to be read, excluding * data loss due to errors. - * @type array|\Google\Protobuf\Internal\RepeatedField $time_series_resource_hierarchy_level + * @type int[] $time_series_resource_hierarchy_level * The scope of the timeseries data of the metric. * } */ @@ -198,7 +198,7 @@ public function setIngestDelay($var) * The scope of the timeseries data of the metric. * * Generated from protobuf field repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTimeSeriesResourceHierarchyLevel() { @@ -209,7 +209,7 @@ public function getTimeSeriesResourceHierarchyLevel() * The scope of the timeseries data of the metric. * * Generated from protobuf field repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTimeSeriesResourceHierarchyLevel($var) @@ -222,4 +222,3 @@ public function setTimeSeriesResourceHierarchyLevel($var) } - diff --git a/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata/TimeSeriesResourceHierarchyLevel.php b/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata/TimeSeriesResourceHierarchyLevel.php index c621598dd63f..7fb5fc26f739 100644 --- a/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata/TimeSeriesResourceHierarchyLevel.php +++ b/CommonProtos/src/Api/MetricDescriptor/MetricDescriptorMetadata/TimeSeriesResourceHierarchyLevel.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/MetricDescriptor/MetricKind.php b/CommonProtos/src/Api/MetricDescriptor/MetricKind.php index a486417ab140..0ecbe6b25b09 100644 --- a/CommonProtos/src/Api/MetricDescriptor/MetricKind.php +++ b/CommonProtos/src/Api/MetricDescriptor/MetricKind.php @@ -72,4 +72,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/MetricDescriptor/ValueType.php b/CommonProtos/src/Api/MetricDescriptor/ValueType.php index d433d2e2d30c..80245f5732dd 100644 --- a/CommonProtos/src/Api/MetricDescriptor/ValueType.php +++ b/CommonProtos/src/Api/MetricDescriptor/ValueType.php @@ -89,4 +89,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/MetricRule.php b/CommonProtos/src/Api/MetricRule.php index f8eeccd4caba..c7d4edb4a6ac 100644 --- a/CommonProtos/src/Api/MetricRule.php +++ b/CommonProtos/src/Api/MetricRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Bind API methods to metrics. Binding a method to a metric causes that diff --git a/CommonProtos/src/Api/MonitoredResource.php b/CommonProtos/src/Api/MonitoredResource.php index 7af0f6df2a27..3fbac39600b6 100644 --- a/CommonProtos/src/Api/MonitoredResource.php +++ b/CommonProtos/src/Api/MonitoredResource.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An object representing a resource that can be used for monitoring, logging, diff --git a/CommonProtos/src/Api/MonitoredResourceDescriptor.php b/CommonProtos/src/Api/MonitoredResourceDescriptor.php index c6727e2c4917..744c76dc319a 100644 --- a/CommonProtos/src/Api/MonitoredResourceDescriptor.php +++ b/CommonProtos/src/Api/MonitoredResourceDescriptor.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An object that describes the schema of a @@ -104,7 +104,7 @@ class MonitoredResourceDescriptor extends \Google\Protobuf\Internal\Message * @type string $description * Optional. A detailed description of the monitored resource type that might * be used in documentation. - * @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels + * @type \Google\Api\LabelDescriptor[] $labels * Required. A set of labels used to describe instances of this monitored * resource type. For example, an individual Google Cloud SQL database is * identified by values for the labels `"database_id"` and `"zone"`. @@ -255,7 +255,7 @@ public function setDescription($var) * identified by values for the labels `"database_id"` and `"zone"`. * * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\LabelDescriptor> */ public function getLabels() { @@ -268,7 +268,7 @@ public function getLabels() * identified by values for the labels `"database_id"` and `"zone"`. * * Generated from protobuf field repeated .google.api.LabelDescriptor labels = 4; - * @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\LabelDescriptor[] $var * @return $this */ public function setLabels($var) diff --git a/CommonProtos/src/Api/MonitoredResourceMetadata.php b/CommonProtos/src/Api/MonitoredResourceMetadata.php index da6dc4b17fb2..842702ed5686 100644 --- a/CommonProtos/src/Api/MonitoredResourceMetadata.php +++ b/CommonProtos/src/Api/MonitoredResourceMetadata.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] diff --git a/CommonProtos/src/Api/Monitoring.php b/CommonProtos/src/Api/Monitoring.php index 5415b64f7a6f..422ae2886eaa 100644 --- a/CommonProtos/src/Api/Monitoring.php +++ b/CommonProtos/src/Api/Monitoring.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Monitoring configuration of the service. @@ -93,14 +93,14 @@ class Monitoring extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $producer_destinations + * @type \Google\Api\Monitoring\MonitoringDestination[] $producer_destinations * Monitoring configurations for sending metrics to the producer project. * There can be multiple producer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are * needed for different sets of metrics associated with that monitored * resource type. A monitored resource and metric pair may only be used once * in the Monitoring configuration. - * @type array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations + * @type \Google\Api\Monitoring\MonitoringDestination[] $consumer_destinations * Monitoring configurations for sending metrics to the consumer project. * There can be multiple consumer destinations. A monitored resource type may * appear in multiple monitoring destinations if different aggregations are @@ -123,7 +123,7 @@ public function __construct($data = NULL) { * in the Monitoring configuration. * * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Monitoring\MonitoringDestination> */ public function getProducerDestinations() { @@ -139,7 +139,7 @@ public function getProducerDestinations() * in the Monitoring configuration. * * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1; - * @param array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Monitoring\MonitoringDestination[] $var * @return $this */ public function setProducerDestinations($var) @@ -159,7 +159,7 @@ public function setProducerDestinations($var) * in the Monitoring configuration. * * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Monitoring\MonitoringDestination> */ public function getConsumerDestinations() { @@ -175,7 +175,7 @@ public function getConsumerDestinations() * in the Monitoring configuration. * * Generated from protobuf field repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2; - * @param array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Monitoring\MonitoringDestination[] $var * @return $this */ public function setConsumerDestinations($var) diff --git a/CommonProtos/src/Api/Monitoring/MonitoringDestination.php b/CommonProtos/src/Api/Monitoring/MonitoringDestination.php index 050620e84a18..94576a1acbf7 100644 --- a/CommonProtos/src/Api/Monitoring/MonitoringDestination.php +++ b/CommonProtos/src/Api/Monitoring/MonitoringDestination.php @@ -5,8 +5,8 @@ namespace Google\Api\Monitoring; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of a specific monitoring destination (the producer project @@ -43,7 +43,7 @@ class MonitoringDestination extends \Google\Protobuf\Internal\Message * The monitored resource type. The type must be defined in * [Service.monitored_resources][google.api.Service.monitored_resources] * section. - * @type array|\Google\Protobuf\Internal\RepeatedField $metrics + * @type string[] $metrics * Types of the metrics to report to this monitoring destination. * Each type must be defined in * [Service.metrics][google.api.Service.metrics] section. @@ -90,7 +90,7 @@ public function setMonitoredResource($var) * [Service.metrics][google.api.Service.metrics] section. * * Generated from protobuf field repeated string metrics = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMetrics() { @@ -103,7 +103,7 @@ public function getMetrics() * [Service.metrics][google.api.Service.metrics] section. * * Generated from protobuf field repeated string metrics = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMetrics($var) @@ -116,4 +116,3 @@ public function setMetrics($var) } - diff --git a/CommonProtos/src/Api/NodeSettings.php b/CommonProtos/src/Api/NodeSettings.php index 54b8ccb46379..3041432c49ee 100644 --- a/CommonProtos/src/Api/NodeSettings.php +++ b/CommonProtos/src/Api/NodeSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for Node client libraries. diff --git a/CommonProtos/src/Api/OAuthRequirements.php b/CommonProtos/src/Api/OAuthRequirements.php index 842640cc1c28..9ad55336d154 100644 --- a/CommonProtos/src/Api/OAuthRequirements.php +++ b/CommonProtos/src/Api/OAuthRequirements.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * OAuth scopes are a way to define data and permissions on data. For example, diff --git a/CommonProtos/src/Api/Page.php b/CommonProtos/src/Api/Page.php index 07097454d6c3..f172d0cbc038 100644 --- a/CommonProtos/src/Api/Page.php +++ b/CommonProtos/src/Api/Page.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a documentation page. A page can contain subpages to represent @@ -76,7 +76,7 @@ class Page extends \Google\Protobuf\Internal\Message * The Markdown content of the page. You can use ```(== include {path} * ==)``` to include content from a Markdown file. The content can be used * to produce the documentation page such as HTML format page. - * @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $subpages + * @type \Google\Api\Page[] $subpages * Subpages of this page. The order of subpages specified here will be * honored in the generated docset. * } @@ -173,7 +173,7 @@ public function setContent($var) * honored in the generated docset. * * Generated from protobuf field repeated .google.api.Page subpages = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Page> */ public function getSubpages() { @@ -185,7 +185,7 @@ public function getSubpages() * honored in the generated docset. * * Generated from protobuf field repeated .google.api.Page subpages = 3; - * @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Page[] $var * @return $this */ public function setSubpages($var) diff --git a/CommonProtos/src/Api/PhpSettings.php b/CommonProtos/src/Api/PhpSettings.php index 06486ac814b9..a98437ce1ba1 100644 --- a/CommonProtos/src/Api/PhpSettings.php +++ b/CommonProtos/src/Api/PhpSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for Php client libraries. diff --git a/CommonProtos/src/Api/ProjectProperties.php b/CommonProtos/src/Api/ProjectProperties.php index 122688d6dc2d..7ffeb2f5fc6b 100644 --- a/CommonProtos/src/Api/ProjectProperties.php +++ b/CommonProtos/src/Api/ProjectProperties.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A descriptor for defining project properties for a service. One service may @@ -41,7 +41,7 @@ class ProjectProperties extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $properties + * @type \Google\Api\Property[] $properties * List of per consumer project-specific properties. * } */ @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * List of per consumer project-specific properties. * * Generated from protobuf field repeated .google.api.Property properties = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Property> */ public function getProperties() { @@ -65,7 +65,7 @@ public function getProperties() * List of per consumer project-specific properties. * * Generated from protobuf field repeated .google.api.Property properties = 1; - * @param array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Property[] $var * @return $this */ public function setProperties($var) diff --git a/CommonProtos/src/Api/Property.php b/CommonProtos/src/Api/Property.php index 6212e635ee3b..18830cc2055e 100644 --- a/CommonProtos/src/Api/Property.php +++ b/CommonProtos/src/Api/Property.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines project properties. diff --git a/CommonProtos/src/Api/Property/PropertyType.php b/CommonProtos/src/Api/Property/PropertyType.php index b4b6cd7a0fd1..e874e029a65c 100644 --- a/CommonProtos/src/Api/Property/PropertyType.php +++ b/CommonProtos/src/Api/Property/PropertyType.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/Publishing.php b/CommonProtos/src/Api/Publishing.php index 66186172b280..74c394bb061b 100644 --- a/CommonProtos/src/Api/Publishing.php +++ b/CommonProtos/src/Api/Publishing.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message configures the settings for publishing [Google Cloud Client @@ -101,7 +101,7 @@ class Publishing extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $method_settings + * @type \Google\Api\MethodSettings[] $method_settings * A list of API method settings, e.g. the behavior for methods that use the * long-running operation pattern. * @type string $new_issue_uri @@ -116,7 +116,7 @@ class Publishing extends \Google\Protobuf\Internal\Message * etc. Example: "speech". * @type string $github_label * GitHub label to apply to issues and pull requests opened for this API. - * @type array|\Google\Protobuf\Internal\RepeatedField $codeowner_github_teams + * @type string[] $codeowner_github_teams * GitHub teams to be added to CODEOWNERS in the directory in GitHub * containing source code for the client libraries for this API. * @type string $doc_tag_prefix @@ -124,7 +124,7 @@ class Publishing extends \Google\Protobuf\Internal\Message * documentation. * @type int $organization * For whom the client library is being published. - * @type array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $library_settings + * @type \Google\Api\ClientLibrarySettings[] $library_settings * Client library settings. If the same version string appears multiple * times in this list, then the last one wins. Settings from earlier * settings with the same version string are discarded. @@ -146,7 +146,7 @@ public function __construct($data = NULL) { * long-running operation pattern. * * Generated from protobuf field repeated .google.api.MethodSettings method_settings = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\MethodSettings> */ public function getMethodSettings() { @@ -158,7 +158,7 @@ public function getMethodSettings() * long-running operation pattern. * * Generated from protobuf field repeated .google.api.MethodSettings method_settings = 2; - * @param array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\MethodSettings[] $var * @return $this */ public function setMethodSettings($var) @@ -286,7 +286,7 @@ public function setGithubLabel($var) * containing source code for the client libraries for this API. * * Generated from protobuf field repeated string codeowner_github_teams = 105; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCodeownerGithubTeams() { @@ -298,7 +298,7 @@ public function getCodeownerGithubTeams() * containing source code for the client libraries for this API. * * Generated from protobuf field repeated string codeowner_github_teams = 105; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCodeownerGithubTeams($var) @@ -369,7 +369,7 @@ public function setOrganization($var) * settings with the same version string are discarded. * * Generated from protobuf field repeated .google.api.ClientLibrarySettings library_settings = 109; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\ClientLibrarySettings> */ public function getLibrarySettings() { @@ -382,7 +382,7 @@ public function getLibrarySettings() * settings with the same version string are discarded. * * Generated from protobuf field repeated .google.api.ClientLibrarySettings library_settings = 109; - * @param array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\ClientLibrarySettings[] $var * @return $this */ public function setLibrarySettings($var) diff --git a/CommonProtos/src/Api/PythonSettings.php b/CommonProtos/src/Api/PythonSettings.php index e502c74503bd..66bd27f0fbfa 100644 --- a/CommonProtos/src/Api/PythonSettings.php +++ b/CommonProtos/src/Api/PythonSettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for Python client libraries. diff --git a/CommonProtos/src/Api/PythonSettings/ExperimentalFeatures.php b/CommonProtos/src/Api/PythonSettings/ExperimentalFeatures.php index 200d477374f4..a1230aea0cb9 100644 --- a/CommonProtos/src/Api/PythonSettings/ExperimentalFeatures.php +++ b/CommonProtos/src/Api/PythonSettings/ExperimentalFeatures.php @@ -5,8 +5,8 @@ namespace Google\Api\PythonSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Experimental features to be included during client library generation. @@ -171,4 +171,3 @@ public function setUnversionedPackageDisabled($var) } - diff --git a/CommonProtos/src/Api/Quota.php b/CommonProtos/src/Api/Quota.php index a4d5db9de81d..bea8ed890068 100644 --- a/CommonProtos/src/Api/Quota.php +++ b/CommonProtos/src/Api/Quota.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Quota configuration helps to achieve fairness and budgeting in service @@ -74,9 +74,9 @@ class Quota extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\QuotaLimit>|\Google\Protobuf\Internal\RepeatedField $limits + * @type \Google\Api\QuotaLimit[] $limits * List of QuotaLimit definitions for the service. - * @type array<\Google\Api\MetricRule>|\Google\Protobuf\Internal\RepeatedField $metric_rules + * @type \Google\Api\MetricRule[] $metric_rules * List of MetricRule definitions, each one mapping a selected method to one * or more metrics. * } @@ -90,7 +90,7 @@ public function __construct($data = NULL) { * List of QuotaLimit definitions for the service. * * Generated from protobuf field repeated .google.api.QuotaLimit limits = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\QuotaLimit> */ public function getLimits() { @@ -101,7 +101,7 @@ public function getLimits() * List of QuotaLimit definitions for the service. * * Generated from protobuf field repeated .google.api.QuotaLimit limits = 3; - * @param array<\Google\Api\QuotaLimit>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\QuotaLimit[] $var * @return $this */ public function setLimits($var) @@ -117,7 +117,7 @@ public function setLimits($var) * or more metrics. * * Generated from protobuf field repeated .google.api.MetricRule metric_rules = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\MetricRule> */ public function getMetricRules() { @@ -129,7 +129,7 @@ public function getMetricRules() * or more metrics. * * Generated from protobuf field repeated .google.api.MetricRule metric_rules = 4; - * @param array<\Google\Api\MetricRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\MetricRule[] $var * @return $this */ public function setMetricRules($var) diff --git a/CommonProtos/src/Api/QuotaLimit.php b/CommonProtos/src/Api/QuotaLimit.php index 977cd0156439..457cc8839770 100644 --- a/CommonProtos/src/Api/QuotaLimit.php +++ b/CommonProtos/src/Api/QuotaLimit.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `QuotaLimit` defines a specific limit that applies over a specified duration diff --git a/CommonProtos/src/Api/ResourceDescriptor.php b/CommonProtos/src/Api/ResourceDescriptor.php index f2c9f73bcd00..f6142bffc644 100644 --- a/CommonProtos/src/Api/ResourceDescriptor.php +++ b/CommonProtos/src/Api/ResourceDescriptor.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A simple descriptor of a resource type. @@ -156,7 +156,7 @@ class ResourceDescriptor extends \Google\Protobuf\Internal\Message * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and * should use PascalCase (UpperCamelCase). The maximum number of * characters allowed for the `resource_type_kind` is 100. - * @type array|\Google\Protobuf\Internal\RepeatedField $pattern + * @type string[] $pattern * Optional. The relative resource name pattern associated with this resource * type. The DNS prefix of the full resource name shouldn't be specified here. * The path pattern must follow the syntax, which aligns with HTTP binding @@ -204,7 +204,7 @@ class ResourceDescriptor extends \Google\Protobuf\Internal\Message * The same concept of the `singular` field in k8s CRD spec * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ * Such as "project" for the `resourcemanager.googleapis.com/Project` type. - * @type array|\Google\Protobuf\Internal\RepeatedField $style + * @type int[] $style * Style flag(s) for this resource. * These indicate that a resource is expected to conform to a given * style. See the specific style flags for additional information. @@ -272,7 +272,7 @@ public function setType($var) * type of resource. * * Generated from protobuf field repeated string pattern = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPattern() { @@ -296,7 +296,7 @@ public function getPattern() * type of resource. * * Generated from protobuf field repeated string pattern = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPattern($var) @@ -467,7 +467,7 @@ public function setSingular($var) * style. See the specific style flags for additional information. * * Generated from protobuf field repeated .google.api.ResourceDescriptor.Style style = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getStyle() { @@ -480,7 +480,7 @@ public function getStyle() * style. See the specific style flags for additional information. * * Generated from protobuf field repeated .google.api.ResourceDescriptor.Style style = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setStyle($var) diff --git a/CommonProtos/src/Api/ResourceDescriptor/History.php b/CommonProtos/src/Api/ResourceDescriptor/History.php index 5005eb2a712b..ee1ae551aac7 100644 --- a/CommonProtos/src/Api/ResourceDescriptor/History.php +++ b/CommonProtos/src/Api/ResourceDescriptor/History.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/ResourceDescriptor/Style.php b/CommonProtos/src/Api/ResourceDescriptor/Style.php index 4d0c56e9c927..87dfba14a2a8 100644 --- a/CommonProtos/src/Api/ResourceDescriptor/Style.php +++ b/CommonProtos/src/Api/ResourceDescriptor/Style.php @@ -57,4 +57,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Api/ResourceReference.php b/CommonProtos/src/Api/ResourceReference.php index c4c282d163e3..e6bc4e8ff3fa 100644 --- a/CommonProtos/src/Api/ResourceReference.php +++ b/CommonProtos/src/Api/ResourceReference.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a proto annotation that describes a string field that refers to diff --git a/CommonProtos/src/Api/RoutingParameter.php b/CommonProtos/src/Api/RoutingParameter.php index 1b32a8ffa44e..ff03816fe471 100644 --- a/CommonProtos/src/Api/RoutingParameter.php +++ b/CommonProtos/src/Api/RoutingParameter.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A projection from an input message to the GRPC or REST header. @@ -39,7 +39,7 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message * | | routing header. * V | * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" + * path_template: "projects/{@*}{table_location=instances/*}/tables/*" * ^ ^ * | | * In the {} brackets is the pattern that -- | @@ -50,11 +50,11 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message * before brackets, inside brackets, after brackets. * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added + * and the value matching `instances/*` should be added * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * `projects/{@*}instances/{@*}tables/*`. * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent @@ -99,7 +99,7 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message * | | routing header. * V | * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" + * path_template: "projects/{@*}{table_location=instances/*}/tables/*" * ^ ^ * | | * In the {} brackets is the pattern that -- | @@ -110,11 +110,11 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message * before brackets, inside brackets, after brackets. * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added + * and the value matching `instances/*` should be added * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * `projects/{@*}instances/{@*}tables/*`. * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent @@ -179,7 +179,7 @@ public function setField($var) * | | routing header. * V | * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" + * path_template: "projects/{@*}{table_location=instances/*}/tables/*" * ^ ^ * | | * In the {} brackets is the pattern that -- | @@ -190,11 +190,11 @@ public function setField($var) * before brackets, inside brackets, after brackets. * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added + * and the value matching `instances/*` should be added * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * `projects/{@*}instances/{@*}tables/*`. * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent @@ -235,7 +235,7 @@ public function getPathTemplate() * | | routing header. * V | * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" + * path_template: "projects/{@*}{table_location=instances/*}/tables/*" * ^ ^ * | | * In the {} brackets is the pattern that -- | @@ -246,11 +246,11 @@ public function getPathTemplate() * before brackets, inside brackets, after brackets. * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added + * and the value matching `instances/*` should be added * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * `projects/{@*}instances/{@*}tables/*`. * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent diff --git a/CommonProtos/src/Api/RoutingRule.php b/CommonProtos/src/Api/RoutingRule.php index b5dab1873389..b2c00a6fa2f9 100644 --- a/CommonProtos/src/Api/RoutingRule.php +++ b/CommonProtos/src/Api/RoutingRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the routing information that should be sent along with the request @@ -74,7 +74,7 @@ * // syntax). * routing_parameters { * field: "table_name" - * path_template: "{table_name=projects/*/instances/*/**}" + * path_template: "{table_name=projects/{@*}instances/{@*}**}" * } * }; * result: @@ -88,7 +88,7 @@ * // syntax). * routing_parameters { * field: "table_name" - * path_template: "{table_name=regions/*/zones/*/**}" + * path_template: "{table_name=regions/{@*}zones/{@*}**}" * } * }; * result: @@ -102,11 +102,11 @@ * // using the region- or projects-based syntax. * routing_parameters { * field: "table_name" - * path_template: "{table_name=regions/*/zones/*/**}" + * path_template: "{table_name=regions/{@*}zones/{@*}**}" * } * routing_parameters { * field: "table_name" - * path_template: "{table_name=projects/*/instances/*/**}" + * path_template: "{table_name=projects/{@*}instances/{@*}**}" * } * }; * result: @@ -120,7 +120,7 @@ * // Take just the project id from the `table_name` field. * routing_parameters { * field: "table_name" - * path_template: "{routing_id=projects/*}/**" + * path_template: "{routing_id=projects/*}/**" * } * }; * result: @@ -136,11 +136,11 @@ * // Otherwise take project + instance. * routing_parameters { * field: "table_name" - * path_template: "{routing_id=projects/*}/**" + * path_template: "{routing_id=projects/*}/**" * } * routing_parameters { * field: "table_name" - * path_template: "{routing_id=projects/*/instances/*}/**" + * path_template: "{routing_id=projects/{@*}instances/*}/**" * } * }; * result: @@ -159,11 +159,11 @@ * // syntax. * routing_parameters { * field: "table_name" - * path_template: "{project_id=projects/*}/instances/*/**" + * path_template: "{project_id=projects/*}/instances/{@*}**" * } * routing_parameters { * field: "table_name" - * path_template: "projects/*/{instance_id=instances/*}/**" + * path_template: "projects/{@*}{instance_id=instances/*}/**" * } * }; * result: @@ -179,11 +179,11 @@ * // an instance in the `table_name`. * routing_parameters { * field: "table_name" - * path_template: "{project_id=projects/*}/**" + * path_template: "{project_id=projects/*}/**" * } * routing_parameters { * field: "table_name" - * path_template: "projects/*/{instance_id=instances/*}/**" + * path_template: "projects/{@*}{instance_id=instances/*}/**" * } * }; * result (is the same as 6a for our example message because it has the instance @@ -204,7 +204,7 @@ * // (from the `app_profile_id` field) for routing. * routing_parameters { * field: "table_name" - * path_template: "{project_id=projects/*}/**" + * path_template: "{project_id=projects/*}/**" * } * routing_parameters { * field: "app_profile_id" @@ -225,11 +225,11 @@ * // If `app_profile_id` is set it should be used instead. * routing_parameters { * field: "table_name" - * path_template: "{routing_id=projects/*}/**" + * path_template: "{routing_id=projects/*}/**" * } * routing_parameters { * field: "table_name" - * path_template: "{routing_id=regions/*}/**" + * path_template: "{routing_id=regions/*}/**" * } * routing_parameters { * field: "app_profile_id" @@ -254,15 +254,15 @@ * // the project_id, send that instead. * routing_parameters { * field: "table_name" - * path_template: "projects/*/{table_location=instances/*}/tables/*" + * path_template: "projects/{@*}{table_location=instances/*}/tables/*" * } * routing_parameters { * field: "table_name" - * path_template: "{table_location=regions/*/zones/*}/tables/*" + * path_template: "{table_location=regions/{@*}zones/*}/tables/*" * } * routing_parameters { * field: "table_name" - * path_template: "{routing_id=projects/*}/**" + * path_template: "{routing_id=projects/*}/**" * } * routing_parameters { * field: "app_profile_id" @@ -299,7 +299,7 @@ class RoutingRule extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\RoutingParameter>|\Google\Protobuf\Internal\RepeatedField $routing_parameters + * @type \Google\Api\RoutingParameter[] $routing_parameters * A collection of Routing Parameter specifications. * **NOTE:** If multiple Routing Parameters describe the same key * (via the `path_template` field or via the `field` field when @@ -322,7 +322,7 @@ public function __construct($data = NULL) { * See the examples for more details. * * Generated from protobuf field repeated .google.api.RoutingParameter routing_parameters = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\RoutingParameter> */ public function getRoutingParameters() { @@ -338,7 +338,7 @@ public function getRoutingParameters() * See the examples for more details. * * Generated from protobuf field repeated .google.api.RoutingParameter routing_parameters = 2; - * @param array<\Google\Api\RoutingParameter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\RoutingParameter[] $var * @return $this */ public function setRoutingParameters($var) diff --git a/CommonProtos/src/Api/RubySettings.php b/CommonProtos/src/Api/RubySettings.php index 2ca343c26451..2bf1340bde94 100644 --- a/CommonProtos/src/Api/RubySettings.php +++ b/CommonProtos/src/Api/RubySettings.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for Ruby client libraries. diff --git a/CommonProtos/src/Api/SelectiveGapicGeneration.php b/CommonProtos/src/Api/SelectiveGapicGeneration.php index c6ababaacaa3..a6cbea6126c3 100644 --- a/CommonProtos/src/Api/SelectiveGapicGeneration.php +++ b/CommonProtos/src/Api/SelectiveGapicGeneration.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message is used to configure the generation of a subset of the RPCs in @@ -41,7 +41,7 @@ class SelectiveGapicGeneration extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $methods + * @type string[] $methods * An allowlist of the fully qualified names of RPCs that should be included * on public client surfaces. * @type bool $generate_omitted_as_internal @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * on public client surfaces. * * Generated from protobuf field repeated string methods = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMethods() { @@ -75,7 +75,7 @@ public function getMethods() * on public client surfaces. * * Generated from protobuf field repeated string methods = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMethods($var) diff --git a/CommonProtos/src/Api/Service.php b/CommonProtos/src/Api/Service.php index c7ec18eea6d8..61c3d3fc1de6 100644 --- a/CommonProtos/src/Api/Service.php +++ b/CommonProtos/src/Api/Service.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Service` is the root object of Google API service configuration (service @@ -251,13 +251,13 @@ class Service extends \Google\Protobuf\Internal\Message * by the client for tracking purpose. Must be no longer than 63 characters * and only lower case letters, digits, '.', '_' and '-' are allowed. If * empty, the server may choose to generate one instead. - * @type array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $apis + * @type \Google\Protobuf\Api[] $apis * A list of API interfaces exported by this service. Only the `name` field * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by * the configuration author, as the remaining fields will be derived from the * IDL during the normalization process. It is an error to specify an API * interface here which cannot be resolved against the associated IDL files. - * @type array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $types + * @type \Google\Protobuf\Type[] $types * A list of all proto message types included in this API service. * Types referenced directly or indirectly by the `apis` are automatically * included. Messages which are not referenced but shall be included, such as @@ -265,7 +265,7 @@ class Service extends \Google\Protobuf\Internal\Message * name by the configuration author. Example: * types: * - name: google.protobuf.Int32 - * @type array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $enums + * @type \Google\Protobuf\Enum[] $enums * A list of all enum types included in this API service. Enums referenced * directly or indirectly by the `apis` are automatically included. Enums * which are not referenced but shall be included should be listed here by @@ -286,17 +286,17 @@ class Service extends \Google\Protobuf\Internal\Message * Context configuration. * @type \Google\Api\Usage $usage * Configuration controlling usage of this service. - * @type array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $endpoints + * @type \Google\Api\Endpoint[] $endpoints * Configuration for network endpoints. If this is empty, then an endpoint * with the same name as the service is automatically generated to service all * defined APIs. * @type \Google\Api\Control $control * Configuration for the service control plane. - * @type array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $logs + * @type \Google\Api\LogDescriptor[] $logs * Defines the logs used by this service. - * @type array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $metrics + * @type \Google\Api\MetricDescriptor[] $metrics * Defines the metrics used by this service. - * @type array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $monitored_resources + * @type \Google\Api\MonitoredResourceDescriptor[] $monitored_resources * Defines the monitored resources used by this service. This is required * by the [Service.monitoring][google.api.Service.monitoring] and * [Service.logging][google.api.Service.logging] configurations. @@ -451,7 +451,7 @@ public function setId($var) * interface here which cannot be resolved against the associated IDL files. * * Generated from protobuf field repeated .google.protobuf.Api apis = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Api> */ public function getApis() { @@ -466,7 +466,7 @@ public function getApis() * interface here which cannot be resolved against the associated IDL files. * * Generated from protobuf field repeated .google.protobuf.Api apis = 3; - * @param array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Api[] $var * @return $this */ public function setApis($var) @@ -487,7 +487,7 @@ public function setApis($var) * - name: google.protobuf.Int32 * * Generated from protobuf field repeated .google.protobuf.Type types = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Type> */ public function getTypes() { @@ -504,7 +504,7 @@ public function getTypes() * - name: google.protobuf.Int32 * * Generated from protobuf field repeated .google.protobuf.Type types = 4; - * @param array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Type[] $var * @return $this */ public function setTypes($var) @@ -524,7 +524,7 @@ public function setTypes($var) * - name: google.someapi.v1.SomeEnum * * Generated from protobuf field repeated .google.protobuf.Enum enums = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Enum> */ public function getEnums() { @@ -540,7 +540,7 @@ public function getEnums() * - name: google.someapi.v1.SomeEnum * * Generated from protobuf field repeated .google.protobuf.Enum enums = 5; - * @param array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Enum[] $var * @return $this */ public function setEnums($var) @@ -809,7 +809,7 @@ public function setUsage($var) * defined APIs. * * Generated from protobuf field repeated .google.api.Endpoint endpoints = 18; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\Endpoint> */ public function getEndpoints() { @@ -822,7 +822,7 @@ public function getEndpoints() * defined APIs. * * Generated from protobuf field repeated .google.api.Endpoint endpoints = 18; - * @param array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\Endpoint[] $var * @return $this */ public function setEndpoints($var) @@ -873,7 +873,7 @@ public function setControl($var) * Defines the logs used by this service. * * Generated from protobuf field repeated .google.api.LogDescriptor logs = 23; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\LogDescriptor> */ public function getLogs() { @@ -884,7 +884,7 @@ public function getLogs() * Defines the logs used by this service. * * Generated from protobuf field repeated .google.api.LogDescriptor logs = 23; - * @param array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\LogDescriptor[] $var * @return $this */ public function setLogs($var) @@ -899,7 +899,7 @@ public function setLogs($var) * Defines the metrics used by this service. * * Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\MetricDescriptor> */ public function getMetrics() { @@ -910,7 +910,7 @@ public function getMetrics() * Defines the metrics used by this service. * * Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24; - * @param array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\MetricDescriptor[] $var * @return $this */ public function setMetrics($var) @@ -927,7 +927,7 @@ public function setMetrics($var) * [Service.logging][google.api.Service.logging] configurations. * * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\MonitoredResourceDescriptor> */ public function getMonitoredResources() { @@ -940,7 +940,7 @@ public function getMonitoredResources() * [Service.logging][google.api.Service.logging] configurations. * * Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; - * @param array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\MonitoredResourceDescriptor[] $var * @return $this */ public function setMonitoredResources($var) diff --git a/CommonProtos/src/Api/SourceInfo.php b/CommonProtos/src/Api/SourceInfo.php index 503f317bc37a..c97ca068abce 100644 --- a/CommonProtos/src/Api/SourceInfo.php +++ b/CommonProtos/src/Api/SourceInfo.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Source information used to create a Service Config @@ -28,7 +28,7 @@ class SourceInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $source_files + * @type \Google\Protobuf\Any[] $source_files * All files used during config generation. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * All files used during config generation. * * Generated from protobuf field repeated .google.protobuf.Any source_files = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Any> */ public function getSourceFiles() { @@ -52,7 +52,7 @@ public function getSourceFiles() * All files used during config generation. * * Generated from protobuf field repeated .google.protobuf.Any source_files = 1; - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Any[] $var * @return $this */ public function setSourceFiles($var) diff --git a/CommonProtos/src/Api/SystemParameter.php b/CommonProtos/src/Api/SystemParameter.php index e6828a272dc2..b8c30aa23950 100644 --- a/CommonProtos/src/Api/SystemParameter.php +++ b/CommonProtos/src/Api/SystemParameter.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Define a parameter's name and location. The parameter may be passed as either diff --git a/CommonProtos/src/Api/SystemParameterRule.php b/CommonProtos/src/Api/SystemParameterRule.php index b2b475ce79bc..ee62ecfc8335 100644 --- a/CommonProtos/src/Api/SystemParameterRule.php +++ b/CommonProtos/src/Api/SystemParameterRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Define a system parameter rule mapping system parameter definitions to @@ -47,7 +47,7 @@ class SystemParameterRule extends \Google\Protobuf\Internal\Message * methods in all APIs. * Refer to [selector][google.api.DocumentationRule.selector] for syntax * details. - * @type array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $parameters + * @type \Google\Api\SystemParameter[] $parameters * Define parameters. Multiple names may be defined for a parameter. * For a given method call, only one of them should be used. If multiple * names are used the behavior is implementation-dependent. @@ -100,7 +100,7 @@ public function setSelector($var) * parameter-dependent. * * Generated from protobuf field repeated .google.api.SystemParameter parameters = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\SystemParameter> */ public function getParameters() { @@ -115,7 +115,7 @@ public function getParameters() * parameter-dependent. * * Generated from protobuf field repeated .google.api.SystemParameter parameters = 2; - * @param array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\SystemParameter[] $var * @return $this */ public function setParameters($var) diff --git a/CommonProtos/src/Api/SystemParameters.php b/CommonProtos/src/Api/SystemParameters.php index 04a674c876ee..1b51eb267f85 100644 --- a/CommonProtos/src/Api/SystemParameters.php +++ b/CommonProtos/src/Api/SystemParameters.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ### System parameter configuration @@ -53,7 +53,7 @@ class SystemParameters extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\SystemParameterRule[] $rules * Define system parameters. * The parameters defined here will override the default parameters * implemented by the system. If this field is missing from the service @@ -108,7 +108,7 @@ public function __construct($data = NULL) { * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.SystemParameterRule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\SystemParameterRule> */ public function getRules() { @@ -140,7 +140,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.SystemParameterRule rules = 1; - * @param array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\SystemParameterRule[] $var * @return $this */ public function setRules($var) diff --git a/CommonProtos/src/Api/TypeReference.php b/CommonProtos/src/Api/TypeReference.php index 1ce287b6c878..5f190607061a 100644 --- a/CommonProtos/src/Api/TypeReference.php +++ b/CommonProtos/src/Api/TypeReference.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A reference to a message type, for use in [FieldInfo][google.api.FieldInfo]. diff --git a/CommonProtos/src/Api/Usage.php b/CommonProtos/src/Api/Usage.php index 0ebe664e1ee2..e5d7e71c46b6 100644 --- a/CommonProtos/src/Api/Usage.php +++ b/CommonProtos/src/Api/Usage.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration controlling usage of a service. @@ -54,7 +54,7 @@ class Usage extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $requirements + * @type string[] $requirements * Requirements that must be satisfied before a consumer project can use the * service. Each requirement is of the form /; * for example 'serviceusage.googleapis.com/billing-enabled'. @@ -63,7 +63,7 @@ class Usage extends \Google\Protobuf\Internal\Message * Other Google APIs should include * "serviceusage.googleapis.com/tos/universal". Additional ToS can be * included based on the business needs. - * @type array<\Google\Api\UsageRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\UsageRule[] $rules * A list of usage rules that apply to individual API methods. * **NOTE:** All service configuration rules follow "last one wins" order. * @type string $producer_notification_channel @@ -92,7 +92,7 @@ public function __construct($data = NULL) { * included based on the business needs. * * Generated from protobuf field repeated string requirements = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRequirements() { @@ -110,7 +110,7 @@ public function getRequirements() * included based on the business needs. * * Generated from protobuf field repeated string requirements = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRequirements($var) @@ -126,7 +126,7 @@ public function setRequirements($var) * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.UsageRule rules = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\UsageRule> */ public function getRules() { @@ -138,7 +138,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.UsageRule rules = 6; - * @param array<\Google\Api\UsageRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\UsageRule[] $var * @return $this */ public function setRules($var) diff --git a/CommonProtos/src/Api/UsageRule.php b/CommonProtos/src/Api/UsageRule.php index fcd4f54cc3b2..38a45ec79904 100644 --- a/CommonProtos/src/Api/UsageRule.php +++ b/CommonProtos/src/Api/UsageRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Usage configuration rules for the service. diff --git a/CommonProtos/src/Api/Visibility.php b/CommonProtos/src/Api/Visibility.php index b232df6c9dce..d5292914fc4b 100644 --- a/CommonProtos/src/Api/Visibility.php +++ b/CommonProtos/src/Api/Visibility.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Visibility` restricts service consumer's access to service elements, @@ -46,7 +46,7 @@ class Visibility extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Api\VisibilityRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Api\VisibilityRule[] $rules * A list of visibility rules that apply to individual API elements. * **NOTE:** All service configuration rules follow "last one wins" order. * } @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.VisibilityRule rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Api\VisibilityRule> */ public function getRules() { @@ -73,7 +73,7 @@ public function getRules() * **NOTE:** All service configuration rules follow "last one wins" order. * * Generated from protobuf field repeated .google.api.VisibilityRule rules = 1; - * @param array<\Google\Api\VisibilityRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Api\VisibilityRule[] $var * @return $this */ public function setRules($var) diff --git a/CommonProtos/src/Api/VisibilityRule.php b/CommonProtos/src/Api/VisibilityRule.php index 74c522fa610f..74bdc3e66882 100644 --- a/CommonProtos/src/Api/VisibilityRule.php +++ b/CommonProtos/src/Api/VisibilityRule.php @@ -5,8 +5,8 @@ namespace Google\Api; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A visibility rule provides visibility configuration for an individual API diff --git a/CommonProtos/src/Cloud/Iam/V1/AuditConfig.php b/CommonProtos/src/Cloud/Iam/V1/AuditConfig.php index b2594319efe0..ac3bee3b3c61 100644 --- a/CommonProtos/src/Cloud/Iam/V1/AuditConfig.php +++ b/CommonProtos/src/Cloud/Iam/V1/AuditConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the audit configuration for a service. @@ -26,7 +26,7 @@ * { * "log_type": "DATA_READ", * "exempted_members": [ - * "user:jose@example.com" + * "user:jose\@example.com" * ] * }, * { @@ -46,7 +46,7 @@ * { * "log_type": "DATA_WRITE", * "exempted_members": [ - * "user:aliya@example.com" + * "user:aliya\@example.com" * ] * } * ] @@ -54,8 +54,8 @@ * ] * } * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - * logging. It also exempts `jose@example.com` from DATA_READ logging, and - * `aliya@example.com` from DATA_WRITE logging. + * logging. It also exempts `jose\@example.com` from DATA_READ logging, and + * `aliya\@example.com` from DATA_WRITE logging. * * Generated from protobuf message google.iam.v1.AuditConfig */ @@ -86,7 +86,7 @@ class AuditConfig extends \Google\Protobuf\Internal\Message * Specifies a service that will be enabled for audit logging. * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. * `allServices` is a special value that covers all services. - * @type array<\Google\Cloud\Iam\V1\AuditLogConfig>|\Google\Protobuf\Internal\RepeatedField $audit_log_configs + * @type \Google\Cloud\Iam\V1\AuditLogConfig[] $audit_log_configs * The configuration for logging of each type of permission. * } */ @@ -129,7 +129,7 @@ public function setService($var) * The configuration for logging of each type of permission. * * Generated from protobuf field repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Iam\V1\AuditLogConfig> */ public function getAuditLogConfigs() { @@ -140,7 +140,7 @@ public function getAuditLogConfigs() * The configuration for logging of each type of permission. * * Generated from protobuf field repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - * @param array<\Google\Cloud\Iam\V1\AuditLogConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Iam\V1\AuditLogConfig[] $var * @return $this */ public function setAuditLogConfigs($var) diff --git a/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta.php b/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta.php index 02c622ef2201..21a0626812ee 100644 --- a/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta.php +++ b/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * One delta entry for AuditConfig. Each individual change (only one diff --git a/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php b/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php index ffce349b238f..7f92d4fb9d3a 100644 --- a/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php +++ b/CommonProtos/src/Cloud/Iam/V1/AuditConfigDelta/Action.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig.php b/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig.php index 83b994045657..acf7ef30df02 100644 --- a/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig.php +++ b/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Provides the configuration for logging a type of permissions. @@ -16,7 +16,7 @@ * { * "log_type": "DATA_READ", * "exempted_members": [ - * "user:jose@example.com" + * "user:jose\@example.com" * ] * }, * { @@ -25,7 +25,7 @@ * ] * } * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - * jose@example.com from DATA_READ logging. + * jose\@example.com from DATA_READ logging. * * Generated from protobuf message google.iam.v1.AuditLogConfig */ @@ -55,7 +55,7 @@ class AuditLogConfig extends \Google\Protobuf\Internal\Message * * @type int $log_type * The log type that this config enables. - * @type array|\Google\Protobuf\Internal\RepeatedField $exempted_members + * @type string[] $exempted_members * Specifies the identities that do not cause logging for this type of * permission. * Follows the same format of @@ -100,7 +100,7 @@ public function setLogType($var) * [Binding.members][google.iam.v1.Binding.members]. * * Generated from protobuf field repeated string exempted_members = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExemptedMembers() { @@ -114,7 +114,7 @@ public function getExemptedMembers() * [Binding.members][google.iam.v1.Binding.members]. * * Generated from protobuf field repeated string exempted_members = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExemptedMembers($var) diff --git a/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php b/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php index f78a01bfba32..5a86bc2f1bfe 100644 --- a/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php +++ b/CommonProtos/src/Cloud/Iam/V1/AuditLogConfig/LogType.php @@ -67,4 +67,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Cloud/Iam/V1/Binding.php b/CommonProtos/src/Cloud/Iam/V1/Binding.php index af64546bd212..29ee4fafde06 100644 --- a/CommonProtos/src/Cloud/Iam/V1/Binding.php +++ b/CommonProtos/src/Cloud/Iam/V1/Binding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Associates `members`, or principals, with a `role`. @@ -30,26 +30,26 @@ class Binding extends \Google\Protobuf\Internal\Message * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice@example.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service - * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. - * For example, `admins@example.com`. + * For example, `admins\@example.com`. * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a user that has been recently deleted. For - * example, `alice@example.com?uid=123456789012345678901`. If the user is + * example, `alice\@example.com?uid=123456789012345678901`. If the user is * recovered, this value reverts to `user:{emailid}` and the recovered user * retains the role in the binding. * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus * unique identifier) representing a service account that has been recently * deleted. For example, - * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + * `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`. * If the service account is undeleted, this value reverts to * `serviceAccount:{emailid}` and the undeleted service account retains the * role in the binding. * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a Google group that has been recently - * deleted. For example, `admins@example.com?uid=123456789012345678901`. If + * deleted. For example, `admins\@example.com?uid=123456789012345678901`. If * the group is recovered, this value reverts to `group:{emailid}` and the * recovered group retains the role in the binding. * * `domain:{domain}`: The G Suite domain (primary) that represents all the @@ -82,7 +82,7 @@ class Binding extends \Google\Protobuf\Internal\Message * @type string $role * Role that is assigned to the list of `members`, or principals. * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. - * @type array|\Google\Protobuf\Internal\RepeatedField $members + * @type string[] $members * Specifies the principals requesting access for a Google Cloud resource. * `members` can have the following values: * * `allUsers`: A special identifier that represents anyone who is @@ -90,26 +90,26 @@ class Binding extends \Google\Protobuf\Internal\Message * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice@example.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service - * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. - * For example, `admins@example.com`. + * For example, `admins\@example.com`. * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a user that has been recently deleted. For - * example, `alice@example.com?uid=123456789012345678901`. If the user is + * example, `alice\@example.com?uid=123456789012345678901`. If the user is * recovered, this value reverts to `user:{emailid}` and the recovered user * retains the role in the binding. * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus * unique identifier) representing a service account that has been recently * deleted. For example, - * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + * `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`. * If the service account is undeleted, this value reverts to * `serviceAccount:{emailid}` and the undeleted service account retains the * role in the binding. * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a Google group that has been recently - * deleted. For example, `admins@example.com?uid=123456789012345678901`. If + * deleted. For example, `admins\@example.com?uid=123456789012345678901`. If * the group is recovered, this value reverts to `group:{emailid}` and the * recovered group retains the role in the binding. * * `domain:{domain}`: The G Suite domain (primary) that represents all the @@ -167,33 +167,33 @@ public function setRole($var) * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice@example.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service - * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. - * For example, `admins@example.com`. + * For example, `admins\@example.com`. * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a user that has been recently deleted. For - * example, `alice@example.com?uid=123456789012345678901`. If the user is + * example, `alice\@example.com?uid=123456789012345678901`. If the user is * recovered, this value reverts to `user:{emailid}` and the recovered user * retains the role in the binding. * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus * unique identifier) representing a service account that has been recently * deleted. For example, - * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + * `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`. * If the service account is undeleted, this value reverts to * `serviceAccount:{emailid}` and the undeleted service account retains the * role in the binding. * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a Google group that has been recently - * deleted. For example, `admins@example.com?uid=123456789012345678901`. If + * deleted. For example, `admins\@example.com?uid=123456789012345678901`. If * the group is recovered, this value reverts to `group:{emailid}` and the * recovered group retains the role in the binding. * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * Generated from protobuf field repeated string members = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMembers() { @@ -208,33 +208,33 @@ public function getMembers() * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice@example.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service - * account. For example, `my-other-app@appspot.gserviceaccount.com`. + * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. - * For example, `admins@example.com`. + * For example, `admins\@example.com`. * * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a user that has been recently deleted. For - * example, `alice@example.com?uid=123456789012345678901`. If the user is + * example, `alice\@example.com?uid=123456789012345678901`. If the user is * recovered, this value reverts to `user:{emailid}` and the recovered user * retains the role in the binding. * * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus * unique identifier) representing a service account that has been recently * deleted. For example, - * `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + * `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`. * If the service account is undeleted, this value reverts to * `serviceAccount:{emailid}` and the undeleted service account retains the * role in the binding. * * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique * identifier) representing a Google group that has been recently - * deleted. For example, `admins@example.com?uid=123456789012345678901`. If + * deleted. For example, `admins\@example.com?uid=123456789012345678901`. If * the group is recovered, this value reverts to `group:{emailid}` and the * recovered group retains the role in the binding. * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * Generated from protobuf field repeated string members = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMembers($var) diff --git a/CommonProtos/src/Cloud/Iam/V1/BindingDelta.php b/CommonProtos/src/Cloud/Iam/V1/BindingDelta.php index 3993a7f2e3e4..4563d6089a6e 100644 --- a/CommonProtos/src/Cloud/Iam/V1/BindingDelta.php +++ b/CommonProtos/src/Cloud/Iam/V1/BindingDelta.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * One delta entry for Binding. Each individual change (only one member in each diff --git a/CommonProtos/src/Cloud/Iam/V1/BindingDelta/Action.php b/CommonProtos/src/Cloud/Iam/V1/BindingDelta/Action.php index f119696bf524..18b7295093b6 100644 --- a/CommonProtos/src/Cloud/Iam/V1/BindingDelta/Action.php +++ b/CommonProtos/src/Cloud/Iam/V1/BindingDelta/Action.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CommonProtos/src/Cloud/Iam/V1/GetIamPolicyRequest.php b/CommonProtos/src/Cloud/Iam/V1/GetIamPolicyRequest.php index d74e0e887901..231483b15f0c 100644 --- a/CommonProtos/src/Cloud/Iam/V1/GetIamPolicyRequest.php +++ b/CommonProtos/src/Cloud/Iam/V1/GetIamPolicyRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `GetIamPolicy` method. diff --git a/CommonProtos/src/Cloud/Iam/V1/GetPolicyOptions.php b/CommonProtos/src/Cloud/Iam/V1/GetPolicyOptions.php index a2600d0ff383..0b245e12e1a2 100644 --- a/CommonProtos/src/Cloud/Iam/V1/GetPolicyOptions.php +++ b/CommonProtos/src/Cloud/Iam/V1/GetPolicyOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encapsulates settings provided to GetIamPolicy. diff --git a/CommonProtos/src/Cloud/Iam/V1/Policy.php b/CommonProtos/src/Cloud/Iam/V1/Policy.php index 8b4633b798fa..72e7c3f0186d 100644 --- a/CommonProtos/src/Cloud/Iam/V1/Policy.php +++ b/CommonProtos/src/Cloud/Iam/V1/Policy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An Identity and Access Management (IAM) policy, which specifies access @@ -30,16 +30,16 @@ * { * "role": "roles/resourcemanager.organizationAdmin", * "members": [ - * "user:mike@example.com", - * "group:admins@example.com", + * "user:mike\@example.com", + * "group:admins\@example.com", * "domain:google.com", - * "serviceAccount:my-project-id@appspot.gserviceaccount.com" + * "serviceAccount:my-project-id\@appspot.gserviceaccount.com" * ] * }, * { * "role": "roles/resourcemanager.organizationViewer", * "members": [ - * "user:eve@example.com" + * "user:eve\@example.com" * ], * "condition": { * "title": "expirable access", @@ -57,13 +57,13 @@ * ``` * bindings: * - members: - * - user:mike@example.com - * - group:admins@example.com + * - user:mike\@example.com + * - group:admins\@example.com * - domain:google.com - * - serviceAccount:my-project-id@appspot.gserviceaccount.com + * - serviceAccount:my-project-id\@appspot.gserviceaccount.com * role: roles/resourcemanager.organizationAdmin * - members: - * - user:eve@example.com + * - user:eve\@example.com * role: roles/resourcemanager.organizationViewer * condition: * title: expirable access @@ -110,7 +110,7 @@ class Policy extends \Google\Protobuf\Internal\Message * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 * of these principals can be Google groups. Each occurrence of a principal * counts towards these limits. For example, if the `bindings` grant 50 - * different roles to `user:alice@example.com`, and not to any other + * different roles to `user:alice\@example.com`, and not to any other * principal, then you can add another 1,450 principals to the `bindings` in * the `Policy`. * @@ -166,17 +166,17 @@ class Policy extends \Google\Protobuf\Internal\Message * To learn which resources support conditions in their IAM policies, see the * [IAM * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * @type array<\Google\Cloud\Iam\V1\Binding>|\Google\Protobuf\Internal\RepeatedField $bindings + * @type \Google\Cloud\Iam\V1\Binding[] $bindings * Associates a list of `members`, or principals, with a `role`. Optionally, * may specify a `condition` that determines how and when the `bindings` are * applied. Each of the `bindings` must contain at least one principal. * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 * of these principals can be Google groups. Each occurrence of a principal * counts towards these limits. For example, if the `bindings` grant 50 - * different roles to `user:alice@example.com`, and not to any other + * different roles to `user:alice\@example.com`, and not to any other * principal, then you can add another 1,450 principals to the `bindings` in * the `Policy`. - * @type array<\Google\Cloud\Iam\V1\AuditConfig>|\Google\Protobuf\Internal\RepeatedField $audit_configs + * @type \Google\Cloud\Iam\V1\AuditConfig[] $audit_configs * Specifies cloud audit logging configuration for this policy. * @type string $etag * `etag` is used for optimistic concurrency control as a way to help @@ -266,12 +266,12 @@ public function setVersion($var) * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 * of these principals can be Google groups. Each occurrence of a principal * counts towards these limits. For example, if the `bindings` grant 50 - * different roles to `user:alice@example.com`, and not to any other + * different roles to `user:alice\@example.com`, and not to any other * principal, then you can add another 1,450 principals to the `bindings` in * the `Policy`. * * Generated from protobuf field repeated .google.iam.v1.Binding bindings = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Iam\V1\Binding> */ public function getBindings() { @@ -285,12 +285,12 @@ public function getBindings() * The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 * of these principals can be Google groups. Each occurrence of a principal * counts towards these limits. For example, if the `bindings` grant 50 - * different roles to `user:alice@example.com`, and not to any other + * different roles to `user:alice\@example.com`, and not to any other * principal, then you can add another 1,450 principals to the `bindings` in * the `Policy`. * * Generated from protobuf field repeated .google.iam.v1.Binding bindings = 4; - * @param array<\Google\Cloud\Iam\V1\Binding>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Iam\V1\Binding[] $var * @return $this */ public function setBindings($var) @@ -305,7 +305,7 @@ public function setBindings($var) * Specifies cloud audit logging configuration for this policy. * * Generated from protobuf field repeated .google.iam.v1.AuditConfig audit_configs = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Iam\V1\AuditConfig> */ public function getAuditConfigs() { @@ -316,7 +316,7 @@ public function getAuditConfigs() * Specifies cloud audit logging configuration for this policy. * * Generated from protobuf field repeated .google.iam.v1.AuditConfig audit_configs = 6; - * @param array<\Google\Cloud\Iam\V1\AuditConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Iam\V1\AuditConfig[] $var * @return $this */ public function setAuditConfigs($var) diff --git a/CommonProtos/src/Cloud/Iam/V1/PolicyDelta.php b/CommonProtos/src/Cloud/Iam/V1/PolicyDelta.php index dde1c0f686b9..8f421643b836 100644 --- a/CommonProtos/src/Cloud/Iam/V1/PolicyDelta.php +++ b/CommonProtos/src/Cloud/Iam/V1/PolicyDelta.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The difference delta between two policies. @@ -34,9 +34,9 @@ class PolicyDelta extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Iam\V1\BindingDelta>|\Google\Protobuf\Internal\RepeatedField $binding_deltas + * @type \Google\Cloud\Iam\V1\BindingDelta[] $binding_deltas * The delta for Bindings between two policies. - * @type array<\Google\Cloud\Iam\V1\AuditConfigDelta>|\Google\Protobuf\Internal\RepeatedField $audit_config_deltas + * @type \Google\Cloud\Iam\V1\AuditConfigDelta[] $audit_config_deltas * The delta for AuditConfigs between two policies. * } */ @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The delta for Bindings between two policies. * * Generated from protobuf field repeated .google.iam.v1.BindingDelta binding_deltas = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Iam\V1\BindingDelta> */ public function getBindingDeltas() { @@ -60,7 +60,7 @@ public function getBindingDeltas() * The delta for Bindings between two policies. * * Generated from protobuf field repeated .google.iam.v1.BindingDelta binding_deltas = 1; - * @param array<\Google\Cloud\Iam\V1\BindingDelta>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Iam\V1\BindingDelta[] $var * @return $this */ public function setBindingDeltas($var) @@ -75,7 +75,7 @@ public function setBindingDeltas($var) * The delta for AuditConfigs between two policies. * * Generated from protobuf field repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Iam\V1\AuditConfigDelta> */ public function getAuditConfigDeltas() { @@ -86,7 +86,7 @@ public function getAuditConfigDeltas() * The delta for AuditConfigs between two policies. * * Generated from protobuf field repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - * @param array<\Google\Cloud\Iam\V1\AuditConfigDelta>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Iam\V1\AuditConfigDelta[] $var * @return $this */ public function setAuditConfigDeltas($var) diff --git a/CommonProtos/src/Cloud/Iam/V1/ResourcePolicyMember.php b/CommonProtos/src/Cloud/Iam/V1/ResourcePolicyMember.php index 88fbd7b3ca4c..c6deaf5bf7c8 100644 --- a/CommonProtos/src/Cloud/Iam/V1/ResourcePolicyMember.php +++ b/CommonProtos/src/Cloud/Iam/V1/ResourcePolicyMember.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Output-only policy member strings of a Google Cloud resource's built-in diff --git a/CommonProtos/src/Cloud/Iam/V1/SetIamPolicyRequest.php b/CommonProtos/src/Cloud/Iam/V1/SetIamPolicyRequest.php index 3bc7a5a605ee..e03e34a70735 100644 --- a/CommonProtos/src/Cloud/Iam/V1/SetIamPolicyRequest.php +++ b/CommonProtos/src/Cloud/Iam/V1/SetIamPolicyRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `SetIamPolicy` method. diff --git a/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php b/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php index dba237c24c55..cc98a3ddb997 100644 --- a/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php +++ b/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for `TestIamPermissions` method. @@ -41,7 +41,7 @@ class TestIamPermissionsRequest extends \Google\Protobuf\Internal\Message * @type string $resource * REQUIRED: The resource for which the policy detail is being requested. * See the operation documentation for the appropriate value for this field. - * @type array|\Google\Protobuf\Internal\RepeatedField $permissions + * @type string[] $permissions * The set of permissions to check for the `resource`. Permissions with * wildcards (such as '*' or 'storage.*') are not allowed. For more * information see @@ -88,7 +88,7 @@ public function setResource($var) * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). * * Generated from protobuf field repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPermissions() { @@ -102,7 +102,7 @@ public function getPermissions() * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). * * Generated from protobuf field repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPermissions($var) diff --git a/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php b/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php index fe3a85e688d7..310290095216 100644 --- a/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php +++ b/CommonProtos/src/Cloud/Iam/V1/TestIamPermissionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Iam\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for `TestIamPermissions` method. @@ -29,7 +29,7 @@ class TestIamPermissionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $permissions + * @type string[] $permissions * A subset of `TestPermissionsRequest.permissions` that the caller is * allowed. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * allowed. * * Generated from protobuf field repeated string permissions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPermissions() { @@ -56,7 +56,7 @@ public function getPermissions() * allowed. * * Generated from protobuf field repeated string permissions = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPermissions($var) diff --git a/CommonProtos/src/Cloud/Location/GetLocationRequest.php b/CommonProtos/src/Cloud/Location/GetLocationRequest.php index cb43058ee09f..a83de9e37c51 100644 --- a/CommonProtos/src/Cloud/Location/GetLocationRequest.php +++ b/CommonProtos/src/Cloud/Location/GetLocationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Location; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for [Locations.GetLocation][google.cloud.location.Locations.GetLocation]. diff --git a/CommonProtos/src/Cloud/Location/ListLocationsRequest.php b/CommonProtos/src/Cloud/Location/ListLocationsRequest.php index 927987267b9c..d7167a00f1d0 100644 --- a/CommonProtos/src/Cloud/Location/ListLocationsRequest.php +++ b/CommonProtos/src/Cloud/Location/ListLocationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Location; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for [Locations.ListLocations][google.cloud.location.Locations.ListLocations]. diff --git a/CommonProtos/src/Cloud/Location/ListLocationsResponse.php b/CommonProtos/src/Cloud/Location/ListLocationsResponse.php index 169a8e736cda..66a1b5882369 100644 --- a/CommonProtos/src/Cloud/Location/ListLocationsResponse.php +++ b/CommonProtos/src/Cloud/Location/ListLocationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Location; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response message for [Locations.ListLocations][google.cloud.location.Locations.ListLocations]. @@ -34,7 +34,7 @@ class ListLocationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Location\Location>|\Google\Protobuf\Internal\RepeatedField $locations + * @type \Google\Cloud\Location\Location[] $locations * A list of locations that matches the specified filter in the request. * @type string $next_page_token * The standard List next-page token. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * A list of locations that matches the specified filter in the request. * * Generated from protobuf field repeated .google.cloud.location.Location locations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Location\Location> */ public function getLocations() { @@ -60,7 +60,7 @@ public function getLocations() * A list of locations that matches the specified filter in the request. * * Generated from protobuf field repeated .google.cloud.location.Location locations = 1; - * @param array<\Google\Cloud\Location\Location>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Location\Location[] $var * @return $this */ public function setLocations($var) diff --git a/CommonProtos/src/Cloud/Location/Location.php b/CommonProtos/src/Cloud/Location/Location.php index f953e2ef771b..fb02c317e56f 100644 --- a/CommonProtos/src/Cloud/Location/Location.php +++ b/CommonProtos/src/Cloud/Location/Location.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Location; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A resource that represents Google Cloud Platform location. diff --git a/CommonProtos/src/Cloud/Logging/Type/HttpRequest.php b/CommonProtos/src/Cloud/Logging/Type/HttpRequest.php index 09073406ab98..6ccdd4078b5b 100644 --- a/CommonProtos/src/Cloud/Logging/Type/HttpRequest.php +++ b/CommonProtos/src/Cloud/Logging/Type/HttpRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Logging\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A common proto for logging HTTP requests. Only contains semantics diff --git a/CommonProtos/src/Iam/V1/Logging/AuditData.php b/CommonProtos/src/Iam/V1/Logging/AuditData.php index 447ed72c23cc..48aae57bd29f 100644 --- a/CommonProtos/src/Iam/V1/Logging/AuditData.php +++ b/CommonProtos/src/Iam/V1/Logging/AuditData.php @@ -5,8 +5,8 @@ namespace Google\Iam\V1\Logging; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Audit log information specific to Cloud IAM. This message is serialized diff --git a/CommonProtos/src/Rpc/BadRequest.php b/CommonProtos/src/Rpc/BadRequest.php index 03e55d6ee0da..de1d80815113 100644 --- a/CommonProtos/src/Rpc/BadRequest.php +++ b/CommonProtos/src/Rpc/BadRequest.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes violations in a client request. This error type focuses on the @@ -29,7 +29,7 @@ class BadRequest extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\BadRequest\FieldViolation>|\Google\Protobuf\Internal\RepeatedField $field_violations + * @type \Google\Rpc\BadRequest\FieldViolation[] $field_violations * Describes all violations in a client request. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * Describes all violations in a client request. * * Generated from protobuf field repeated .google.rpc.BadRequest.FieldViolation field_violations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\BadRequest\FieldViolation> */ public function getFieldViolations() { @@ -53,7 +53,7 @@ public function getFieldViolations() * Describes all violations in a client request. * * Generated from protobuf field repeated .google.rpc.BadRequest.FieldViolation field_violations = 1; - * @param array<\Google\Rpc\BadRequest\FieldViolation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\BadRequest\FieldViolation[] $var * @return $this */ public function setFieldViolations($var) diff --git a/CommonProtos/src/Rpc/BadRequest/FieldViolation.php b/CommonProtos/src/Rpc/BadRequest/FieldViolation.php index 51d5843e9fad..7c1dde3c12cd 100644 --- a/CommonProtos/src/Rpc/BadRequest/FieldViolation.php +++ b/CommonProtos/src/Rpc/BadRequest/FieldViolation.php @@ -5,8 +5,8 @@ namespace Google\Rpc\BadRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message type used to describe a single bad request field. @@ -313,4 +313,3 @@ public function setLocalizedMessage($var) } - diff --git a/CommonProtos/src/Rpc/Context/AttributeContext.php b/CommonProtos/src/Rpc/Context/AttributeContext.php index a18f3036415f..59cb20720c8f 100644 --- a/CommonProtos/src/Rpc/Context/AttributeContext.php +++ b/CommonProtos/src/Rpc/Context/AttributeContext.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message defines the standard attribute vocabulary for Google APIs. @@ -112,7 +112,7 @@ class AttributeContext extends \Google\Protobuf\Internal\Message * primary one. * @type \Google\Rpc\Context\AttributeContext\Api $api * Represents an API operation that is involved to a network activity. - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $extensions + * @type \Google\Protobuf\Any[] $extensions * Supports extensions for advanced use cases, such as logs and metrics. * } */ @@ -393,7 +393,7 @@ public function setApi($var) * Supports extensions for advanced use cases, such as logs and metrics. * * Generated from protobuf field repeated .google.protobuf.Any extensions = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Any> */ public function getExtensions() { @@ -404,7 +404,7 @@ public function getExtensions() * Supports extensions for advanced use cases, such as logs and metrics. * * Generated from protobuf field repeated .google.protobuf.Any extensions = 8; - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Any[] $var * @return $this */ public function setExtensions($var) diff --git a/CommonProtos/src/Rpc/Context/AttributeContext/Api.php b/CommonProtos/src/Rpc/Context/AttributeContext/Api.php index 5cba422966d5..3f08a6e90ed9 100644 --- a/CommonProtos/src/Rpc/Context/AttributeContext/Api.php +++ b/CommonProtos/src/Rpc/Context/AttributeContext/Api.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context\AttributeContext; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message defines attributes associated with API operations, such as @@ -193,4 +193,3 @@ public function setVersion($var) } - diff --git a/CommonProtos/src/Rpc/Context/AttributeContext/Auth.php b/CommonProtos/src/Rpc/Context/AttributeContext/Auth.php index dd42490ff6ea..07a824302c8d 100644 --- a/CommonProtos/src/Rpc/Context/AttributeContext/Auth.php +++ b/CommonProtos/src/Rpc/Context/AttributeContext/Auth.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context\AttributeContext; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message defines request authentication attributes. Terminology is @@ -62,7 +62,7 @@ class Auth extends \Google\Protobuf\Internal\Message * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', + * 'email': 'jsmith\@example.com', * 'iat': 1353601026, * 'exp': 1353604926} * SAML assertions are similarly specified, but with an identity provider @@ -95,7 +95,7 @@ class Auth extends \Google\Protobuf\Internal\Message * delimited, with `/` percent-encoded within the subject fragment. For * Google accounts, the principal format is: * "https://accounts.google.com/{id}" - * @type array|\Google\Protobuf\Internal\RepeatedField $audiences + * @type string[] $audiences * The intended audience(s) for this authentication information. Reflects * the audience (`aud`) claim within a JWT. The audience * value(s) depends on the `issuer`, but typically include one or more of @@ -122,12 +122,12 @@ class Auth extends \Google\Protobuf\Internal\Message * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', + * 'email': 'jsmith\@example.com', * 'iat': 1353601026, * 'exp': 1353604926} * SAML assertions are similarly specified, but with an identity provider * dependent structure. - * @type array|\Google\Protobuf\Internal\RepeatedField $access_levels + * @type string[] $access_levels * A list of access level resource names that allow resources to be * accessed by authenticated requester. It is part of Secure GCP processing * for the incoming request. An access level string has the format: @@ -190,7 +190,7 @@ public function setPrincipal($var) * information provided. * * Generated from protobuf field repeated string audiences = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAudiences() { @@ -212,7 +212,7 @@ public function getAudiences() * information provided. * * Generated from protobuf field repeated string audiences = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAudiences($var) @@ -264,7 +264,7 @@ public function setPresenter($var) * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', + * 'email': 'jsmith\@example.com', * 'iat': 1353601026, * 'exp': 1353604926} * SAML assertions are similarly specified, but with an identity provider @@ -297,7 +297,7 @@ public function clearClaims() * 'sub': '113289723416554971153', * 'aud': ['123456789012', 'pubsub.googleapis.com'], * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', + * 'email': 'jsmith\@example.com', * 'iat': 1353601026, * 'exp': 1353604926} * SAML assertions are similarly specified, but with an identity provider @@ -324,7 +324,7 @@ public function setClaims($var) * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * * Generated from protobuf field repeated string access_levels = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAccessLevels() { @@ -340,7 +340,7 @@ public function getAccessLevels() * "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * * Generated from protobuf field repeated string access_levels = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAccessLevels($var) @@ -353,4 +353,3 @@ public function setAccessLevels($var) } - diff --git a/CommonProtos/src/Rpc/Context/AttributeContext/Peer.php b/CommonProtos/src/Rpc/Context/AttributeContext/Peer.php index 9d3e1b6e1301..2433710547ca 100644 --- a/CommonProtos/src/Rpc/Context/AttributeContext/Peer.php +++ b/CommonProtos/src/Rpc/Context/AttributeContext/Peer.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context\AttributeContext; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message defines attributes for a node that handles a network request. @@ -220,4 +220,3 @@ public function setRegionCode($var) } - diff --git a/CommonProtos/src/Rpc/Context/AttributeContext/Request.php b/CommonProtos/src/Rpc/Context/AttributeContext/Request.php index 928794a28087..9d0a1ed62e87 100644 --- a/CommonProtos/src/Rpc/Context/AttributeContext/Request.php +++ b/CommonProtos/src/Rpc/Context/AttributeContext/Request.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context\AttributeContext; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message defines attributes for an HTTP request. If the actual @@ -505,4 +505,3 @@ public function setAuth($var) } - diff --git a/CommonProtos/src/Rpc/Context/AttributeContext/Resource.php b/CommonProtos/src/Rpc/Context/AttributeContext/Resource.php index 4c1042436c31..c35da3f54dfc 100644 --- a/CommonProtos/src/Rpc/Context/AttributeContext/Resource.php +++ b/CommonProtos/src/Rpc/Context/AttributeContext/Resource.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context\AttributeContext; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message defines core attributes for a resource. A resource is an @@ -611,4 +611,3 @@ public function setLocation($var) } - diff --git a/CommonProtos/src/Rpc/Context/AttributeContext/Response.php b/CommonProtos/src/Rpc/Context/AttributeContext/Response.php index c632cf444cce..1745b961a0dd 100644 --- a/CommonProtos/src/Rpc/Context/AttributeContext/Response.php +++ b/CommonProtos/src/Rpc/Context/AttributeContext/Response.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context\AttributeContext; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message defines attributes for a typical network response. It @@ -246,4 +246,3 @@ public function setBackendLatency($var) } - diff --git a/CommonProtos/src/Rpc/Context/AuditContext.php b/CommonProtos/src/Rpc/Context/AuditContext.php index 3e9588a314f5..f0acfa4f0859 100644 --- a/CommonProtos/src/Rpc/Context/AuditContext.php +++ b/CommonProtos/src/Rpc/Context/AuditContext.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Context; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `AuditContext` provides information that is needed for audit logging. diff --git a/CommonProtos/src/Rpc/DebugInfo.php b/CommonProtos/src/Rpc/DebugInfo.php index 648967387795..1474948034c0 100644 --- a/CommonProtos/src/Rpc/DebugInfo.php +++ b/CommonProtos/src/Rpc/DebugInfo.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes additional debugging info. @@ -34,7 +34,7 @@ class DebugInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $stack_entries + * @type string[] $stack_entries * The stack trace entries indicating where the error occurred. * @type string $detail * Additional debugging information provided by the server. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The stack trace entries indicating where the error occurred. * * Generated from protobuf field repeated string stack_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getStackEntries() { @@ -60,7 +60,7 @@ public function getStackEntries() * The stack trace entries indicating where the error occurred. * * Generated from protobuf field repeated string stack_entries = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setStackEntries($var) diff --git a/CommonProtos/src/Rpc/ErrorInfo.php b/CommonProtos/src/Rpc/ErrorInfo.php index 83c969ca88b5..158c0be7387d 100644 --- a/CommonProtos/src/Rpc/ErrorInfo.php +++ b/CommonProtos/src/Rpc/ErrorInfo.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the cause of the error with structured details. diff --git a/CommonProtos/src/Rpc/Help.php b/CommonProtos/src/Rpc/Help.php index e01c5b26f3f2..35ea516f8e15 100644 --- a/CommonProtos/src/Rpc/Help.php +++ b/CommonProtos/src/Rpc/Help.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Provides links to documentation or for performing an out of band action. @@ -31,7 +31,7 @@ class Help extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\Help\Link>|\Google\Protobuf\Internal\RepeatedField $links + * @type \Google\Rpc\Help\Link[] $links * URL(s) pointing to additional information on handling the current error. * } */ @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * URL(s) pointing to additional information on handling the current error. * * Generated from protobuf field repeated .google.rpc.Help.Link links = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Help\Link> */ public function getLinks() { @@ -55,7 +55,7 @@ public function getLinks() * URL(s) pointing to additional information on handling the current error. * * Generated from protobuf field repeated .google.rpc.Help.Link links = 1; - * @param array<\Google\Rpc\Help\Link>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Help\Link[] $var * @return $this */ public function setLinks($var) diff --git a/CommonProtos/src/Rpc/Help/Link.php b/CommonProtos/src/Rpc/Help/Link.php index 1786b3fb02ca..fcfe169359da 100644 --- a/CommonProtos/src/Rpc/Help/Link.php +++ b/CommonProtos/src/Rpc/Help/Link.php @@ -5,8 +5,8 @@ namespace Google\Rpc\Help; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a URL link. @@ -99,4 +99,3 @@ public function setUrl($var) } - diff --git a/CommonProtos/src/Rpc/LocalizedMessage.php b/CommonProtos/src/Rpc/LocalizedMessage.php index e4fa20aba018..37fc07f3de28 100644 --- a/CommonProtos/src/Rpc/LocalizedMessage.php +++ b/CommonProtos/src/Rpc/LocalizedMessage.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Provides a localized error message that is safe to return to the user diff --git a/CommonProtos/src/Rpc/PreconditionFailure.php b/CommonProtos/src/Rpc/PreconditionFailure.php index cc82e73618f2..4ab7937f2645 100644 --- a/CommonProtos/src/Rpc/PreconditionFailure.php +++ b/CommonProtos/src/Rpc/PreconditionFailure.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes what preconditions have failed. @@ -31,7 +31,7 @@ class PreconditionFailure extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\PreconditionFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $violations + * @type \Google\Rpc\PreconditionFailure\Violation[] $violations * Describes all precondition violations. * } */ @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * Describes all precondition violations. * * Generated from protobuf field repeated .google.rpc.PreconditionFailure.Violation violations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\PreconditionFailure\Violation> */ public function getViolations() { @@ -55,7 +55,7 @@ public function getViolations() * Describes all precondition violations. * * Generated from protobuf field repeated .google.rpc.PreconditionFailure.Violation violations = 1; - * @param array<\Google\Rpc\PreconditionFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\PreconditionFailure\Violation[] $var * @return $this */ public function setViolations($var) diff --git a/CommonProtos/src/Rpc/PreconditionFailure/Violation.php b/CommonProtos/src/Rpc/PreconditionFailure/Violation.php index df35be2961a9..85aa5b103fca 100644 --- a/CommonProtos/src/Rpc/PreconditionFailure/Violation.php +++ b/CommonProtos/src/Rpc/PreconditionFailure/Violation.php @@ -5,8 +5,8 @@ namespace Google\Rpc\PreconditionFailure; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message type used to describe a single precondition failure. @@ -157,4 +157,3 @@ public function setDescription($var) } - diff --git a/CommonProtos/src/Rpc/QuotaFailure.php b/CommonProtos/src/Rpc/QuotaFailure.php index 7bb65617467e..92b235c711a2 100644 --- a/CommonProtos/src/Rpc/QuotaFailure.php +++ b/CommonProtos/src/Rpc/QuotaFailure.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes how a quota check failed. @@ -36,7 +36,7 @@ class QuotaFailure extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\QuotaFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $violations + * @type \Google\Rpc\QuotaFailure\Violation[] $violations * Describes all quota violations. * } */ @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * Describes all quota violations. * * Generated from protobuf field repeated .google.rpc.QuotaFailure.Violation violations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\QuotaFailure\Violation> */ public function getViolations() { @@ -60,7 +60,7 @@ public function getViolations() * Describes all quota violations. * * Generated from protobuf field repeated .google.rpc.QuotaFailure.Violation violations = 1; - * @param array<\Google\Rpc\QuotaFailure\Violation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\QuotaFailure\Violation[] $var * @return $this */ public function setViolations($var) diff --git a/CommonProtos/src/Rpc/QuotaFailure/Violation.php b/CommonProtos/src/Rpc/QuotaFailure/Violation.php index 576034846636..e4a1a705c92f 100644 --- a/CommonProtos/src/Rpc/QuotaFailure/Violation.php +++ b/CommonProtos/src/Rpc/QuotaFailure/Violation.php @@ -5,8 +5,8 @@ namespace Google\Rpc\QuotaFailure; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message type used to describe a single quota violation. For example, a @@ -498,4 +498,3 @@ public function setFutureQuotaValue($var) } - diff --git a/CommonProtos/src/Rpc/RequestInfo.php b/CommonProtos/src/Rpc/RequestInfo.php index effe01ddf822..04952a12129f 100644 --- a/CommonProtos/src/Rpc/RequestInfo.php +++ b/CommonProtos/src/Rpc/RequestInfo.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains metadata about the request that clients can attach when filing a bug diff --git a/CommonProtos/src/Rpc/ResourceInfo.php b/CommonProtos/src/Rpc/ResourceInfo.php index 3a7859ccd7f3..223b5cd01471 100644 --- a/CommonProtos/src/Rpc/ResourceInfo.php +++ b/CommonProtos/src/Rpc/ResourceInfo.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the resource that is being accessed. @@ -25,7 +25,7 @@ class ResourceInfo extends \Google\Protobuf\Internal\Message protected $resource_type = ''; /** * The name of the resource being accessed. For example, a shared calendar - * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current + * name: "example.com_4fghdhgsrgh\@group.calendar.google.com", if the current * error is * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * @@ -61,7 +61,7 @@ class ResourceInfo extends \Google\Protobuf\Internal\Message * of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * @type string $resource_name * The name of the resource being accessed. For example, a shared calendar - * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current + * name: "example.com_4fghdhgsrgh\@group.calendar.google.com", if the current * error is * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * @type string $owner @@ -111,7 +111,7 @@ public function setResourceType($var) /** * The name of the resource being accessed. For example, a shared calendar - * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current + * name: "example.com_4fghdhgsrgh\@group.calendar.google.com", if the current * error is * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * @@ -125,7 +125,7 @@ public function getResourceName() /** * The name of the resource being accessed. For example, a shared calendar - * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current + * name: "example.com_4fghdhgsrgh\@group.calendar.google.com", if the current * error is * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. * diff --git a/CommonProtos/src/Rpc/RetryInfo.php b/CommonProtos/src/Rpc/RetryInfo.php index 3d391bae0425..b661f080aa61 100644 --- a/CommonProtos/src/Rpc/RetryInfo.php +++ b/CommonProtos/src/Rpc/RetryInfo.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes when the clients can retry a failed request. Clients could ignore diff --git a/CommonProtos/src/Rpc/Status.php b/CommonProtos/src/Rpc/Status.php index 55b303898c0d..73d4800c42ab 100644 --- a/CommonProtos/src/Rpc/Status.php +++ b/CommonProtos/src/Rpc/Status.php @@ -5,8 +5,8 @@ namespace Google\Rpc; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `Status` type defines a logical error model that is suitable for @@ -58,7 +58,7 @@ class Status extends \Google\Protobuf\Internal\Message * user-facing error message should be localized and sent in the * [google.rpc.Status.details][google.rpc.Status.details] field, or localized * by the client. - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $details + * @type \Google\Protobuf\Any[] $details * A list of messages that carry the error details. There is a common set of * message types for APIs to use. * } @@ -133,7 +133,7 @@ public function setMessage($var) * message types for APIs to use. * * Generated from protobuf field repeated .google.protobuf.Any details = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Any> */ public function getDetails() { @@ -145,7 +145,7 @@ public function getDetails() * message types for APIs to use. * * Generated from protobuf field repeated .google.protobuf.Any details = 3; - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Any[] $var * @return $this */ public function setDetails($var) diff --git a/CommonProtos/src/Type/Color.php b/CommonProtos/src/Type/Color.php index 31c1a6e00996..68cd805dbc3b 100644 --- a/CommonProtos/src/Type/Color.php +++ b/CommonProtos/src/Type/Color.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a color in the RGBA color space. This representation is designed diff --git a/CommonProtos/src/Type/Date.php b/CommonProtos/src/Type/Date.php index ba03e77a0c0b..a2fb0c1d337b 100644 --- a/CommonProtos/src/Type/Date.php +++ b/CommonProtos/src/Type/Date.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a whole or partial calendar date, such as a birthday. The time of diff --git a/CommonProtos/src/Type/DateTime.php b/CommonProtos/src/Type/DateTime.php index ed211b677e2e..26eb06f4e743 100644 --- a/CommonProtos/src/Type/DateTime.php +++ b/CommonProtos/src/Type/DateTime.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents civil time (or occasionally physical time). diff --git a/CommonProtos/src/Type/Decimal.php b/CommonProtos/src/Type/Decimal.php index 84e0fec4823b..eb5c1780de8a 100644 --- a/CommonProtos/src/Type/Decimal.php +++ b/CommonProtos/src/Type/Decimal.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of a decimal value, such as 2.5. Clients may convert values diff --git a/CommonProtos/src/Type/Expr.php b/CommonProtos/src/Type/Expr.php index e47299b96d3c..036c5cf70d7d 100644 --- a/CommonProtos/src/Type/Expr.php +++ b/CommonProtos/src/Type/Expr.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a textual expression in the Common Expression Language (CEL) diff --git a/CommonProtos/src/Type/Fraction.php b/CommonProtos/src/Type/Fraction.php index f7aae2112ef1..02557cab0470 100644 --- a/CommonProtos/src/Type/Fraction.php +++ b/CommonProtos/src/Type/Fraction.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a fraction in terms of a numerator divided by a denominator. diff --git a/CommonProtos/src/Type/Interval.php b/CommonProtos/src/Type/Interval.php index 89fb028c973f..e6cfa8578c98 100644 --- a/CommonProtos/src/Type/Interval.php +++ b/CommonProtos/src/Type/Interval.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a time interval, encoded as a Timestamp start (inclusive) and a diff --git a/CommonProtos/src/Type/LatLng.php b/CommonProtos/src/Type/LatLng.php index 3725fafd057c..0d32887832b4 100644 --- a/CommonProtos/src/Type/LatLng.php +++ b/CommonProtos/src/Type/LatLng.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An object that represents a latitude/longitude pair. This is expressed as a diff --git a/CommonProtos/src/Type/LocalizedText.php b/CommonProtos/src/Type/LocalizedText.php index 00545c6c5c02..93d8df3e876d 100644 --- a/CommonProtos/src/Type/LocalizedText.php +++ b/CommonProtos/src/Type/LocalizedText.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Localized variant of a text in a particular language. diff --git a/CommonProtos/src/Type/Money.php b/CommonProtos/src/Type/Money.php index 826c9547d6c9..47e3f3acdd9a 100644 --- a/CommonProtos/src/Type/Money.php +++ b/CommonProtos/src/Type/Money.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an amount of money with its currency type. diff --git a/CommonProtos/src/Type/PhoneNumber.php b/CommonProtos/src/Type/PhoneNumber.php index 8f4289d670c3..3fbba6370a47 100644 --- a/CommonProtos/src/Type/PhoneNumber.php +++ b/CommonProtos/src/Type/PhoneNumber.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An object representing a phone number, suitable as an API wire format. diff --git a/CommonProtos/src/Type/PhoneNumber/ShortCode.php b/CommonProtos/src/Type/PhoneNumber/ShortCode.php index 1ac9de2dd230..2f69623b3d30 100644 --- a/CommonProtos/src/Type/PhoneNumber/ShortCode.php +++ b/CommonProtos/src/Type/PhoneNumber/ShortCode.php @@ -5,8 +5,8 @@ namespace Google\Type\PhoneNumber; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An object representing a short code, which is a phone number that is @@ -122,4 +122,3 @@ public function setNumber($var) } - diff --git a/CommonProtos/src/Type/PostalAddress.php b/CommonProtos/src/Type/PostalAddress.php index 1fdaf265dd20..063fbac92ef4 100644 --- a/CommonProtos/src/Type/PostalAddress.php +++ b/CommonProtos/src/Type/PostalAddress.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a postal address, e.g. for postal delivery or payments addresses. @@ -201,7 +201,7 @@ class PostalAddress extends \Google\Protobuf\Internal\Message * @type string $sublocality * Optional. Sublocality of the address. * For example, this can be neighborhoods, boroughs, districts. - * @type array|\Google\Protobuf\Internal\RepeatedField $address_lines + * @type string[] $address_lines * Unstructured address lines describing the lower levels of an address. * Because values in address_lines do not have type information and may * sometimes contain multiple values in a single field (e.g. @@ -221,7 +221,7 @@ class PostalAddress extends \Google\Protobuf\Internal\Message * then geocoding is the recommended way to handle completely unstructured * addresses (as opposed to guessing which parts of the address should be * localities or administrative areas). - * @type array|\Google\Protobuf\Internal\RepeatedField $recipients + * @type string[] $recipients * Optional. The recipient at the address. * This field may, under certain circumstances, contain multiline information. * For example, it might contain "care of" information. @@ -528,7 +528,7 @@ public function setSublocality($var) * localities or administrative areas). * * Generated from protobuf field repeated string address_lines = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAddressLines() { @@ -557,7 +557,7 @@ public function getAddressLines() * localities or administrative areas). * * Generated from protobuf field repeated string address_lines = 9; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAddressLines($var) @@ -574,7 +574,7 @@ public function setAddressLines($var) * For example, it might contain "care of" information. * * Generated from protobuf field repeated string recipients = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRecipients() { @@ -587,7 +587,7 @@ public function getRecipients() * For example, it might contain "care of" information. * * Generated from protobuf field repeated string recipients = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRecipients($var) diff --git a/CommonProtos/src/Type/Quaternion.php b/CommonProtos/src/Type/Quaternion.php index f3c316d6ba06..56014dc90777 100644 --- a/CommonProtos/src/Type/Quaternion.php +++ b/CommonProtos/src/Type/Quaternion.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A quaternion is defined as the quotient of two directed lines in a diff --git a/CommonProtos/src/Type/TimeOfDay.php b/CommonProtos/src/Type/TimeOfDay.php index 4ab91e00b2d8..8cd8837ab4e2 100644 --- a/CommonProtos/src/Type/TimeOfDay.php +++ b/CommonProtos/src/Type/TimeOfDay.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a time of day. The date and time zone are either not significant diff --git a/CommonProtos/src/Type/TimeZone.php b/CommonProtos/src/Type/TimeZone.php index 064bc32ce42a..db31ddee7aec 100644 --- a/CommonProtos/src/Type/TimeZone.php +++ b/CommonProtos/src/Type/TimeZone.php @@ -5,8 +5,8 @@ namespace Google\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a time zone from the diff --git a/ConfidentialComputing/metadata/V1/Service.php b/ConfidentialComputing/metadata/V1/Service.php index e942f4c34391..f4b062466f03 100644 Binary files a/ConfidentialComputing/metadata/V1/Service.php and b/ConfidentialComputing/metadata/V1/Service.php differ diff --git a/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions.php b/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions.php index bf19c64f5121..e1d5c58ef246 100644 --- a/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions.php +++ b/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Token options that only apply to the AWS Principal Tags token type. diff --git a/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags.php b/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags.php index 2bbefeda6f5d..d27384b1c76d 100644 --- a/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags.php +++ b/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\AwsPrincipalTagsOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Allowed principal tags is used to define what principal tags will be @@ -76,4 +76,3 @@ public function setContainerImageSignatures($var) } - diff --git a/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags/ContainerImageSignatures.php b/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags/ContainerImageSignatures.php index 5b8e047ade30..6ee41f34411b 100644 --- a/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags/ContainerImageSignatures.php +++ b/ConfidentialComputing/src/V1/AwsPrincipalTagsOptions/AllowedPrincipalTags/ContainerImageSignatures.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\AwsPrincipalTagsOptions\AllowedPrincipalTags; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Allowed Container Image Signatures. Key IDs are required to allow @@ -31,7 +31,7 @@ class ContainerImageSignatures extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $key_ids + * @type string[] $key_ids * Optional. List of key ids to filter into the Principal tags. Only keys * that have been validated and added to the token will be filtered into * principal tags. Unrecognized key ids will be ignored. @@ -48,7 +48,7 @@ public function __construct($data = NULL) { * principal tags. Unrecognized key ids will be ignored. * * Generated from protobuf field repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getKeyIds() { @@ -61,7 +61,7 @@ public function getKeyIds() * principal tags. Unrecognized key ids will be ignored. * * Generated from protobuf field repeated string key_ids = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setKeyIds($var) @@ -74,4 +74,3 @@ public function setKeyIds($var) } - diff --git a/ConfidentialComputing/src/V1/Challenge.php b/ConfidentialComputing/src/V1/Challenge.php index d2ecc004fae0..df8f84bd287d 100644 --- a/ConfidentialComputing/src/V1/Challenge.php +++ b/ConfidentialComputing/src/V1/Challenge.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Challenge from the server used to guarantee freshness of attestations @@ -17,7 +17,7 @@ class Challenge extends \Google\Protobuf\Internal\Message { /** * Output only. The resource name for this Challenge in the format - * `projects/*/locations/*/challenges/*` + * `projects/{@*}locations/{@*}challenges/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -56,7 +56,7 @@ class Challenge extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. The resource name for this Challenge in the format - * `projects/*/locations/*/challenges/*` + * `projects/{@*}locations/{@*}challenges/*` * @type \Google\Protobuf\Timestamp $create_time * Output only. The time at which this Challenge was created * @type \Google\Protobuf\Timestamp $expire_time @@ -75,7 +75,7 @@ public function __construct($data = NULL) { /** * Output only. The resource name for this Challenge in the format - * `projects/*/locations/*/challenges/*` + * `projects/{@*}locations/{@*}challenges/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -87,7 +87,7 @@ public function getName() /** * Output only. The resource name for this Challenge in the format - * `projects/*/locations/*/challenges/*` + * `projects/{@*}locations/{@*}challenges/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var diff --git a/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php b/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php index ebabbc013b58..78c9a4ef18f8 100644 --- a/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php +++ b/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ConfidentialSpaceInfo contains information related to the Confidential Space @@ -30,7 +30,7 @@ class ConfidentialSpaceInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfidentialComputing\V1\SignedEntity>|\Google\Protobuf\Internal\RepeatedField $signed_entities + * @type \Google\Cloud\ConfidentialComputing\V1\SignedEntity[] $signed_entities * Optional. A list of signed entities containing container image signatures * that can be used for server-side signature verification. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * that can be used for server-side signature verification. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\SignedEntity> */ public function getSignedEntities() { @@ -57,7 +57,7 @@ public function getSignedEntities() * that can be used for server-side signature verification. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfidentialComputing\V1\SignedEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfidentialComputing\V1\SignedEntity[] $var * @return $this */ public function setSignedEntities($var) diff --git a/ConfidentialComputing/src/V1/ContainerImageSignature.php b/ConfidentialComputing/src/V1/ContainerImageSignature.php index 4826e7ea8ef1..e4072d84da48 100644 --- a/ConfidentialComputing/src/V1/ContainerImageSignature.php +++ b/ConfidentialComputing/src/V1/ContainerImageSignature.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ContainerImageSignature holds necessary metadata to verify a container image diff --git a/ConfidentialComputing/src/V1/CreateChallengeRequest.php b/ConfidentialComputing/src/V1/CreateChallengeRequest.php index 384853512d20..e8b2b39529db 100644 --- a/ConfidentialComputing/src/V1/CreateChallengeRequest.php +++ b/ConfidentialComputing/src/V1/CreateChallengeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Challenge @@ -17,7 +17,7 @@ class CreateChallengeRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the location where the Challenge will be - * used, in the format `projects/*/locations/*`. + * used, in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -56,7 +56,7 @@ public static function build(string $parent, \Google\Cloud\ConfidentialComputing * * @type string $parent * Required. The resource name of the location where the Challenge will be - * used, in the format `projects/*/locations/*`. + * used, in the format `projects/{@*}locations/*`. * @type \Google\Cloud\ConfidentialComputing\V1\Challenge $challenge * Required. The Challenge to be created. Currently this field can be empty as * all the Challenge fields are set by the server. @@ -69,7 +69,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the location where the Challenge will be - * used, in the format `projects/*/locations/*`. + * used, in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -81,7 +81,7 @@ public function getParent() /** * Required. The resource name of the location where the Challenge will be - * used, in the format `projects/*/locations/*`. + * used, in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/ConfidentialComputing/src/V1/GceShieldedIdentity.php b/ConfidentialComputing/src/V1/GceShieldedIdentity.php index b074878d5615..762308b8996c 100644 --- a/ConfidentialComputing/src/V1/GceShieldedIdentity.php +++ b/ConfidentialComputing/src/V1/GceShieldedIdentity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * GceShieldedIdentity contains information about a Compute Engine instance. @@ -41,7 +41,7 @@ class GceShieldedIdentity extends \Google\Protobuf\Internal\Message * Optional. DER-encoded X.509 certificate of the Attestation Key (otherwise * known as an AK or a TPM restricted signing key) used to generate the * quotes. - * @type array|\Google\Protobuf\Internal\RepeatedField $ak_cert_chain + * @type string[] $ak_cert_chain * Optional. List of DER-encoded X.509 certificates which, together with the * ak_cert, chain back to a trusted Root Certificate. * } @@ -86,7 +86,7 @@ public function setAkCert($var) * ak_cert, chain back to a trusted Root Certificate. * * Generated from protobuf field repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAkCertChain() { @@ -98,7 +98,7 @@ public function getAkCertChain() * ak_cert, chain back to a trusted Root Certificate. * * Generated from protobuf field repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAkCertChain($var) diff --git a/ConfidentialComputing/src/V1/GcpCredentials.php b/ConfidentialComputing/src/V1/GcpCredentials.php index 20a115c11118..3156dbd93676 100644 --- a/ConfidentialComputing/src/V1/GcpCredentials.php +++ b/ConfidentialComputing/src/V1/GcpCredentials.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Credentials issued by GCP which are linked to the platform attestation. These @@ -29,7 +29,7 @@ class GcpCredentials extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $service_account_id_tokens + * @type string[] $service_account_id_tokens * Same as id_tokens, but as a string. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * Same as id_tokens, but as a string. * * Generated from protobuf field repeated string service_account_id_tokens = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getServiceAccountIdTokens() { @@ -53,7 +53,7 @@ public function getServiceAccountIdTokens() * Same as id_tokens, but as a string. * * Generated from protobuf field repeated string service_account_id_tokens = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setServiceAccountIdTokens($var) diff --git a/ConfidentialComputing/src/V1/NvidiaAttestation.php b/ConfidentialComputing/src/V1/NvidiaAttestation.php index 034a37f5a370..0638bdc9157b 100644 --- a/ConfidentialComputing/src/V1/NvidiaAttestation.php +++ b/ConfidentialComputing/src/V1/NvidiaAttestation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An Nvidia attestation report for GPU and NVSwitch devices. diff --git a/ConfidentialComputing/src/V1/NvidiaAttestation/GpuArchitectureType.php b/ConfidentialComputing/src/V1/NvidiaAttestation/GpuArchitectureType.php index 38afa17dd574..5f846e0bac60 100644 --- a/ConfidentialComputing/src/V1/NvidiaAttestation/GpuArchitectureType.php +++ b/ConfidentialComputing/src/V1/NvidiaAttestation/GpuArchitectureType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/ConfidentialComputing/src/V1/NvidiaAttestation/GpuInfo.php b/ConfidentialComputing/src/V1/NvidiaAttestation/GpuInfo.php index 4c8698e5bfbc..615aca6ed8a2 100644 --- a/ConfidentialComputing/src/V1/NvidiaAttestation/GpuInfo.php +++ b/ConfidentialComputing/src/V1/NvidiaAttestation/GpuInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * GpuInfo contains the attestation evidence for a GPU device. @@ -243,4 +243,3 @@ public function setAttestationReport($var) } - diff --git a/ConfidentialComputing/src/V1/NvidiaAttestation/MultiGpuSecurePassthroughAttestation.php b/ConfidentialComputing/src/V1/NvidiaAttestation/MultiGpuSecurePassthroughAttestation.php index 1074e34610e1..2541df8b007b 100644 --- a/ConfidentialComputing/src/V1/NvidiaAttestation/MultiGpuSecurePassthroughAttestation.php +++ b/ConfidentialComputing/src/V1/NvidiaAttestation/MultiGpuSecurePassthroughAttestation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * MultiGpuSecurePassthroughAttestation contains the attestation evidence @@ -29,7 +29,7 @@ class MultiGpuSecurePassthroughAttestation extends \Google\Protobuf\Internal\Mes * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo>|\Google\Protobuf\Internal\RepeatedField $gpu_quotes + * @type \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo[] $gpu_quotes * Optional. A list of GPU quotes. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * Optional. A list of GPU quotes. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuInfo gpu_quotes = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo> */ public function getGpuQuotes() { @@ -53,7 +53,7 @@ public function getGpuQuotes() * Optional. A list of GPU quotes. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuInfo gpu_quotes = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo[] $var * @return $this */ public function setGpuQuotes($var) @@ -66,4 +66,3 @@ public function setGpuQuotes($var) } - diff --git a/ConfidentialComputing/src/V1/NvidiaAttestation/ProtectedPcieAttestation.php b/ConfidentialComputing/src/V1/NvidiaAttestation/ProtectedPcieAttestation.php index 5c6d699b6d31..248cc9b106a9 100644 --- a/ConfidentialComputing/src/V1/NvidiaAttestation/ProtectedPcieAttestation.php +++ b/ConfidentialComputing/src/V1/NvidiaAttestation/ProtectedPcieAttestation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Protected PCIe (PPCIE) attestation. @@ -35,9 +35,9 @@ class ProtectedPcieAttestation extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo>|\Google\Protobuf\Internal\RepeatedField $gpu_quotes + * @type \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo[] $gpu_quotes * Optional. A list of GPU infos. - * @type array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\SwitchInfo>|\Google\Protobuf\Internal\RepeatedField $switch_quotes + * @type \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\SwitchInfo[] $switch_quotes * Optional. A list of SWITCH infos. * } */ @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * Optional. A list of GPU infos. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuInfo gpu_quotes = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo> */ public function getGpuQuotes() { @@ -61,7 +61,7 @@ public function getGpuQuotes() * Optional. A list of GPU infos. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuInfo gpu_quotes = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\GpuInfo[] $var * @return $this */ public function setGpuQuotes($var) @@ -76,7 +76,7 @@ public function setGpuQuotes($var) * Optional. A list of SWITCH infos. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.SwitchInfo switch_quotes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\SwitchInfo> */ public function getSwitchQuotes() { @@ -87,7 +87,7 @@ public function getSwitchQuotes() * Optional. A list of SWITCH infos. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.NvidiaAttestation.SwitchInfo switch_quotes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\SwitchInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation\SwitchInfo[] $var * @return $this */ public function setSwitchQuotes($var) @@ -100,4 +100,3 @@ public function setSwitchQuotes($var) } - diff --git a/ConfidentialComputing/src/V1/NvidiaAttestation/SinglePassthroughAttestation.php b/ConfidentialComputing/src/V1/NvidiaAttestation/SinglePassthroughAttestation.php index e2e96d65811a..d9c45bc433f3 100644 --- a/ConfidentialComputing/src/V1/NvidiaAttestation/SinglePassthroughAttestation.php +++ b/ConfidentialComputing/src/V1/NvidiaAttestation/SinglePassthroughAttestation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Single GPU Passthrough (SPT) attestation. @@ -75,4 +75,3 @@ public function setGpuQuote($var) } - diff --git a/ConfidentialComputing/src/V1/NvidiaAttestation/SwitchInfo.php b/ConfidentialComputing/src/V1/NvidiaAttestation/SwitchInfo.php index a06976838264..e9a2d7af98e1 100644 --- a/ConfidentialComputing/src/V1/NvidiaAttestation/SwitchInfo.php +++ b/ConfidentialComputing/src/V1/NvidiaAttestation/SwitchInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\NvidiaAttestation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * SwitchInfo contains the attestation evidence for a NVSwitch device. @@ -141,4 +141,3 @@ public function setAttestationReport($var) } - diff --git a/ConfidentialComputing/src/V1/SevSnpAttestation.php b/ConfidentialComputing/src/V1/SevSnpAttestation.php index 3f05de81d0f9..ccfb11650165 100644 --- a/ConfidentialComputing/src/V1/SevSnpAttestation.php +++ b/ConfidentialComputing/src/V1/SevSnpAttestation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An SEV-SNP Attestation Report. diff --git a/ConfidentialComputing/src/V1/SignedEntity.php b/ConfidentialComputing/src/V1/SignedEntity.php index 53a38b638959..d53732dfe3b0 100644 --- a/ConfidentialComputing/src/V1/SignedEntity.php +++ b/ConfidentialComputing/src/V1/SignedEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * SignedEntity represents an OCI image object containing everything necessary @@ -30,7 +30,7 @@ class SignedEntity extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfidentialComputing\V1\ContainerImageSignature>|\Google\Protobuf\Internal\RepeatedField $container_image_signatures + * @type \Google\Cloud\ConfidentialComputing\V1\ContainerImageSignature[] $container_image_signatures * Optional. A list of container image signatures attached to an OCI image * object. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * object. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.ContainerImageSignature container_image_signatures = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\ContainerImageSignature> */ public function getContainerImageSignatures() { @@ -57,7 +57,7 @@ public function getContainerImageSignatures() * object. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.ContainerImageSignature container_image_signatures = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfidentialComputing\V1\ContainerImageSignature>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfidentialComputing\V1\ContainerImageSignature[] $var * @return $this */ public function setContainerImageSignatures($var) diff --git a/ConfidentialComputing/src/V1/TdxCcelAttestation.php b/ConfidentialComputing/src/V1/TdxCcelAttestation.php index 5d116e026a55..e5d3c9ef1e0f 100644 --- a/ConfidentialComputing/src/V1/TdxCcelAttestation.php +++ b/ConfidentialComputing/src/V1/TdxCcelAttestation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A TDX Attestation quote. diff --git a/ConfidentialComputing/src/V1/TokenOptions.php b/ConfidentialComputing/src/V1/TokenOptions.php index 5b641605f439..c091182640a2 100644 --- a/ConfidentialComputing/src/V1/TokenOptions.php +++ b/ConfidentialComputing/src/V1/TokenOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to modify claims in the token to generate custom-purpose tokens. @@ -49,7 +49,7 @@ class TokenOptions extends \Google\Protobuf\Internal\Message * @type string $audience * Optional. Optional string to issue the token with a custom audience claim. * Required if one or more nonces are specified. - * @type array|\Google\Protobuf\Internal\RepeatedField $nonce + * @type string[] $nonce * Optional. Optional parameter to place one or more nonces in the eat_nonce * claim in the output token. The minimum size for JSON-encoded EATs is 10 * bytes and the maximum size is 74 bytes. @@ -127,7 +127,7 @@ public function setAudience($var) * bytes and the maximum size is 74 bytes. * * Generated from protobuf field repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNonce() { @@ -140,7 +140,7 @@ public function getNonce() * bytes and the maximum size is 74 bytes. * * Generated from protobuf field repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNonce($var) diff --git a/ConfidentialComputing/src/V1/TpmAttestation.php b/ConfidentialComputing/src/V1/TpmAttestation.php index 4aa3a65e7f5c..fc3e638df948 100644 --- a/ConfidentialComputing/src/V1/TpmAttestation.php +++ b/ConfidentialComputing/src/V1/TpmAttestation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * TPM2 data containing everything necessary to validate any platform state @@ -59,7 +59,7 @@ class TpmAttestation extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfidentialComputing\V1\TpmAttestation\Quote>|\Google\Protobuf\Internal\RepeatedField $quotes + * @type \Google\Cloud\ConfidentialComputing\V1\TpmAttestation\Quote[] $quotes * TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank. * @type string $tcg_event_log * The binary TCG Event Log containing events measured into the TPM by the @@ -72,7 +72,7 @@ class TpmAttestation extends \Google\Protobuf\Internal\Message * @type string $ak_cert * DER-encoded X.509 certificate of the Attestation Key (otherwise known as * an AK or a TPM restricted signing key) used to generate the quotes. - * @type array|\Google\Protobuf\Internal\RepeatedField $cert_chain + * @type string[] $cert_chain * List of DER-encoded X.509 certificates which, together with the ak_cert, * chain back to a trusted Root Certificate. * } @@ -86,7 +86,7 @@ public function __construct($data = NULL) { * TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\TpmAttestation\Quote> */ public function getQuotes() { @@ -97,7 +97,7 @@ public function getQuotes() * TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1; - * @param array<\Google\Cloud\ConfidentialComputing\V1\TpmAttestation\Quote>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfidentialComputing\V1\TpmAttestation\Quote[] $var * @return $this */ public function setQuotes($var) @@ -201,7 +201,7 @@ public function setAkCert($var) * chain back to a trusted Root Certificate. * * Generated from protobuf field repeated bytes cert_chain = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCertChain() { @@ -213,7 +213,7 @@ public function getCertChain() * chain back to a trusted Root Certificate. * * Generated from protobuf field repeated bytes cert_chain = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCertChain($var) diff --git a/ConfidentialComputing/src/V1/TpmAttestation/Quote.php b/ConfidentialComputing/src/V1/TpmAttestation/Quote.php index 404a81bffc57..90e81a05304c 100644 --- a/ConfidentialComputing/src/V1/TpmAttestation/Quote.php +++ b/ConfidentialComputing/src/V1/TpmAttestation/Quote.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\TpmAttestation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about Platform Control Registers (PCRs) including a signature @@ -168,4 +168,3 @@ public function setRawSignature($var) } - diff --git a/ConfidentialComputing/src/V1/VerifyAttestationRequest.php b/ConfidentialComputing/src/V1/VerifyAttestationRequest.php index 3a912a1d4efb..afcd5286d75a 100644 --- a/ConfidentialComputing/src/V1/VerifyAttestationRequest.php +++ b/ConfidentialComputing/src/V1/VerifyAttestationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for an attestation token, providing all the necessary information @@ -18,7 +18,7 @@ class VerifyAttestationRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -75,7 +75,7 @@ class VerifyAttestationRequest extends \Google\Protobuf\Internal\Message * Optional. An Nvidia attestation report for GPU and NVSwitch devices. * @type string $challenge * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * @type \Google\Cloud\ConfidentialComputing\V1\GcpCredentials $gcp_credentials * Optional. Credentials used to populate the "emails" claim in the @@ -193,7 +193,7 @@ public function setNvidiaAttestation($var) /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -206,7 +206,7 @@ public function getChallenge() /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { diff --git a/ConfidentialComputing/src/V1/VerifyAttestationResponse.php b/ConfidentialComputing/src/V1/VerifyAttestationResponse.php index dc99f5e37ff7..89018e84bc16 100644 --- a/ConfidentialComputing/src/V1/VerifyAttestationResponse.php +++ b/ConfidentialComputing/src/V1/VerifyAttestationResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response once an attestation has been successfully verified, containing a @@ -38,7 +38,7 @@ class VerifyAttestationResponse extends \Google\Protobuf\Internal\Message * * @type string $oidc_claims_token * Output only. Same as claims_token, but as a string. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Output only. A list of messages that carry the partial error details * related to VerifyAttestation. * } @@ -79,7 +79,7 @@ public function setOidcClaimsToken($var) * related to VerifyAttestation. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -91,7 +91,7 @@ public function getPartialErrors() * related to VerifyAttestation. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest.php b/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest.php index 005524e04890..dfe610688342 100644 --- a/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest.php +++ b/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for an attestation token, providing all the necessary information @@ -19,7 +19,7 @@ class VerifyConfidentialGkeRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format projects/*/locations/*/challenges/*. The + * attestation, in the format projects/{@*}locations/{@*}challenges/*. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -44,7 +44,7 @@ class VerifyConfidentialGkeRequest extends \Google\Protobuf\Internal\Message * populate any of the claims regarding platform state. * @type string $challenge * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format projects/*/locations/*/challenges/*. The + * attestation, in the format projects/{@*}locations/{@*}challenges/*. The * provided Challenge will be consumed, and cannot be used again. * @type \Google\Cloud\ConfidentialComputing\V1\VerifyConfidentialGkeRequest\ConfidentialGkeOptions $options * Optional. A collection of fields that modify the token output. @@ -90,7 +90,7 @@ public function setTpmAttestation($var) /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format projects/*/locations/*/challenges/*. The + * attestation, in the format projects/{@*}locations/{@*}challenges/*. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -103,7 +103,7 @@ public function getChallenge() /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format projects/*/locations/*/challenges/*. The + * attestation, in the format projects/{@*}locations/{@*}challenges/*. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { diff --git a/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest/ConfidentialGkeOptions.php b/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest/ConfidentialGkeOptions.php index f07bb875bb87..23bd23a3222c 100644 --- a/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest/ConfidentialGkeOptions.php +++ b/ConfidentialComputing/src/V1/VerifyConfidentialGkeRequest/ConfidentialGkeOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\VerifyConfidentialGkeRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Token options for Confidential GKE attestation. @@ -47,7 +47,7 @@ class ConfidentialGkeOptions extends \Google\Protobuf\Internal\Message * @type string $audience * Optional. Optional string to issue the token with a custom audience * claim. Required if custom nonces are specified. - * @type array|\Google\Protobuf\Internal\RepeatedField $nonce + * @type string[] $nonce * Optional. Optional parameter to place one or more nonces in the eat_nonce * claim in the output token. The minimum size for JSON-encoded EATs is 10 * bytes and the maximum size is 74 bytes. @@ -95,7 +95,7 @@ public function setAudience($var) * bytes and the maximum size is 74 bytes. * * Generated from protobuf field repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNonce() { @@ -108,7 +108,7 @@ public function getNonce() * bytes and the maximum size is 74 bytes. * * Generated from protobuf field repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNonce($var) @@ -149,4 +149,3 @@ public function setSignatureType($var) } - diff --git a/ConfidentialComputing/src/V1/VerifyConfidentialGkeResponse.php b/ConfidentialComputing/src/V1/VerifyConfidentialGkeResponse.php index b97ccf0346dc..c92221a32f9b 100644 --- a/ConfidentialComputing/src/V1/VerifyConfidentialGkeResponse.php +++ b/ConfidentialComputing/src/V1/VerifyConfidentialGkeResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * VerifyConfidentialGkeResponse response is returened once a Confidential GKE diff --git a/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest.php b/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest.php index 093ef899cda0..15e99c5af9d1 100644 --- a/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest.php +++ b/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for an attestation token, providing all the necessary information @@ -18,7 +18,7 @@ class VerifyConfidentialSpaceRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -74,12 +74,12 @@ class VerifyConfidentialSpaceRequest extends \Google\Protobuf\Internal\Message * used to populate any of the claims regarding platform state. * @type string $challenge * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * @type \Google\Cloud\ConfidentialComputing\V1\GcpCredentials $gcp_credentials * Optional. Credentials used to populate the "emails" claim in the * claims_token. If not present, token will not contain the "emails" claim. - * @type array<\Google\Cloud\ConfidentialComputing\V1\SignedEntity>|\Google\Protobuf\Internal\RepeatedField $signed_entities + * @type \Google\Cloud\ConfidentialComputing\V1\SignedEntity[] $signed_entities * Optional. A list of signed entities containing container image signatures * that can be used for server-side signature verification. * @type \Google\Cloud\ConfidentialComputing\V1\GceShieldedIdentity $gce_shielded_identity @@ -164,7 +164,7 @@ public function setTpmAttestation($var) /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -177,7 +177,7 @@ public function getChallenge() /** * Required. The name of the Challenge whose nonce was used to generate the - * attestation, in the format `projects/*/locations/*/challenges/*`. The + * attestation, in the format `projects/{@*}locations/{@*}challenges/*`. The * provided Challenge will be consumed, and cannot be used again. * * Generated from protobuf field string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -235,7 +235,7 @@ public function setGcpCredentials($var) * that can be used for server-side signature verification. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfidentialComputing\V1\SignedEntity> */ public function getSignedEntities() { @@ -247,7 +247,7 @@ public function getSignedEntities() * that can be used for server-side signature verification. * * Generated from protobuf field repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfidentialComputing\V1\SignedEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfidentialComputing\V1\SignedEntity[] $var * @return $this */ public function setSignedEntities($var) diff --git a/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest/ConfidentialSpaceOptions.php b/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest/ConfidentialSpaceOptions.php index 0030b5d113fd..b9ba7ef0ec19 100644 --- a/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest/ConfidentialSpaceOptions.php +++ b/ConfidentialComputing/src/V1/VerifyConfidentialSpaceRequest/ConfidentialSpaceOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1\VerifyConfidentialSpaceRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Token options for Confidential Space attestation. @@ -58,7 +58,7 @@ class ConfidentialSpaceOptions extends \Google\Protobuf\Internal\Message * claim. Required if custom nonces are specified. * @type int $token_profile * Optional. Optional specification for token claims profile. - * @type array|\Google\Protobuf\Internal\RepeatedField $nonce + * @type string[] $nonce * Optional. Optional parameter to place one or more nonces in the eat_nonce * claim in the output token. The minimum size for JSON-encoded EATs is 10 * bytes and the maximum size is 74 bytes. @@ -163,7 +163,7 @@ public function setTokenProfile($var) * bytes and the maximum size is 74 bytes. * * Generated from protobuf field repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNonce() { @@ -176,7 +176,7 @@ public function getNonce() * bytes and the maximum size is 74 bytes. * * Generated from protobuf field repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNonce($var) @@ -225,4 +225,3 @@ public function getTokenProfileOptions() } - diff --git a/ConfidentialComputing/src/V1/VerifyConfidentialSpaceResponse.php b/ConfidentialComputing/src/V1/VerifyConfidentialSpaceResponse.php index 44bd48dd071c..159eb565a3eb 100644 --- a/ConfidentialComputing/src/V1/VerifyConfidentialSpaceResponse.php +++ b/ConfidentialComputing/src/V1/VerifyConfidentialSpaceResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfidentialComputing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * VerifyConfidentialSpaceResponse is returned once a Confidential Space @@ -44,7 +44,7 @@ class VerifyConfidentialSpaceResponse extends \Google\Protobuf\Internal\Message * @type string $attestation_token * Output only. The attestation token issued by this service. It contains * specific platform claims based on the contents of the provided attestation. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Output only. A list of messages that carry the partial error details * related to VerifyConfidentialSpace. This field is populated by errors * during container image signature verification, which may reflect problems @@ -95,7 +95,7 @@ public function setAttestationToken($var) * image signatures. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -111,7 +111,7 @@ public function getPartialErrors() * image signatures. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/Config/metadata/V1/Config.php b/Config/metadata/V1/Config.php index 7fadb2e813b0..83dcca9ef0f2 100644 Binary files a/Config/metadata/V1/Config.php and b/Config/metadata/V1/Config.php differ diff --git a/Config/src/V1/ApplyResults.php b/Config/src/V1/ApplyResults.php index 5b1392ea4ba4..1d0e7b0b1245 100644 --- a/Config/src/V1/ApplyResults.php +++ b/Config/src/V1/ApplyResults.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Outputs and artifacts from applying a deployment. diff --git a/Config/src/V1/AutoMigrationConfig.php b/Config/src/V1/AutoMigrationConfig.php index 8d68a9c15012..259f1b2ff611 100644 --- a/Config/src/V1/AutoMigrationConfig.php +++ b/Config/src/V1/AutoMigrationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AutoMigrationConfig contains the automigration configuration for a project. diff --git a/Config/src/V1/CreateDeploymentRequest.php b/Config/src/V1/CreateDeploymentRequest.php index 26f39b50ff6c..208dd9dd0fe1 100644 --- a/Config/src/V1/CreateDeploymentRequest.php +++ b/Config/src/V1/CreateDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.config.v1.CreateDeploymentRequest diff --git a/Config/src/V1/CreatePreviewRequest.php b/Config/src/V1/CreatePreviewRequest.php index a6e4f2c09257..1846137c619b 100644 --- a/Config/src/V1/CreatePreviewRequest.php +++ b/Config/src/V1/CreatePreviewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to create a preview. diff --git a/Config/src/V1/DeleteDeploymentRequest.php b/Config/src/V1/DeleteDeploymentRequest.php index 2b57206662be..cc2c3ca79ca8 100644 --- a/Config/src/V1/DeleteDeploymentRequest.php +++ b/Config/src/V1/DeleteDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.config.v1.DeleteDeploymentRequest diff --git a/Config/src/V1/DeleteDeploymentRequest/DeletePolicy.php b/Config/src/V1/DeleteDeploymentRequest/DeletePolicy.php index 51e4c525f6ef..34b59da3277b 100644 --- a/Config/src/V1/DeleteDeploymentRequest/DeletePolicy.php +++ b/Config/src/V1/DeleteDeploymentRequest/DeletePolicy.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/DeletePreviewRequest.php b/Config/src/V1/DeletePreviewRequest.php index c6cabdba176c..be32a18dded7 100644 --- a/Config/src/V1/DeletePreviewRequest.php +++ b/Config/src/V1/DeletePreviewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to delete a preview. diff --git a/Config/src/V1/DeleteStatefileRequest.php b/Config/src/V1/DeleteStatefileRequest.php index 71649ebd15c4..8b4e7d6b150a 100644 --- a/Config/src/V1/DeleteStatefileRequest.php +++ b/Config/src/V1/DeleteStatefileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to delete a state file passed to a 'DeleteStatefile' call. diff --git a/Config/src/V1/Deployment.php b/Config/src/V1/Deployment.php index b86ac98c947f..362433bdf90f 100644 --- a/Config/src/V1/Deployment.php +++ b/Config/src/V1/Deployment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Deployment is a group of resources and configs managed and provisioned by @@ -225,7 +225,7 @@ class Deployment extends \Google\Protobuf\Internal\Message * @type string $delete_logs * Output only. Location of Cloud Build logs in Google Cloud Storage, * populated when deleting this deployment. Format: `gs://{bucket}/{object}`. - * @type array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $tf_errors + * @type \Google\Cloud\Config\V1\TerraformError[] $tf_errors * Output only. Errors encountered when deleting this deployment. * Errors are truncated to 10 entries, see `delete_results` and `error_logs` * for full details. @@ -649,7 +649,7 @@ public function setDeleteLogs($var) * for full details. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\TerraformError> */ public function getTfErrors() { @@ -662,7 +662,7 @@ public function getTfErrors() * for full details. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\TerraformError[] $var * @return $this */ public function setTfErrors($var) diff --git a/Config/src/V1/Deployment/ErrorCode.php b/Config/src/V1/Deployment/ErrorCode.php index 296f2eccfa28..773491b99727 100644 --- a/Config/src/V1/Deployment/ErrorCode.php +++ b/Config/src/V1/Deployment/ErrorCode.php @@ -97,4 +97,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Deployment/LockState.php b/Config/src/V1/Deployment/LockState.php index 78a24bbe3836..54e6a102844e 100644 --- a/Config/src/V1/Deployment/LockState.php +++ b/Config/src/V1/Deployment/LockState.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Deployment/State.php b/Config/src/V1/Deployment/State.php index 646340cc4330..00419cca7708 100644 --- a/Config/src/V1/Deployment/State.php +++ b/Config/src/V1/Deployment/State.php @@ -95,4 +95,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/DeploymentOperationMetadata.php b/Config/src/V1/DeploymentOperationMetadata.php index 7552319424f3..b52e6d1088d4 100644 --- a/Config/src/V1/DeploymentOperationMetadata.php +++ b/Config/src/V1/DeploymentOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Ephemeral metadata content describing the state of a deployment operation. diff --git a/Config/src/V1/DeploymentOperationMetadata/DeploymentStep.php b/Config/src/V1/DeploymentOperationMetadata/DeploymentStep.php index bed4ae8eca70..3010ef485851 100644 --- a/Config/src/V1/DeploymentOperationMetadata/DeploymentStep.php +++ b/Config/src/V1/DeploymentOperationMetadata/DeploymentStep.php @@ -130,4 +130,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/ExportDeploymentStatefileRequest.php b/Config/src/V1/ExportDeploymentStatefileRequest.php index 8bf09469d3de..90e1253bd5f0 100644 --- a/Config/src/V1/ExportDeploymentStatefileRequest.php +++ b/Config/src/V1/ExportDeploymentStatefileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to export a state file passed to a 'ExportDeploymentStatefile' diff --git a/Config/src/V1/ExportLockInfoRequest.php b/Config/src/V1/ExportLockInfoRequest.php index ef195f0e38e0..027a31131bcd 100644 --- a/Config/src/V1/ExportLockInfoRequest.php +++ b/Config/src/V1/ExportLockInfoRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to get a state file lock info passed to a 'ExportLockInfo' call. diff --git a/Config/src/V1/ExportPreviewResultRequest.php b/Config/src/V1/ExportPreviewResultRequest.php index b00ee3ad96cc..c93e3a0a41d1 100644 --- a/Config/src/V1/ExportPreviewResultRequest.php +++ b/Config/src/V1/ExportPreviewResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to export preview results. diff --git a/Config/src/V1/ExportPreviewResultResponse.php b/Config/src/V1/ExportPreviewResultResponse.php index 562f5b801d7f..e66ca6f67c78 100644 --- a/Config/src/V1/ExportPreviewResultResponse.php +++ b/Config/src/V1/ExportPreviewResultResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response to `ExportPreviewResult` call. Contains preview results. diff --git a/Config/src/V1/ExportRevisionStatefileRequest.php b/Config/src/V1/ExportRevisionStatefileRequest.php index 579d506a9e94..f69f5daa0c3a 100644 --- a/Config/src/V1/ExportRevisionStatefileRequest.php +++ b/Config/src/V1/ExportRevisionStatefileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to export a state file passed to a 'ExportRevisionStatefile' diff --git a/Config/src/V1/GetAutoMigrationConfigRequest.php b/Config/src/V1/GetAutoMigrationConfigRequest.php index dca79ece5635..d034de5f38e2 100644 --- a/Config/src/V1/GetAutoMigrationConfigRequest.php +++ b/Config/src/V1/GetAutoMigrationConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the GetAutoMigrationConfig method. diff --git a/Config/src/V1/GetDeploymentRequest.php b/Config/src/V1/GetDeploymentRequest.php index 59a272183d84..8e295121fc8d 100644 --- a/Config/src/V1/GetDeploymentRequest.php +++ b/Config/src/V1/GetDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.config.v1.GetDeploymentRequest diff --git a/Config/src/V1/GetPreviewRequest.php b/Config/src/V1/GetPreviewRequest.php index ea775d2d2a84..1f7a04af459a 100644 --- a/Config/src/V1/GetPreviewRequest.php +++ b/Config/src/V1/GetPreviewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to get details about a preview. diff --git a/Config/src/V1/GetResourceChangeRequest.php b/Config/src/V1/GetResourceChangeRequest.php index 8a3f2b9aab23..365b86c00ab3 100644 --- a/Config/src/V1/GetResourceChangeRequest.php +++ b/Config/src/V1/GetResourceChangeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the GetResourceChange method. diff --git a/Config/src/V1/GetResourceDriftRequest.php b/Config/src/V1/GetResourceDriftRequest.php index ee47684f205f..b8111e679585 100644 --- a/Config/src/V1/GetResourceDriftRequest.php +++ b/Config/src/V1/GetResourceDriftRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the GetResourceDrift method. diff --git a/Config/src/V1/GetResourceRequest.php b/Config/src/V1/GetResourceRequest.php index be4a56002c9d..829a0024f064 100644 --- a/Config/src/V1/GetResourceRequest.php +++ b/Config/src/V1/GetResourceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to get a Resource from a 'GetResource' call. diff --git a/Config/src/V1/GetRevisionRequest.php b/Config/src/V1/GetRevisionRequest.php index a551f41c7a7b..f593eeff739e 100644 --- a/Config/src/V1/GetRevisionRequest.php +++ b/Config/src/V1/GetRevisionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to get a Revision from a 'GetRevision' call. diff --git a/Config/src/V1/GetTerraformVersionRequest.php b/Config/src/V1/GetTerraformVersionRequest.php index 3808e68209da..93fd1df9fc62 100644 --- a/Config/src/V1/GetTerraformVersionRequest.php +++ b/Config/src/V1/GetTerraformVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the GetTerraformVersion method. diff --git a/Config/src/V1/GitSource.php b/Config/src/V1/GitSource.php index 9c54f4f7ec1c..456ca0bb1d57 100644 --- a/Config/src/V1/GitSource.php +++ b/Config/src/V1/GitSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A set of files in a Git repository. diff --git a/Config/src/V1/ImportStatefileRequest.php b/Config/src/V1/ImportStatefileRequest.php index a70d7cbb9eba..1bcceaa25ec5 100644 --- a/Config/src/V1/ImportStatefileRequest.php +++ b/Config/src/V1/ImportStatefileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to import a state file passed to a 'ImportStatefile' call. diff --git a/Config/src/V1/ListDeploymentsRequest.php b/Config/src/V1/ListDeploymentsRequest.php index b5aca6b46201..659ccbd0f5e9 100644 --- a/Config/src/V1/ListDeploymentsRequest.php +++ b/Config/src/V1/ListDeploymentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.config.v1.ListDeploymentsRequest diff --git a/Config/src/V1/ListDeploymentsResponse.php b/Config/src/V1/ListDeploymentsResponse.php index 9f1b6da072d6..479c5acaedb7 100644 --- a/Config/src/V1/ListDeploymentsResponse.php +++ b/Config/src/V1/ListDeploymentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.config.v1.ListDeploymentsResponse @@ -39,12 +39,12 @@ class ListDeploymentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Config\V1\Deployment>|\Google\Protobuf\Internal\RepeatedField $deployments + * @type \Google\Cloud\Config\V1\Deployment[] $deployments * List of [Deployment][google.cloud.config.v1.Deployment]s. * @type string $next_page_token * Token to be supplied to the next ListDeployments request via `page_token` * to obtain the next set of results. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * List of [Deployment][google.cloud.config.v1.Deployment]s. * * Generated from protobuf field repeated .google.cloud.config.v1.Deployment deployments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\Deployment> */ public function getDeployments() { @@ -68,7 +68,7 @@ public function getDeployments() * List of [Deployment][google.cloud.config.v1.Deployment]s. * * Generated from protobuf field repeated .google.cloud.config.v1.Deployment deployments = 1; - * @param array<\Google\Cloud\Config\V1\Deployment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\Deployment[] $var * @return $this */ public function setDeployments($var) @@ -111,7 +111,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -122,7 +122,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Config/src/V1/ListPreviewsRequest.php b/Config/src/V1/ListPreviewsRequest.php index a1f19e2cae2d..1390999349f8 100644 --- a/Config/src/V1/ListPreviewsRequest.php +++ b/Config/src/V1/ListPreviewsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to list all previews for a given project and location. diff --git a/Config/src/V1/ListPreviewsResponse.php b/Config/src/V1/ListPreviewsResponse.php index e7c4f730627f..8fc5a271ad19 100644 --- a/Config/src/V1/ListPreviewsResponse.php +++ b/Config/src/V1/ListPreviewsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response to a `ListPreviews` call. Contains a list of Previews. @@ -41,12 +41,12 @@ class ListPreviewsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Config\V1\Preview>|\Google\Protobuf\Internal\RepeatedField $previews + * @type \Google\Cloud\Config\V1\Preview[] $previews * List of [Previews][google.cloud.config.v1.Preview]. * @type string $next_page_token * Token to be supplied to the next ListPreviews request via `page_token` * to obtain the next set of results. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * List of [Previews][google.cloud.config.v1.Preview]. * * Generated from protobuf field repeated .google.cloud.config.v1.Preview previews = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\Preview> */ public function getPreviews() { @@ -70,7 +70,7 @@ public function getPreviews() * List of [Previews][google.cloud.config.v1.Preview]. * * Generated from protobuf field repeated .google.cloud.config.v1.Preview previews = 1; - * @param array<\Google\Cloud\Config\V1\Preview>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\Preview[] $var * @return $this */ public function setPreviews($var) @@ -113,7 +113,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -124,7 +124,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Config/src/V1/ListResourceChangesRequest.php b/Config/src/V1/ListResourceChangesRequest.php index 524eb571052c..a7954d1c071c 100644 --- a/Config/src/V1/ListResourceChangesRequest.php +++ b/Config/src/V1/ListResourceChangesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the ListResourceChanges method. diff --git a/Config/src/V1/ListResourceChangesResponse.php b/Config/src/V1/ListResourceChangesResponse.php index d478e7ab2e35..e0613b7c84d2 100644 --- a/Config/src/V1/ListResourceChangesResponse.php +++ b/Config/src/V1/ListResourceChangesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response to a 'ListResourceChanges' call. Contains a list of @@ -43,13 +43,13 @@ class ListResourceChangesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Config\V1\ResourceChange>|\Google\Protobuf\Internal\RepeatedField $resource_changes + * @type \Google\Cloud\Config\V1\ResourceChange[] $resource_changes * List of ResourceChanges. * @type string $next_page_token * A token to request the next page of resources from the * 'ListResourceChanges' method. The value of an empty string means that * there are no more resources to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -62,7 +62,7 @@ public function __construct($data = NULL) { * List of ResourceChanges. * * Generated from protobuf field repeated .google.cloud.config.v1.ResourceChange resource_changes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\ResourceChange> */ public function getResourceChanges() { @@ -73,7 +73,7 @@ public function getResourceChanges() * List of ResourceChanges. * * Generated from protobuf field repeated .google.cloud.config.v1.ResourceChange resource_changes = 1; - * @param array<\Google\Cloud\Config\V1\ResourceChange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\ResourceChange[] $var * @return $this */ public function setResourceChanges($var) @@ -118,7 +118,7 @@ public function setNextPageToken($var) * Unreachable resources, if any. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -129,7 +129,7 @@ public function getUnreachable() * Unreachable resources, if any. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Config/src/V1/ListResourceDriftsRequest.php b/Config/src/V1/ListResourceDriftsRequest.php index 750fcf1bdc74..e968a80aa7be 100644 --- a/Config/src/V1/ListResourceDriftsRequest.php +++ b/Config/src/V1/ListResourceDriftsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the ListResourceDrifts method. diff --git a/Config/src/V1/ListResourceDriftsResponse.php b/Config/src/V1/ListResourceDriftsResponse.php index e361b438640e..6fa7cb5c4197 100644 --- a/Config/src/V1/ListResourceDriftsResponse.php +++ b/Config/src/V1/ListResourceDriftsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response to a 'ListResourceDrifts' call. Contains a list of ResourceDrifts. @@ -42,13 +42,13 @@ class ListResourceDriftsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Config\V1\ResourceDrift>|\Google\Protobuf\Internal\RepeatedField $resource_drifts + * @type \Google\Cloud\Config\V1\ResourceDrift[] $resource_drifts * List of ResourceDrifts. * @type string $next_page_token * A token to request the next page of resources from the * 'ListResourceDrifts' method. The value of an empty string means that * there are no more resources to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * List of ResourceDrifts. * * Generated from protobuf field repeated .google.cloud.config.v1.ResourceDrift resource_drifts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\ResourceDrift> */ public function getResourceDrifts() { @@ -72,7 +72,7 @@ public function getResourceDrifts() * List of ResourceDrifts. * * Generated from protobuf field repeated .google.cloud.config.v1.ResourceDrift resource_drifts = 1; - * @param array<\Google\Cloud\Config\V1\ResourceDrift>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\ResourceDrift[] $var * @return $this */ public function setResourceDrifts($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Unreachable resources, if any. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Unreachable resources, if any. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Config/src/V1/ListResourcesRequest.php b/Config/src/V1/ListResourcesRequest.php index a85db19b3c23..a7aeee46faab 100644 --- a/Config/src/V1/ListResourcesRequest.php +++ b/Config/src/V1/ListResourcesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to list Resources passed to a 'ListResources' call. diff --git a/Config/src/V1/ListResourcesResponse.php b/Config/src/V1/ListResourcesResponse.php index 9fbb5d698634..d1355dcbe6cb 100644 --- a/Config/src/V1/ListResourcesResponse.php +++ b/Config/src/V1/ListResourcesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response to a 'ListResources' call. Contains a list of Resources. @@ -42,13 +42,13 @@ class ListResourcesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Config\V1\Resource>|\Google\Protobuf\Internal\RepeatedField $resources + * @type \Google\Cloud\Config\V1\Resource[] $resources * List of [Resources][google.cloud.config.v1.Resource]. * @type string $next_page_token * A token to request the next page of resources from the 'ListResources' * method. The value of an empty string means that there are no more resources * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * List of [Resources][google.cloud.config.v1.Resource]. * * Generated from protobuf field repeated .google.cloud.config.v1.Resource resources = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\Resource> */ public function getResources() { @@ -72,7 +72,7 @@ public function getResources() * List of [Resources][google.cloud.config.v1.Resource]. * * Generated from protobuf field repeated .google.cloud.config.v1.Resource resources = 1; - * @param array<\Google\Cloud\Config\V1\Resource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\Resource[] $var * @return $this */ public function setResources($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Config/src/V1/ListRevisionsRequest.php b/Config/src/V1/ListRevisionsRequest.php index 017b31cc9b52..4b3203fb0b46 100644 --- a/Config/src/V1/ListRevisionsRequest.php +++ b/Config/src/V1/ListRevisionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to list Revisions passed to a 'ListRevisions' call. diff --git a/Config/src/V1/ListRevisionsResponse.php b/Config/src/V1/ListRevisionsResponse.php index 77a270da4f81..20974aa7bae5 100644 --- a/Config/src/V1/ListRevisionsResponse.php +++ b/Config/src/V1/ListRevisionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response to a 'ListRevisions' call. Contains a list of Revisions. @@ -42,13 +42,13 @@ class ListRevisionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Config\V1\Revision>|\Google\Protobuf\Internal\RepeatedField $revisions + * @type \Google\Cloud\Config\V1\Revision[] $revisions * List of [Revision][google.cloud.config.v1.Revision]s. * @type string $next_page_token * A token to request the next page of resources from the 'ListRevisions' * method. The value of an empty string means that there are no more resources * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * List of [Revision][google.cloud.config.v1.Revision]s. * * Generated from protobuf field repeated .google.cloud.config.v1.Revision revisions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\Revision> */ public function getRevisions() { @@ -72,7 +72,7 @@ public function getRevisions() * List of [Revision][google.cloud.config.v1.Revision]s. * * Generated from protobuf field repeated .google.cloud.config.v1.Revision revisions = 1; - * @param array<\Google\Cloud\Config\V1\Revision>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\Revision[] $var * @return $this */ public function setRevisions($var) @@ -117,7 +117,7 @@ public function setNextPageToken($var) * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -128,7 +128,7 @@ public function getUnreachable() * Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Config/src/V1/ListTerraformVersionsRequest.php b/Config/src/V1/ListTerraformVersionsRequest.php index cafa08f457e2..379c472e2cc9 100644 --- a/Config/src/V1/ListTerraformVersionsRequest.php +++ b/Config/src/V1/ListTerraformVersionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the ListTerraformVersions method. diff --git a/Config/src/V1/ListTerraformVersionsResponse.php b/Config/src/V1/ListTerraformVersionsResponse.php index db79ce1618bf..5f74e98f1a1c 100644 --- a/Config/src/V1/ListTerraformVersionsResponse.php +++ b/Config/src/V1/ListTerraformVersionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response message for the `ListTerraformVersions` method. @@ -41,12 +41,12 @@ class ListTerraformVersionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Config\V1\TerraformVersion>|\Google\Protobuf\Internal\RepeatedField $terraform_versions + * @type \Google\Cloud\Config\V1\TerraformVersion[] $terraform_versions * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s. * @type string $next_page_token * Token to be supplied to the next ListTerraformVersions request via * `page_token` to obtain the next set of results. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\TerraformVersion> */ public function getTerraformVersions() { @@ -70,7 +70,7 @@ public function getTerraformVersions() * List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1; - * @param array<\Google\Cloud\Config\V1\TerraformVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\TerraformVersion[] $var * @return $this */ public function setTerraformVersions($var) @@ -113,7 +113,7 @@ public function setNextPageToken($var) * Unreachable resources, if any. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -124,7 +124,7 @@ public function getUnreachable() * Unreachable resources, if any. * * Generated from protobuf field repeated string unreachable = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/Config/src/V1/LockDeploymentRequest.php b/Config/src/V1/LockDeploymentRequest.php index 892e219ddd4e..d0fe1596d66e 100644 --- a/Config/src/V1/LockDeploymentRequest.php +++ b/Config/src/V1/LockDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to lock a deployment passed to a 'LockDeployment' call. diff --git a/Config/src/V1/LockInfo.php b/Config/src/V1/LockInfo.php index e2c17995883b..bbf44722d50a 100644 --- a/Config/src/V1/LockInfo.php +++ b/Config/src/V1/LockInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details about the lock which locked the deployment. @@ -34,7 +34,7 @@ class LockInfo extends \Google\Protobuf\Internal\Message */ protected $info = ''; /** - * user@hostname when available + * user\@hostname when available * * Generated from protobuf field string who = 4; */ @@ -65,7 +65,7 @@ class LockInfo extends \Google\Protobuf\Internal\Message * @type string $info * Extra information to store with the lock, provided by the caller. * @type string $who - * user@hostname when available + * user\@hostname when available * @type string $version * Terraform version * @type \Google\Protobuf\Timestamp $create_time @@ -156,7 +156,7 @@ public function setInfo($var) } /** - * user@hostname when available + * user\@hostname when available * * Generated from protobuf field string who = 4; * @return string @@ -167,7 +167,7 @@ public function getWho() } /** - * user@hostname when available + * user\@hostname when available * * Generated from protobuf field string who = 4; * @param string $var diff --git a/Config/src/V1/OperationMetadata.php b/Config/src/V1/OperationMetadata.php index 9a5c179c676a..fecf520339b9 100644 --- a/Config/src/V1/OperationMetadata.php +++ b/Config/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of the long-running operation. diff --git a/Config/src/V1/Preview.php b/Config/src/V1/Preview.php index dcb44513f29c..fd8e1e4fd6a7 100644 --- a/Config/src/V1/Preview.php +++ b/Config/src/V1/Preview.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A preview represents a set of actions Infra Manager would perform @@ -221,7 +221,7 @@ class Preview extends \Google\Protobuf\Internal\Message * Output only. Additional information regarding the current state. * @type string $build * Output only. Cloud Build instance UUID associated with this preview. - * @type array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $tf_errors + * @type \Google\Cloud\Config\V1\TerraformError[] $tf_errors * Output only. Summary of errors encountered during Terraform preview. * It has a size limit of 10, i.e. only top 10 errors will be summarized here. * @type string $error_logs @@ -682,7 +682,7 @@ public function setBuild($var) * It has a size limit of 10, i.e. only top 10 errors will be summarized here. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\TerraformError> */ public function getTfErrors() { @@ -694,7 +694,7 @@ public function getTfErrors() * It has a size limit of 10, i.e. only top 10 errors will be summarized here. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformError tf_errors = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\TerraformError[] $var * @return $this */ public function setTfErrors($var) diff --git a/Config/src/V1/Preview/ErrorCode.php b/Config/src/V1/Preview/ErrorCode.php index 0c2a4d303857..db4ddc718b45 100644 --- a/Config/src/V1/Preview/ErrorCode.php +++ b/Config/src/V1/Preview/ErrorCode.php @@ -94,4 +94,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Preview/PreviewMode.php b/Config/src/V1/Preview/PreviewMode.php index e4ab610f191d..5376daabc3dd 100644 --- a/Config/src/V1/Preview/PreviewMode.php +++ b/Config/src/V1/Preview/PreviewMode.php @@ -64,4 +64,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Preview/State.php b/Config/src/V1/Preview/State.php index f5d5f70406bd..a39f33616741 100644 --- a/Config/src/V1/Preview/State.php +++ b/Config/src/V1/Preview/State.php @@ -95,4 +95,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/PreviewArtifacts.php b/Config/src/V1/PreviewArtifacts.php index 91e8247154f2..536b6d6a893f 100644 --- a/Config/src/V1/PreviewArtifacts.php +++ b/Config/src/V1/PreviewArtifacts.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Artifacts created by preview. diff --git a/Config/src/V1/PreviewOperationMetadata.php b/Config/src/V1/PreviewOperationMetadata.php index 0aefd3e3567d..bc03439ae969 100644 --- a/Config/src/V1/PreviewOperationMetadata.php +++ b/Config/src/V1/PreviewOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Ephemeral metadata content describing the state of a preview operation. diff --git a/Config/src/V1/PreviewOperationMetadata/PreviewStep.php b/Config/src/V1/PreviewOperationMetadata/PreviewStep.php index fc21d2504c2b..3bd099791889 100644 --- a/Config/src/V1/PreviewOperationMetadata/PreviewStep.php +++ b/Config/src/V1/PreviewOperationMetadata/PreviewStep.php @@ -116,4 +116,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/PreviewResult.php b/Config/src/V1/PreviewResult.php index 0359b1700f4a..5b26088e563e 100644 --- a/Config/src/V1/PreviewResult.php +++ b/Config/src/V1/PreviewResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains a signed Cloud Storage URLs. diff --git a/Config/src/V1/PropertyChange.php b/Config/src/V1/PropertyChange.php index 17066e4219b2..1f23d891100c 100644 --- a/Config/src/V1/PropertyChange.php +++ b/Config/src/V1/PropertyChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A property change represents a change to a property in the state file. @@ -56,12 +56,12 @@ class PropertyChange extends \Google\Protobuf\Internal\Message * * @type string $path * Output only. The path of the property change. - * @type array|\Google\Protobuf\Internal\RepeatedField $before_sensitive_paths + * @type string[] $before_sensitive_paths * Output only. The paths of sensitive fields in `before`. Paths are relative * to `path`. * @type \Google\Protobuf\Value $before * Output only. Representations of the object value before the actions. - * @type array|\Google\Protobuf\Internal\RepeatedField $after_sensitive_paths + * @type string[] $after_sensitive_paths * Output only. The paths of sensitive fields in `after`. Paths are relative * to `path`. * @type \Google\Protobuf\Value $after @@ -104,7 +104,7 @@ public function setPath($var) * to `path`. * * Generated from protobuf field repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBeforeSensitivePaths() { @@ -116,7 +116,7 @@ public function getBeforeSensitivePaths() * to `path`. * * Generated from protobuf field repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setBeforeSensitivePaths($var) @@ -168,7 +168,7 @@ public function setBefore($var) * to `path`. * * Generated from protobuf field repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAfterSensitivePaths() { @@ -180,7 +180,7 @@ public function getAfterSensitivePaths() * to `path`. * * Generated from protobuf field repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAfterSensitivePaths($var) diff --git a/Config/src/V1/PropertyDrift.php b/Config/src/V1/PropertyDrift.php index 379007dccee4..9499413ae0f5 100644 --- a/Config/src/V1/PropertyDrift.php +++ b/Config/src/V1/PropertyDrift.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A property drift represents a drift to a property in the state file. @@ -56,12 +56,12 @@ class PropertyDrift extends \Google\Protobuf\Internal\Message * * @type string $path * Output only. The path of the property drift. - * @type array|\Google\Protobuf\Internal\RepeatedField $before_sensitive_paths + * @type string[] $before_sensitive_paths * Output only. The paths of sensitive fields in `before`. Paths are relative * to `path`. * @type \Google\Protobuf\Value $before * Output only. Representations of the object value before the actions. - * @type array|\Google\Protobuf\Internal\RepeatedField $after_sensitive_paths + * @type string[] $after_sensitive_paths * Output only. The paths of sensitive fields in `after`. Paths are relative * to `path`. * @type \Google\Protobuf\Value $after @@ -104,7 +104,7 @@ public function setPath($var) * to `path`. * * Generated from protobuf field repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBeforeSensitivePaths() { @@ -116,7 +116,7 @@ public function getBeforeSensitivePaths() * to `path`. * * Generated from protobuf field repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setBeforeSensitivePaths($var) @@ -168,7 +168,7 @@ public function setBefore($var) * to `path`. * * Generated from protobuf field repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAfterSensitivePaths() { @@ -180,7 +180,7 @@ public function getAfterSensitivePaths() * to `path`. * * Generated from protobuf field repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAfterSensitivePaths($var) diff --git a/Config/src/V1/ProviderConfig.php b/Config/src/V1/ProviderConfig.php index d7f6365e7041..852fc9b85f3b 100644 --- a/Config/src/V1/ProviderConfig.php +++ b/Config/src/V1/ProviderConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ProviderConfig contains the provider configurations. diff --git a/Config/src/V1/ProviderConfig/ProviderSource.php b/Config/src/V1/ProviderConfig/ProviderSource.php index 7f971458ceea..7aecad1dca92 100644 --- a/Config/src/V1/ProviderConfig/ProviderSource.php +++ b/Config/src/V1/ProviderConfig/ProviderSource.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Resource.php b/Config/src/V1/Resource.php index 7332bd595556..53135b7339ad 100644 --- a/Config/src/V1/Resource.php +++ b/Config/src/V1/Resource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Resource represents a Google Cloud Platform resource actuated by IM. diff --git a/Config/src/V1/Resource/Intent.php b/Config/src/V1/Resource/Intent.php index 0e57c7bab7a0..ef52dbb1d2ec 100644 --- a/Config/src/V1/Resource/Intent.php +++ b/Config/src/V1/Resource/Intent.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Resource/State.php b/Config/src/V1/Resource/State.php index 95de0a291481..c0465420618a 100644 --- a/Config/src/V1/Resource/State.php +++ b/Config/src/V1/Resource/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/ResourceCAIInfo.php b/Config/src/V1/ResourceCAIInfo.php index 2f64a7ffb66c..fc55a1557485 100644 --- a/Config/src/V1/ResourceCAIInfo.php +++ b/Config/src/V1/ResourceCAIInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CAI info of a Resource. diff --git a/Config/src/V1/ResourceChange.php b/Config/src/V1/ResourceChange.php index fb53210654d5..436aa138c121 100644 --- a/Config/src/V1/ResourceChange.php +++ b/Config/src/V1/ResourceChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A resource change represents a change to a resource in the state file. @@ -56,7 +56,7 @@ class ResourceChange extends \Google\Protobuf\Internal\Message * Output only. Terraform info of the resource change. * @type int $intent * Output only. The intent of the resource change. - * @type array<\Google\Cloud\Config\V1\PropertyChange>|\Google\Protobuf\Internal\RepeatedField $property_changes + * @type \Google\Cloud\Config\V1\PropertyChange[] $property_changes * Output only. The property changes of the resource change. * } */ @@ -161,7 +161,7 @@ public function setIntent($var) * Output only. The property changes of the resource change. * * Generated from protobuf field repeated .google.cloud.config.v1.PropertyChange property_changes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\PropertyChange> */ public function getPropertyChanges() { @@ -172,7 +172,7 @@ public function getPropertyChanges() * Output only. The property changes of the resource change. * * Generated from protobuf field repeated .google.cloud.config.v1.PropertyChange property_changes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Config\V1\PropertyChange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\PropertyChange[] $var * @return $this */ public function setPropertyChanges($var) diff --git a/Config/src/V1/ResourceChange/Intent.php b/Config/src/V1/ResourceChange/Intent.php index 580e8601b2f9..ce4b5dc0e66c 100644 --- a/Config/src/V1/ResourceChange/Intent.php +++ b/Config/src/V1/ResourceChange/Intent.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/ResourceChangeTerraformInfo.php b/Config/src/V1/ResourceChangeTerraformInfo.php index 46863c59cdce..70d5732d455f 100644 --- a/Config/src/V1/ResourceChangeTerraformInfo.php +++ b/Config/src/V1/ResourceChangeTerraformInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Terraform info of a ResourceChange. @@ -60,7 +60,7 @@ class ResourceChangeTerraformInfo extends \Google\Protobuf\Internal\Message * Output only. TF resource name. * @type string $provider * Output only. TF resource provider. - * @type array|\Google\Protobuf\Internal\RepeatedField $actions + * @type string[] $actions * Output only. TF resource actions. * } */ @@ -177,7 +177,7 @@ public function setProvider($var) * Output only. TF resource actions. * * Generated from protobuf field repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getActions() { @@ -188,7 +188,7 @@ public function getActions() * Output only. TF resource actions. * * Generated from protobuf field repeated string actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setActions($var) diff --git a/Config/src/V1/ResourceDrift.php b/Config/src/V1/ResourceDrift.php index 5030f4e26e25..e1f314d2edbc 100644 --- a/Config/src/V1/ResourceDrift.php +++ b/Config/src/V1/ResourceDrift.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A resource drift represents a drift to a resource in the state file. @@ -48,7 +48,7 @@ class ResourceDrift extends \Google\Protobuf\Internal\Message * 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. * @type \Google\Cloud\Config\V1\ResourceDriftTerraformInfo $terraform_info * Output only. Terraform info of the resource drift. - * @type array<\Google\Cloud\Config\V1\PropertyDrift>|\Google\Protobuf\Internal\RepeatedField $property_drifts + * @type \Google\Cloud\Config\V1\PropertyDrift[] $property_drifts * Output only. The property drifts of the resource drift. * } */ @@ -127,7 +127,7 @@ public function setTerraformInfo($var) * Output only. The property drifts of the resource drift. * * Generated from protobuf field repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\PropertyDrift> */ public function getPropertyDrifts() { @@ -138,7 +138,7 @@ public function getPropertyDrifts() * Output only. The property drifts of the resource drift. * * Generated from protobuf field repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Config\V1\PropertyDrift>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\PropertyDrift[] $var * @return $this */ public function setPropertyDrifts($var) diff --git a/Config/src/V1/ResourceDriftTerraformInfo.php b/Config/src/V1/ResourceDriftTerraformInfo.php index 639285ffaa8a..9048d15c9600 100644 --- a/Config/src/V1/ResourceDriftTerraformInfo.php +++ b/Config/src/V1/ResourceDriftTerraformInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Terraform info of a ResourceChange. diff --git a/Config/src/V1/ResourceTerraformInfo.php b/Config/src/V1/ResourceTerraformInfo.php index 452e1b4fcaf4..67e827fd3e44 100644 --- a/Config/src/V1/ResourceTerraformInfo.php +++ b/Config/src/V1/ResourceTerraformInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Terraform info of a Resource. diff --git a/Config/src/V1/Revision.php b/Config/src/V1/Revision.php index 62361c965ff0..5540591dca9e 100644 --- a/Config/src/V1/Revision.php +++ b/Config/src/V1/Revision.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A child resource of a Deployment generated by a 'CreateDeployment' or @@ -194,7 +194,7 @@ class Revision extends \Google\Protobuf\Internal\Message * @type string $logs * Output only. Location of Revision operation logs in * `gs://{bucket}/{object}` format. - * @type array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $tf_errors + * @type \Google\Cloud\Config\V1\TerraformError[] $tf_errors * Output only. Errors encountered when creating or updating this deployment. * Errors are truncated to 10 entries, see `delete_results` and `error_logs` * for full details. @@ -576,7 +576,7 @@ public function setLogs($var) * for full details. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Config\V1\TerraformError> */ public function getTfErrors() { @@ -589,7 +589,7 @@ public function getTfErrors() * for full details. * * Generated from protobuf field repeated .google.cloud.config.v1.TerraformError tf_errors = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Config\V1\TerraformError>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Config\V1\TerraformError[] $var * @return $this */ public function setTfErrors($var) diff --git a/Config/src/V1/Revision/Action.php b/Config/src/V1/Revision/Action.php index b1f16ccd82d5..85521992003c 100644 --- a/Config/src/V1/Revision/Action.php +++ b/Config/src/V1/Revision/Action.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Revision/ErrorCode.php b/Config/src/V1/Revision/ErrorCode.php index d1012db4984b..b1e770b819a6 100644 --- a/Config/src/V1/Revision/ErrorCode.php +++ b/Config/src/V1/Revision/ErrorCode.php @@ -83,4 +83,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Revision/State.php b/Config/src/V1/Revision/State.php index e95bd4b568d0..19337d1e07f1 100644 --- a/Config/src/V1/Revision/State.php +++ b/Config/src/V1/Revision/State.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/Statefile.php b/Config/src/V1/Statefile.php index 5ed3c47ac7c1..c60b9eedcb0c 100644 --- a/Config/src/V1/Statefile.php +++ b/Config/src/V1/Statefile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains info about a Terraform state file diff --git a/Config/src/V1/TerraformBlueprint.php b/Config/src/V1/TerraformBlueprint.php index e05b1c680603..431042be0474 100644 --- a/Config/src/V1/TerraformBlueprint.php +++ b/Config/src/V1/TerraformBlueprint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * TerraformBlueprint describes the source of a Terraform root module which diff --git a/Config/src/V1/TerraformError.php b/Config/src/V1/TerraformError.php index 9f72e6085f05..b5122b35018e 100644 --- a/Config/src/V1/TerraformError.php +++ b/Config/src/V1/TerraformError.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Errors encountered during actuation using Terraform diff --git a/Config/src/V1/TerraformOutput.php b/Config/src/V1/TerraformOutput.php index 274b90dccea7..53151c4d13b0 100644 --- a/Config/src/V1/TerraformOutput.php +++ b/Config/src/V1/TerraformOutput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a Terraform output. diff --git a/Config/src/V1/TerraformVariable.php b/Config/src/V1/TerraformVariable.php index 631dd9e88a89..d422c1dca66c 100644 --- a/Config/src/V1/TerraformVariable.php +++ b/Config/src/V1/TerraformVariable.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Terraform input variable. diff --git a/Config/src/V1/TerraformVersion.php b/Config/src/V1/TerraformVersion.php index 15be7f36d1d1..a22aa5d6b36e 100644 --- a/Config/src/V1/TerraformVersion.php +++ b/Config/src/V1/TerraformVersion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A TerraformVersion represents the support state the corresponding diff --git a/Config/src/V1/TerraformVersion/State.php b/Config/src/V1/TerraformVersion/State.php index e9b33658097e..853b83a6296c 100644 --- a/Config/src/V1/TerraformVersion/State.php +++ b/Config/src/V1/TerraformVersion/State.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Config/src/V1/UnlockDeploymentRequest.php b/Config/src/V1/UnlockDeploymentRequest.php index b37045f8c520..6441cb0d1541 100644 --- a/Config/src/V1/UnlockDeploymentRequest.php +++ b/Config/src/V1/UnlockDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to unlock a state file passed to a 'UnlockDeployment' call. diff --git a/Config/src/V1/UpdateAutoMigrationConfigRequest.php b/Config/src/V1/UpdateAutoMigrationConfigRequest.php index 27c3e1c5d96a..46877b9e08ca 100644 --- a/Config/src/V1/UpdateAutoMigrationConfigRequest.php +++ b/Config/src/V1/UpdateAutoMigrationConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for the UpdateAutoMigrationConfig method. diff --git a/Config/src/V1/UpdateDeploymentRequest.php b/Config/src/V1/UpdateDeploymentRequest.php index 99451b86cde0..a78449e25ccb 100644 --- a/Config/src/V1/UpdateDeploymentRequest.php +++ b/Config/src/V1/UpdateDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Config\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generated from protobuf message google.cloud.config.v1.UpdateDeploymentRequest diff --git a/ConfigDelivery/metadata/V1/ConfigDelivery.php b/ConfigDelivery/metadata/V1/ConfigDelivery.php index 6e756976f9f8..e27928f707a2 100644 Binary files a/ConfigDelivery/metadata/V1/ConfigDelivery.php and b/ConfigDelivery/metadata/V1/ConfigDelivery.php differ diff --git a/ConfigDelivery/metadata/V1Beta/ConfigDelivery.php b/ConfigDelivery/metadata/V1Beta/ConfigDelivery.php index 2f1b57e557cb..6ecae0629644 100644 Binary files a/ConfigDelivery/metadata/V1Beta/ConfigDelivery.php and b/ConfigDelivery/metadata/V1Beta/ConfigDelivery.php differ diff --git a/ConfigDelivery/src/V1/AbortRolloutRequest.php b/ConfigDelivery/src/V1/AbortRolloutRequest.php index d77898aa94c2..7f9ff9b99a00 100644 --- a/ConfigDelivery/src/V1/AbortRolloutRequest.php +++ b/ConfigDelivery/src/V1/AbortRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for aborting a rollout. diff --git a/ConfigDelivery/src/V1/AllAtOnceStrategy.php b/ConfigDelivery/src/V1/AllAtOnceStrategy.php index 64ef8bfaedc7..a84d96aaa572 100644 --- a/ConfigDelivery/src/V1/AllAtOnceStrategy.php +++ b/ConfigDelivery/src/V1/AllAtOnceStrategy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AllAtOnceStrategy causes all clusters to be updated concurrently. diff --git a/ConfigDelivery/src/V1/AllAtOnceStrategyInfo.php b/ConfigDelivery/src/V1/AllAtOnceStrategyInfo.php index da08d21735ef..51d949d87799 100644 --- a/ConfigDelivery/src/V1/AllAtOnceStrategyInfo.php +++ b/ConfigDelivery/src/V1/AllAtOnceStrategyInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AllAtOnceStrategyInfo represents the status of execution of AllAtOnce rollout @@ -30,7 +30,7 @@ class AllAtOnceStrategyInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $clusters + * @type \Google\Cloud\ConfigDelivery\V1\ClusterInfo[] $clusters * Unordered list. resource bundle's deployment status for all targeted * clusters. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\ClusterInfo> */ public function getClusters() { @@ -57,7 +57,7 @@ public function getClusters() * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array<\Google\Cloud\ConfigDelivery\V1\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\ClusterInfo[] $var * @return $this */ public function setClusters($var) diff --git a/ConfigDelivery/src/V1/ClusterInfo.php b/ConfigDelivery/src/V1/ClusterInfo.php index 650c70f6681c..0dba9f509e55 100644 --- a/ConfigDelivery/src/V1/ClusterInfo.php +++ b/ConfigDelivery/src/V1/ClusterInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ClusterInfo represents status of a resource bundle rollout for a cluster. @@ -81,7 +81,7 @@ class ClusterInfo extends \Google\Protobuf\Internal\Message * Output only. Current state of the resource bundle. * @type int $state * Output only. State of the rollout for the cluster. - * @type array|\Google\Protobuf\Internal\RepeatedField $messages + * @type string[] $messages * Output only. Unordered list. Messages convey additional information related * to the deployment. * @type \Google\Protobuf\Timestamp $start_time @@ -260,7 +260,7 @@ public function setState($var) * to the deployment. * * Generated from protobuf field repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMessages() { @@ -272,7 +272,7 @@ public function getMessages() * to the deployment. * * Generated from protobuf field repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMessages($var) diff --git a/ConfigDelivery/src/V1/ClusterInfo/State.php b/ConfigDelivery/src/V1/ClusterInfo/State.php index c729d76c6895..04605761f401 100644 --- a/ConfigDelivery/src/V1/ClusterInfo/State.php +++ b/ConfigDelivery/src/V1/ClusterInfo/State.php @@ -108,4 +108,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1/CreateFleetPackageRequest.php b/ConfigDelivery/src/V1/CreateFleetPackageRequest.php index 722033176a35..b288f43cf63e 100644 --- a/ConfigDelivery/src/V1/CreateFleetPackageRequest.php +++ b/ConfigDelivery/src/V1/CreateFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a FleetPackage diff --git a/ConfigDelivery/src/V1/CreateReleaseRequest.php b/ConfigDelivery/src/V1/CreateReleaseRequest.php index 63b174fbdb63..0c4c6decc86a 100644 --- a/ConfigDelivery/src/V1/CreateReleaseRequest.php +++ b/ConfigDelivery/src/V1/CreateReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Release diff --git a/ConfigDelivery/src/V1/CreateResourceBundleRequest.php b/ConfigDelivery/src/V1/CreateResourceBundleRequest.php index 7bae9ae6a4c5..d8c1d6c2d6c3 100644 --- a/ConfigDelivery/src/V1/CreateResourceBundleRequest.php +++ b/ConfigDelivery/src/V1/CreateResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a ResourceBundle. diff --git a/ConfigDelivery/src/V1/CreateVariantRequest.php b/ConfigDelivery/src/V1/CreateVariantRequest.php index e64de8d3a73f..0c13dcc70766 100644 --- a/ConfigDelivery/src/V1/CreateVariantRequest.php +++ b/ConfigDelivery/src/V1/CreateVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Variant diff --git a/ConfigDelivery/src/V1/DeleteFleetPackageRequest.php b/ConfigDelivery/src/V1/DeleteFleetPackageRequest.php index f24cf098a8b9..6b53121cce00 100644 --- a/ConfigDelivery/src/V1/DeleteFleetPackageRequest.php +++ b/ConfigDelivery/src/V1/DeleteFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a FleetPackage diff --git a/ConfigDelivery/src/V1/DeleteReleaseRequest.php b/ConfigDelivery/src/V1/DeleteReleaseRequest.php index d8b5143285cb..7c4bba44a0c2 100644 --- a/ConfigDelivery/src/V1/DeleteReleaseRequest.php +++ b/ConfigDelivery/src/V1/DeleteReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Release diff --git a/ConfigDelivery/src/V1/DeleteResourceBundleRequest.php b/ConfigDelivery/src/V1/DeleteResourceBundleRequest.php index 51f1d7a2a2fa..b0da12be9511 100644 --- a/ConfigDelivery/src/V1/DeleteResourceBundleRequest.php +++ b/ConfigDelivery/src/V1/DeleteResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a ResourceBundle diff --git a/ConfigDelivery/src/V1/DeleteVariantRequest.php b/ConfigDelivery/src/V1/DeleteVariantRequest.php index 626b96a9add6..8720529b467e 100644 --- a/ConfigDelivery/src/V1/DeleteVariantRequest.php +++ b/ConfigDelivery/src/V1/DeleteVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Variant diff --git a/ConfigDelivery/src/V1/Fleet.php b/ConfigDelivery/src/V1/Fleet.php index acbd30927274..3edfba8a9ea0 100644 --- a/ConfigDelivery/src/V1/Fleet.php +++ b/ConfigDelivery/src/V1/Fleet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The fleet where the `FleetPackage` should be deployed. diff --git a/ConfigDelivery/src/V1/Fleet/LabelSelector.php b/ConfigDelivery/src/V1/Fleet/LabelSelector.php index 62e988834d2a..f746269deb3d 100644 --- a/ConfigDelivery/src/V1/Fleet/LabelSelector.php +++ b/ConfigDelivery/src/V1/Fleet/LabelSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1\Fleet; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A label selector is a label query over a set of resources. An empty label @@ -74,4 +74,3 @@ public function setMatchLabels($var) } - diff --git a/ConfigDelivery/src/V1/FleetPackage.php b/ConfigDelivery/src/V1/FleetPackage.php index ba9bab9edc10..6afda57e7ca2 100644 --- a/ConfigDelivery/src/V1/FleetPackage.php +++ b/ConfigDelivery/src/V1/FleetPackage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A `FleetPackage` resource in the Config Delivery API. diff --git a/ConfigDelivery/src/V1/FleetPackage/CloudBuildRepository.php b/ConfigDelivery/src/V1/FleetPackage/CloudBuildRepository.php index 6c0dc1b210b3..12ba3ab9d3e9 100644 --- a/ConfigDelivery/src/V1/FleetPackage/CloudBuildRepository.php +++ b/ConfigDelivery/src/V1/FleetPackage/CloudBuildRepository.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CloudBuildRepository contains information about fetching Kubernetes @@ -55,7 +55,7 @@ class CloudBuildRepository extends \Google\Protobuf\Internal\Message * * @type string $variants_pattern * Optional. variants_pattern is a glob pattern that will be used to find - * variants in the repository. Examples: `variants/*.yaml`, `us-*` + * variants in the repository. Examples: `variants/*.yaml`, `us-*` * @type string $name * Required. Name of the cloud build repository. * Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}. @@ -78,7 +78,7 @@ public function __construct($data = NULL) { /** * Optional. variants_pattern is a glob pattern that will be used to find - * variants in the repository. Examples: `variants/*.yaml`, `us-*` + * variants in the repository. Examples: `variants/*.yaml`, `us-*` * * Generated from protobuf field string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -95,7 +95,7 @@ public function hasVariantsPattern() /** * Optional. variants_pattern is a glob pattern that will be used to find - * variants in the repository. Examples: `variants/*.yaml`, `us-*` + * variants in the repository. Examples: `variants/*.yaml`, `us-*` * * Generated from protobuf field string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var @@ -233,4 +233,3 @@ public function getVariants() } - diff --git a/ConfigDelivery/src/V1/FleetPackage/ResourceBundleSelector.php b/ConfigDelivery/src/V1/FleetPackage/ResourceBundleSelector.php index e8f929875fda..7894209b5fbc 100644 --- a/ConfigDelivery/src/V1/FleetPackage/ResourceBundleSelector.php +++ b/ConfigDelivery/src/V1/FleetPackage/ResourceBundleSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information specifying the source of kubernetes configuration to deploy. @@ -106,4 +106,3 @@ public function getSource() } - diff --git a/ConfigDelivery/src/V1/FleetPackage/ResourceBundleTag.php b/ConfigDelivery/src/V1/FleetPackage/ResourceBundleTag.php index a5fc6252132a..f2d2111f2576 100644 --- a/ConfigDelivery/src/V1/FleetPackage/ResourceBundleTag.php +++ b/ConfigDelivery/src/V1/FleetPackage/ResourceBundleTag.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResourceBundleTag contains the information to refer to a release for a @@ -108,4 +108,3 @@ public function setTag($var) } - diff --git a/ConfigDelivery/src/V1/FleetPackage/State.php b/ConfigDelivery/src/V1/FleetPackage/State.php index 7b6a8f2f90d6..288ddbe83b5e 100644 --- a/ConfigDelivery/src/V1/FleetPackage/State.php +++ b/ConfigDelivery/src/V1/FleetPackage/State.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1/FleetPackage/Target.php b/ConfigDelivery/src/V1/FleetPackage/Target.php index d8fba6f5e46b..6652818ba856 100644 --- a/ConfigDelivery/src/V1/FleetPackage/Target.php +++ b/ConfigDelivery/src/V1/FleetPackage/Target.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The target defines different ways to target set of kubernetes clusters. @@ -73,4 +73,3 @@ public function getTarget() } - diff --git a/ConfigDelivery/src/V1/FleetPackage/VariantSelector.php b/ConfigDelivery/src/V1/FleetPackage/VariantSelector.php index ee340ba58456..5a3e233fbba9 100644 --- a/ConfigDelivery/src/V1/FleetPackage/VariantSelector.php +++ b/ConfigDelivery/src/V1/FleetPackage/VariantSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * VariantSelector contains information for selecting a variant in @@ -98,4 +98,3 @@ public function getStrategy() } - diff --git a/ConfigDelivery/src/V1/FleetPackageError.php b/ConfigDelivery/src/V1/FleetPackageError.php index 9a818a27ede9..34ade8f59d3d 100644 --- a/ConfigDelivery/src/V1/FleetPackageError.php +++ b/ConfigDelivery/src/V1/FleetPackageError.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information representing an error encountered during rolling out diff --git a/ConfigDelivery/src/V1/FleetPackageInfo.php b/ConfigDelivery/src/V1/FleetPackageInfo.php index aedb3816174f..84651b12a50b 100644 --- a/ConfigDelivery/src/V1/FleetPackageInfo.php +++ b/ConfigDelivery/src/V1/FleetPackageInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * FleetPackageInfo represents the status of the `FleetPackage` across all the @@ -58,7 +58,7 @@ class FleetPackageInfo extends \Google\Protobuf\Internal\Message * `projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}`. * @type int $state * Optional. Output only. The current state of the `FleetPackage`. - * @type array<\Google\Cloud\ConfigDelivery\V1\FleetPackageError>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\ConfigDelivery\V1\FleetPackageError[] $errors * Optional. Output only. Errors encountered during configuration deployment * (if any). * } @@ -155,7 +155,7 @@ public function setState($var) * (if any). * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\FleetPackageError> */ public function getErrors() { @@ -167,7 +167,7 @@ public function getErrors() * (if any). * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfigDelivery\V1\FleetPackageError>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\FleetPackageError[] $var * @return $this */ public function setErrors($var) diff --git a/ConfigDelivery/src/V1/FleetPackageInfo/State.php b/ConfigDelivery/src/V1/FleetPackageInfo/State.php index d3cc296381d0..f28fbf17a5b2 100644 --- a/ConfigDelivery/src/V1/FleetPackageInfo/State.php +++ b/ConfigDelivery/src/V1/FleetPackageInfo/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1/GetFleetPackageRequest.php b/ConfigDelivery/src/V1/GetFleetPackageRequest.php index d3aab300fc99..33291585f7e7 100644 --- a/ConfigDelivery/src/V1/GetFleetPackageRequest.php +++ b/ConfigDelivery/src/V1/GetFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a FleetPackage diff --git a/ConfigDelivery/src/V1/GetReleaseRequest.php b/ConfigDelivery/src/V1/GetReleaseRequest.php index 4c1d3faa0638..e47cdbcc5f2c 100644 --- a/ConfigDelivery/src/V1/GetReleaseRequest.php +++ b/ConfigDelivery/src/V1/GetReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Release diff --git a/ConfigDelivery/src/V1/GetResourceBundleRequest.php b/ConfigDelivery/src/V1/GetResourceBundleRequest.php index 43e84cd699ec..d91749cc9d16 100644 --- a/ConfigDelivery/src/V1/GetResourceBundleRequest.php +++ b/ConfigDelivery/src/V1/GetResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a ResourceBundle. diff --git a/ConfigDelivery/src/V1/GetRolloutRequest.php b/ConfigDelivery/src/V1/GetRolloutRequest.php index ae9e484ee7ab..a367a0f9a489 100644 --- a/ConfigDelivery/src/V1/GetRolloutRequest.php +++ b/ConfigDelivery/src/V1/GetRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Rollout diff --git a/ConfigDelivery/src/V1/GetVariantRequest.php b/ConfigDelivery/src/V1/GetVariantRequest.php index 75f70dd2697c..a8de7d5a2500 100644 --- a/ConfigDelivery/src/V1/GetVariantRequest.php +++ b/ConfigDelivery/src/V1/GetVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Variant diff --git a/ConfigDelivery/src/V1/ListFleetPackagesRequest.php b/ConfigDelivery/src/V1/ListFleetPackagesRequest.php index 0e250276cb9b..7eeaa4e24326 100644 --- a/ConfigDelivery/src/V1/ListFleetPackagesRequest.php +++ b/ConfigDelivery/src/V1/ListFleetPackagesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of FleetPackage. diff --git a/ConfigDelivery/src/V1/ListFleetPackagesResponse.php b/ConfigDelivery/src/V1/ListFleetPackagesResponse.php index 63a091728469..834828545f1b 100644 --- a/ConfigDelivery/src/V1/ListFleetPackagesResponse.php +++ b/ConfigDelivery/src/V1/ListFleetPackagesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing FleetPackage @@ -40,11 +40,11 @@ class ListFleetPackagesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1\FleetPackage>|\Google\Protobuf\Internal\RepeatedField $fleet_packages + * @type \Google\Cloud\ConfigDelivery\V1\FleetPackage[] $fleet_packages * The list of FleetPackage * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of FleetPackage * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.FleetPackage fleet_packages = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\FleetPackage> */ public function getFleetPackages() { @@ -68,7 +68,7 @@ public function getFleetPackages() * The list of FleetPackage * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.FleetPackage fleet_packages = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1\FleetPackage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\FleetPackage[] $var * @return $this */ public function setFleetPackages($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1/ListReleasesRequest.php b/ConfigDelivery/src/V1/ListReleasesRequest.php index 3d3e83faf1b7..16e9ac04a728 100644 --- a/ConfigDelivery/src/V1/ListReleasesRequest.php +++ b/ConfigDelivery/src/V1/ListReleasesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Releases. diff --git a/ConfigDelivery/src/V1/ListReleasesResponse.php b/ConfigDelivery/src/V1/ListReleasesResponse.php index 4c20b6c1cc39..32e82ecaf097 100644 --- a/ConfigDelivery/src/V1/ListReleasesResponse.php +++ b/ConfigDelivery/src/V1/ListReleasesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Releases @@ -40,11 +40,11 @@ class ListReleasesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1\Release>|\Google\Protobuf\Internal\RepeatedField $releases + * @type \Google\Cloud\ConfigDelivery\V1\Release[] $releases * The list of Releases * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Releases * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.Release releases = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\Release> */ public function getReleases() { @@ -68,7 +68,7 @@ public function getReleases() * The list of Releases * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.Release releases = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1\Release>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\Release[] $var * @return $this */ public function setReleases($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1/ListResourceBundlesRequest.php b/ConfigDelivery/src/V1/ListResourceBundlesRequest.php index 11ce18c3c5ba..8b44a548f264 100644 --- a/ConfigDelivery/src/V1/ListResourceBundlesRequest.php +++ b/ConfigDelivery/src/V1/ListResourceBundlesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of ResourceBundles. diff --git a/ConfigDelivery/src/V1/ListResourceBundlesResponse.php b/ConfigDelivery/src/V1/ListResourceBundlesResponse.php index af9b28801b90..19259296440e 100644 --- a/ConfigDelivery/src/V1/ListResourceBundlesResponse.php +++ b/ConfigDelivery/src/V1/ListResourceBundlesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing ResourceBundles. @@ -40,11 +40,11 @@ class ListResourceBundlesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1\ResourceBundle>|\Google\Protobuf\Internal\RepeatedField $resource_bundles + * @type \Google\Cloud\ConfigDelivery\V1\ResourceBundle[] $resource_bundles * The list of ResourceBundle. * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of ResourceBundle. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.ResourceBundle resource_bundles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\ResourceBundle> */ public function getResourceBundles() { @@ -68,7 +68,7 @@ public function getResourceBundles() * The list of ResourceBundle. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.ResourceBundle resource_bundles = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1\ResourceBundle>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\ResourceBundle[] $var * @return $this */ public function setResourceBundles($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1/ListRolloutsRequest.php b/ConfigDelivery/src/V1/ListRolloutsRequest.php index db8ac1bca8d9..7df8a78b08a1 100644 --- a/ConfigDelivery/src/V1/ListRolloutsRequest.php +++ b/ConfigDelivery/src/V1/ListRolloutsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Rollouts diff --git a/ConfigDelivery/src/V1/ListRolloutsResponse.php b/ConfigDelivery/src/V1/ListRolloutsResponse.php index 1fadacc62a2d..d4f3a41ad96f 100644 --- a/ConfigDelivery/src/V1/ListRolloutsResponse.php +++ b/ConfigDelivery/src/V1/ListRolloutsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Rollouts @@ -40,11 +40,11 @@ class ListRolloutsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1\Rollout>|\Google\Protobuf\Internal\RepeatedField $rollouts + * @type \Google\Cloud\ConfigDelivery\V1\Rollout[] $rollouts * The list of Rollouts * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Rollouts * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.Rollout rollouts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\Rollout> */ public function getRollouts() { @@ -68,7 +68,7 @@ public function getRollouts() * The list of Rollouts * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.Rollout rollouts = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1\Rollout>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\Rollout[] $var * @return $this */ public function setRollouts($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1/ListVariantsRequest.php b/ConfigDelivery/src/V1/ListVariantsRequest.php index 5126954b17d8..80e966ad8306 100644 --- a/ConfigDelivery/src/V1/ListVariantsRequest.php +++ b/ConfigDelivery/src/V1/ListVariantsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Variants. diff --git a/ConfigDelivery/src/V1/ListVariantsResponse.php b/ConfigDelivery/src/V1/ListVariantsResponse.php index 8cfe4023c58a..162a262daa0f 100644 --- a/ConfigDelivery/src/V1/ListVariantsResponse.php +++ b/ConfigDelivery/src/V1/ListVariantsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Variants @@ -40,11 +40,11 @@ class ListVariantsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1\Variant>|\Google\Protobuf\Internal\RepeatedField $variants + * @type \Google\Cloud\ConfigDelivery\V1\Variant[] $variants * The list of Variants * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Variants * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.Variant variants = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\Variant> */ public function getVariants() { @@ -68,7 +68,7 @@ public function getVariants() * The list of Variants * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.Variant variants = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1\Variant>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\Variant[] $var * @return $this */ public function setVariants($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1/OperationMetadata.php b/ConfigDelivery/src/V1/OperationMetadata.php index a4add636b16b..80fc79d03822 100644 --- a/ConfigDelivery/src/V1/OperationMetadata.php +++ b/ConfigDelivery/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of the long-running operation. diff --git a/ConfigDelivery/src/V1/Release.php b/ConfigDelivery/src/V1/Release.php index 659cac3d721e..3624f6c9f68f 100644 --- a/ConfigDelivery/src/V1/Release.php +++ b/ConfigDelivery/src/V1/Release.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Release` represents a versioned release containing kubernetes manifests. diff --git a/ConfigDelivery/src/V1/Release/Lifecycle.php b/ConfigDelivery/src/V1/Release/Lifecycle.php index 909d18294a76..df0b38aafc3a 100644 --- a/ConfigDelivery/src/V1/Release/Lifecycle.php +++ b/ConfigDelivery/src/V1/Release/Lifecycle.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1/ReleaseInfo.php b/ConfigDelivery/src/V1/ReleaseInfo.php index f00fce9b18bd..b51c188e115b 100644 --- a/ConfigDelivery/src/V1/ReleaseInfo.php +++ b/ConfigDelivery/src/V1/ReleaseInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ReleaseInfo contains extra information about the `ResourceBundle` release diff --git a/ConfigDelivery/src/V1/ResourceBundle.php b/ConfigDelivery/src/V1/ResourceBundle.php index ef4f08ad3d87..0fd4912ac5c7 100644 --- a/ConfigDelivery/src/V1/ResourceBundle.php +++ b/ConfigDelivery/src/V1/ResourceBundle.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResourceBundle represent a collection of kubernetes configuration resources. diff --git a/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo.php b/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo.php index c0a2da3d9169..ba6a35af7e0d 100644 --- a/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo.php +++ b/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResourceBundleDeploymentInfo represents the status of a resource bundle @@ -64,7 +64,7 @@ class ResourceBundleDeploymentInfo extends \Google\Protobuf\Internal\Message * Output only. Refers to a variant in a `ResourceBundle` release. * @type int $sync_state * Output only. Synchronization state of the `ResourceBundle` deployment. - * @type array|\Google\Protobuf\Internal\RepeatedField $messages + * @type string[] $messages * Output only. Unordered list. Messages contains information related to the * `ResourceBundle` deployment. For example, in case of an error, indicate the * reason for the error. In case of a pending deployment, reason for why the @@ -187,7 +187,7 @@ public function setSyncState($var) * deployment of new release is pending. * * Generated from protobuf field repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMessages() { @@ -201,7 +201,7 @@ public function getMessages() * deployment of new release is pending. * * Generated from protobuf field repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMessages($var) diff --git a/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo/SyncState.php b/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo/SyncState.php index d74d33dd44d8..6b3a505fdc88 100644 --- a/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo/SyncState.php +++ b/ConfigDelivery/src/V1/ResourceBundleDeploymentInfo/SyncState.php @@ -101,4 +101,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1/ResumeRolloutRequest.php b/ConfigDelivery/src/V1/ResumeRolloutRequest.php index 5ef05353cb03..8ca80c74a3f4 100644 --- a/ConfigDelivery/src/V1/ResumeRolloutRequest.php +++ b/ConfigDelivery/src/V1/ResumeRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for resuming a rollout. diff --git a/ConfigDelivery/src/V1/RollingStrategy.php b/ConfigDelivery/src/V1/RollingStrategy.php index 16df5e7c6afd..876d570ccc29 100644 --- a/ConfigDelivery/src/V1/RollingStrategy.php +++ b/ConfigDelivery/src/V1/RollingStrategy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RollingStrategy causes a specified number of clusters to be updated diff --git a/ConfigDelivery/src/V1/RollingStrategyInfo.php b/ConfigDelivery/src/V1/RollingStrategyInfo.php index 5d4dc1a91564..fcccce0a8e72 100644 --- a/ConfigDelivery/src/V1/RollingStrategyInfo.php +++ b/ConfigDelivery/src/V1/RollingStrategyInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RollingStrategyInfo represents the status of execution of Rolling rollout @@ -30,7 +30,7 @@ class RollingStrategyInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $clusters + * @type \Google\Cloud\ConfigDelivery\V1\ClusterInfo[] $clusters * Unordered list. resource bundle's deployment status for all targeted * clusters. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1\ClusterInfo> */ public function getClusters() { @@ -57,7 +57,7 @@ public function getClusters() * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array<\Google\Cloud\ConfigDelivery\V1\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1\ClusterInfo[] $var * @return $this */ public function setClusters($var) diff --git a/ConfigDelivery/src/V1/Rollout.php b/ConfigDelivery/src/V1/Rollout.php index 93cc86cb26ee..65d39a33e4db 100644 --- a/ConfigDelivery/src/V1/Rollout.php +++ b/ConfigDelivery/src/V1/Rollout.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rollout resource represents an instance of `FleetPackage` rollout operation diff --git a/ConfigDelivery/src/V1/RolloutInfo.php b/ConfigDelivery/src/V1/RolloutInfo.php index c17ec4669970..54f0bf22c1ab 100644 --- a/ConfigDelivery/src/V1/RolloutInfo.php +++ b/ConfigDelivery/src/V1/RolloutInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RolloutInfo represents the state of the `FleetPackage` at all the diff --git a/ConfigDelivery/src/V1/RolloutInfo/State.php b/ConfigDelivery/src/V1/RolloutInfo/State.php index 3461d0c09309..3063b32ee2f5 100644 --- a/ConfigDelivery/src/V1/RolloutInfo/State.php +++ b/ConfigDelivery/src/V1/RolloutInfo/State.php @@ -94,4 +94,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1/RolloutStrategy.php b/ConfigDelivery/src/V1/RolloutStrategy.php index 35e8623850f6..55dfd8e89245 100644 --- a/ConfigDelivery/src/V1/RolloutStrategy.php +++ b/ConfigDelivery/src/V1/RolloutStrategy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RolloutStrategy defines different ways to rollout a resource bundle across diff --git a/ConfigDelivery/src/V1/RolloutStrategyInfo.php b/ConfigDelivery/src/V1/RolloutStrategyInfo.php index 787a7099298d..fb075c51fdfd 100644 --- a/ConfigDelivery/src/V1/RolloutStrategyInfo.php +++ b/ConfigDelivery/src/V1/RolloutStrategyInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RolloutStrategyInfo represents the status of execution of different types of diff --git a/ConfigDelivery/src/V1/SuspendRolloutRequest.php b/ConfigDelivery/src/V1/SuspendRolloutRequest.php index 0df9967e2a9d..334b86299c13 100644 --- a/ConfigDelivery/src/V1/SuspendRolloutRequest.php +++ b/ConfigDelivery/src/V1/SuspendRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for suspending a rollout. diff --git a/ConfigDelivery/src/V1/UpdateFleetPackageRequest.php b/ConfigDelivery/src/V1/UpdateFleetPackageRequest.php index 45cb3d5f26b0..2293d0db9102 100644 --- a/ConfigDelivery/src/V1/UpdateFleetPackageRequest.php +++ b/ConfigDelivery/src/V1/UpdateFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a FleetPackage diff --git a/ConfigDelivery/src/V1/UpdateReleaseRequest.php b/ConfigDelivery/src/V1/UpdateReleaseRequest.php index dafc6d9746da..85a3b58ad8d6 100644 --- a/ConfigDelivery/src/V1/UpdateReleaseRequest.php +++ b/ConfigDelivery/src/V1/UpdateReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a Release diff --git a/ConfigDelivery/src/V1/UpdateResourceBundleRequest.php b/ConfigDelivery/src/V1/UpdateResourceBundleRequest.php index d4083c185dde..ad14e189ec69 100644 --- a/ConfigDelivery/src/V1/UpdateResourceBundleRequest.php +++ b/ConfigDelivery/src/V1/UpdateResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a ResourceBundle diff --git a/ConfigDelivery/src/V1/UpdateVariantRequest.php b/ConfigDelivery/src/V1/UpdateVariantRequest.php index 42684ec77f72..8177c3878c22 100644 --- a/ConfigDelivery/src/V1/UpdateVariantRequest.php +++ b/ConfigDelivery/src/V1/UpdateVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a Variant diff --git a/ConfigDelivery/src/V1/Variant.php b/ConfigDelivery/src/V1/Variant.php index 57451dc606e9..66246d20b5a3 100644 --- a/ConfigDelivery/src/V1/Variant.php +++ b/ConfigDelivery/src/V1/Variant.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Variant represents the content of a `ResourceBundle` variant. @@ -56,7 +56,7 @@ class Variant extends \Google\Protobuf\Internal\Message * * @type array|\Google\Protobuf\Internal\MapField $labels * Optional. labels to represent any metadata associated with the variant. - * @type array|\Google\Protobuf\Internal\RepeatedField $resources + * @type string[] $resources * Required. Input only. Unordered list. resources contain the kubernetes * manifests (YAMLs) for this variant. * @type string $name @@ -104,7 +104,7 @@ public function setLabels($var) * manifests (YAMLs) for this variant. * * Generated from protobuf field repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getResources() { @@ -116,7 +116,7 @@ public function getResources() * manifests (YAMLs) for this variant. * * Generated from protobuf field repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setResources($var) diff --git a/ConfigDelivery/src/V1beta/AbortRolloutRequest.php b/ConfigDelivery/src/V1beta/AbortRolloutRequest.php index af993d18d188..a6c3811d2533 100644 --- a/ConfigDelivery/src/V1beta/AbortRolloutRequest.php +++ b/ConfigDelivery/src/V1beta/AbortRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for aborting a rollout. diff --git a/ConfigDelivery/src/V1beta/AllAtOnceStrategy.php b/ConfigDelivery/src/V1beta/AllAtOnceStrategy.php index 04503e92c007..182891269500 100644 --- a/ConfigDelivery/src/V1beta/AllAtOnceStrategy.php +++ b/ConfigDelivery/src/V1beta/AllAtOnceStrategy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AllAtOnceStrategy causes all clusters to be updated concurrently. diff --git a/ConfigDelivery/src/V1beta/AllAtOnceStrategyInfo.php b/ConfigDelivery/src/V1beta/AllAtOnceStrategyInfo.php index e0355b0e46bb..7a98d2292007 100644 --- a/ConfigDelivery/src/V1beta/AllAtOnceStrategyInfo.php +++ b/ConfigDelivery/src/V1beta/AllAtOnceStrategyInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AllAtOnceStrategyInfo represents the status of execution of AllAtOnce rollout @@ -30,7 +30,7 @@ class AllAtOnceStrategyInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1beta\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $clusters + * @type \Google\Cloud\ConfigDelivery\V1beta\ClusterInfo[] $clusters * Unordered list. resource bundle's deployment status for all targeted * clusters. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\ClusterInfo> */ public function getClusters() { @@ -57,7 +57,7 @@ public function getClusters() * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\ClusterInfo[] $var * @return $this */ public function setClusters($var) diff --git a/ConfigDelivery/src/V1beta/ClusterInfo.php b/ConfigDelivery/src/V1beta/ClusterInfo.php index 2878a74091e5..3a211cba7e30 100644 --- a/ConfigDelivery/src/V1beta/ClusterInfo.php +++ b/ConfigDelivery/src/V1beta/ClusterInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ClusterInfo represents status of a resource bundle rollout for a cluster. @@ -81,7 +81,7 @@ class ClusterInfo extends \Google\Protobuf\Internal\Message * Output only. Current state of the resource bundle. * @type int $state * Output only. State of the rollout for the cluster. - * @type array|\Google\Protobuf\Internal\RepeatedField $messages + * @type string[] $messages * Output only. Unordered list. Messages convey additional information related * to the deployment. * @type \Google\Protobuf\Timestamp $start_time @@ -260,7 +260,7 @@ public function setState($var) * to the deployment. * * Generated from protobuf field repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMessages() { @@ -272,7 +272,7 @@ public function getMessages() * to the deployment. * * Generated from protobuf field repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMessages($var) diff --git a/ConfigDelivery/src/V1beta/ClusterInfo/State.php b/ConfigDelivery/src/V1beta/ClusterInfo/State.php index 32b2fa62c5a0..8b635f57acb9 100644 --- a/ConfigDelivery/src/V1beta/ClusterInfo/State.php +++ b/ConfigDelivery/src/V1beta/ClusterInfo/State.php @@ -108,4 +108,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1beta/CreateFleetPackageRequest.php b/ConfigDelivery/src/V1beta/CreateFleetPackageRequest.php index 7cd887b5f3b3..5aee3cb3b2a6 100644 --- a/ConfigDelivery/src/V1beta/CreateFleetPackageRequest.php +++ b/ConfigDelivery/src/V1beta/CreateFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a FleetPackage diff --git a/ConfigDelivery/src/V1beta/CreateReleaseRequest.php b/ConfigDelivery/src/V1beta/CreateReleaseRequest.php index aad39755b620..9e96849a113e 100644 --- a/ConfigDelivery/src/V1beta/CreateReleaseRequest.php +++ b/ConfigDelivery/src/V1beta/CreateReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Release diff --git a/ConfigDelivery/src/V1beta/CreateResourceBundleRequest.php b/ConfigDelivery/src/V1beta/CreateResourceBundleRequest.php index eba5a25bfacc..f982fdc8789c 100644 --- a/ConfigDelivery/src/V1beta/CreateResourceBundleRequest.php +++ b/ConfigDelivery/src/V1beta/CreateResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a ResourceBundle. diff --git a/ConfigDelivery/src/V1beta/CreateVariantRequest.php b/ConfigDelivery/src/V1beta/CreateVariantRequest.php index 71e6251e09c5..e2c76ce5ed23 100644 --- a/ConfigDelivery/src/V1beta/CreateVariantRequest.php +++ b/ConfigDelivery/src/V1beta/CreateVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Variant diff --git a/ConfigDelivery/src/V1beta/DeleteFleetPackageRequest.php b/ConfigDelivery/src/V1beta/DeleteFleetPackageRequest.php index b70c744f3c00..13f7f4d8b6fd 100644 --- a/ConfigDelivery/src/V1beta/DeleteFleetPackageRequest.php +++ b/ConfigDelivery/src/V1beta/DeleteFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a FleetPackage diff --git a/ConfigDelivery/src/V1beta/DeleteReleaseRequest.php b/ConfigDelivery/src/V1beta/DeleteReleaseRequest.php index f24b50123dd8..91e758a060ca 100644 --- a/ConfigDelivery/src/V1beta/DeleteReleaseRequest.php +++ b/ConfigDelivery/src/V1beta/DeleteReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Release diff --git a/ConfigDelivery/src/V1beta/DeleteResourceBundleRequest.php b/ConfigDelivery/src/V1beta/DeleteResourceBundleRequest.php index 00b8936e7bb8..67bba8d81186 100644 --- a/ConfigDelivery/src/V1beta/DeleteResourceBundleRequest.php +++ b/ConfigDelivery/src/V1beta/DeleteResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a ResourceBundle diff --git a/ConfigDelivery/src/V1beta/DeleteVariantRequest.php b/ConfigDelivery/src/V1beta/DeleteVariantRequest.php index 9b55c50653f3..0e3dca320879 100644 --- a/ConfigDelivery/src/V1beta/DeleteVariantRequest.php +++ b/ConfigDelivery/src/V1beta/DeleteVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Variant diff --git a/ConfigDelivery/src/V1beta/Fleet.php b/ConfigDelivery/src/V1beta/Fleet.php index 2e9c3e08494c..527158e58bd0 100644 --- a/ConfigDelivery/src/V1beta/Fleet.php +++ b/ConfigDelivery/src/V1beta/Fleet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The fleet where the `FleetPackage` should be deployed. diff --git a/ConfigDelivery/src/V1beta/Fleet/LabelSelector.php b/ConfigDelivery/src/V1beta/Fleet/LabelSelector.php index 5e3e6ba09163..32c1e1346841 100644 --- a/ConfigDelivery/src/V1beta/Fleet/LabelSelector.php +++ b/ConfigDelivery/src/V1beta/Fleet/LabelSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta\Fleet; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A label selector is a label query over a set of resources. An empty label @@ -74,4 +74,3 @@ public function setMatchLabels($var) } - diff --git a/ConfigDelivery/src/V1beta/FleetPackage.php b/ConfigDelivery/src/V1beta/FleetPackage.php index d030a09e6a54..9fd191c86543 100644 --- a/ConfigDelivery/src/V1beta/FleetPackage.php +++ b/ConfigDelivery/src/V1beta/FleetPackage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A `FleetPackage` resource in the Config Delivery API. diff --git a/ConfigDelivery/src/V1beta/FleetPackage/CloudBuildRepository.php b/ConfigDelivery/src/V1beta/FleetPackage/CloudBuildRepository.php index 3867299a04e2..5d943bd0c1e5 100644 --- a/ConfigDelivery/src/V1beta/FleetPackage/CloudBuildRepository.php +++ b/ConfigDelivery/src/V1beta/FleetPackage/CloudBuildRepository.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CloudBuildRepository contains information about fetching Kubernetes @@ -55,7 +55,7 @@ class CloudBuildRepository extends \Google\Protobuf\Internal\Message * * @type string $variants_pattern * Optional. variants_pattern is a glob pattern that will be used to find - * variants in the repository. Examples: `variants/*.yaml`, `us-*` + * variants in the repository. Examples: `variants/*.yaml`, `us-*` * @type string $name * Required. Name of the cloud build repository. * Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}. @@ -78,7 +78,7 @@ public function __construct($data = NULL) { /** * Optional. variants_pattern is a glob pattern that will be used to find - * variants in the repository. Examples: `variants/*.yaml`, `us-*` + * variants in the repository. Examples: `variants/*.yaml`, `us-*` * * Generated from protobuf field string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -95,7 +95,7 @@ public function hasVariantsPattern() /** * Optional. variants_pattern is a glob pattern that will be used to find - * variants in the repository. Examples: `variants/*.yaml`, `us-*` + * variants in the repository. Examples: `variants/*.yaml`, `us-*` * * Generated from protobuf field string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var @@ -233,4 +233,3 @@ public function getVariants() } - diff --git a/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleSelector.php b/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleSelector.php index 7e0b8ac11e62..1fb57c4d7551 100644 --- a/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleSelector.php +++ b/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information specifying the source of kubernetes configuration to deploy. @@ -106,4 +106,3 @@ public function getSource() } - diff --git a/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleTag.php b/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleTag.php index 1f03c0357eb5..c5fd6d2fb94d 100644 --- a/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleTag.php +++ b/ConfigDelivery/src/V1beta/FleetPackage/ResourceBundleTag.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResourceBundleTag contains the information to refer to a release for a @@ -108,4 +108,3 @@ public function setTag($var) } - diff --git a/ConfigDelivery/src/V1beta/FleetPackage/State.php b/ConfigDelivery/src/V1beta/FleetPackage/State.php index ac3f4a7e59f8..a84053264d82 100644 --- a/ConfigDelivery/src/V1beta/FleetPackage/State.php +++ b/ConfigDelivery/src/V1beta/FleetPackage/State.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1beta/FleetPackage/Target.php b/ConfigDelivery/src/V1beta/FleetPackage/Target.php index b6b04ded588a..127976a9bc65 100644 --- a/ConfigDelivery/src/V1beta/FleetPackage/Target.php +++ b/ConfigDelivery/src/V1beta/FleetPackage/Target.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The target defines different ways to target set of kubernetes clusters. @@ -73,4 +73,3 @@ public function getTarget() } - diff --git a/ConfigDelivery/src/V1beta/FleetPackage/VariantSelector.php b/ConfigDelivery/src/V1beta/FleetPackage/VariantSelector.php index 77bb38d17f06..dac31cf62c3d 100644 --- a/ConfigDelivery/src/V1beta/FleetPackage/VariantSelector.php +++ b/ConfigDelivery/src/V1beta/FleetPackage/VariantSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta\FleetPackage; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * VariantSelector contains information for selecting a variant in @@ -98,4 +98,3 @@ public function getStrategy() } - diff --git a/ConfigDelivery/src/V1beta/FleetPackageError.php b/ConfigDelivery/src/V1beta/FleetPackageError.php index 42fae899ac54..6d2ebfa9039e 100644 --- a/ConfigDelivery/src/V1beta/FleetPackageError.php +++ b/ConfigDelivery/src/V1beta/FleetPackageError.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information representing an error encountered during rolling out diff --git a/ConfigDelivery/src/V1beta/FleetPackageInfo.php b/ConfigDelivery/src/V1beta/FleetPackageInfo.php index ed9503d5c552..c290b3d0df1e 100644 --- a/ConfigDelivery/src/V1beta/FleetPackageInfo.php +++ b/ConfigDelivery/src/V1beta/FleetPackageInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * FleetPackageInfo represents the status of the `FleetPackage` across all the @@ -58,7 +58,7 @@ class FleetPackageInfo extends \Google\Protobuf\Internal\Message * `projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}`. * @type int $state * Optional. Output only. The current state of the `FleetPackage`. - * @type array<\Google\Cloud\ConfigDelivery\V1beta\FleetPackageError>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\ConfigDelivery\V1beta\FleetPackageError[] $errors * Optional. Output only. Errors encountered during configuration deployment * (if any). * } @@ -155,7 +155,7 @@ public function setState($var) * (if any). * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\FleetPackageError> */ public function getErrors() { @@ -167,7 +167,7 @@ public function getErrors() * (if any). * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\FleetPackageError>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\FleetPackageError[] $var * @return $this */ public function setErrors($var) diff --git a/ConfigDelivery/src/V1beta/FleetPackageInfo/State.php b/ConfigDelivery/src/V1beta/FleetPackageInfo/State.php index 237c96e7544f..d35b8f987f04 100644 --- a/ConfigDelivery/src/V1beta/FleetPackageInfo/State.php +++ b/ConfigDelivery/src/V1beta/FleetPackageInfo/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1beta/GetFleetPackageRequest.php b/ConfigDelivery/src/V1beta/GetFleetPackageRequest.php index 4670265c7077..ade665bf5a62 100644 --- a/ConfigDelivery/src/V1beta/GetFleetPackageRequest.php +++ b/ConfigDelivery/src/V1beta/GetFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a FleetPackage diff --git a/ConfigDelivery/src/V1beta/GetReleaseRequest.php b/ConfigDelivery/src/V1beta/GetReleaseRequest.php index 425f3ba6e937..5fc24b55346d 100644 --- a/ConfigDelivery/src/V1beta/GetReleaseRequest.php +++ b/ConfigDelivery/src/V1beta/GetReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Release diff --git a/ConfigDelivery/src/V1beta/GetResourceBundleRequest.php b/ConfigDelivery/src/V1beta/GetResourceBundleRequest.php index e7b8b27a78ae..6966fd58f9ec 100644 --- a/ConfigDelivery/src/V1beta/GetResourceBundleRequest.php +++ b/ConfigDelivery/src/V1beta/GetResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a ResourceBundle. diff --git a/ConfigDelivery/src/V1beta/GetRolloutRequest.php b/ConfigDelivery/src/V1beta/GetRolloutRequest.php index e4a7d0216a11..2e14edc9ac95 100644 --- a/ConfigDelivery/src/V1beta/GetRolloutRequest.php +++ b/ConfigDelivery/src/V1beta/GetRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Rollout diff --git a/ConfigDelivery/src/V1beta/GetVariantRequest.php b/ConfigDelivery/src/V1beta/GetVariantRequest.php index 6c67bac4507d..a9406064af5e 100644 --- a/ConfigDelivery/src/V1beta/GetVariantRequest.php +++ b/ConfigDelivery/src/V1beta/GetVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Variant diff --git a/ConfigDelivery/src/V1beta/ListFleetPackagesRequest.php b/ConfigDelivery/src/V1beta/ListFleetPackagesRequest.php index abdacc5ecd93..b992277717a8 100644 --- a/ConfigDelivery/src/V1beta/ListFleetPackagesRequest.php +++ b/ConfigDelivery/src/V1beta/ListFleetPackagesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of FleetPackage. diff --git a/ConfigDelivery/src/V1beta/ListFleetPackagesResponse.php b/ConfigDelivery/src/V1beta/ListFleetPackagesResponse.php index be292c10ba43..3447c43523e5 100644 --- a/ConfigDelivery/src/V1beta/ListFleetPackagesResponse.php +++ b/ConfigDelivery/src/V1beta/ListFleetPackagesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing FleetPackage @@ -40,11 +40,11 @@ class ListFleetPackagesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1beta\FleetPackage>|\Google\Protobuf\Internal\RepeatedField $fleet_packages + * @type \Google\Cloud\ConfigDelivery\V1beta\FleetPackage[] $fleet_packages * The list of FleetPackage * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of FleetPackage * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.FleetPackage fleet_packages = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\FleetPackage> */ public function getFleetPackages() { @@ -68,7 +68,7 @@ public function getFleetPackages() * The list of FleetPackage * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.FleetPackage fleet_packages = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\FleetPackage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\FleetPackage[] $var * @return $this */ public function setFleetPackages($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1beta/ListReleasesRequest.php b/ConfigDelivery/src/V1beta/ListReleasesRequest.php index 9cee2e7ba55c..4ed50a971ef3 100644 --- a/ConfigDelivery/src/V1beta/ListReleasesRequest.php +++ b/ConfigDelivery/src/V1beta/ListReleasesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Releases. diff --git a/ConfigDelivery/src/V1beta/ListReleasesResponse.php b/ConfigDelivery/src/V1beta/ListReleasesResponse.php index 75a237b28a19..10e824fb725a 100644 --- a/ConfigDelivery/src/V1beta/ListReleasesResponse.php +++ b/ConfigDelivery/src/V1beta/ListReleasesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Releases @@ -40,11 +40,11 @@ class ListReleasesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1beta\Release>|\Google\Protobuf\Internal\RepeatedField $releases + * @type \Google\Cloud\ConfigDelivery\V1beta\Release[] $releases * The list of Releases * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Releases * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.Release releases = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\Release> */ public function getReleases() { @@ -68,7 +68,7 @@ public function getReleases() * The list of Releases * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.Release releases = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\Release>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\Release[] $var * @return $this */ public function setReleases($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1beta/ListResourceBundlesRequest.php b/ConfigDelivery/src/V1beta/ListResourceBundlesRequest.php index 93efeaab0621..77de4121c36d 100644 --- a/ConfigDelivery/src/V1beta/ListResourceBundlesRequest.php +++ b/ConfigDelivery/src/V1beta/ListResourceBundlesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of ResourceBundles. diff --git a/ConfigDelivery/src/V1beta/ListResourceBundlesResponse.php b/ConfigDelivery/src/V1beta/ListResourceBundlesResponse.php index dc7768773609..cf316a84dae9 100644 --- a/ConfigDelivery/src/V1beta/ListResourceBundlesResponse.php +++ b/ConfigDelivery/src/V1beta/ListResourceBundlesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing ResourceBundles. @@ -40,11 +40,11 @@ class ListResourceBundlesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1beta\ResourceBundle>|\Google\Protobuf\Internal\RepeatedField $resource_bundles + * @type \Google\Cloud\ConfigDelivery\V1beta\ResourceBundle[] $resource_bundles * The list of ResourceBundle. * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of ResourceBundle. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.ResourceBundle resource_bundles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\ResourceBundle> */ public function getResourceBundles() { @@ -68,7 +68,7 @@ public function getResourceBundles() * The list of ResourceBundle. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.ResourceBundle resource_bundles = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\ResourceBundle>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\ResourceBundle[] $var * @return $this */ public function setResourceBundles($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1beta/ListRolloutsRequest.php b/ConfigDelivery/src/V1beta/ListRolloutsRequest.php index 0169f063f3fd..49d9471bb244 100644 --- a/ConfigDelivery/src/V1beta/ListRolloutsRequest.php +++ b/ConfigDelivery/src/V1beta/ListRolloutsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Rollouts diff --git a/ConfigDelivery/src/V1beta/ListRolloutsResponse.php b/ConfigDelivery/src/V1beta/ListRolloutsResponse.php index 9878f7cbe247..24160791ab85 100644 --- a/ConfigDelivery/src/V1beta/ListRolloutsResponse.php +++ b/ConfigDelivery/src/V1beta/ListRolloutsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Rollouts @@ -40,11 +40,11 @@ class ListRolloutsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1beta\Rollout>|\Google\Protobuf\Internal\RepeatedField $rollouts + * @type \Google\Cloud\ConfigDelivery\V1beta\Rollout[] $rollouts * The list of Rollouts * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Rollouts * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.Rollout rollouts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\Rollout> */ public function getRollouts() { @@ -68,7 +68,7 @@ public function getRollouts() * The list of Rollouts * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.Rollout rollouts = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\Rollout>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\Rollout[] $var * @return $this */ public function setRollouts($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1beta/ListVariantsRequest.php b/ConfigDelivery/src/V1beta/ListVariantsRequest.php index a7d018281936..48f144ceb679 100644 --- a/ConfigDelivery/src/V1beta/ListVariantsRequest.php +++ b/ConfigDelivery/src/V1beta/ListVariantsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting list of Variants. diff --git a/ConfigDelivery/src/V1beta/ListVariantsResponse.php b/ConfigDelivery/src/V1beta/ListVariantsResponse.php index d7fbdd46d45a..204c89ac7b14 100644 --- a/ConfigDelivery/src/V1beta/ListVariantsResponse.php +++ b/ConfigDelivery/src/V1beta/ListVariantsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for response to listing Variants @@ -40,11 +40,11 @@ class ListVariantsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1beta\Variant>|\Google\Protobuf\Internal\RepeatedField $variants + * @type \Google\Cloud\ConfigDelivery\V1beta\Variant[] $variants * The list of Variants * @type string $next_page_token * A token identifying a page of results the server should return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Variants * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.Variant variants = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\Variant> */ public function getVariants() { @@ -68,7 +68,7 @@ public function getVariants() * The list of Variants * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.Variant variants = 1; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\Variant>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\Variant[] $var * @return $this */ public function setVariants($var) @@ -109,7 +109,7 @@ public function setNextPageToken($var) * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -120,7 +120,7 @@ public function getUnreachable() * Unordered list. Locations that could not be reached. * * Generated from protobuf field repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUnreachable($var) diff --git a/ConfigDelivery/src/V1beta/OperationMetadata.php b/ConfigDelivery/src/V1beta/OperationMetadata.php index 95cbb6b3533f..4536e2b2c6bc 100644 --- a/ConfigDelivery/src/V1beta/OperationMetadata.php +++ b/ConfigDelivery/src/V1beta/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the metadata of the long-running operation. diff --git a/ConfigDelivery/src/V1beta/Release.php b/ConfigDelivery/src/V1beta/Release.php index 294e8f95180a..e0f42fa93425 100644 --- a/ConfigDelivery/src/V1beta/Release.php +++ b/ConfigDelivery/src/V1beta/Release.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * `Release` represents a versioned release containing kubernetes manifests. diff --git a/ConfigDelivery/src/V1beta/Release/Lifecycle.php b/ConfigDelivery/src/V1beta/Release/Lifecycle.php index e8f93a0a56c5..2ff9865a6fb2 100644 --- a/ConfigDelivery/src/V1beta/Release/Lifecycle.php +++ b/ConfigDelivery/src/V1beta/Release/Lifecycle.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1beta/ReleaseInfo.php b/ConfigDelivery/src/V1beta/ReleaseInfo.php index 7612b300c5df..2ea38137da6b 100644 --- a/ConfigDelivery/src/V1beta/ReleaseInfo.php +++ b/ConfigDelivery/src/V1beta/ReleaseInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ReleaseInfo contains extra information about the `ResourceBundle` release diff --git a/ConfigDelivery/src/V1beta/ResourceBundle.php b/ConfigDelivery/src/V1beta/ResourceBundle.php index da6dda46b4af..0a1014949a41 100644 --- a/ConfigDelivery/src/V1beta/ResourceBundle.php +++ b/ConfigDelivery/src/V1beta/ResourceBundle.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResourceBundle represent a collection of kubernetes configuration resources. diff --git a/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo.php b/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo.php index a72c968ebed4..5d2a1dfb486b 100644 --- a/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo.php +++ b/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResourceBundleDeploymentInfo represents the status of a resource bundle @@ -64,7 +64,7 @@ class ResourceBundleDeploymentInfo extends \Google\Protobuf\Internal\Message * Output only. Refers to a variant in a `ResourceBundle` release. * @type int $sync_state * Output only. Synchronization state of the `ResourceBundle` deployment. - * @type array|\Google\Protobuf\Internal\RepeatedField $messages + * @type string[] $messages * Output only. Unordered list. Messages contains information related to the * `ResourceBundle` deployment. For example, in case of an error, indicate the * reason for the error. In case of a pending deployment, reason for why the @@ -187,7 +187,7 @@ public function setSyncState($var) * deployment of new release is pending. * * Generated from protobuf field repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMessages() { @@ -201,7 +201,7 @@ public function getMessages() * deployment of new release is pending. * * Generated from protobuf field repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMessages($var) diff --git a/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo/SyncState.php b/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo/SyncState.php index 990d9957a11c..9fb9681ebbf8 100644 --- a/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo/SyncState.php +++ b/ConfigDelivery/src/V1beta/ResourceBundleDeploymentInfo/SyncState.php @@ -101,4 +101,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1beta/ResumeRolloutRequest.php b/ConfigDelivery/src/V1beta/ResumeRolloutRequest.php index 53101cf7b590..5adc1c9fc6a5 100644 --- a/ConfigDelivery/src/V1beta/ResumeRolloutRequest.php +++ b/ConfigDelivery/src/V1beta/ResumeRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for resuming a rollout. diff --git a/ConfigDelivery/src/V1beta/RollingStrategy.php b/ConfigDelivery/src/V1beta/RollingStrategy.php index 84b4f258bb28..41f4e2740bb4 100644 --- a/ConfigDelivery/src/V1beta/RollingStrategy.php +++ b/ConfigDelivery/src/V1beta/RollingStrategy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RollingStrategy causes a specified number of clusters to be updated diff --git a/ConfigDelivery/src/V1beta/RollingStrategyInfo.php b/ConfigDelivery/src/V1beta/RollingStrategyInfo.php index 9ffc5207cd5c..2b7f8ca50c63 100644 --- a/ConfigDelivery/src/V1beta/RollingStrategyInfo.php +++ b/ConfigDelivery/src/V1beta/RollingStrategyInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RollingStrategyInfo represents the status of execution of Rolling rollout @@ -30,7 +30,7 @@ class RollingStrategyInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ConfigDelivery\V1beta\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $clusters + * @type \Google\Cloud\ConfigDelivery\V1beta\ClusterInfo[] $clusters * Unordered list. resource bundle's deployment status for all targeted * clusters. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ConfigDelivery\V1beta\ClusterInfo> */ public function getClusters() { @@ -57,7 +57,7 @@ public function getClusters() * clusters. * * Generated from protobuf field repeated .google.cloud.configdelivery.v1beta.ClusterInfo clusters = 1 [(.google.api.field_behavior) = UNORDERED_LIST]; - * @param array<\Google\Cloud\ConfigDelivery\V1beta\ClusterInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ConfigDelivery\V1beta\ClusterInfo[] $var * @return $this */ public function setClusters($var) diff --git a/ConfigDelivery/src/V1beta/Rollout.php b/ConfigDelivery/src/V1beta/Rollout.php index 7fdab7efaa46..fa9ca18a04bc 100644 --- a/ConfigDelivery/src/V1beta/Rollout.php +++ b/ConfigDelivery/src/V1beta/Rollout.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rollout resource represents an instance of `FleetPackage` rollout operation diff --git a/ConfigDelivery/src/V1beta/RolloutInfo.php b/ConfigDelivery/src/V1beta/RolloutInfo.php index c1903e366c04..be0847c4396d 100644 --- a/ConfigDelivery/src/V1beta/RolloutInfo.php +++ b/ConfigDelivery/src/V1beta/RolloutInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RolloutInfo represents the state of the `FleetPackage` at all the diff --git a/ConfigDelivery/src/V1beta/RolloutInfo/State.php b/ConfigDelivery/src/V1beta/RolloutInfo/State.php index 093b7f870ae4..4565499b2690 100644 --- a/ConfigDelivery/src/V1beta/RolloutInfo/State.php +++ b/ConfigDelivery/src/V1beta/RolloutInfo/State.php @@ -94,4 +94,3 @@ public static function value($name) } } - diff --git a/ConfigDelivery/src/V1beta/RolloutStrategy.php b/ConfigDelivery/src/V1beta/RolloutStrategy.php index 913d225e2174..79bd1681e205 100644 --- a/ConfigDelivery/src/V1beta/RolloutStrategy.php +++ b/ConfigDelivery/src/V1beta/RolloutStrategy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RolloutStrategy defines different ways to rollout a resource bundle across diff --git a/ConfigDelivery/src/V1beta/RolloutStrategyInfo.php b/ConfigDelivery/src/V1beta/RolloutStrategyInfo.php index cec6fca23588..34d2530b46dc 100644 --- a/ConfigDelivery/src/V1beta/RolloutStrategyInfo.php +++ b/ConfigDelivery/src/V1beta/RolloutStrategyInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RolloutStrategyInfo represents the status of execution of different types of diff --git a/ConfigDelivery/src/V1beta/SuspendRolloutRequest.php b/ConfigDelivery/src/V1beta/SuspendRolloutRequest.php index d241e2f75f5e..f85e0ecd72cd 100644 --- a/ConfigDelivery/src/V1beta/SuspendRolloutRequest.php +++ b/ConfigDelivery/src/V1beta/SuspendRolloutRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for suspending a rollout. diff --git a/ConfigDelivery/src/V1beta/UpdateFleetPackageRequest.php b/ConfigDelivery/src/V1beta/UpdateFleetPackageRequest.php index 7d7cb9db4d15..3e6b0f23d9a9 100644 --- a/ConfigDelivery/src/V1beta/UpdateFleetPackageRequest.php +++ b/ConfigDelivery/src/V1beta/UpdateFleetPackageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a FleetPackage diff --git a/ConfigDelivery/src/V1beta/UpdateReleaseRequest.php b/ConfigDelivery/src/V1beta/UpdateReleaseRequest.php index ee72dcd2ecab..1f3a3d1801cf 100644 --- a/ConfigDelivery/src/V1beta/UpdateReleaseRequest.php +++ b/ConfigDelivery/src/V1beta/UpdateReleaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a Release diff --git a/ConfigDelivery/src/V1beta/UpdateResourceBundleRequest.php b/ConfigDelivery/src/V1beta/UpdateResourceBundleRequest.php index 21a55e714fb9..8c4ed4bf454a 100644 --- a/ConfigDelivery/src/V1beta/UpdateResourceBundleRequest.php +++ b/ConfigDelivery/src/V1beta/UpdateResourceBundleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a ResourceBundle diff --git a/ConfigDelivery/src/V1beta/UpdateVariantRequest.php b/ConfigDelivery/src/V1beta/UpdateVariantRequest.php index 6e98f34721ce..9eaf1dd60a5b 100644 --- a/ConfigDelivery/src/V1beta/UpdateVariantRequest.php +++ b/ConfigDelivery/src/V1beta/UpdateVariantRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a Variant diff --git a/ConfigDelivery/src/V1beta/Variant.php b/ConfigDelivery/src/V1beta/Variant.php index fc6418a4f198..9d803ef4d1fa 100644 --- a/ConfigDelivery/src/V1beta/Variant.php +++ b/ConfigDelivery/src/V1beta/Variant.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ConfigDelivery\V1beta; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Variant represents the content of a `ResourceBundle` variant. @@ -56,7 +56,7 @@ class Variant extends \Google\Protobuf\Internal\Message * * @type array|\Google\Protobuf\Internal\MapField $labels * Optional. labels to represent any metadata associated with the variant. - * @type array|\Google\Protobuf\Internal\RepeatedField $resources + * @type string[] $resources * Required. Input only. Unordered list. resources contain the kubernetes * manifests (YAMLs) for this variant. * @type string $name @@ -104,7 +104,7 @@ public function setLabels($var) * manifests (YAMLs) for this variant. * * Generated from protobuf field repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getResources() { @@ -116,7 +116,7 @@ public function getResources() * manifests (YAMLs) for this variant. * * Generated from protobuf field repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setResources($var) diff --git a/ContactCenterInsights/metadata/V1/ContactCenterInsights.php b/ContactCenterInsights/metadata/V1/ContactCenterInsights.php index 3a19014a818b..7c8bca956eab 100644 Binary files a/ContactCenterInsights/metadata/V1/ContactCenterInsights.php and b/ContactCenterInsights/metadata/V1/ContactCenterInsights.php differ diff --git a/ContactCenterInsights/metadata/V1/Resources.php b/ContactCenterInsights/metadata/V1/Resources.php index 29ff41bf5de9..a7bba6d8b4b2 100644 Binary files a/ContactCenterInsights/metadata/V1/Resources.php and b/ContactCenterInsights/metadata/V1/Resources.php differ diff --git a/ContactCenterInsights/src/V1/Analysis.php b/ContactCenterInsights/src/V1/Analysis.php index 880a55f553be..98724cbc2a51 100644 --- a/ContactCenterInsights/src/V1/Analysis.php +++ b/ContactCenterInsights/src/V1/Analysis.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The analysis resource. diff --git a/ContactCenterInsights/src/V1/AnalysisResult.php b/ContactCenterInsights/src/V1/AnalysisResult.php index f3f49c60cfdc..74e39e074738 100644 --- a/ContactCenterInsights/src/V1/AnalysisResult.php +++ b/ContactCenterInsights/src/V1/AnalysisResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The result of an analysis. diff --git a/ContactCenterInsights/src/V1/AnalysisResult/CallAnalysisMetadata.php b/ContactCenterInsights/src/V1/AnalysisResult/CallAnalysisMetadata.php index 1f6831be6f6c..b2e8dcefffb3 100644 --- a/ContactCenterInsights/src/V1/AnalysisResult/CallAnalysisMetadata.php +++ b/ContactCenterInsights/src/V1/AnalysisResult/CallAnalysisMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\AnalysisResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Call-specific metadata created during analysis. @@ -70,11 +70,11 @@ class CallAnalysisMetadata extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\CallAnnotation>|\Google\Protobuf\Internal\RepeatedField $annotations + * @type \Google\Cloud\ContactCenterInsights\V1\CallAnnotation[] $annotations * A list of call annotations that apply to this call. * @type array|\Google\Protobuf\Internal\MapField $entities * All the entities in the call. - * @type array<\Google\Cloud\ContactCenterInsights\V1\ConversationLevelSentiment>|\Google\Protobuf\Internal\RepeatedField $sentiments + * @type \Google\Cloud\ContactCenterInsights\V1\ConversationLevelSentiment[] $sentiments * Overall conversation-level sentiment for each channel of the call. * @type \Google\Cloud\ContactCenterInsights\V1\ConversationLevelSilence $silence * Overall conversation-level silence during the call. @@ -84,7 +84,7 @@ class CallAnalysisMetadata extends \Google\Protobuf\Internal\Message * All the matched phrase matchers in the call. * @type \Google\Cloud\ContactCenterInsights\V1\IssueModelResult $issue_model_result * Overall conversation-level issue modeling result. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult>|\Google\Protobuf\Internal\RepeatedField $qa_scorecard_results + * @type \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult[] $qa_scorecard_results * Results of scoring QaScorecards. * } */ @@ -97,7 +97,7 @@ public function __construct($data = NULL) { * A list of call annotations that apply to this call. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\CallAnnotation> */ public function getAnnotations() { @@ -108,7 +108,7 @@ public function getAnnotations() * A list of call annotations that apply to this call. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.CallAnnotation annotations = 2; - * @param array<\Google\Cloud\ContactCenterInsights\V1\CallAnnotation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\CallAnnotation[] $var * @return $this */ public function setAnnotations($var) @@ -149,7 +149,7 @@ public function setEntities($var) * Overall conversation-level sentiment for each channel of the call. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\ConversationLevelSentiment> */ public function getSentiments() { @@ -160,7 +160,7 @@ public function getSentiments() * Overall conversation-level sentiment for each channel of the call. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.ConversationLevelSentiment sentiments = 4; - * @param array<\Google\Cloud\ContactCenterInsights\V1\ConversationLevelSentiment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\ConversationLevelSentiment[] $var * @return $this */ public function setSentiments($var) @@ -299,7 +299,7 @@ public function setIssueModelResult($var) * Results of scoring QaScorecards. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult qa_scorecard_results = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult> */ public function getQaScorecardResults() { @@ -310,7 +310,7 @@ public function getQaScorecardResults() * Results of scoring QaScorecards. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult qa_scorecard_results = 10; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult[] $var * @return $this */ public function setQaScorecardResults($var) @@ -323,4 +323,3 @@ public function setQaScorecardResults($var) } - diff --git a/ContactCenterInsights/src/V1/AnalysisRule.php b/ContactCenterInsights/src/V1/AnalysisRule.php index fa22d6f8b1e1..79761e1e4a87 100644 --- a/ContactCenterInsights/src/V1/AnalysisRule.php +++ b/ContactCenterInsights/src/V1/AnalysisRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The CCAI Insights project wide analysis rule. This rule will be applied to diff --git a/ContactCenterInsights/src/V1/AnnotationBoundary.php b/ContactCenterInsights/src/V1/AnnotationBoundary.php index f36dc2dfdf24..affee84746c1 100644 --- a/ContactCenterInsights/src/V1/AnnotationBoundary.php +++ b/ContactCenterInsights/src/V1/AnnotationBoundary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A point in a conversation that marks the start or the end of an annotation. diff --git a/ContactCenterInsights/src/V1/AnnotatorSelector.php b/ContactCenterInsights/src/V1/AnnotatorSelector.php index 3aad7aa50ad1..fd8d23550894 100644 --- a/ContactCenterInsights/src/V1/AnnotatorSelector.php +++ b/ContactCenterInsights/src/V1/AnnotatorSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Selector of all available annotators and phrase matchers to run. @@ -115,7 +115,7 @@ class AnnotatorSelector extends \Google\Protobuf\Internal\Message * Whether to run the silence annotator. * @type bool $run_phrase_matcher_annotator * Whether to run the active phrase matcher annotator(s). - * @type array|\Google\Protobuf\Internal\RepeatedField $phrase_matchers + * @type string[] $phrase_matchers * The list of phrase matchers to run. If not provided, all active phrase * matchers will be used. If inactive phrase matchers are provided, they will * not be used. Phrase matchers will be run only if @@ -130,7 +130,7 @@ class AnnotatorSelector extends \Google\Protobuf\Internal\Message * @type bool $run_issue_model_annotator * Whether to run the issue model annotator. A model should have already been * deployed for this to take effect. - * @type array|\Google\Protobuf\Internal\RepeatedField $issue_models + * @type string[] $issue_models * The issue model to run. If not provided, the most recently deployed topic * model will be used. The provided issue model will only be used for * inference if the issue model is deployed and if run_issue_model_annotator @@ -237,7 +237,7 @@ public function setRunPhraseMatcherAnnotator($var) * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} * * Generated from protobuf field repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPhraseMatchers() { @@ -252,7 +252,7 @@ public function getPhraseMatchers() * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} * * Generated from protobuf field repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPhraseMatchers($var) @@ -377,7 +377,7 @@ public function setRunIssueModelAnnotator($var) * provided issue model will be used for inference. * * Generated from protobuf field repeated string issue_models = 10 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIssueModels() { @@ -392,7 +392,7 @@ public function getIssueModels() * provided issue model will be used for inference. * * Generated from protobuf field repeated string issue_models = 10 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIssueModels($var) diff --git a/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig.php b/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig.php index 089b76cc1ade..aecec62e5d83 100644 --- a/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig.php +++ b/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\AnnotatorSelector; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for the QA feature. @@ -73,4 +73,3 @@ public function getScorecardSource() } - diff --git a/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig/ScorecardList.php b/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig/ScorecardList.php index e39f8bef4e8e..fb712c374808 100644 --- a/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig/ScorecardList.php +++ b/ContactCenterInsights/src/V1/AnnotatorSelector/QaConfig/ScorecardList.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\AnnotatorSelector\QaConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Container for a list of scorecards. @@ -28,7 +28,7 @@ class ScorecardList extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $qa_scorecard_revisions + * @type string[] $qa_scorecard_revisions * List of QaScorecardRevisions. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * List of QaScorecardRevisions. * * Generated from protobuf field repeated string qa_scorecard_revisions = 1 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getQaScorecardRevisions() { @@ -52,7 +52,7 @@ public function getQaScorecardRevisions() * List of QaScorecardRevisions. * * Generated from protobuf field repeated string qa_scorecard_revisions = 1 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setQaScorecardRevisions($var) @@ -65,4 +65,3 @@ public function setQaScorecardRevisions($var) } - diff --git a/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig.php b/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig.php index 17405d8662ea..7ae2002e62bf 100644 --- a/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig.php +++ b/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\AnnotatorSelector; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for summarization. @@ -112,4 +112,3 @@ public function getModelSource() } - diff --git a/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig/SummarizationModel.php b/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig/SummarizationModel.php index c6be9e6691d7..498dee6f6393 100644 --- a/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig/SummarizationModel.php +++ b/ContactCenterInsights/src/V1/AnnotatorSelector/SummarizationConfig/SummarizationModel.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/AnswerFeedback.php b/ContactCenterInsights/src/V1/AnswerFeedback.php index 213afb4ccc53..2b836b5f74c9 100644 --- a/ContactCenterInsights/src/V1/AnswerFeedback.php +++ b/ContactCenterInsights/src/V1/AnswerFeedback.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The feedback that the customer has about a certain answer in the diff --git a/ContactCenterInsights/src/V1/AnswerFeedback/CorrectnessLevel.php b/ContactCenterInsights/src/V1/AnswerFeedback/CorrectnessLevel.php index 64d23b71eb12..2d06f3fb1d87 100644 --- a/ContactCenterInsights/src/V1/AnswerFeedback/CorrectnessLevel.php +++ b/ContactCenterInsights/src/V1/AnswerFeedback/CorrectnessLevel.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/ArticleSuggestionData.php b/ContactCenterInsights/src/V1/ArticleSuggestionData.php index e6fec5e3efb9..a733f7f1ff6c 100644 --- a/ContactCenterInsights/src/V1/ArticleSuggestionData.php +++ b/ContactCenterInsights/src/V1/ArticleSuggestionData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Agent Assist Article Suggestion data. diff --git a/ContactCenterInsights/src/V1/BulkAnalyzeConversationsMetadata.php b/ContactCenterInsights/src/V1/BulkAnalyzeConversationsMetadata.php index f93ac9e68a44..9e75e8f33610 100644 --- a/ContactCenterInsights/src/V1/BulkAnalyzeConversationsMetadata.php +++ b/ContactCenterInsights/src/V1/BulkAnalyzeConversationsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for a bulk analyze conversations operation. @@ -79,7 +79,7 @@ class BulkAnalyzeConversationsMetadata extends \Google\Protobuf\Internal\Message * @type int $total_requested_analyses_count * Total number of analyses requested. Computed by the number of conversations * returned by `filter` multiplied by `analysis_percentage` in the request. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Output only. Partial errors during bulk analyze operation that might cause * the operation output to be incomplete. * } @@ -282,7 +282,7 @@ public function setTotalRequestedAnalysesCount($var) * the operation output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -294,7 +294,7 @@ public function getPartialErrors() * the operation output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ContactCenterInsights/src/V1/BulkAnalyzeConversationsRequest.php b/ContactCenterInsights/src/V1/BulkAnalyzeConversationsRequest.php index b73df51d31e4..58bf156129c8 100644 --- a/ContactCenterInsights/src/V1/BulkAnalyzeConversationsRequest.php +++ b/ContactCenterInsights/src/V1/BulkAnalyzeConversationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to analyze conversations in bulk. diff --git a/ContactCenterInsights/src/V1/BulkAnalyzeConversationsResponse.php b/ContactCenterInsights/src/V1/BulkAnalyzeConversationsResponse.php index adccae48897f..97779e197271 100644 --- a/ContactCenterInsights/src/V1/BulkAnalyzeConversationsResponse.php +++ b/ContactCenterInsights/src/V1/BulkAnalyzeConversationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for a bulk analyze conversations operation. diff --git a/ContactCenterInsights/src/V1/BulkDeleteConversationsMetadata.php b/ContactCenterInsights/src/V1/BulkDeleteConversationsMetadata.php index 753b1ea23b0e..effb7c071d27 100644 --- a/ContactCenterInsights/src/V1/BulkDeleteConversationsMetadata.php +++ b/ContactCenterInsights/src/V1/BulkDeleteConversationsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for a bulk delete conversations operation. @@ -53,7 +53,7 @@ class BulkDeleteConversationsMetadata extends \Google\Protobuf\Internal\Message * The time the operation finished running. * @type \Google\Cloud\ContactCenterInsights\V1\BulkDeleteConversationsRequest $request * The original request for bulk delete. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Partial errors during bulk delete conversations operation that might cause * the operation output to be incomplete. * } @@ -176,7 +176,7 @@ public function setRequest($var) * the operation output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -188,7 +188,7 @@ public function getPartialErrors() * the operation output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ContactCenterInsights/src/V1/BulkDeleteConversationsRequest.php b/ContactCenterInsights/src/V1/BulkDeleteConversationsRequest.php index 90e90424bd7f..7a6545a1beb0 100644 --- a/ContactCenterInsights/src/V1/BulkDeleteConversationsRequest.php +++ b/ContactCenterInsights/src/V1/BulkDeleteConversationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete conversations in bulk. diff --git a/ContactCenterInsights/src/V1/BulkDeleteConversationsResponse.php b/ContactCenterInsights/src/V1/BulkDeleteConversationsResponse.php index ca52f6da6873..1ed3f7634947 100644 --- a/ContactCenterInsights/src/V1/BulkDeleteConversationsResponse.php +++ b/ContactCenterInsights/src/V1/BulkDeleteConversationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for a bulk delete conversations operation. diff --git a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata.php b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata.php index e38087567c5f..7217aa594bac 100644 --- a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata.php +++ b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for the BulkDownloadFeedbackLabel endpoint. @@ -59,7 +59,7 @@ class BulkDownloadFeedbackLabelsMetadata extends \Google\Protobuf\Internal\Messa * Output only. The time the operation finished running. * @type \Google\Cloud\ContactCenterInsights\V1\BulkDownloadFeedbackLabelsRequest $request * Output only. The original request for download. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Partial errors during ingest operation that might cause the operation * output to be incomplete. * @type \Google\Cloud\ContactCenterInsights\V1\BulkDownloadFeedbackLabelsMetadata\DownloadStats $download_stats @@ -184,7 +184,7 @@ public function setRequest($var) * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -196,7 +196,7 @@ public function getPartialErrors() * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata/DownloadStats.php b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata/DownloadStats.php index 168bc10a0acd..6a4731631211 100644 --- a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata/DownloadStats.php +++ b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsMetadata/DownloadStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\BulkDownloadFeedbackLabelsMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Statistics for BulkDownloadFeedbackLabels operation. @@ -56,7 +56,7 @@ class DownloadStats extends \Google\Protobuf\Internal\Message * because an error. * @type int $total_files_written * Total number of files written to the provided Cloud Storage bucket. - * @type array|\Google\Protobuf\Internal\RepeatedField $file_names + * @type string[] $file_names * Output only. Full name of the files written to Cloud storage. * } */ @@ -151,7 +151,7 @@ public function setTotalFilesWritten($var) * Output only. Full name of the files written to Cloud storage. * * Generated from protobuf field repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFileNames() { @@ -162,7 +162,7 @@ public function getFileNames() * Output only. Full name of the files written to Cloud storage. * * Generated from protobuf field repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFileNames($var) @@ -175,4 +175,3 @@ public function setFileNames($var) } - diff --git a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest.php b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest.php index 1381b1aa78df..4fc32b2fe84d 100644 --- a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest.php +++ b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the BulkDownloadFeedbackLabel endpoint. @@ -117,7 +117,7 @@ public static function build(string $parent): self * conversations that match the filter. * If `template_qa_scorecard_id` is set, all the conversations that match the * filter will be paired with the questions under the scorecard for labeling. - * @type array|\Google\Protobuf\Internal\RepeatedField $template_qa_scorecard_id + * @type string[] $template_qa_scorecard_id * Optional. If set, a template for labeling conversations and scorecard * questions will be created from the conversation_filter and the questions * under the scorecard(s). The feedback label `filter` will be ignored. @@ -325,7 +325,7 @@ public function setConversationFilter($var) * under the scorecard(s). The feedback label `filter` will be ignored. * * Generated from protobuf field repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTemplateQaScorecardId() { @@ -338,7 +338,7 @@ public function getTemplateQaScorecardId() * under the scorecard(s). The feedback label `filter` will be ignored. * * Generated from protobuf field repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTemplateQaScorecardId($var) diff --git a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/FeedbackLabelType.php b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/FeedbackLabelType.php index c61ed5f1fd72..08ffb8c6829a 100644 --- a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/FeedbackLabelType.php +++ b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/FeedbackLabelType.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination.php b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination.php index 1f31b29fc055..45ce1650fd19 100644 --- a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination.php +++ b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\BulkDownloadFeedbackLabelsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google Cloud Storage Object details to write the feedback labels to. @@ -233,4 +233,3 @@ public function setRecordsPerFileCount($var) } - diff --git a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination/Format.php b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination/Format.php index 18d453abd897..56314dda24b8 100644 --- a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination/Format.php +++ b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsRequest/GcsDestination/Format.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsResponse.php b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsResponse.php index 8c490ff1c3df..32cdb08cef8f 100644 --- a/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsResponse.php +++ b/ContactCenterInsights/src/V1/BulkDownloadFeedbackLabelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the BulkDownloadFeedbackLabel endpoint. diff --git a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata.php b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata.php index 25939a72557a..40d134f0492d 100644 --- a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata.php +++ b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for the Bulk Upload Feedback Labels API. @@ -59,7 +59,7 @@ class BulkUploadFeedbackLabelsMetadata extends \Google\Protobuf\Internal\Message * Output only. The time the operation finished running. * @type \Google\Cloud\ContactCenterInsights\V1\BulkUploadFeedbackLabelsRequest $request * Output only. The original request for ingest. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Partial errors during ingest operation that might cause the operation * output to be incomplete. * @type \Google\Cloud\ContactCenterInsights\V1\BulkUploadFeedbackLabelsMetadata\UploadStats $upload_stats @@ -184,7 +184,7 @@ public function setRequest($var) * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -196,7 +196,7 @@ public function getPartialErrors() * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata/UploadStats.php b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata/UploadStats.php index 609437df4f25..32cd6ffbbce6 100644 --- a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata/UploadStats.php +++ b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsMetadata/UploadStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\BulkUploadFeedbackLabelsMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Statistics for BulkUploadFeedbackLabels operation. @@ -133,4 +133,3 @@ public function setSuccessfulUploadCount($var) } - diff --git a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest.php b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest.php index dd4871d7e536..36a669e36431 100644 --- a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest.php +++ b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for bulk uploading feedback labels. diff --git a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource.php b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource.php index bbf5e91f1024..eaa6d283b35d 100644 --- a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource.php +++ b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\BulkUploadFeedbackLabelsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google Cloud Storage Object details to get the feedback label file from. @@ -103,4 +103,3 @@ public function setObjectUri($var) } - diff --git a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource/Format.php b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource/Format.php index e45b99d5ec02..e11de6179979 100644 --- a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource/Format.php +++ b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsRequest/GcsSource/Format.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsResponse.php b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsResponse.php index 284bebd4c3fa..9c7cb51580ed 100644 --- a/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsResponse.php +++ b/ContactCenterInsights/src/V1/BulkUploadFeedbackLabelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the Bulk Upload Feedback Labels API. diff --git a/ContactCenterInsights/src/V1/CalculateIssueModelStatsRequest.php b/ContactCenterInsights/src/V1/CalculateIssueModelStatsRequest.php index 8daa93a4a679..123a5e508d3d 100644 --- a/ContactCenterInsights/src/V1/CalculateIssueModelStatsRequest.php +++ b/ContactCenterInsights/src/V1/CalculateIssueModelStatsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to get statistics of an issue model. diff --git a/ContactCenterInsights/src/V1/CalculateIssueModelStatsResponse.php b/ContactCenterInsights/src/V1/CalculateIssueModelStatsResponse.php index 932814766c92..c2dc9eef3afb 100644 --- a/ContactCenterInsights/src/V1/CalculateIssueModelStatsResponse.php +++ b/ContactCenterInsights/src/V1/CalculateIssueModelStatsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of querying an issue model's statistics. diff --git a/ContactCenterInsights/src/V1/CalculateStatsRequest.php b/ContactCenterInsights/src/V1/CalculateStatsRequest.php index 5f422bb77f78..d447095e894f 100644 --- a/ContactCenterInsights/src/V1/CalculateStatsRequest.php +++ b/ContactCenterInsights/src/V1/CalculateStatsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for calculating conversation statistics. diff --git a/ContactCenterInsights/src/V1/CalculateStatsResponse.php b/ContactCenterInsights/src/V1/CalculateStatsResponse.php index 86718bf2e84b..1290a5228574 100644 --- a/ContactCenterInsights/src/V1/CalculateStatsResponse.php +++ b/ContactCenterInsights/src/V1/CalculateStatsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for calculating conversation statistics. diff --git a/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries.php b/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries.php index 0b6893ebc034..0f2490d7776b 100644 --- a/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries.php +++ b/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A time series representing conversations over time. @@ -38,7 +38,7 @@ class TimeSeries extends \Google\Protobuf\Internal\Message * * @type \Google\Protobuf\Duration $interval_duration * The duration of each interval. - * @type array<\Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval>|\Google\Protobuf\Internal\RepeatedField $points + * @type \Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval[] $points * An ordered list of intervals from earliest to latest, where each interval * represents the number of conversations that transpired during the time * window. @@ -91,7 +91,7 @@ public function setIntervalDuration($var) * window. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval> */ public function getPoints() { @@ -104,7 +104,7 @@ public function getPoints() * window. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval points = 2; - * @param array<\Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries\Interval[] $var * @return $this */ public function setPoints($var) @@ -117,4 +117,3 @@ public function setPoints($var) } - diff --git a/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries/Interval.php b/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries/Interval.php index d3633435f4ed..13ac51fdf60d 100644 --- a/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries/Interval.php +++ b/ContactCenterInsights/src/V1/CalculateStatsResponse/TimeSeries/Interval.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\CalculateStatsResponse\TimeSeries; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single interval in a time series. @@ -109,4 +109,3 @@ public function setConversationCount($var) } - diff --git a/ContactCenterInsights/src/V1/CallAnnotation.php b/ContactCenterInsights/src/V1/CallAnnotation.php index 9b2679366c44..e0d44be3e56f 100644 --- a/ContactCenterInsights/src/V1/CallAnnotation.php +++ b/ContactCenterInsights/src/V1/CallAnnotation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A piece of metadata that applies to a window of a call. diff --git a/ContactCenterInsights/src/V1/Conversation.php b/ContactCenterInsights/src/V1/Conversation.php index 63d218ed77a6..a7d984fdd1af 100644 --- a/ContactCenterInsights/src/V1/Conversation.php +++ b/ContactCenterInsights/src/V1/Conversation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The conversation resource. @@ -195,7 +195,7 @@ class Conversation extends \Google\Protobuf\Internal\Message * Output only. The conversation's latest analysis, if one exists. * @type \Google\Cloud\ContactCenterInsights\V1\ConversationSummarizationSuggestionData $latest_summary * Output only. Latest summary of the conversation. - * @type array<\Google\Cloud\ContactCenterInsights\V1\RuntimeAnnotation>|\Google\Protobuf\Internal\RepeatedField $runtime_annotations + * @type \Google\Cloud\ContactCenterInsights\V1\RuntimeAnnotation[] $runtime_annotations * Output only. The annotations that were generated during the customer and * agent interaction. * @type array|\Google\Protobuf\Internal\MapField $dialogflow_intents @@ -833,7 +833,7 @@ public function setLatestSummary($var) * agent interaction. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\RuntimeAnnotation> */ public function getRuntimeAnnotations() { @@ -845,7 +845,7 @@ public function getRuntimeAnnotations() * agent interaction. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\ContactCenterInsights\V1\RuntimeAnnotation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\RuntimeAnnotation[] $var * @return $this */ public function setRuntimeAnnotations($var) diff --git a/ContactCenterInsights/src/V1/Conversation/CallMetadata.php b/ContactCenterInsights/src/V1/Conversation/CallMetadata.php index 220bea1a9c1e..77836671c16f 100644 --- a/ContactCenterInsights/src/V1/Conversation/CallMetadata.php +++ b/ContactCenterInsights/src/V1/Conversation/CallMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Conversation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Call-specific metadata. @@ -99,4 +99,3 @@ public function setAgentChannel($var) } - diff --git a/ContactCenterInsights/src/V1/Conversation/Medium.php b/ContactCenterInsights/src/V1/Conversation/Medium.php index 3462ba041846..8fa6e3a2aa3b 100644 --- a/ContactCenterInsights/src/V1/Conversation/Medium.php +++ b/ContactCenterInsights/src/V1/Conversation/Medium.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/Conversation/QualityMetadata.php b/ContactCenterInsights/src/V1/Conversation/QualityMetadata.php index 6a93ca527fb7..25c3721eba9f 100644 --- a/ContactCenterInsights/src/V1/Conversation/QualityMetadata.php +++ b/ContactCenterInsights/src/V1/Conversation/QualityMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Conversation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Conversation metadata related to quality management. @@ -52,7 +52,7 @@ class QualityMetadata extends \Google\Protobuf\Internal\Message * The amount of time the customer waited to connect with an agent. * @type string $menu_path * An arbitrary string value specifying the menu path the customer took. - * @type array<\Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata\AgentInfo>|\Google\Protobuf\Internal\RepeatedField $agent_info + * @type \Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata\AgentInfo[] $agent_info * Information about agents involved in the call. * } */ @@ -153,7 +153,7 @@ public function setMenuPath($var) * Information about agents involved in the call. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata\AgentInfo> */ public function getAgentInfo() { @@ -164,7 +164,7 @@ public function getAgentInfo() * Information about agents involved in the call. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo agent_info = 4; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata\AgentInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata\AgentInfo[] $var * @return $this */ public function setAgentInfo($var) @@ -177,4 +177,3 @@ public function setAgentInfo($var) } - diff --git a/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php b/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php index a677c3a0b866..e956c250ccce 100644 --- a/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php +++ b/ContactCenterInsights/src/V1/Conversation/QualityMetadata/AgentInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about an agent involved in the conversation. @@ -205,4 +205,3 @@ public function setAgentType($var) } - diff --git a/ContactCenterInsights/src/V1/Conversation/Transcript.php b/ContactCenterInsights/src/V1/Conversation/Transcript.php index 4012a896036b..eaf88e68ad44 100644 --- a/ContactCenterInsights/src/V1/Conversation/Transcript.php +++ b/ContactCenterInsights/src/V1/Conversation/Transcript.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Conversation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message representing the transcript of a conversation. @@ -28,7 +28,7 @@ class Transcript extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment>|\Google\Protobuf\Internal\RepeatedField $transcript_segments + * @type \Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment[] $transcript_segments * A list of sequential transcript segments that comprise the conversation. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * A list of sequential transcript segments that comprise the conversation. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment> */ public function getTranscriptSegments() { @@ -52,7 +52,7 @@ public function getTranscriptSegments() * A list of sequential transcript segments that comprise the conversation. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment transcript_segments = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment[] $var * @return $this */ public function setTranscriptSegments($var) @@ -65,4 +65,3 @@ public function setTranscriptSegments($var) } - diff --git a/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment.php b/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment.php index c9085129a938..63e1e241a17c 100644 --- a/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment.php +++ b/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A segment of a full transcript. @@ -89,7 +89,7 @@ class TranscriptSegment extends \Google\Protobuf\Internal\Message * @type float $confidence * A confidence estimate between 0.0 and 1.0 of the fidelity of this * segment. A default value of 0.0 indicates that the value is unset. - * @type array<\Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment\WordInfo>|\Google\Protobuf\Internal\RepeatedField $words + * @type \Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment\WordInfo[] $words * A list of the word-specific information for each word in the segment. * @type string $language_code * The language code of this segment as a @@ -207,7 +207,7 @@ public function setConfidence($var) * A list of the word-specific information for each word in the segment. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment\WordInfo> */ public function getWords() { @@ -218,7 +218,7 @@ public function getWords() * A list of the word-specific information for each word in the segment. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo words = 3; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment\WordInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment\WordInfo[] $var * @return $this */ public function setWords($var) @@ -401,4 +401,3 @@ public function setSentiment($var) } - diff --git a/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/DialogflowSegmentMetadata.php b/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/DialogflowSegmentMetadata.php index 5c0f10fbae5b..b97dfa8dfcb3 100644 --- a/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/DialogflowSegmentMetadata.php +++ b/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/DialogflowSegmentMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata from Dialogflow relating to the current transcript segment. @@ -69,4 +69,3 @@ public function setSmartReplyAllowlistCovered($var) } - diff --git a/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/WordInfo.php b/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/WordInfo.php index b4226378aac7..336bf4360ff1 100644 --- a/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/WordInfo.php +++ b/ContactCenterInsights/src/V1/Conversation/Transcript/TranscriptSegment/WordInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Conversation\Transcript\TranscriptSegment; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Word-level info for words in a transcript. @@ -199,4 +199,3 @@ public function setConfidence($var) } - diff --git a/ContactCenterInsights/src/V1/ConversationDataSource.php b/ContactCenterInsights/src/V1/ConversationDataSource.php index 13fa956a91a1..7e756f548ed3 100644 --- a/ContactCenterInsights/src/V1/ConversationDataSource.php +++ b/ContactCenterInsights/src/V1/ConversationDataSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The conversation source, which is a combination of transcript and audio. diff --git a/ContactCenterInsights/src/V1/ConversationLevelSentiment.php b/ContactCenterInsights/src/V1/ConversationLevelSentiment.php index c716a63ac554..d221ef70df9a 100644 --- a/ContactCenterInsights/src/V1/ConversationLevelSentiment.php +++ b/ContactCenterInsights/src/V1/ConversationLevelSentiment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * One channel of conversation-level sentiment data. diff --git a/ContactCenterInsights/src/V1/ConversationLevelSilence.php b/ContactCenterInsights/src/V1/ConversationLevelSilence.php index 859ffc656498..c05aed2067e6 100644 --- a/ContactCenterInsights/src/V1/ConversationLevelSilence.php +++ b/ContactCenterInsights/src/V1/ConversationLevelSilence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Conversation-level silence data. diff --git a/ContactCenterInsights/src/V1/ConversationParticipant.php b/ContactCenterInsights/src/V1/ConversationParticipant.php index 53af5703cb5f..0329afaa8c65 100644 --- a/ContactCenterInsights/src/V1/ConversationParticipant.php +++ b/ContactCenterInsights/src/V1/ConversationParticipant.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The call participant speaking for a given utterance. diff --git a/ContactCenterInsights/src/V1/ConversationParticipant/Role.php b/ContactCenterInsights/src/V1/ConversationParticipant/Role.php index 17c8173e81a2..f953a6f202d1 100644 --- a/ContactCenterInsights/src/V1/ConversationParticipant/Role.php +++ b/ContactCenterInsights/src/V1/ConversationParticipant/Role.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/ConversationSummarizationSuggestionData.php b/ContactCenterInsights/src/V1/ConversationSummarizationSuggestionData.php index d4f5e94ae1eb..e43df3f06525 100644 --- a/ContactCenterInsights/src/V1/ConversationSummarizationSuggestionData.php +++ b/ContactCenterInsights/src/V1/ConversationSummarizationSuggestionData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Conversation summarization suggestion data. diff --git a/ContactCenterInsights/src/V1/CreateAnalysisOperationMetadata.php b/ContactCenterInsights/src/V1/CreateAnalysisOperationMetadata.php index 7afe57a43f92..5db13c5fd0c8 100644 --- a/ContactCenterInsights/src/V1/CreateAnalysisOperationMetadata.php +++ b/ContactCenterInsights/src/V1/CreateAnalysisOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for a create analysis operation. diff --git a/ContactCenterInsights/src/V1/CreateAnalysisRequest.php b/ContactCenterInsights/src/V1/CreateAnalysisRequest.php index 08fb29f0ae68..b48ff56d3ad9 100644 --- a/ContactCenterInsights/src/V1/CreateAnalysisRequest.php +++ b/ContactCenterInsights/src/V1/CreateAnalysisRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to create an analysis. diff --git a/ContactCenterInsights/src/V1/CreateAnalysisRuleRequest.php b/ContactCenterInsights/src/V1/CreateAnalysisRuleRequest.php index 21a929607024..9aa43326b3df 100644 --- a/ContactCenterInsights/src/V1/CreateAnalysisRuleRequest.php +++ b/ContactCenterInsights/src/V1/CreateAnalysisRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to create a analysis rule. diff --git a/ContactCenterInsights/src/V1/CreateConversationRequest.php b/ContactCenterInsights/src/V1/CreateConversationRequest.php index b0ee61eaae6c..993882450227 100644 --- a/ContactCenterInsights/src/V1/CreateConversationRequest.php +++ b/ContactCenterInsights/src/V1/CreateConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to create a conversation. diff --git a/ContactCenterInsights/src/V1/CreateFeedbackLabelRequest.php b/ContactCenterInsights/src/V1/CreateFeedbackLabelRequest.php index 50a5c0c2082c..f38f923ffbf1 100644 --- a/ContactCenterInsights/src/V1/CreateFeedbackLabelRequest.php +++ b/ContactCenterInsights/src/V1/CreateFeedbackLabelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for creating a feedback label. diff --git a/ContactCenterInsights/src/V1/CreateIssueModelMetadata.php b/ContactCenterInsights/src/V1/CreateIssueModelMetadata.php index 17845309a6c8..d41e402c9785 100644 --- a/ContactCenterInsights/src/V1/CreateIssueModelMetadata.php +++ b/ContactCenterInsights/src/V1/CreateIssueModelMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for creating an issue model. diff --git a/ContactCenterInsights/src/V1/CreateIssueModelRequest.php b/ContactCenterInsights/src/V1/CreateIssueModelRequest.php index 8b1409a079c1..5d439026ca5f 100644 --- a/ContactCenterInsights/src/V1/CreateIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/CreateIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to create an issue model. diff --git a/ContactCenterInsights/src/V1/CreatePhraseMatcherRequest.php b/ContactCenterInsights/src/V1/CreatePhraseMatcherRequest.php index e92bfabbf423..b606adf357fa 100644 --- a/ContactCenterInsights/src/V1/CreatePhraseMatcherRequest.php +++ b/ContactCenterInsights/src/V1/CreatePhraseMatcherRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to create a phrase matcher. diff --git a/ContactCenterInsights/src/V1/CreateQaQuestionRequest.php b/ContactCenterInsights/src/V1/CreateQaQuestionRequest.php index 31601d96bdd5..b725e44a6209 100644 --- a/ContactCenterInsights/src/V1/CreateQaQuestionRequest.php +++ b/ContactCenterInsights/src/V1/CreateQaQuestionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for creating a QaQuestion. diff --git a/ContactCenterInsights/src/V1/CreateQaScorecardRequest.php b/ContactCenterInsights/src/V1/CreateQaScorecardRequest.php index e2b75165ff8e..24110d0533ac 100644 --- a/ContactCenterInsights/src/V1/CreateQaScorecardRequest.php +++ b/ContactCenterInsights/src/V1/CreateQaScorecardRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for creating a QaScorecard. diff --git a/ContactCenterInsights/src/V1/CreateQaScorecardRevisionRequest.php b/ContactCenterInsights/src/V1/CreateQaScorecardRevisionRequest.php index 9a55b26b8168..2151ebfc857e 100644 --- a/ContactCenterInsights/src/V1/CreateQaScorecardRevisionRequest.php +++ b/ContactCenterInsights/src/V1/CreateQaScorecardRevisionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for creating a QaScorecardRevision. diff --git a/ContactCenterInsights/src/V1/CreateViewRequest.php b/ContactCenterInsights/src/V1/CreateViewRequest.php index f87e03ecb161..b07f9e00729d 100644 --- a/ContactCenterInsights/src/V1/CreateViewRequest.php +++ b/ContactCenterInsights/src/V1/CreateViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to create a view. diff --git a/ContactCenterInsights/src/V1/DeleteAnalysisRequest.php b/ContactCenterInsights/src/V1/DeleteAnalysisRequest.php index b8265d5a574d..cb98599d426e 100644 --- a/ContactCenterInsights/src/V1/DeleteAnalysisRequest.php +++ b/ContactCenterInsights/src/V1/DeleteAnalysisRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete an analysis. diff --git a/ContactCenterInsights/src/V1/DeleteAnalysisRuleRequest.php b/ContactCenterInsights/src/V1/DeleteAnalysisRuleRequest.php index 2d693b7c329e..808e75305a8a 100644 --- a/ContactCenterInsights/src/V1/DeleteAnalysisRuleRequest.php +++ b/ContactCenterInsights/src/V1/DeleteAnalysisRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete a analysis rule. diff --git a/ContactCenterInsights/src/V1/DeleteConversationRequest.php b/ContactCenterInsights/src/V1/DeleteConversationRequest.php index 78a161a7339e..a8c393103ccf 100644 --- a/ContactCenterInsights/src/V1/DeleteConversationRequest.php +++ b/ContactCenterInsights/src/V1/DeleteConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete a conversation. diff --git a/ContactCenterInsights/src/V1/DeleteFeedbackLabelRequest.php b/ContactCenterInsights/src/V1/DeleteFeedbackLabelRequest.php index cf448a2a09a5..1a037348447c 100644 --- a/ContactCenterInsights/src/V1/DeleteFeedbackLabelRequest.php +++ b/ContactCenterInsights/src/V1/DeleteFeedbackLabelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for deleting a feedback label. diff --git a/ContactCenterInsights/src/V1/DeleteIssueModelMetadata.php b/ContactCenterInsights/src/V1/DeleteIssueModelMetadata.php index 87dafed4f5f2..8b045422424f 100644 --- a/ContactCenterInsights/src/V1/DeleteIssueModelMetadata.php +++ b/ContactCenterInsights/src/V1/DeleteIssueModelMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for deleting an issue model. diff --git a/ContactCenterInsights/src/V1/DeleteIssueModelRequest.php b/ContactCenterInsights/src/V1/DeleteIssueModelRequest.php index 7c7da6389c8d..19a699572d2e 100644 --- a/ContactCenterInsights/src/V1/DeleteIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/DeleteIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete an issue model. diff --git a/ContactCenterInsights/src/V1/DeleteIssueRequest.php b/ContactCenterInsights/src/V1/DeleteIssueRequest.php index 8096f2bda03b..4d30b514e6f7 100644 --- a/ContactCenterInsights/src/V1/DeleteIssueRequest.php +++ b/ContactCenterInsights/src/V1/DeleteIssueRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete an issue. diff --git a/ContactCenterInsights/src/V1/DeletePhraseMatcherRequest.php b/ContactCenterInsights/src/V1/DeletePhraseMatcherRequest.php index b3ea8b0caeb4..b8ad86429b64 100644 --- a/ContactCenterInsights/src/V1/DeletePhraseMatcherRequest.php +++ b/ContactCenterInsights/src/V1/DeletePhraseMatcherRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete a phrase matcher. diff --git a/ContactCenterInsights/src/V1/DeleteQaQuestionRequest.php b/ContactCenterInsights/src/V1/DeleteQaQuestionRequest.php index b7994758c941..8057c957f2eb 100644 --- a/ContactCenterInsights/src/V1/DeleteQaQuestionRequest.php +++ b/ContactCenterInsights/src/V1/DeleteQaQuestionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for deleting a QaQuestion. diff --git a/ContactCenterInsights/src/V1/DeleteQaScorecardRequest.php b/ContactCenterInsights/src/V1/DeleteQaScorecardRequest.php index ecf15d68b5a5..3b5885cedeb3 100644 --- a/ContactCenterInsights/src/V1/DeleteQaScorecardRequest.php +++ b/ContactCenterInsights/src/V1/DeleteQaScorecardRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for deleting a QaScorecard. diff --git a/ContactCenterInsights/src/V1/DeleteQaScorecardRevisionRequest.php b/ContactCenterInsights/src/V1/DeleteQaScorecardRevisionRequest.php index f3178e0d913b..b4e540fb5f33 100644 --- a/ContactCenterInsights/src/V1/DeleteQaScorecardRevisionRequest.php +++ b/ContactCenterInsights/src/V1/DeleteQaScorecardRevisionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete a QaScorecardRevision. diff --git a/ContactCenterInsights/src/V1/DeleteViewRequest.php b/ContactCenterInsights/src/V1/DeleteViewRequest.php index 2980595cc4e5..76be3b20b57f 100644 --- a/ContactCenterInsights/src/V1/DeleteViewRequest.php +++ b/ContactCenterInsights/src/V1/DeleteViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to delete a view. diff --git a/ContactCenterInsights/src/V1/DeployIssueModelMetadata.php b/ContactCenterInsights/src/V1/DeployIssueModelMetadata.php index b9fc941ac602..8db534193eda 100644 --- a/ContactCenterInsights/src/V1/DeployIssueModelMetadata.php +++ b/ContactCenterInsights/src/V1/DeployIssueModelMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for deploying an issue model. diff --git a/ContactCenterInsights/src/V1/DeployIssueModelRequest.php b/ContactCenterInsights/src/V1/DeployIssueModelRequest.php index 05417f098460..1e954fffdcca 100644 --- a/ContactCenterInsights/src/V1/DeployIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/DeployIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to deploy an issue model. diff --git a/ContactCenterInsights/src/V1/DeployIssueModelResponse.php b/ContactCenterInsights/src/V1/DeployIssueModelResponse.php index 59ac7be188d0..21d3764fb3eb 100644 --- a/ContactCenterInsights/src/V1/DeployIssueModelResponse.php +++ b/ContactCenterInsights/src/V1/DeployIssueModelResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response to deploy an issue model. diff --git a/ContactCenterInsights/src/V1/DeployQaScorecardRevisionRequest.php b/ContactCenterInsights/src/V1/DeployQaScorecardRevisionRequest.php index 9df7d1cefd8f..fb94a24e0810 100644 --- a/ContactCenterInsights/src/V1/DeployQaScorecardRevisionRequest.php +++ b/ContactCenterInsights/src/V1/DeployQaScorecardRevisionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to deploy a QaScorecardRevision diff --git a/ContactCenterInsights/src/V1/DialogflowIntent.php b/ContactCenterInsights/src/V1/DialogflowIntent.php index 43c3bee200f3..f9d002797dac 100644 --- a/ContactCenterInsights/src/V1/DialogflowIntent.php +++ b/ContactCenterInsights/src/V1/DialogflowIntent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for a Dialogflow intent. diff --git a/ContactCenterInsights/src/V1/DialogflowInteractionData.php b/ContactCenterInsights/src/V1/DialogflowInteractionData.php index c651d75b244f..97c77ef3f06d 100644 --- a/ContactCenterInsights/src/V1/DialogflowInteractionData.php +++ b/ContactCenterInsights/src/V1/DialogflowInteractionData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Dialogflow interaction data. diff --git a/ContactCenterInsights/src/V1/DialogflowSource.php b/ContactCenterInsights/src/V1/DialogflowSource.php index 34caa82bc523..44fafa0ad301 100644 --- a/ContactCenterInsights/src/V1/DialogflowSource.php +++ b/ContactCenterInsights/src/V1/DialogflowSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Dialogflow source of conversation data. diff --git a/ContactCenterInsights/src/V1/Dimension.php b/ContactCenterInsights/src/V1/Dimension.php index a6abb3ae6da3..473cba55533d 100644 --- a/ContactCenterInsights/src/V1/Dimension.php +++ b/ContactCenterInsights/src/V1/Dimension.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A dimension determines the grouping key for the query. In SQL terms, these diff --git a/ContactCenterInsights/src/V1/Dimension/AgentDimensionMetadata.php b/ContactCenterInsights/src/V1/Dimension/AgentDimensionMetadata.php index 20bc00a6acba..8fd45fc2ed20 100644 --- a/ContactCenterInsights/src/V1/Dimension/AgentDimensionMetadata.php +++ b/ContactCenterInsights/src/V1/Dimension/AgentDimensionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Dimension; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the agent dimension. @@ -133,4 +133,3 @@ public function setAgentTeam($var) } - diff --git a/ContactCenterInsights/src/V1/Dimension/DimensionKey.php b/ContactCenterInsights/src/V1/Dimension/DimensionKey.php index ea9c0721720a..9d109522ca86 100644 --- a/ContactCenterInsights/src/V1/Dimension/DimensionKey.php +++ b/ContactCenterInsights/src/V1/Dimension/DimensionKey.php @@ -94,4 +94,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/Dimension/IssueDimensionMetadata.php b/ContactCenterInsights/src/V1/Dimension/IssueDimensionMetadata.php index 149666f0c582..db752c5e84db 100644 --- a/ContactCenterInsights/src/V1/Dimension/IssueDimensionMetadata.php +++ b/ContactCenterInsights/src/V1/Dimension/IssueDimensionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Dimension; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the issue dimension. @@ -133,4 +133,3 @@ public function setIssueModelId($var) } - diff --git a/ContactCenterInsights/src/V1/Dimension/QaQuestionAnswerDimensionMetadata.php b/ContactCenterInsights/src/V1/Dimension/QaQuestionAnswerDimensionMetadata.php index 0e1bcdfbe327..2b310e79038d 100644 --- a/ContactCenterInsights/src/V1/Dimension/QaQuestionAnswerDimensionMetadata.php +++ b/ContactCenterInsights/src/V1/Dimension/QaQuestionAnswerDimensionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Dimension; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the QA question-answer dimension. @@ -169,4 +169,3 @@ public function setAnswerValue($var) } - diff --git a/ContactCenterInsights/src/V1/Dimension/QaQuestionDimensionMetadata.php b/ContactCenterInsights/src/V1/Dimension/QaQuestionDimensionMetadata.php index 3c703d579cbc..ef55c055667d 100644 --- a/ContactCenterInsights/src/V1/Dimension/QaQuestionDimensionMetadata.php +++ b/ContactCenterInsights/src/V1/Dimension/QaQuestionDimensionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Dimension; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the QA question dimension. @@ -133,4 +133,3 @@ public function setQuestionBody($var) } - diff --git a/ContactCenterInsights/src/V1/EncryptionSpec.php b/ContactCenterInsights/src/V1/EncryptionSpec.php index a91fa3437b17..a6dfe5c6d195 100644 --- a/ContactCenterInsights/src/V1/EncryptionSpec.php +++ b/ContactCenterInsights/src/V1/EncryptionSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A customer-managed encryption key specification that can be applied to all diff --git a/ContactCenterInsights/src/V1/Entity.php b/ContactCenterInsights/src/V1/Entity.php index 0d8782c3a647..884165018bb8 100644 --- a/ContactCenterInsights/src/V1/Entity.php +++ b/ContactCenterInsights/src/V1/Entity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for an entity annotation. diff --git a/ContactCenterInsights/src/V1/Entity/Type.php b/ContactCenterInsights/src/V1/Entity/Type.php index 554286a37646..830c18060f74 100644 --- a/ContactCenterInsights/src/V1/Entity/Type.php +++ b/ContactCenterInsights/src/V1/Entity/Type.php @@ -158,4 +158,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/EntityMentionData.php b/ContactCenterInsights/src/V1/EntityMentionData.php index eba6ca9bc46f..9606691fbd95 100644 --- a/ContactCenterInsights/src/V1/EntityMentionData.php +++ b/ContactCenterInsights/src/V1/EntityMentionData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for an entity mention annotation. diff --git a/ContactCenterInsights/src/V1/EntityMentionData/MentionType.php b/ContactCenterInsights/src/V1/EntityMentionData/MentionType.php index eb76d8d4ef4b..3bd980f9b7a6 100644 --- a/ContactCenterInsights/src/V1/EntityMentionData/MentionType.php +++ b/ContactCenterInsights/src/V1/EntityMentionData/MentionType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/ExactMatchConfig.php b/ContactCenterInsights/src/V1/ExactMatchConfig.php index f9f8af221b17..0ed0efb9caf5 100644 --- a/ContactCenterInsights/src/V1/ExactMatchConfig.php +++ b/ContactCenterInsights/src/V1/ExactMatchConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Exact match configuration. diff --git a/ContactCenterInsights/src/V1/ExportInsightsDataMetadata.php b/ContactCenterInsights/src/V1/ExportInsightsDataMetadata.php index f4808758212b..35cb9c5555a4 100644 --- a/ContactCenterInsights/src/V1/ExportInsightsDataMetadata.php +++ b/ContactCenterInsights/src/V1/ExportInsightsDataMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for an export insights operation. @@ -53,7 +53,7 @@ class ExportInsightsDataMetadata extends \Google\Protobuf\Internal\Message * Output only. The time the operation finished running. * @type \Google\Cloud\ContactCenterInsights\V1\ExportInsightsDataRequest $request * The original request for export. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Partial errors during export operation that might cause the operation * output to be incomplete. * } @@ -176,7 +176,7 @@ public function setRequest($var) * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -188,7 +188,7 @@ public function getPartialErrors() * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ContactCenterInsights/src/V1/ExportInsightsDataRequest.php b/ContactCenterInsights/src/V1/ExportInsightsDataRequest.php index 6e4f506ab972..34b4df230a64 100644 --- a/ContactCenterInsights/src/V1/ExportInsightsDataRequest.php +++ b/ContactCenterInsights/src/V1/ExportInsightsDataRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to export insights. diff --git a/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php b/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php index e1a2d3df5429..e49c07d1336c 100644 --- a/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php +++ b/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\ExportInsightsDataRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A BigQuery Table Reference. @@ -157,4 +157,3 @@ public function setTable($var) } - diff --git a/ContactCenterInsights/src/V1/ExportInsightsDataRequest/WriteDisposition.php b/ContactCenterInsights/src/V1/ExportInsightsDataRequest/WriteDisposition.php index a59689d78171..815e77bc3986 100644 --- a/ContactCenterInsights/src/V1/ExportInsightsDataRequest/WriteDisposition.php +++ b/ContactCenterInsights/src/V1/ExportInsightsDataRequest/WriteDisposition.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/ExportInsightsDataResponse.php b/ContactCenterInsights/src/V1/ExportInsightsDataResponse.php index 32c0c790acf4..017b993fcc6d 100644 --- a/ContactCenterInsights/src/V1/ExportInsightsDataResponse.php +++ b/ContactCenterInsights/src/V1/ExportInsightsDataResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for an export insights operation. diff --git a/ContactCenterInsights/src/V1/ExportIssueModelMetadata.php b/ContactCenterInsights/src/V1/ExportIssueModelMetadata.php index 7a6e77bd3038..293c3b687405 100644 --- a/ContactCenterInsights/src/V1/ExportIssueModelMetadata.php +++ b/ContactCenterInsights/src/V1/ExportIssueModelMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata used for export issue model. diff --git a/ContactCenterInsights/src/V1/ExportIssueModelRequest.php b/ContactCenterInsights/src/V1/ExportIssueModelRequest.php index 5fc916d35604..07c36e2e8d2c 100644 --- a/ContactCenterInsights/src/V1/ExportIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/ExportIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to export an issue model. diff --git a/ContactCenterInsights/src/V1/ExportIssueModelRequest/GcsDestination.php b/ContactCenterInsights/src/V1/ExportIssueModelRequest/GcsDestination.php index 780157daa136..61164e10068a 100644 --- a/ContactCenterInsights/src/V1/ExportIssueModelRequest/GcsDestination.php +++ b/ContactCenterInsights/src/V1/ExportIssueModelRequest/GcsDestination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\ExportIssueModelRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google Cloud Storage Object URI to save the issue model to. @@ -65,4 +65,3 @@ public function setObjectUri($var) } - diff --git a/ContactCenterInsights/src/V1/ExportIssueModelResponse.php b/ContactCenterInsights/src/V1/ExportIssueModelResponse.php index cb2c757dea28..8e8a58b9c18b 100644 --- a/ContactCenterInsights/src/V1/ExportIssueModelResponse.php +++ b/ContactCenterInsights/src/V1/ExportIssueModelResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response from export issue model diff --git a/ContactCenterInsights/src/V1/FaqAnswerData.php b/ContactCenterInsights/src/V1/FaqAnswerData.php index e6d8e8c35931..06193d667709 100644 --- a/ContactCenterInsights/src/V1/FaqAnswerData.php +++ b/ContactCenterInsights/src/V1/FaqAnswerData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Agent Assist frequently-asked-question answer data. diff --git a/ContactCenterInsights/src/V1/FeedbackLabel.php b/ContactCenterInsights/src/V1/FeedbackLabel.php index e59875d7d42d..16600ea178fb 100644 --- a/ContactCenterInsights/src/V1/FeedbackLabel.php +++ b/ContactCenterInsights/src/V1/FeedbackLabel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a conversation, resource, and label provided by the user. diff --git a/ContactCenterInsights/src/V1/GcsSource.php b/ContactCenterInsights/src/V1/GcsSource.php index 2125a846c4af..0adbdf4aaacd 100644 --- a/ContactCenterInsights/src/V1/GcsSource.php +++ b/ContactCenterInsights/src/V1/GcsSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Cloud Storage source of conversation data. diff --git a/ContactCenterInsights/src/V1/GetAnalysisRequest.php b/ContactCenterInsights/src/V1/GetAnalysisRequest.php index a46e863a67e9..cf9a87830533 100644 --- a/ContactCenterInsights/src/V1/GetAnalysisRequest.php +++ b/ContactCenterInsights/src/V1/GetAnalysisRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get an analysis. diff --git a/ContactCenterInsights/src/V1/GetAnalysisRuleRequest.php b/ContactCenterInsights/src/V1/GetAnalysisRuleRequest.php index 06b729e7dfc0..1c0841fcaa65 100644 --- a/ContactCenterInsights/src/V1/GetAnalysisRuleRequest.php +++ b/ContactCenterInsights/src/V1/GetAnalysisRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for getting a analysis rule. diff --git a/ContactCenterInsights/src/V1/GetConversationRequest.php b/ContactCenterInsights/src/V1/GetConversationRequest.php index 7c69e507e417..243fb226aa44 100644 --- a/ContactCenterInsights/src/V1/GetConversationRequest.php +++ b/ContactCenterInsights/src/V1/GetConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get a conversation. diff --git a/ContactCenterInsights/src/V1/GetEncryptionSpecRequest.php b/ContactCenterInsights/src/V1/GetEncryptionSpecRequest.php index c0076eb9be97..f3406ae8edb1 100644 --- a/ContactCenterInsights/src/V1/GetEncryptionSpecRequest.php +++ b/ContactCenterInsights/src/V1/GetEncryptionSpecRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get location-level encryption specification. diff --git a/ContactCenterInsights/src/V1/GetFeedbackLabelRequest.php b/ContactCenterInsights/src/V1/GetFeedbackLabelRequest.php index e9b96851b796..4443bdefa94f 100644 --- a/ContactCenterInsights/src/V1/GetFeedbackLabelRequest.php +++ b/ContactCenterInsights/src/V1/GetFeedbackLabelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for getting a feedback label. diff --git a/ContactCenterInsights/src/V1/GetIssueModelRequest.php b/ContactCenterInsights/src/V1/GetIssueModelRequest.php index 0de9b87c59ea..4adc2d4575aa 100644 --- a/ContactCenterInsights/src/V1/GetIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/GetIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get an issue model. diff --git a/ContactCenterInsights/src/V1/GetIssueRequest.php b/ContactCenterInsights/src/V1/GetIssueRequest.php index 6ce5364cc99a..7c545f780ecc 100644 --- a/ContactCenterInsights/src/V1/GetIssueRequest.php +++ b/ContactCenterInsights/src/V1/GetIssueRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get an issue. diff --git a/ContactCenterInsights/src/V1/GetPhraseMatcherRequest.php b/ContactCenterInsights/src/V1/GetPhraseMatcherRequest.php index cfdbf04b0d0f..02fbe39c5030 100644 --- a/ContactCenterInsights/src/V1/GetPhraseMatcherRequest.php +++ b/ContactCenterInsights/src/V1/GetPhraseMatcherRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get a a phrase matcher. diff --git a/ContactCenterInsights/src/V1/GetQaQuestionRequest.php b/ContactCenterInsights/src/V1/GetQaQuestionRequest.php index 583d9137487c..7b53618cc2a4 100644 --- a/ContactCenterInsights/src/V1/GetQaQuestionRequest.php +++ b/ContactCenterInsights/src/V1/GetQaQuestionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for a QaQuestion. diff --git a/ContactCenterInsights/src/V1/GetQaScorecardRequest.php b/ContactCenterInsights/src/V1/GetQaScorecardRequest.php index c88916de02d3..8c88400529fe 100644 --- a/ContactCenterInsights/src/V1/GetQaScorecardRequest.php +++ b/ContactCenterInsights/src/V1/GetQaScorecardRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for a QaScorecard. By default, returns the latest revision. diff --git a/ContactCenterInsights/src/V1/GetQaScorecardRevisionRequest.php b/ContactCenterInsights/src/V1/GetQaScorecardRevisionRequest.php index 33e32dde8325..cc98e23051cc 100644 --- a/ContactCenterInsights/src/V1/GetQaScorecardRevisionRequest.php +++ b/ContactCenterInsights/src/V1/GetQaScorecardRevisionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for a QaScorecardRevision. diff --git a/ContactCenterInsights/src/V1/GetSettingsRequest.php b/ContactCenterInsights/src/V1/GetSettingsRequest.php index 91add76d1818..e9d7223566aa 100644 --- a/ContactCenterInsights/src/V1/GetSettingsRequest.php +++ b/ContactCenterInsights/src/V1/GetSettingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get project-level settings. diff --git a/ContactCenterInsights/src/V1/GetViewRequest.php b/ContactCenterInsights/src/V1/GetViewRequest.php index 0f38bc1c31e2..92278ab4d278 100644 --- a/ContactCenterInsights/src/V1/GetViewRequest.php +++ b/ContactCenterInsights/src/V1/GetViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to get a view. diff --git a/ContactCenterInsights/src/V1/HoldData.php b/ContactCenterInsights/src/V1/HoldData.php index bd7f70e930ef..30f95113814a 100644 --- a/ContactCenterInsights/src/V1/HoldData.php +++ b/ContactCenterInsights/src/V1/HoldData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for a hold annotation. diff --git a/ContactCenterInsights/src/V1/ImportIssueModelMetadata.php b/ContactCenterInsights/src/V1/ImportIssueModelMetadata.php index ed2259957dce..1ca957577ad3 100644 --- a/ContactCenterInsights/src/V1/ImportIssueModelMetadata.php +++ b/ContactCenterInsights/src/V1/ImportIssueModelMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata used for import issue model. diff --git a/ContactCenterInsights/src/V1/ImportIssueModelRequest.php b/ContactCenterInsights/src/V1/ImportIssueModelRequest.php index 871dd620e2c9..4732d01a1311 100644 --- a/ContactCenterInsights/src/V1/ImportIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/ImportIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to import an issue model. diff --git a/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php b/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php index 3080f8b29f24..9f02a853c6c1 100644 --- a/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php +++ b/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\ImportIssueModelRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google Cloud Storage Object URI to get the issue model file from. @@ -65,4 +65,3 @@ public function setObjectUri($var) } - diff --git a/ContactCenterInsights/src/V1/ImportIssueModelResponse.php b/ContactCenterInsights/src/V1/ImportIssueModelResponse.php index 0bd1db15abb5..ec453ef9328b 100644 --- a/ContactCenterInsights/src/V1/ImportIssueModelResponse.php +++ b/ContactCenterInsights/src/V1/ImportIssueModelResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response from import issue model diff --git a/ContactCenterInsights/src/V1/IngestConversationsMetadata.php b/ContactCenterInsights/src/V1/IngestConversationsMetadata.php index 5923845b70e2..58bb30b95ee9 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsMetadata.php +++ b/ContactCenterInsights/src/V1/IngestConversationsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for an IngestConversations operation. @@ -59,7 +59,7 @@ class IngestConversationsMetadata extends \Google\Protobuf\Internal\Message * Output only. The time the operation finished running. * @type \Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest $request * Output only. The original request for ingest. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Output only. Partial errors during ingest operation that might cause the * operation output to be incomplete. * @type \Google\Cloud\ContactCenterInsights\V1\IngestConversationsMetadata\IngestConversationsStats $ingest_conversations_stats @@ -184,7 +184,7 @@ public function setRequest($var) * operation output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -196,7 +196,7 @@ public function getPartialErrors() * operation output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ContactCenterInsights/src/V1/IngestConversationsMetadata/IngestConversationsStats.php b/ContactCenterInsights/src/V1/IngestConversationsMetadata/IngestConversationsStats.php index 05733dee77d2..e442a6636424 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsMetadata/IngestConversationsStats.php +++ b/ContactCenterInsights/src/V1/IngestConversationsMetadata/IngestConversationsStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\IngestConversationsMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Statistics for IngestConversations operation. @@ -179,4 +179,3 @@ public function setFailedIngestCount($var) } - diff --git a/ContactCenterInsights/src/V1/IngestConversationsRequest.php b/ContactCenterInsights/src/V1/IngestConversationsRequest.php index 435d372507c8..feba50d9d734 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsRequest.php +++ b/ContactCenterInsights/src/V1/IngestConversationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to ingest conversations. diff --git a/ContactCenterInsights/src/V1/IngestConversationsRequest/ConversationConfig.php b/ContactCenterInsights/src/V1/IngestConversationsRequest/ConversationConfig.php index 0c6d03321d54..e5aedb18d909 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsRequest/ConversationConfig.php +++ b/ContactCenterInsights/src/V1/IngestConversationsRequest/ConversationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration that applies to all conversations. @@ -161,4 +161,3 @@ public function setCustomerChannel($var) } - diff --git a/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource.php b/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource.php index a4b85453eae3..7b7f29f49a91 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource.php +++ b/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for Cloud Storage bucket sources. @@ -68,7 +68,7 @@ class GcsSource extends \Google\Protobuf\Internal\Message * name to * be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and * `gs://bucket/metadata/conversation1.json`. - * @type array|\Google\Protobuf\Internal\RepeatedField $custom_metadata_keys + * @type string[] $custom_metadata_keys * Optional. Custom keys to extract as conversation labels from metadata * files in `metadata_bucket_uri`. Keys not included in this field will be * ignored. Note that there is a limit of 100 labels per conversation. @@ -187,7 +187,7 @@ public function setMetadataBucketUri($var) * ignored. Note that there is a limit of 100 labels per conversation. * * Generated from protobuf field repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCustomMetadataKeys() { @@ -200,7 +200,7 @@ public function getCustomMetadataKeys() * ignored. Note that there is a limit of 100 labels per conversation. * * Generated from protobuf field repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCustomMetadataKeys($var) @@ -213,4 +213,3 @@ public function setCustomMetadataKeys($var) } - diff --git a/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource/BucketObjectType.php b/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource/BucketObjectType.php index b85c326e2775..8f367867a1fe 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource/BucketObjectType.php +++ b/ContactCenterInsights/src/V1/IngestConversationsRequest/GcsSource/BucketObjectType.php @@ -57,4 +57,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/IngestConversationsRequest/TranscriptObjectConfig.php b/ContactCenterInsights/src/V1/IngestConversationsRequest/TranscriptObjectConfig.php index aa83cb48d58c..615a0a7790cc 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsRequest/TranscriptObjectConfig.php +++ b/ContactCenterInsights/src/V1/IngestConversationsRequest/TranscriptObjectConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\IngestConversationsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for processing transcript objects. @@ -65,4 +65,3 @@ public function setMedium($var) } - diff --git a/ContactCenterInsights/src/V1/IngestConversationsResponse.php b/ContactCenterInsights/src/V1/IngestConversationsResponse.php index 97d2e9727617..2be3c14b1db3 100644 --- a/ContactCenterInsights/src/V1/IngestConversationsResponse.php +++ b/ContactCenterInsights/src/V1/IngestConversationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response to an IngestConversations operation. diff --git a/ContactCenterInsights/src/V1/InitializeEncryptionSpecMetadata.php b/ContactCenterInsights/src/V1/InitializeEncryptionSpecMetadata.php index 861225e3918f..712bee8cd8bd 100644 --- a/ContactCenterInsights/src/V1/InitializeEncryptionSpecMetadata.php +++ b/ContactCenterInsights/src/V1/InitializeEncryptionSpecMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for initializing a location-level encryption specification. @@ -53,7 +53,7 @@ class InitializeEncryptionSpecMetadata extends \Google\Protobuf\Internal\Message * Output only. The time the operation finished running. * @type \Google\Cloud\ContactCenterInsights\V1\InitializeEncryptionSpecRequest $request * Output only. The original request for initialization. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_errors + * @type \Google\Rpc\Status[] $partial_errors * Partial errors during initializing operation that might cause the operation * output to be incomplete. * } @@ -176,7 +176,7 @@ public function setRequest($var) * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getPartialErrors() { @@ -188,7 +188,7 @@ public function getPartialErrors() * output to be incomplete. * * Generated from protobuf field repeated .google.rpc.Status partial_errors = 4; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setPartialErrors($var) diff --git a/ContactCenterInsights/src/V1/InitializeEncryptionSpecRequest.php b/ContactCenterInsights/src/V1/InitializeEncryptionSpecRequest.php index 46e5af435e5d..861f74a267e7 100644 --- a/ContactCenterInsights/src/V1/InitializeEncryptionSpecRequest.php +++ b/ContactCenterInsights/src/V1/InitializeEncryptionSpecRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to initialize a location-level encryption specification. diff --git a/ContactCenterInsights/src/V1/InitializeEncryptionSpecResponse.php b/ContactCenterInsights/src/V1/InitializeEncryptionSpecResponse.php index a56abe51d282..c4de2f5251f0 100644 --- a/ContactCenterInsights/src/V1/InitializeEncryptionSpecResponse.php +++ b/ContactCenterInsights/src/V1/InitializeEncryptionSpecResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response to initialize a location-level encryption specification. diff --git a/ContactCenterInsights/src/V1/Intent.php b/ContactCenterInsights/src/V1/Intent.php index 74f40304f91e..004a2980d1ce 100644 --- a/ContactCenterInsights/src/V1/Intent.php +++ b/ContactCenterInsights/src/V1/Intent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for an intent. diff --git a/ContactCenterInsights/src/V1/IntentMatchData.php b/ContactCenterInsights/src/V1/IntentMatchData.php index 7997dc89a081..72abccc3c88a 100644 --- a/ContactCenterInsights/src/V1/IntentMatchData.php +++ b/ContactCenterInsights/src/V1/IntentMatchData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for an intent match. diff --git a/ContactCenterInsights/src/V1/InterruptionData.php b/ContactCenterInsights/src/V1/InterruptionData.php index c6692b654dbc..97c63a3f05b7 100644 --- a/ContactCenterInsights/src/V1/InterruptionData.php +++ b/ContactCenterInsights/src/V1/InterruptionData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for an interruption annotation. diff --git a/ContactCenterInsights/src/V1/Issue.php b/ContactCenterInsights/src/V1/Issue.php index 710d57742358..94e19a98ceb8 100644 --- a/ContactCenterInsights/src/V1/Issue.php +++ b/ContactCenterInsights/src/V1/Issue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The issue resource. @@ -71,7 +71,7 @@ class Issue extends \Google\Protobuf\Internal\Message * Output only. The time at which this issue was created. * @type \Google\Protobuf\Timestamp $update_time * Output only. The most recent time that this issue was updated. - * @type array|\Google\Protobuf\Internal\RepeatedField $sample_utterances + * @type string[] $sample_utterances * Output only. Resource names of the sample representative utterances that * match to this issue. * @type string $display_description @@ -216,7 +216,7 @@ public function setUpdateTime($var) * match to this issue. * * Generated from protobuf field repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSampleUtterances() { @@ -228,7 +228,7 @@ public function getSampleUtterances() * match to this issue. * * Generated from protobuf field repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSampleUtterances($var) diff --git a/ContactCenterInsights/src/V1/IssueAssignment.php b/ContactCenterInsights/src/V1/IssueAssignment.php index bfe826f1fadc..acf704b7d9a1 100644 --- a/ContactCenterInsights/src/V1/IssueAssignment.php +++ b/ContactCenterInsights/src/V1/IssueAssignment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the issue. diff --git a/ContactCenterInsights/src/V1/IssueMatchData.php b/ContactCenterInsights/src/V1/IssueMatchData.php index a0efc3fe72dd..f594ebbda677 100644 --- a/ContactCenterInsights/src/V1/IssueMatchData.php +++ b/ContactCenterInsights/src/V1/IssueMatchData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for an issue match annotation. diff --git a/ContactCenterInsights/src/V1/IssueModel.php b/ContactCenterInsights/src/V1/IssueModel.php index 5f48567214a1..81123073bbf3 100644 --- a/ContactCenterInsights/src/V1/IssueModel.php +++ b/ContactCenterInsights/src/V1/IssueModel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The issue model resource. diff --git a/ContactCenterInsights/src/V1/IssueModel/InputDataConfig.php b/ContactCenterInsights/src/V1/IssueModel/InputDataConfig.php index 93eb0a44b495..114b446d9af2 100644 --- a/ContactCenterInsights/src/V1/IssueModel/InputDataConfig.php +++ b/ContactCenterInsights/src/V1/IssueModel/InputDataConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\IssueModel; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configs for the input data used to create the issue model. @@ -152,4 +152,3 @@ public function setFilter($var) } - diff --git a/ContactCenterInsights/src/V1/IssueModel/ModelType.php b/ContactCenterInsights/src/V1/IssueModel/ModelType.php index 5805d857ab5f..c5b899df230a 100644 --- a/ContactCenterInsights/src/V1/IssueModel/ModelType.php +++ b/ContactCenterInsights/src/V1/IssueModel/ModelType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/IssueModel/State.php b/ContactCenterInsights/src/V1/IssueModel/State.php index da557e6929d3..f4199f599be5 100644 --- a/ContactCenterInsights/src/V1/IssueModel/State.php +++ b/ContactCenterInsights/src/V1/IssueModel/State.php @@ -81,4 +81,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/IssueModelLabelStats.php b/ContactCenterInsights/src/V1/IssueModelLabelStats.php index 13e20a42460f..aadef122aa31 100644 --- a/ContactCenterInsights/src/V1/IssueModelLabelStats.php +++ b/ContactCenterInsights/src/V1/IssueModelLabelStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Aggregated statistics about an issue model. diff --git a/ContactCenterInsights/src/V1/IssueModelLabelStats/IssueStats.php b/ContactCenterInsights/src/V1/IssueModelLabelStats/IssueStats.php index 58e71c319209..062738d49447 100644 --- a/ContactCenterInsights/src/V1/IssueModelLabelStats/IssueStats.php +++ b/ContactCenterInsights/src/V1/IssueModelLabelStats/IssueStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\IssueModelLabelStats; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Aggregated statistics about an issue. @@ -141,4 +141,3 @@ public function setDisplayName($var) } - diff --git a/ContactCenterInsights/src/V1/IssueModelResult.php b/ContactCenterInsights/src/V1/IssueModelResult.php index 80a0ea58e065..96c150a70ed5 100644 --- a/ContactCenterInsights/src/V1/IssueModelResult.php +++ b/ContactCenterInsights/src/V1/IssueModelResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Issue Modeling result on a conversation. @@ -38,7 +38,7 @@ class IssueModelResult extends \Google\Protobuf\Internal\Message * @type string $issue_model * Issue model that generates the result. * Format: projects/{project}/locations/{location}/issueModels/{issue_model} - * @type array<\Google\Cloud\ContactCenterInsights\V1\IssueAssignment>|\Google\Protobuf\Internal\RepeatedField $issues + * @type \Google\Cloud\ContactCenterInsights\V1\IssueAssignment[] $issues * All the matched issues. * } */ @@ -79,7 +79,7 @@ public function setIssueModel($var) * All the matched issues. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\IssueAssignment> */ public function getIssues() { @@ -90,7 +90,7 @@ public function getIssues() * All the matched issues. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.IssueAssignment issues = 2; - * @param array<\Google\Cloud\ContactCenterInsights\V1\IssueAssignment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\IssueAssignment[] $var * @return $this */ public function setIssues($var) diff --git a/ContactCenterInsights/src/V1/ListAllFeedbackLabelsRequest.php b/ContactCenterInsights/src/V1/ListAllFeedbackLabelsRequest.php index ef9e60d9bc14..4f10286607de 100644 --- a/ContactCenterInsights/src/V1/ListAllFeedbackLabelsRequest.php +++ b/ContactCenterInsights/src/V1/ListAllFeedbackLabelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for listing all feedback labels. diff --git a/ContactCenterInsights/src/V1/ListAllFeedbackLabelsResponse.php b/ContactCenterInsights/src/V1/ListAllFeedbackLabelsResponse.php index 91eba08eec2c..86a6c7647e74 100644 --- a/ContactCenterInsights/src/V1/ListAllFeedbackLabelsResponse.php +++ b/ContactCenterInsights/src/V1/ListAllFeedbackLabelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for listing all feedback labels. @@ -35,7 +35,7 @@ class ListAllFeedbackLabelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\FeedbackLabel>|\Google\Protobuf\Internal\RepeatedField $feedback_labels + * @type \Google\Cloud\ContactCenterInsights\V1\FeedbackLabel[] $feedback_labels * The feedback labels that match the request. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The feedback labels that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\FeedbackLabel> */ public function getFeedbackLabels() { @@ -62,7 +62,7 @@ public function getFeedbackLabels() * The feedback labels that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\FeedbackLabel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\FeedbackLabel[] $var * @return $this */ public function setFeedbackLabels($var) diff --git a/ContactCenterInsights/src/V1/ListAnalysesRequest.php b/ContactCenterInsights/src/V1/ListAnalysesRequest.php index 0ca0f63bbf9a..6e9978827a98 100644 --- a/ContactCenterInsights/src/V1/ListAnalysesRequest.php +++ b/ContactCenterInsights/src/V1/ListAnalysesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to list analyses. diff --git a/ContactCenterInsights/src/V1/ListAnalysesResponse.php b/ContactCenterInsights/src/V1/ListAnalysesResponse.php index c1a8d2ea3c7c..c4634acce7c6 100644 --- a/ContactCenterInsights/src/V1/ListAnalysesResponse.php +++ b/ContactCenterInsights/src/V1/ListAnalysesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response to list analyses. @@ -35,7 +35,7 @@ class ListAnalysesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\Analysis>|\Google\Protobuf\Internal\RepeatedField $analyses + * @type \Google\Cloud\ContactCenterInsights\V1\Analysis[] $analyses * The analyses that match the request. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The analyses that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Analysis> */ public function getAnalyses() { @@ -62,7 +62,7 @@ public function getAnalyses() * The analyses that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Analysis>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Analysis[] $var * @return $this */ public function setAnalyses($var) diff --git a/ContactCenterInsights/src/V1/ListAnalysisRulesRequest.php b/ContactCenterInsights/src/V1/ListAnalysisRulesRequest.php index 669c2c1a5bb4..3a5b72af28b3 100644 --- a/ContactCenterInsights/src/V1/ListAnalysisRulesRequest.php +++ b/ContactCenterInsights/src/V1/ListAnalysisRulesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to list analysis rules. diff --git a/ContactCenterInsights/src/V1/ListAnalysisRulesResponse.php b/ContactCenterInsights/src/V1/ListAnalysisRulesResponse.php index 9ac585f2aeea..7ee0984a3710 100644 --- a/ContactCenterInsights/src/V1/ListAnalysisRulesResponse.php +++ b/ContactCenterInsights/src/V1/ListAnalysisRulesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response of listing views. @@ -35,7 +35,7 @@ class ListAnalysisRulesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\AnalysisRule>|\Google\Protobuf\Internal\RepeatedField $analysis_rules + * @type \Google\Cloud\ContactCenterInsights\V1\AnalysisRule[] $analysis_rules * The analysis_rule that match the request. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The analysis_rule that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\AnalysisRule> */ public function getAnalysisRules() { @@ -62,7 +62,7 @@ public function getAnalysisRules() * The analysis_rule that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\AnalysisRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\AnalysisRule[] $var * @return $this */ public function setAnalysisRules($var) diff --git a/ContactCenterInsights/src/V1/ListConversationsRequest.php b/ContactCenterInsights/src/V1/ListConversationsRequest.php index 42dfc06a5ec7..f236a9f9e665 100644 --- a/ContactCenterInsights/src/V1/ListConversationsRequest.php +++ b/ContactCenterInsights/src/V1/ListConversationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list conversations. diff --git a/ContactCenterInsights/src/V1/ListConversationsResponse.php b/ContactCenterInsights/src/V1/ListConversationsResponse.php index d43bf9bd86f7..3f0b9b8a294b 100644 --- a/ContactCenterInsights/src/V1/ListConversationsResponse.php +++ b/ContactCenterInsights/src/V1/ListConversationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response of listing conversations. @@ -36,7 +36,7 @@ class ListConversationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\Conversation>|\Google\Protobuf\Internal\RepeatedField $conversations + * @type \Google\Cloud\ContactCenterInsights\V1\Conversation[] $conversations * The conversations that match the request. * @type string $next_page_token * A token which can be sent as `page_token` to retrieve the next page. If @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * The conversations that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Conversation> */ public function getConversations() { @@ -64,7 +64,7 @@ public function getConversations() * The conversations that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Conversation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Conversation[] $var * @return $this */ public function setConversations($var) diff --git a/ContactCenterInsights/src/V1/ListFeedbackLabelsRequest.php b/ContactCenterInsights/src/V1/ListFeedbackLabelsRequest.php index d8d7ac6fe694..7302b75a86c3 100644 --- a/ContactCenterInsights/src/V1/ListFeedbackLabelsRequest.php +++ b/ContactCenterInsights/src/V1/ListFeedbackLabelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for listing feedback labels. diff --git a/ContactCenterInsights/src/V1/ListFeedbackLabelsResponse.php b/ContactCenterInsights/src/V1/ListFeedbackLabelsResponse.php index de015c00ba02..679678e2c5d0 100644 --- a/ContactCenterInsights/src/V1/ListFeedbackLabelsResponse.php +++ b/ContactCenterInsights/src/V1/ListFeedbackLabelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for listing feedback labels. @@ -34,7 +34,7 @@ class ListFeedbackLabelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\FeedbackLabel>|\Google\Protobuf\Internal\RepeatedField $feedback_labels + * @type \Google\Cloud\ContactCenterInsights\V1\FeedbackLabel[] $feedback_labels * The feedback labels that match the request. * @type string $next_page_token * The next page token. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The feedback labels that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\FeedbackLabel> */ public function getFeedbackLabels() { @@ -60,7 +60,7 @@ public function getFeedbackLabels() * The feedback labels that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.FeedbackLabel feedback_labels = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\FeedbackLabel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\FeedbackLabel[] $var * @return $this */ public function setFeedbackLabels($var) diff --git a/ContactCenterInsights/src/V1/ListIssueModelsRequest.php b/ContactCenterInsights/src/V1/ListIssueModelsRequest.php index 797cc70091fb..12426911fd7c 100644 --- a/ContactCenterInsights/src/V1/ListIssueModelsRequest.php +++ b/ContactCenterInsights/src/V1/ListIssueModelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list issue models. diff --git a/ContactCenterInsights/src/V1/ListIssueModelsResponse.php b/ContactCenterInsights/src/V1/ListIssueModelsResponse.php index fd1955c2afaf..ba6b29d2ac75 100644 --- a/ContactCenterInsights/src/V1/ListIssueModelsResponse.php +++ b/ContactCenterInsights/src/V1/ListIssueModelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response of listing issue models. @@ -28,7 +28,7 @@ class ListIssueModelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\IssueModel>|\Google\Protobuf\Internal\RepeatedField $issue_models + * @type \Google\Cloud\ContactCenterInsights\V1\IssueModel[] $issue_models * The issue models that match the request. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The issue models that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\IssueModel> */ public function getIssueModels() { @@ -52,7 +52,7 @@ public function getIssueModels() * The issue models that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.IssueModel issue_models = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\IssueModel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\IssueModel[] $var * @return $this */ public function setIssueModels($var) diff --git a/ContactCenterInsights/src/V1/ListIssuesRequest.php b/ContactCenterInsights/src/V1/ListIssuesRequest.php index 9c33a0640c2a..0a1e779fc193 100644 --- a/ContactCenterInsights/src/V1/ListIssuesRequest.php +++ b/ContactCenterInsights/src/V1/ListIssuesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list issues. diff --git a/ContactCenterInsights/src/V1/ListIssuesResponse.php b/ContactCenterInsights/src/V1/ListIssuesResponse.php index 3bb883650053..8fd01fa737cc 100644 --- a/ContactCenterInsights/src/V1/ListIssuesResponse.php +++ b/ContactCenterInsights/src/V1/ListIssuesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response of listing issues. @@ -28,7 +28,7 @@ class ListIssuesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\Issue>|\Google\Protobuf\Internal\RepeatedField $issues + * @type \Google\Cloud\ContactCenterInsights\V1\Issue[] $issues * The issues that match the request. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The issues that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Issue> */ public function getIssues() { @@ -52,7 +52,7 @@ public function getIssues() * The issues that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Issue issues = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Issue>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Issue[] $var * @return $this */ public function setIssues($var) diff --git a/ContactCenterInsights/src/V1/ListPhraseMatchersRequest.php b/ContactCenterInsights/src/V1/ListPhraseMatchersRequest.php index 531bf84f176f..173aa3f8c5c8 100644 --- a/ContactCenterInsights/src/V1/ListPhraseMatchersRequest.php +++ b/ContactCenterInsights/src/V1/ListPhraseMatchersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list phrase matchers. diff --git a/ContactCenterInsights/src/V1/ListPhraseMatchersResponse.php b/ContactCenterInsights/src/V1/ListPhraseMatchersResponse.php index a757fadd7624..2069776e4a68 100644 --- a/ContactCenterInsights/src/V1/ListPhraseMatchersResponse.php +++ b/ContactCenterInsights/src/V1/ListPhraseMatchersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response of listing phrase matchers. @@ -35,7 +35,7 @@ class ListPhraseMatchersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\PhraseMatcher>|\Google\Protobuf\Internal\RepeatedField $phrase_matchers + * @type \Google\Cloud\ContactCenterInsights\V1\PhraseMatcher[] $phrase_matchers * The phrase matchers that match the request. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The phrase matchers that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\PhraseMatcher> */ public function getPhraseMatchers() { @@ -62,7 +62,7 @@ public function getPhraseMatchers() * The phrase matchers that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matchers = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\PhraseMatcher>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\PhraseMatcher[] $var * @return $this */ public function setPhraseMatchers($var) diff --git a/ContactCenterInsights/src/V1/ListQaQuestionsRequest.php b/ContactCenterInsights/src/V1/ListQaQuestionsRequest.php index 7f6fe2028e34..539a5265f042 100644 --- a/ContactCenterInsights/src/V1/ListQaQuestionsRequest.php +++ b/ContactCenterInsights/src/V1/ListQaQuestionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list QaQuestions. diff --git a/ContactCenterInsights/src/V1/ListQaQuestionsResponse.php b/ContactCenterInsights/src/V1/ListQaQuestionsResponse.php index dd2b4921404d..9a3ece6e16bc 100644 --- a/ContactCenterInsights/src/V1/ListQaQuestionsResponse.php +++ b/ContactCenterInsights/src/V1/ListQaQuestionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response from a ListQaQuestions request. @@ -35,7 +35,7 @@ class ListQaQuestionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaQuestion>|\Google\Protobuf\Internal\RepeatedField $qa_questions + * @type \Google\Cloud\ContactCenterInsights\V1\QaQuestion[] $qa_questions * The QaQuestions under the parent. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The QaQuestions under the parent. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaQuestion> */ public function getQaQuestions() { @@ -62,7 +62,7 @@ public function getQaQuestions() * The QaQuestions under the parent. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaQuestion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaQuestion[] $var * @return $this */ public function setQaQuestions($var) diff --git a/ContactCenterInsights/src/V1/ListQaScorecardRevisionsRequest.php b/ContactCenterInsights/src/V1/ListQaScorecardRevisionsRequest.php index 101d88e101b5..0d61685e7274 100644 --- a/ContactCenterInsights/src/V1/ListQaScorecardRevisionsRequest.php +++ b/ContactCenterInsights/src/V1/ListQaScorecardRevisionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list QaScorecardRevisions diff --git a/ContactCenterInsights/src/V1/ListQaScorecardRevisionsResponse.php b/ContactCenterInsights/src/V1/ListQaScorecardRevisionsResponse.php index 94602098bcc8..85b0de292006 100644 --- a/ContactCenterInsights/src/V1/ListQaScorecardRevisionsResponse.php +++ b/ContactCenterInsights/src/V1/ListQaScorecardRevisionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response from a ListQaScorecardRevisions request. @@ -35,7 +35,7 @@ class ListQaScorecardRevisionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardRevision>|\Google\Protobuf\Internal\RepeatedField $qa_scorecard_revisions + * @type \Google\Cloud\ContactCenterInsights\V1\QaScorecardRevision[] $qa_scorecard_revisions * The QaScorecards under the parent. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The QaScorecards under the parent. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revisions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaScorecardRevision> */ public function getQaScorecardRevisions() { @@ -62,7 +62,7 @@ public function getQaScorecardRevisions() * The QaScorecards under the parent. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardRevision qa_scorecard_revisions = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardRevision>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaScorecardRevision[] $var * @return $this */ public function setQaScorecardRevisions($var) diff --git a/ContactCenterInsights/src/V1/ListQaScorecardsRequest.php b/ContactCenterInsights/src/V1/ListQaScorecardsRequest.php index 2c3c43c14352..cbb152c99933 100644 --- a/ContactCenterInsights/src/V1/ListQaScorecardsRequest.php +++ b/ContactCenterInsights/src/V1/ListQaScorecardsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list QaScorecards. diff --git a/ContactCenterInsights/src/V1/ListQaScorecardsResponse.php b/ContactCenterInsights/src/V1/ListQaScorecardsResponse.php index 0ba9b256c4df..9c4544e64d26 100644 --- a/ContactCenterInsights/src/V1/ListQaScorecardsResponse.php +++ b/ContactCenterInsights/src/V1/ListQaScorecardsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response from a ListQaScorecards request. @@ -35,7 +35,7 @@ class ListQaScorecardsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaScorecard>|\Google\Protobuf\Internal\RepeatedField $qa_scorecards + * @type \Google\Cloud\ContactCenterInsights\V1\QaScorecard[] $qa_scorecards * The QaScorecards under the parent. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The QaScorecards under the parent. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecards = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaScorecard> */ public function getQaScorecards() { @@ -62,7 +62,7 @@ public function getQaScorecards() * The QaScorecards under the parent. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecard qa_scorecards = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaScorecard>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaScorecard[] $var * @return $this */ public function setQaScorecards($var) diff --git a/ContactCenterInsights/src/V1/ListViewsRequest.php b/ContactCenterInsights/src/V1/ListViewsRequest.php index 6beedf23a10a..65018d4ab1ad 100644 --- a/ContactCenterInsights/src/V1/ListViewsRequest.php +++ b/ContactCenterInsights/src/V1/ListViewsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to list views. diff --git a/ContactCenterInsights/src/V1/ListViewsResponse.php b/ContactCenterInsights/src/V1/ListViewsResponse.php index 18ad9605fc2b..a02ac81dda51 100644 --- a/ContactCenterInsights/src/V1/ListViewsResponse.php +++ b/ContactCenterInsights/src/V1/ListViewsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response of listing views. @@ -35,7 +35,7 @@ class ListViewsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\View>|\Google\Protobuf\Internal\RepeatedField $views + * @type \Google\Cloud\ContactCenterInsights\V1\View[] $views * The views that match the request. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The views that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.View views = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\View> */ public function getViews() { @@ -62,7 +62,7 @@ public function getViews() * The views that match the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.View views = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\View>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\View[] $var * @return $this */ public function setViews($var) diff --git a/ContactCenterInsights/src/V1/PhraseMatchData.php b/ContactCenterInsights/src/V1/PhraseMatchData.php index 976b4005d028..def5273c032f 100644 --- a/ContactCenterInsights/src/V1/PhraseMatchData.php +++ b/ContactCenterInsights/src/V1/PhraseMatchData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for a matched phrase matcher. diff --git a/ContactCenterInsights/src/V1/PhraseMatchRule.php b/ContactCenterInsights/src/V1/PhraseMatchRule.php index 7c378d92751c..19e2e5d6ab21 100644 --- a/ContactCenterInsights/src/V1/PhraseMatchRule.php +++ b/ContactCenterInsights/src/V1/PhraseMatchRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for a phrase match rule. diff --git a/ContactCenterInsights/src/V1/PhraseMatchRuleConfig.php b/ContactCenterInsights/src/V1/PhraseMatchRuleConfig.php index bc1b1f53a206..783c2ec575a3 100644 --- a/ContactCenterInsights/src/V1/PhraseMatchRuleConfig.php +++ b/ContactCenterInsights/src/V1/PhraseMatchRuleConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration information of a phrase match rule. diff --git a/ContactCenterInsights/src/V1/PhraseMatchRuleGroup.php b/ContactCenterInsights/src/V1/PhraseMatchRuleGroup.php index 3349ff2378e3..5b5a908ee598 100644 --- a/ContactCenterInsights/src/V1/PhraseMatchRuleGroup.php +++ b/ContactCenterInsights/src/V1/PhraseMatchRuleGroup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message representing a rule in the phrase matcher. @@ -36,7 +36,7 @@ class PhraseMatchRuleGroup extends \Google\Protobuf\Internal\Message * * @type int $type * Required. The type of this phrase match rule group. - * @type array<\Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule>|\Google\Protobuf\Internal\RepeatedField $phrase_match_rules + * @type \Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule[] $phrase_match_rules * A list of phrase match rules that are included in this group. * } */ @@ -75,7 +75,7 @@ public function setType($var) * A list of phrase match rules that are included in this group. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule> */ public function getPhraseMatchRules() { @@ -86,7 +86,7 @@ public function getPhraseMatchRules() * A list of phrase match rules that are included in this group. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2; - * @param array<\Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule[] $var * @return $this */ public function setPhraseMatchRules($var) diff --git a/ContactCenterInsights/src/V1/PhraseMatchRuleGroup/PhraseMatchRuleGroupType.php b/ContactCenterInsights/src/V1/PhraseMatchRuleGroup/PhraseMatchRuleGroupType.php index 7e3fbeee9c05..0963949a6719 100644 --- a/ContactCenterInsights/src/V1/PhraseMatchRuleGroup/PhraseMatchRuleGroupType.php +++ b/ContactCenterInsights/src/V1/PhraseMatchRuleGroup/PhraseMatchRuleGroupType.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/PhraseMatcher.php b/ContactCenterInsights/src/V1/PhraseMatcher.php index 44a2e86faddd..76165e26761f 100644 --- a/ContactCenterInsights/src/V1/PhraseMatcher.php +++ b/ContactCenterInsights/src/V1/PhraseMatcher.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The phrase matcher resource. @@ -27,7 +27,7 @@ class PhraseMatcher extends \Google\Protobuf\Internal\Message * Output only. Immutable. The revision ID of the phrase matcher. * A new revision is committed whenever the matcher is changed, except when it * is activated or deactivated. A server generated random ID will be used. - * Example: locations/global/phraseMatchers/my-first-matcher@1234567 + * Example: locations/global/phraseMatchers/my-first-matcher\@1234567 * * Generated from protobuf field string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -106,7 +106,7 @@ class PhraseMatcher extends \Google\Protobuf\Internal\Message * Output only. Immutable. The revision ID of the phrase matcher. * A new revision is committed whenever the matcher is changed, except when it * is activated or deactivated. A server generated random ID will be used. - * Example: locations/global/phraseMatchers/my-first-matcher@1234567 + * Example: locations/global/phraseMatchers/my-first-matcher\@1234567 * @type string $version_tag * The customized version tag to use for the phrase matcher. If not specified, * it will default to `revision_id`. @@ -119,7 +119,7 @@ class PhraseMatcher extends \Google\Protobuf\Internal\Message * Required. The type of this phrase matcher. * @type bool $active * Applies the phrase matcher only when it is active. - * @type array<\Google\Cloud\ContactCenterInsights\V1\PhraseMatchRuleGroup>|\Google\Protobuf\Internal\RepeatedField $phrase_match_rule_groups + * @type \Google\Cloud\ContactCenterInsights\V1\PhraseMatchRuleGroup[] $phrase_match_rule_groups * A list of phase match rule groups that are included in this matcher. * @type \Google\Protobuf\Timestamp $activation_update_time * Output only. The most recent time at which the activation status was @@ -171,7 +171,7 @@ public function setName($var) * Output only. Immutable. The revision ID of the phrase matcher. * A new revision is committed whenever the matcher is changed, except when it * is activated or deactivated. A server generated random ID will be used. - * Example: locations/global/phraseMatchers/my-first-matcher@1234567 + * Example: locations/global/phraseMatchers/my-first-matcher\@1234567 * * Generated from protobuf field string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -185,7 +185,7 @@ public function getRevisionId() * Output only. Immutable. The revision ID of the phrase matcher. * A new revision is committed whenever the matcher is changed, except when it * is activated or deactivated. A server generated random ID will be used. - * Example: locations/global/phraseMatchers/my-first-matcher@1234567 + * Example: locations/global/phraseMatchers/my-first-matcher\@1234567 * * Generated from protobuf field string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -347,7 +347,7 @@ public function setActive($var) * A list of phase match rule groups that are included in this matcher. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\PhraseMatchRuleGroup> */ public function getPhraseMatchRuleGroups() { @@ -358,7 +358,7 @@ public function getPhraseMatchRuleGroups() * A list of phase match rule groups that are included in this matcher. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8; - * @param array<\Google\Cloud\ContactCenterInsights\V1\PhraseMatchRuleGroup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\PhraseMatchRuleGroup[] $var * @return $this */ public function setPhraseMatchRuleGroups($var) diff --git a/ContactCenterInsights/src/V1/PhraseMatcher/PhraseMatcherType.php b/ContactCenterInsights/src/V1/PhraseMatcher/PhraseMatcherType.php index bf10143d0cd8..a988abc8d592 100644 --- a/ContactCenterInsights/src/V1/PhraseMatcher/PhraseMatcherType.php +++ b/ContactCenterInsights/src/V1/PhraseMatcher/PhraseMatcherType.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/QaAnswer.php b/ContactCenterInsights/src/V1/QaAnswer.php index 5c63506b940d..4c0df5006426 100644 --- a/ContactCenterInsights/src/V1/QaAnswer.php +++ b/ContactCenterInsights/src/V1/QaAnswer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An answer to a QaQuestion. @@ -68,11 +68,11 @@ class QaAnswer extends \Google\Protobuf\Internal\Message * Question text. E.g., "Did the agent greet the customer?" * @type \Google\Cloud\ContactCenterInsights\V1\QaAnswer\AnswerValue $answer_value * The main answer value, incorporating any manual edits if they exist. - * @type array|\Google\Protobuf\Internal\RepeatedField $tags + * @type string[] $tags * User-defined list of arbitrary tags. Matches the value from * QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and * for weighting the score of each answer. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaAnswer\AnswerSource>|\Google\Protobuf\Internal\RepeatedField $answer_sources + * @type \Google\Cloud\ContactCenterInsights\V1\QaAnswer\AnswerSource[] $answer_sources * List of all individual answers given to the question. * } */ @@ -201,7 +201,7 @@ public function setAnswerValue($var) * for weighting the score of each answer. * * Generated from protobuf field repeated string tags = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTags() { @@ -214,7 +214,7 @@ public function getTags() * for weighting the score of each answer. * * Generated from protobuf field repeated string tags = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTags($var) @@ -229,7 +229,7 @@ public function setTags($var) * List of all individual answers given to the question. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaAnswer\AnswerSource> */ public function getAnswerSources() { @@ -240,7 +240,7 @@ public function getAnswerSources() * List of all individual answers given to the question. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaAnswer\AnswerSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaAnswer\AnswerSource[] $var * @return $this */ public function setAnswerSources($var) diff --git a/ContactCenterInsights/src/V1/QaAnswer/AnswerSource.php b/ContactCenterInsights/src/V1/QaAnswer/AnswerSource.php index 7429babb83cf..28556e2e5819 100644 --- a/ContactCenterInsights/src/V1/QaAnswer/AnswerSource.php +++ b/ContactCenterInsights/src/V1/QaAnswer/AnswerSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QaAnswer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A question may have multiple answers from varying sources, one of which @@ -111,4 +111,3 @@ public function setAnswerValue($var) } - diff --git a/ContactCenterInsights/src/V1/QaAnswer/AnswerSource/SourceType.php b/ContactCenterInsights/src/V1/QaAnswer/AnswerSource/SourceType.php index 2e8c035efb29..390e9dc12f5c 100644 --- a/ContactCenterInsights/src/V1/QaAnswer/AnswerSource/SourceType.php +++ b/ContactCenterInsights/src/V1/QaAnswer/AnswerSource/SourceType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/QaAnswer/AnswerValue.php b/ContactCenterInsights/src/V1/QaAnswer/AnswerValue.php index ce9291af6f75..c2ca801e15e5 100644 --- a/ContactCenterInsights/src/V1/QaAnswer/AnswerValue.php +++ b/ContactCenterInsights/src/V1/QaAnswer/AnswerValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QaAnswer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for holding the value of a @@ -349,4 +349,3 @@ public function getValue() } - diff --git a/ContactCenterInsights/src/V1/QaQuestion.php b/ContactCenterInsights/src/V1/QaQuestion.php index 5bad7f28f6b3..dc2d157d8620 100644 --- a/ContactCenterInsights/src/V1/QaQuestion.php +++ b/ContactCenterInsights/src/V1/QaQuestion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single question to be scored by the Insights QA feature. @@ -112,9 +112,9 @@ class QaQuestion extends \Google\Protobuf\Internal\Message * Question text. E.g., "Did the agent greet the customer?" * @type string $answer_instructions * Instructions describing how to determine the answer. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaQuestion\AnswerChoice>|\Google\Protobuf\Internal\RepeatedField $answer_choices + * @type \Google\Cloud\ContactCenterInsights\V1\QaQuestion\AnswerChoice[] $answer_choices * A list of valid answers to the question, which the LLM must choose from. - * @type array|\Google\Protobuf\Internal\RepeatedField $tags + * @type string[] $tags * User-defined list of arbitrary tags for the question. Used for * grouping/organization and for weighting the score of each question. * @type int $order @@ -321,7 +321,7 @@ public function setAnswerInstructions($var) * A list of valid answers to the question, which the LLM must choose from. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaQuestion\AnswerChoice> */ public function getAnswerChoices() { @@ -332,7 +332,7 @@ public function getAnswerChoices() * A list of valid answers to the question, which the LLM must choose from. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaQuestion\AnswerChoice>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaQuestion\AnswerChoice[] $var * @return $this */ public function setAnswerChoices($var) @@ -348,7 +348,7 @@ public function setAnswerChoices($var) * grouping/organization and for weighting the score of each question. * * Generated from protobuf field repeated string tags = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTags() { @@ -360,7 +360,7 @@ public function getTags() * grouping/organization and for weighting the score of each question. * * Generated from protobuf field repeated string tags = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTags($var) diff --git a/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php b/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php index e9387731086e..bf854593d9a3 100644 --- a/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php +++ b/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QaQuestion; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message representing a possible answer to the question. @@ -260,4 +260,3 @@ public function getValue() } - diff --git a/ContactCenterInsights/src/V1/QaQuestion/Metrics.php b/ContactCenterInsights/src/V1/QaQuestion/Metrics.php index e22fb529e8ff..0f91b91e3e93 100644 --- a/ContactCenterInsights/src/V1/QaQuestion/Metrics.php +++ b/ContactCenterInsights/src/V1/QaQuestion/Metrics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QaQuestion; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A wrapper representing metrics calculated against a test-set on a LLM that @@ -70,4 +70,3 @@ public function setAccuracy($var) } - diff --git a/ContactCenterInsights/src/V1/QaQuestion/TuningMetadata.php b/ContactCenterInsights/src/V1/QaQuestion/TuningMetadata.php index d7ca38b4a5d0..103d66a36712 100644 --- a/ContactCenterInsights/src/V1/QaQuestion/TuningMetadata.php +++ b/ContactCenterInsights/src/V1/QaQuestion/TuningMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QaQuestion; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the tuning operation for the question. Will only be set if a @@ -47,7 +47,7 @@ class TuningMetadata extends \Google\Protobuf\Internal\Message * @type int|string $total_valid_label_count * Total number of valid labels provided for the question at the time of * tuining. - * @type array|\Google\Protobuf\Internal\RepeatedField $dataset_validation_warnings + * @type int[] $dataset_validation_warnings * A list of any applicable data validation warnings about the question's * feedback labels. * @type string $tuning_error @@ -93,7 +93,7 @@ public function setTotalValidLabelCount($var) * feedback labels. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDatasetValidationWarnings() { @@ -105,7 +105,7 @@ public function getDatasetValidationWarnings() * feedback labels. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setDatasetValidationWarnings($var) @@ -146,4 +146,3 @@ public function setTuningError($var) } - diff --git a/ContactCenterInsights/src/V1/QaScorecard.php b/ContactCenterInsights/src/V1/QaScorecard.php index 7a80c6edb141..9bdd4553c8e2 100644 --- a/ContactCenterInsights/src/V1/QaScorecard.php +++ b/ContactCenterInsights/src/V1/QaScorecard.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A QaScorecard represents a collection of questions to be scored during diff --git a/ContactCenterInsights/src/V1/QaScorecardResult.php b/ContactCenterInsights/src/V1/QaScorecardResult.php index 82da408ddbc2..fc909fe085fe 100644 --- a/ContactCenterInsights/src/V1/QaScorecardResult.php +++ b/ContactCenterInsights/src/V1/QaScorecardResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The results of scoring a single conversation against a QaScorecard. Contains @@ -106,7 +106,7 @@ class QaScorecardResult extends \Google\Protobuf\Internal\Message * Output only. The timestamp that the revision was created. * @type string $agent_id * ID of the agent that handled the conversation. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaAnswer>|\Google\Protobuf\Internal\RepeatedField $qa_answers + * @type \Google\Cloud\ContactCenterInsights\V1\QaAnswer[] $qa_answers * Set of QaAnswers represented in the result. * @type float $score * The overall numerical score of the result, incorporating any manual edits @@ -117,9 +117,9 @@ class QaScorecardResult extends \Google\Protobuf\Internal\Message * @type float $normalized_score * The normalized score, which is the score divided by the potential score. * Any manual edits are included if they exist. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult>|\Google\Protobuf\Internal\RepeatedField $qa_tag_results + * @type \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult[] $qa_tag_results * Collection of tags and their scores. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\ScoreSource>|\Google\Protobuf\Internal\RepeatedField $score_sources + * @type \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\ScoreSource[] $score_sources * List of all individual score sets. * } */ @@ -276,7 +276,7 @@ public function setAgentId($var) * Set of QaAnswers represented in the result. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaAnswer> */ public function getQaAnswers() { @@ -287,7 +287,7 @@ public function getQaAnswers() * Set of QaAnswers represented in the result. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaAnswer>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaAnswer[] $var * @return $this */ public function setQaAnswers($var) @@ -416,7 +416,7 @@ public function setNormalizedScore($var) * Collection of tags and their scores. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult> */ public function getQaTagResults() { @@ -427,7 +427,7 @@ public function getQaTagResults() * Collection of tags and their scores. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult[] $var * @return $this */ public function setQaTagResults($var) @@ -442,7 +442,7 @@ public function setQaTagResults($var) * List of all individual score sets. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\ScoreSource> */ public function getScoreSources() { @@ -453,7 +453,7 @@ public function getScoreSources() * List of all individual score sets. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\ScoreSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\ScoreSource[] $var * @return $this */ public function setScoreSources($var) diff --git a/ContactCenterInsights/src/V1/QaScorecardResult/QaTagResult.php b/ContactCenterInsights/src/V1/QaScorecardResult/QaTagResult.php index 06b9adedf4a6..a635b92175e2 100644 --- a/ContactCenterInsights/src/V1/QaScorecardResult/QaTagResult.php +++ b/ContactCenterInsights/src/V1/QaScorecardResult/QaTagResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QaScorecardResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Tags and their corresponding results. @@ -197,4 +197,3 @@ public function setNormalizedScore($var) } - diff --git a/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource.php b/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource.php index 4832c2236ec4..10812d738329 100644 --- a/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource.php +++ b/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QaScorecardResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A scorecard result may have multiple sets of scores from varying sources, @@ -64,7 +64,7 @@ class ScoreSource extends \Google\Protobuf\Internal\Message * answered using `na_value` are excluded from this calculation. * @type float $normalized_score * The normalized score, which is the score divided by the potential score. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult>|\Google\Protobuf\Internal\RepeatedField $qa_tag_results + * @type \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult[] $qa_tag_results * Collection of tags and their scores. * } */ @@ -213,7 +213,7 @@ public function setNormalizedScore($var) * Collection of tags and their scores. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult> */ public function getQaTagResults() { @@ -224,7 +224,7 @@ public function getQaTagResults() * Collection of tags and their scores. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 5; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QaScorecardResult\QaTagResult[] $var * @return $this */ public function setQaTagResults($var) @@ -237,4 +237,3 @@ public function setQaTagResults($var) } - diff --git a/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource/SourceType.php b/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource/SourceType.php index 176dbcda8b9c..6c4e5d9b54bf 100644 --- a/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource/SourceType.php +++ b/ContactCenterInsights/src/V1/QaScorecardResult/ScoreSource/SourceType.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/QaScorecardRevision.php b/ContactCenterInsights/src/V1/QaScorecardRevision.php index 61fe6a876d3e..6fbd4062eabb 100644 --- a/ContactCenterInsights/src/V1/QaScorecardRevision.php +++ b/ContactCenterInsights/src/V1/QaScorecardRevision.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A revision of a QaScorecard. @@ -68,7 +68,7 @@ class QaScorecardRevision extends \Google\Protobuf\Internal\Message * The snapshot of the scorecard at the time of this revision's creation. * @type \Google\Protobuf\Timestamp $create_time * Output only. The timestamp that the revision was created. - * @type array|\Google\Protobuf\Internal\RepeatedField $alternate_ids + * @type string[] $alternate_ids * Output only. Alternative IDs for this revision of the scorecard, e.g., * `latest`. * @type int $state @@ -188,7 +188,7 @@ public function setCreateTime($var) * `latest`. * * Generated from protobuf field repeated string alternate_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAlternateIds() { @@ -200,7 +200,7 @@ public function getAlternateIds() * `latest`. * * Generated from protobuf field repeated string alternate_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAlternateIds($var) diff --git a/ContactCenterInsights/src/V1/QaScorecardRevision/State.php b/ContactCenterInsights/src/V1/QaScorecardRevision/State.php index 7c5b92684ca5..62438b2a1895 100644 --- a/ContactCenterInsights/src/V1/QaScorecardRevision/State.php +++ b/ContactCenterInsights/src/V1/QaScorecardRevision/State.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/QueryMetricsMetadata.php b/ContactCenterInsights/src/V1/QueryMetricsMetadata.php index 45229d4d6ef3..995af4143a7f 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsMetadata.php +++ b/ContactCenterInsights/src/V1/QueryMetricsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata from querying metrics. diff --git a/ContactCenterInsights/src/V1/QueryMetricsRequest.php b/ContactCenterInsights/src/V1/QueryMetricsRequest.php index 07948915505c..5c72e230fa7d 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsRequest.php +++ b/ContactCenterInsights/src/V1/QueryMetricsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for querying metrics. @@ -76,7 +76,7 @@ class QueryMetricsRequest extends \Google\Protobuf\Internal\Message * @type int $time_granularity * The time granularity of each data point in the time series. * Defaults to NONE if this field is unspecified. - * @type array<\Google\Cloud\ContactCenterInsights\V1\Dimension>|\Google\Protobuf\Internal\RepeatedField $dimensions + * @type \Google\Cloud\ContactCenterInsights\V1\Dimension[] $dimensions * The dimensions that determine the grouping key for the query. Defaults to * no dimension if this field is unspecified. If a dimension is specified, * its key must also be specified. Each dimension's key must be unique. @@ -192,7 +192,7 @@ public function setTimeGranularity($var) * Up to one dimension is supported for now. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Dimension> */ public function getDimensions() { @@ -208,7 +208,7 @@ public function getDimensions() * Up to one dimension is supported for now. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 4; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Dimension>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Dimension[] $var * @return $this */ public function setDimensions($var) diff --git a/ContactCenterInsights/src/V1/QueryMetricsRequest/TimeGranularity.php b/ContactCenterInsights/src/V1/QueryMetricsRequest/TimeGranularity.php index ff399ac864b6..cc0652963b9b 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsRequest/TimeGranularity.php +++ b/ContactCenterInsights/src/V1/QueryMetricsRequest/TimeGranularity.php @@ -95,4 +95,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/QueryMetricsResponse.php b/ContactCenterInsights/src/V1/QueryMetricsResponse.php index 8baf5ef1fac7..263b0b3c7a65 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsResponse.php +++ b/ContactCenterInsights/src/V1/QueryMetricsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for querying metrics. @@ -57,7 +57,7 @@ class QueryMetricsResponse extends \Google\Protobuf\Internal\Message * "projects/{project}/locations/{location}" * @type \Google\Protobuf\Timestamp $update_time * The metrics last update time. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice>|\Google\Protobuf\Internal\RepeatedField $slices + * @type \Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice[] $slices * A slice contains a total and (if the request specified a time granularity) * a time series of metric values. Each slice contains a unique combination of * the cardinality of dimensions from the request. @@ -143,7 +143,7 @@ public function setUpdateTime($var) * the cardinality of dimensions from the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice slices = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice> */ public function getSlices() { @@ -156,7 +156,7 @@ public function getSlices() * the cardinality of dimensions from the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice slices = 2; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice[] $var * @return $this */ public function setSlices($var) diff --git a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice.php b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice.php index 5ad3f4e94c32..9b21d5069622 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice.php +++ b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A slice contains a total and (if the request specified a time granularity) @@ -49,7 +49,7 @@ class Slice extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\Dimension>|\Google\Protobuf\Internal\RepeatedField $dimensions + * @type \Google\Cloud\ContactCenterInsights\V1\Dimension[] $dimensions * A unique combination of dimensions that this slice represents. * @type \Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint $total * The total metric value. The interval of this data point is @@ -68,7 +68,7 @@ public function __construct($data = NULL) { * A unique combination of dimensions that this slice represents. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\Dimension> */ public function getDimensions() { @@ -79,7 +79,7 @@ public function getDimensions() * A unique combination of dimensions that this slice represents. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.Dimension dimensions = 1; - * @param array<\Google\Cloud\ContactCenterInsights\V1\Dimension>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\Dimension[] $var * @return $this */ public function setDimensions($var) @@ -168,4 +168,3 @@ public function setTimeSeries($var) } - diff --git a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint.php b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint.php index 030144394b4d..da77176c096c 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint.php +++ b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A data point contains the metric values mapped to an interval. @@ -133,4 +133,3 @@ public function getMeasure() } - diff --git a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure.php b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure.php index 423e1b699894..4f132a5326ab 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure.php +++ b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The measure related to conversations. @@ -103,7 +103,7 @@ class ConversationMeasure extends \Google\Protobuf\Internal\Message * @type float $average_qa_normalized_score * Average QA normalized score. * Will exclude 0's in average calculation. - * @type array<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint\ConversationMeasure\QaTagScore>|\Google\Protobuf\Internal\RepeatedField $qa_tag_scores + * @type \Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint\ConversationMeasure\QaTagScore[] $qa_tag_scores * Average QA normalized score for all the tags. * @type float $average_qa_question_normalized_score * Average QA normalized score averaged for questions averaged across @@ -411,7 +411,7 @@ public function setAverageQaNormalizedScore($var) * Average QA normalized score for all the tags. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.QaTagScore qa_tag_scores = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint\ConversationMeasure\QaTagScore> */ public function getQaTagScores() { @@ -422,7 +422,7 @@ public function getQaTagScores() * Average QA normalized score for all the tags. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint.ConversationMeasure.QaTagScore qa_tag_scores = 9; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint\ConversationMeasure\QaTagScore>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint\ConversationMeasure\QaTagScore[] $var * @return $this */ public function setQaTagScores($var) @@ -477,4 +477,3 @@ public function setAverageQaQuestionNormalizedScore($var) } - diff --git a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure/QaTagScore.php b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure/QaTagScore.php index dc7ad35de0f9..575bcb2142c6 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure/QaTagScore.php +++ b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/DataPoint/ConversationMeasure/QaTagScore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint\ConversationMeasure; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Average QA normalized score for the tag. @@ -99,4 +99,3 @@ public function setAverageTagNormalizedScore($var) } - diff --git a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/TimeSeries.php b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/TimeSeries.php index 4c4f91787af6..43b2c8e4aa5e 100644 --- a/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/TimeSeries.php +++ b/ContactCenterInsights/src/V1/QueryMetricsResponse/Slice/TimeSeries.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A time series of metric values. @@ -28,7 +28,7 @@ class TimeSeries extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint>|\Google\Protobuf\Internal\RepeatedField $data_points + * @type \Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint[] $data_points * The data points that make up the time series . * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The data points that make up the time series . * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint> */ public function getDataPoints() { @@ -52,7 +52,7 @@ public function getDataPoints() * The data points that make up the time series . * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.QueryMetricsResponse.Slice.DataPoint data_points = 4; - * @param array<\Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\QueryMetricsResponse\Slice\DataPoint[] $var * @return $this */ public function setDataPoints($var) @@ -65,4 +65,3 @@ public function setDataPoints($var) } - diff --git a/ContactCenterInsights/src/V1/RedactionConfig.php b/ContactCenterInsights/src/V1/RedactionConfig.php index 293547129dc3..198a93f978cc 100644 --- a/ContactCenterInsights/src/V1/RedactionConfig.php +++ b/ContactCenterInsights/src/V1/RedactionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DLP resources used for redaction while ingesting conversations. diff --git a/ContactCenterInsights/src/V1/RuntimeAnnotation.php b/ContactCenterInsights/src/V1/RuntimeAnnotation.php index 4c7f365eabe0..0b736ae7e913 100644 --- a/ContactCenterInsights/src/V1/RuntimeAnnotation.php +++ b/ContactCenterInsights/src/V1/RuntimeAnnotation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An annotation that was generated during the customer and agent interaction. diff --git a/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput.php b/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput.php index 276d80d14d1a..406c0398fa42 100644 --- a/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput.php +++ b/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\RuntimeAnnotation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Explicit input used for generating the answer @@ -141,4 +141,3 @@ public function setQuerySource($var) } - diff --git a/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput/QuerySource.php b/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput/QuerySource.php index 5edc374d4137..6f1d03529c66 100644 --- a/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput/QuerySource.php +++ b/ContactCenterInsights/src/V1/RuntimeAnnotation/UserInput/QuerySource.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/ContactCenterInsights/src/V1/SentimentData.php b/ContactCenterInsights/src/V1/SentimentData.php index ce03d00b710a..b35acc6dfa40 100644 --- a/ContactCenterInsights/src/V1/SentimentData.php +++ b/ContactCenterInsights/src/V1/SentimentData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for a sentiment annotation. diff --git a/ContactCenterInsights/src/V1/Settings.php b/ContactCenterInsights/src/V1/Settings.php index a728e5d6bc4f..7240e4eae7f9 100644 --- a/ContactCenterInsights/src/V1/Settings.php +++ b/ContactCenterInsights/src/V1/Settings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The CCAI Insights project wide settings. diff --git a/ContactCenterInsights/src/V1/Settings/AnalysisConfig.php b/ContactCenterInsights/src/V1/Settings/AnalysisConfig.php index 501ce99e2013..6c8f4178d1ee 100644 --- a/ContactCenterInsights/src/V1/Settings/AnalysisConfig.php +++ b/ContactCenterInsights/src/V1/Settings/AnalysisConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\Settings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Default configuration when creating Analyses in Insights. @@ -155,4 +155,3 @@ public function setAnnotatorSelector($var) } - diff --git a/ContactCenterInsights/src/V1/SilenceData.php b/ContactCenterInsights/src/V1/SilenceData.php index b2f045fe5662..79d8750d7d0f 100644 --- a/ContactCenterInsights/src/V1/SilenceData.php +++ b/ContactCenterInsights/src/V1/SilenceData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data for a silence annotation. diff --git a/ContactCenterInsights/src/V1/SmartComposeSuggestionData.php b/ContactCenterInsights/src/V1/SmartComposeSuggestionData.php index abf22b896d3a..9205c72486ad 100644 --- a/ContactCenterInsights/src/V1/SmartComposeSuggestionData.php +++ b/ContactCenterInsights/src/V1/SmartComposeSuggestionData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Agent Assist Smart Compose suggestion data. diff --git a/ContactCenterInsights/src/V1/SmartReplyData.php b/ContactCenterInsights/src/V1/SmartReplyData.php index 2da4d03c9e50..ec69d5dcddf8 100644 --- a/ContactCenterInsights/src/V1/SmartReplyData.php +++ b/ContactCenterInsights/src/V1/SmartReplyData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Agent Assist Smart Reply data. diff --git a/ContactCenterInsights/src/V1/SpeechConfig.php b/ContactCenterInsights/src/V1/SpeechConfig.php index 714218e8fcc2..e0032aa61399 100644 --- a/ContactCenterInsights/src/V1/SpeechConfig.php +++ b/ContactCenterInsights/src/V1/SpeechConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Speech-to-Text configuration. diff --git a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata.php b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata.php index 3e686987788d..96d974f411f6 100644 --- a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata.php +++ b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for TuneQaScorecardRevision endpoint. @@ -67,9 +67,9 @@ class TuneQaScorecardRevisionMetadata extends \Google\Protobuf\Internal\Message * Output only. The time the operation finished running. * @type \Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionRequest $request * Output only. The original request. - * @type array<\Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetValidationResult>|\Google\Protobuf\Internal\RepeatedField $qa_question_dataset_validation_results + * @type \Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetValidationResult[] $qa_question_dataset_validation_results * Output only. The results of data validation per question in the request. - * @type array<\Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetTuningMetrics>|\Google\Protobuf\Internal\RepeatedField $qa_question_dataset_tuning_metrics + * @type \Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetTuningMetrics[] $qa_question_dataset_tuning_metrics * Output only. The metrics for each QaQuestion in the TuneScorecardRevision * request. * @type float $tuning_completion_ratio @@ -195,7 +195,7 @@ public function setRequest($var) * Output only. The results of data validation per question in the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult qa_question_dataset_validation_results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetValidationResult> */ public function getQaQuestionDatasetValidationResults() { @@ -206,7 +206,7 @@ public function getQaQuestionDatasetValidationResults() * Output only. The results of data validation per question in the request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionMetadata.QaQuestionDatasetValidationResult qa_question_dataset_validation_results = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetValidationResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetValidationResult[] $var * @return $this */ public function setQaQuestionDatasetValidationResults($var) @@ -222,7 +222,7 @@ public function setQaQuestionDatasetValidationResults($var) * request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionMetadata.QaQuestionDatasetTuningMetrics qa_question_dataset_tuning_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetTuningMetrics> */ public function getQaQuestionDatasetTuningMetrics() { @@ -234,7 +234,7 @@ public function getQaQuestionDatasetTuningMetrics() * request. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionMetadata.QaQuestionDatasetTuningMetrics qa_question_dataset_tuning_metrics = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetTuningMetrics>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetTuningMetrics[] $var * @return $this */ public function setQaQuestionDatasetTuningMetrics($var) diff --git a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics.php b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics.php index 67835ea517fa..bf3f692cb3e6 100644 --- a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics.php +++ b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains performance metrics for each QaQuestion in the @@ -114,4 +114,3 @@ public function setMetrics($var) } - diff --git a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics/Metrics.php b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics/Metrics.php index 7bd214242899..e1602deec7a1 100644 --- a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics/Metrics.php +++ b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetTuningMetrics/Metrics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata\QaQuestionDatasetTuningMetrics; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Performance metrics for the question's dataset calculated over the tuned @@ -66,4 +66,3 @@ public function setAccuracy($var) } - diff --git a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetValidationResult.php b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetValidationResult.php index 89c7422be481..173864ad59ac 100644 --- a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetValidationResult.php +++ b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionMetadata/QaQuestionDatasetValidationResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1\TuneQaScorecardRevisionMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains validation results for a question in the tuning request. @@ -45,7 +45,7 @@ class QaQuestionDatasetValidationResult extends \Google\Protobuf\Internal\Messag * @type string $question * Output only. The resource path of the question whose dataset was * evaluated for tuning. - * @type array|\Google\Protobuf\Internal\RepeatedField $dataset_validation_warnings + * @type int[] $dataset_validation_warnings * A list of any applicable data validation warnings about the question's * feedback labels. * @type int $valid_feedback_labels_count @@ -90,7 +90,7 @@ public function setQuestion($var) * feedback labels. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDatasetValidationWarnings() { @@ -102,7 +102,7 @@ public function getDatasetValidationWarnings() * feedback labels. * * Generated from protobuf field repeated .google.cloud.contactcenterinsights.v1.DatasetValidationWarning dataset_validation_warnings = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setDatasetValidationWarnings($var) @@ -141,4 +141,3 @@ public function setValidFeedbackLabelsCount($var) } - diff --git a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionRequest.php b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionRequest.php index 74d28d6c0c64..7291efbc0a6e 100644 --- a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionRequest.php +++ b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for TuneQaScorecardRevision endpoint. diff --git a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionResponse.php b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionResponse.php index 67b9f528d50f..a519bdb1b424 100644 --- a/ContactCenterInsights/src/V1/TuneQaScorecardRevisionResponse.php +++ b/ContactCenterInsights/src/V1/TuneQaScorecardRevisionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for TuneQaScorecardRevision endpoint. diff --git a/ContactCenterInsights/src/V1/UndeployIssueModelMetadata.php b/ContactCenterInsights/src/V1/UndeployIssueModelMetadata.php index e6995db42e6e..3d030cd3f6c8 100644 --- a/ContactCenterInsights/src/V1/UndeployIssueModelMetadata.php +++ b/ContactCenterInsights/src/V1/UndeployIssueModelMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for undeploying an issue model. diff --git a/ContactCenterInsights/src/V1/UndeployIssueModelRequest.php b/ContactCenterInsights/src/V1/UndeployIssueModelRequest.php index 7db5b4fe3288..d575d5557d0e 100644 --- a/ContactCenterInsights/src/V1/UndeployIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/UndeployIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to undeploy an issue model. diff --git a/ContactCenterInsights/src/V1/UndeployIssueModelResponse.php b/ContactCenterInsights/src/V1/UndeployIssueModelResponse.php index 0478db7e5e18..884d2655b71f 100644 --- a/ContactCenterInsights/src/V1/UndeployIssueModelResponse.php +++ b/ContactCenterInsights/src/V1/UndeployIssueModelResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response to undeploy an issue model. diff --git a/ContactCenterInsights/src/V1/UndeployQaScorecardRevisionRequest.php b/ContactCenterInsights/src/V1/UndeployQaScorecardRevisionRequest.php index dd06aac0d71f..82d8b294b008 100644 --- a/ContactCenterInsights/src/V1/UndeployQaScorecardRevisionRequest.php +++ b/ContactCenterInsights/src/V1/UndeployQaScorecardRevisionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to undeploy a QaScorecardRevision diff --git a/ContactCenterInsights/src/V1/UpdateAnalysisRuleRequest.php b/ContactCenterInsights/src/V1/UpdateAnalysisRuleRequest.php index 92b1b723ce4e..2eafa15e0cc0 100644 --- a/ContactCenterInsights/src/V1/UpdateAnalysisRuleRequest.php +++ b/ContactCenterInsights/src/V1/UpdateAnalysisRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to update a analysis rule. diff --git a/ContactCenterInsights/src/V1/UpdateConversationRequest.php b/ContactCenterInsights/src/V1/UpdateConversationRequest.php index 94c6827f7a67..d0b557af713d 100644 --- a/ContactCenterInsights/src/V1/UpdateConversationRequest.php +++ b/ContactCenterInsights/src/V1/UpdateConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to update a conversation. diff --git a/ContactCenterInsights/src/V1/UpdateFeedbackLabelRequest.php b/ContactCenterInsights/src/V1/UpdateFeedbackLabelRequest.php index b34648aeea65..5c97b845802b 100644 --- a/ContactCenterInsights/src/V1/UpdateFeedbackLabelRequest.php +++ b/ContactCenterInsights/src/V1/UpdateFeedbackLabelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for updating a feedback label. diff --git a/ContactCenterInsights/src/V1/UpdateIssueModelRequest.php b/ContactCenterInsights/src/V1/UpdateIssueModelRequest.php index 2cc1f7c36565..ea16df441e71 100644 --- a/ContactCenterInsights/src/V1/UpdateIssueModelRequest.php +++ b/ContactCenterInsights/src/V1/UpdateIssueModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to update an issue model. diff --git a/ContactCenterInsights/src/V1/UpdateIssueRequest.php b/ContactCenterInsights/src/V1/UpdateIssueRequest.php index 0be9746fae85..04d8f6024415 100644 --- a/ContactCenterInsights/src/V1/UpdateIssueRequest.php +++ b/ContactCenterInsights/src/V1/UpdateIssueRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to update an issue. diff --git a/ContactCenterInsights/src/V1/UpdatePhraseMatcherRequest.php b/ContactCenterInsights/src/V1/UpdatePhraseMatcherRequest.php index f161bd6098d5..98b2b2d231e0 100644 --- a/ContactCenterInsights/src/V1/UpdatePhraseMatcherRequest.php +++ b/ContactCenterInsights/src/V1/UpdatePhraseMatcherRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to update a phrase matcher. diff --git a/ContactCenterInsights/src/V1/UpdateQaQuestionRequest.php b/ContactCenterInsights/src/V1/UpdateQaQuestionRequest.php index 1638d1eace40..ddf8fed6fe75 100644 --- a/ContactCenterInsights/src/V1/UpdateQaQuestionRequest.php +++ b/ContactCenterInsights/src/V1/UpdateQaQuestionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for updating a QaQuestion. diff --git a/ContactCenterInsights/src/V1/UpdateQaScorecardRequest.php b/ContactCenterInsights/src/V1/UpdateQaScorecardRequest.php index 414b1cad6c0b..eddb9bfe5ebe 100644 --- a/ContactCenterInsights/src/V1/UpdateQaScorecardRequest.php +++ b/ContactCenterInsights/src/V1/UpdateQaScorecardRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for updating a QaScorecard. diff --git a/ContactCenterInsights/src/V1/UpdateSettingsRequest.php b/ContactCenterInsights/src/V1/UpdateSettingsRequest.php index 83a51d0c3938..de0857aeb1ab 100644 --- a/ContactCenterInsights/src/V1/UpdateSettingsRequest.php +++ b/ContactCenterInsights/src/V1/UpdateSettingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to update project-level settings. diff --git a/ContactCenterInsights/src/V1/UpdateViewRequest.php b/ContactCenterInsights/src/V1/UpdateViewRequest.php index c1adc1132a5f..8c6467938447 100644 --- a/ContactCenterInsights/src/V1/UpdateViewRequest.php +++ b/ContactCenterInsights/src/V1/UpdateViewRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request to update a view. diff --git a/ContactCenterInsights/src/V1/UploadConversationMetadata.php b/ContactCenterInsights/src/V1/UploadConversationMetadata.php index b893a1d41d46..9cf8635edea8 100644 --- a/ContactCenterInsights/src/V1/UploadConversationMetadata.php +++ b/ContactCenterInsights/src/V1/UploadConversationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata for an `UploadConversation` operation. diff --git a/ContactCenterInsights/src/V1/UploadConversationRequest.php b/ContactCenterInsights/src/V1/UploadConversationRequest.php index 443a3b1398eb..01e524cb7d2f 100644 --- a/ContactCenterInsights/src/V1/UploadConversationRequest.php +++ b/ContactCenterInsights/src/V1/UploadConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to upload a conversation. diff --git a/ContactCenterInsights/src/V1/View.php b/ContactCenterInsights/src/V1/View.php index 286533d5ad37..89bfbfc67524 100644 --- a/ContactCenterInsights/src/V1/View.php +++ b/ContactCenterInsights/src/V1/View.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ContactCenterInsights\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The View resource.