diff --git a/DiscoveryEngine/metadata/V1/Answer.php b/DiscoveryEngine/metadata/V1/Answer.php index f64edeaf55bc..f568fcb907d7 100644 Binary files a/DiscoveryEngine/metadata/V1/Answer.php and b/DiscoveryEngine/metadata/V1/Answer.php differ diff --git a/DiscoveryEngine/metadata/V1/AssistAnswer.php b/DiscoveryEngine/metadata/V1/AssistAnswer.php index 5ebdcaa91cea..3bd375d6921d 100644 Binary files a/DiscoveryEngine/metadata/V1/AssistAnswer.php and b/DiscoveryEngine/metadata/V1/AssistAnswer.php differ diff --git a/DiscoveryEngine/metadata/V1/Assistant.php b/DiscoveryEngine/metadata/V1/Assistant.php index 4814f1eda49b..47fe0fba9a09 100644 --- a/DiscoveryEngine/metadata/V1/Assistant.php +++ b/DiscoveryEngine/metadata/V1/Assistant.php @@ -17,13 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - -/google/cloud/discoveryengine/v1/assistant.protogoogle.cloud.discoveryengine.v1google/api/resource.proto" - Assistant -name ( BA:A -(discoveryengine.googleapis.com/Assistanthprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}B -#com.google.cloud.discoveryengine.v1BAssistantProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xB5\x04\x0A/google/cloud/discoveryengine/v1/assistant.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x19google/api/resource.proto\"\xB9\x01\x0A\x09Assistant\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x05:\x98\x01\xEAA\x94\x01\x0A(discoveryengine.googleapis.com/Assistant\x12hprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}B\x81\x02\x0A#com.google.cloud.discoveryengine.v1B\x0EAssistantProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/AssistantService.php b/DiscoveryEngine/metadata/V1/AssistantService.php index 326a95b970c6..d24b771be153 100644 --- a/DiscoveryEngine/metadata/V1/AssistantService.php +++ b/DiscoveryEngine/metadata/V1/AssistantService.php @@ -22,45 +22,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Discoveryengine\V1\SearchService::initOnce(); \GPBMetadata\Google\Cloud\Discoveryengine\V1\Session::initOnce(); $pool->internalAddGeneratedFile( - ' - -7google/cloud/discoveryengine/v1/assistant_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto3google/cloud/discoveryengine/v1/assist_answer.proto4google/cloud/discoveryengine/v1/search_service.proto-google/cloud/discoveryengine/v1/session.proto"R -AssistUserMetadata - time_zone ( BA$ -preferred_language_code ( BA" -StreamAssistRequest> -name ( B0AA* -(discoveryengine.googleapis.com/Assistant: -query ( 2&.google.cloud.discoveryengine.v1.QueryBA? -session ( B.AA( -&discoveryengine.googleapis.com/SessionO - user_metadata ( 23.google.cloud.discoveryengine.v1.AssistUserMetadataBAW - -tools_spec ( 2>.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpecBAa -generation_spec ( 2C.google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpecBA - ToolsSpecu -vertex_ai_search_spec ( 2Q.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpecBAp -web_grounding_spec ( 2O.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpecBAv -image_generation_spec ( 2R.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpecBAv -video_generation_spec ( 2R.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpecBA -VertexAiSearchSpec[ -data_store_specs ( 2<.google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpecBA -filter ( BA -WebGroundingSpec -ImageGenerationSpec -VideoGenerationSpec\' -GenerationSpec -model_id ( BA" -StreamAssistResponse= -answer ( 2-.google.cloud.discoveryengine.v1.AssistAnswerW - session_info ( 2A.google.cloud.discoveryengine.v1.StreamAssistResponse.SessionInfo - assist_token ( K - SessionInfo< -session ( B+A( -&discoveryengine.googleapis.com/Session2 -AssistantService - StreamAssist4.google.cloud.discoveryengine.v1.StreamAssistRequest5.google.cloud.discoveryengine.v1.StreamAssistResponse"^X"S/v1/{name=projects/*/locations/*/collections/*/engines/*/assistants/*}:streamAssist:*0RAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BAssistantServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xCA\x13\x0A7google/cloud/discoveryengine/v1/assistant_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A3google/cloud/discoveryengine/v1/assist_answer.proto\x1A4google/cloud/discoveryengine/v1/search_service.proto\x1A-google/cloud/discoveryengine/v1/session.proto\"R\x0A\x12AssistUserMetadata\x12\x16\x0A\x09time_zone\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\$\x0A\x17preferred_language_code\x18\x02 \x01(\x09B\x03\xE0A\x01\"\xBA\x09\x0A\x13StreamAssistRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(discoveryengine.googleapis.com/Assistant\x12:\x0A\x05query\x18\x02 \x01(\x0B2&.google.cloud.discoveryengine.v1.QueryB\x03\xE0A\x01\x12?\x0A\x07session\x18\x03 \x01(\x09B.\xE0A\x01\xFAA(\x0A&discoveryengine.googleapis.com/Session\x12O\x0A\x0Duser_metadata\x18\x06 \x01(\x0B23.google.cloud.discoveryengine.v1.AssistUserMetadataB\x03\xE0A\x01\x12W\x0A\x0Atools_spec\x18\x12 \x01(\x0B2>.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpecB\x03\xE0A\x01\x12a\x0A\x0Fgeneration_spec\x18\x13 \x01(\x0B2C.google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpecB\x03\xE0A\x01\x1A\xAF\x05\x0A\x09ToolsSpec\x12u\x0A\x15vertex_ai_search_spec\x18\x01 \x01(\x0B2Q.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpecB\x03\xE0A\x01\x12p\x0A\x12web_grounding_spec\x18\x02 \x01(\x0B2O.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpecB\x03\xE0A\x01\x12v\x0A\x15image_generation_spec\x18\x03 \x01(\x0B2R.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpecB\x03\xE0A\x01\x12v\x0A\x15video_generation_spec\x18\x04 \x01(\x0B2R.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpecB\x03\xE0A\x01\x1A\x86\x01\x0A\x12VertexAiSearchSpec\x12[\x0A\x10data_store_specs\x18\x02 \x03(\x0B2<.google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpecB\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x1A\x12\x0A\x10WebGroundingSpec\x1A\x15\x0A\x13ImageGenerationSpec\x1A\x15\x0A\x13VideoGenerationSpec\x1A'\x0A\x0EGenerationSpec\x12\x15\x0A\x08model_id\x18\x01 \x01(\x09B\x03\xE0A\x01\"\x91\x02\x0A\x14StreamAssistResponse\x12=\x0A\x06answer\x18\x01 \x01(\x0B2-.google.cloud.discoveryengine.v1.AssistAnswer\x12W\x0A\x0Csession_info\x18\x02 \x01(\x0B2A.google.cloud.discoveryengine.v1.StreamAssistResponse.SessionInfo\x12\x14\x0A\x0Cassist_token\x18\x04 \x01(\x09\x1AK\x0A\x0BSessionInfo\x12<\x0A\x07session\x18\x01 \x01(\x09B+\xFAA(\x0A&discoveryengine.googleapis.com/Session2\xC6\x02\x0A\x10AssistantService\x12\xDD\x01\x0A\x0CStreamAssist\x124.google.cloud.discoveryengine.v1.StreamAssistRequest\x1A5.google.cloud.discoveryengine.v1.StreamAssistResponse\"^\x82\xD3\xE4\x93\x02X\"S/v1/{name=projects/*/locations/*/collections/*/engines/*/assistants/*}:streamAssist:\x01*0\x01\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x88\x02\x0A#com.google.cloud.discoveryengine.v1B\x15AssistantServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/Chunk.php b/DiscoveryEngine/metadata/V1/Chunk.php index 3b7e5d428151..12ca496ae089 100644 Binary files a/DiscoveryEngine/metadata/V1/Chunk.php and b/DiscoveryEngine/metadata/V1/Chunk.php differ diff --git a/DiscoveryEngine/metadata/V1/CmekConfigService.php b/DiscoveryEngine/metadata/V1/CmekConfigService.php index 7b3394d0a60e..e7b399b6d496 100644 Binary files a/DiscoveryEngine/metadata/V1/CmekConfigService.php and b/DiscoveryEngine/metadata/V1/CmekConfigService.php differ diff --git a/DiscoveryEngine/metadata/V1/Common.php b/DiscoveryEngine/metadata/V1/Common.php index d6c8e478e85d..2df15dae5d20 100644 Binary files a/DiscoveryEngine/metadata/V1/Common.php and b/DiscoveryEngine/metadata/V1/Common.php differ diff --git a/DiscoveryEngine/metadata/V1/Completion.php b/DiscoveryEngine/metadata/V1/Completion.php index ebe69a4c01c9..f85503ab22f7 100644 Binary files a/DiscoveryEngine/metadata/V1/Completion.php and b/DiscoveryEngine/metadata/V1/Completion.php differ diff --git a/DiscoveryEngine/metadata/V1/CompletionService.php b/DiscoveryEngine/metadata/V1/CompletionService.php index 38230127366f..411ada856ddf 100644 --- a/DiscoveryEngine/metadata/V1/CompletionService.php +++ b/DiscoveryEngine/metadata/V1/CompletionService.php @@ -22,35 +22,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Discoveryengine\V1\PurgeConfig::initOnce(); \GPBMetadata\Google\Longrunning\Operations::initOnce(); $pool->internalAddGeneratedFile( - ' - -8google/cloud/discoveryengine/v1/completion_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto3google/cloud/discoveryengine/v1/import_config.proto2google/cloud/discoveryengine/v1/purge_config.proto#google/longrunning/operations.proto" -CompleteQueryRequestD - -data_store ( B0AA* -(discoveryengine.googleapis.com/DataStore -query ( BA - query_model (  -user_pseudo_id (  -include_tail_suggestions (" -CompleteQueryResponsea -query_suggestions ( 2F.google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion -tail_match_triggered (F -QuerySuggestion - -suggestion (  -completable_field_paths ( 2 -CompletionService - CompleteQuery5.google.cloud.discoveryengine.v1.CompleteQueryRequest6.google.cloud.discoveryengine.v1.CompleteQueryResponse"B/v1/{data_store=projects/*/locations/*/dataStores/*}:completeQueryZRP/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery -ImportSuggestionDenyListEntriesG.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest.google.longrunning.Operation"A -Ggoogle.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesResponseGgoogle.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesMetadata"_/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:import:*ZV"Q/v1/{parent=projects/*/locations/*/dataStores/*}/suggestionDenyListEntries:import:* -PurgeSuggestionDenyListEntriesF.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesRequest.google.longrunning.Operation"A -Fgoogle.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesResponseFgoogle.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesMetadata"^/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:purge:*ZV"Q/v1/{parent=projects/*/locations/*/dataStores/**}/suggestionDenyListEntries:purge:* -ImportCompletionSuggestionsC.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest.google.longrunning.Operation"A -Cgoogle.cloud.discoveryengine.v1.ImportCompletionSuggestionsResponseCgoogle.cloud.discoveryengine.v1.ImportCompletionSuggestionsMetadata"[/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import:*ZR"M/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import:* -PurgeCompletionSuggestionsB.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsRequest.google.longrunning.Operation"A -Bgoogle.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponseBgoogle.cloud.discoveryengine.v1.PurgeCompletionSuggestionsMetadata"Z/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge:*ZQ"L/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge:*RAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BCompletionServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xE9\x19\x0A8google/cloud/discoveryengine/v1/completion_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A3google/cloud/discoveryengine/v1/import_config.proto\x1A2google/cloud/discoveryengine/v1/purge_config.proto\x1A#google/longrunning/operations.proto\"\xBF\x01\x0A\x14CompleteQueryRequest\x12D\x0A\x0Adata_store\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(discoveryengine.googleapis.com/DataStore\x12\x12\x0A\x05query\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bquery_model\x18\x03 \x01(\x09\x12\x16\x0A\x0Euser_pseudo_id\x18\x04 \x01(\x09\x12 \x0A\x18include_tail_suggestions\x18\x05 \x01(\x08\"\xE0\x01\x0A\x15CompleteQueryResponse\x12a\x0A\x11query_suggestions\x18\x01 \x03(\x0B2F.google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion\x12\x1C\x0A\x14tail_match_triggered\x18\x02 \x01(\x08\x1AF\x0A\x0FQuerySuggestion\x12\x12\x0A\x0Asuggestion\x18\x01 \x01(\x09\x12\x1F\x0A\x17completable_field_paths\x18\x02 \x03(\x092\xEF\x11\x0A\x11CompletionService\x12\xA0\x02\x0A\x0DCompleteQuery\x125.google.cloud.discoveryengine.v1.CompleteQueryRequest\x1A6.google.cloud.discoveryengine.v1.CompleteQueryResponse\"\x9F\x01\x82\xD3\xE4\x93\x02\x98\x01\x12B/v1/{data_store=projects/*/locations/*/dataStores/*}:completeQueryZR\x12P/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery\x12\xE5\x03\x0A\x1FImportSuggestionDenyListEntries\x12G.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest\x1A\x1D.google.longrunning.Operation\"\xD9\x02\xCAA\x92\x01\x0AGgoogle.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesResponse\x12Ggoogle.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesMetadata\x82\xD3\xE4\x93\x02\xBC\x01\"_/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:import:\x01*ZV\"Q/v1/{parent=projects/*/locations/*/dataStores/*}/suggestionDenyListEntries:import:\x01*\x12\xE0\x03\x0A\x1EPurgeSuggestionDenyListEntries\x12F.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesRequest\x1A\x1D.google.longrunning.Operation\"\xD6\x02\xCAA\x90\x01\x0AFgoogle.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesResponse\x12Fgoogle.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesMetadata\x82\xD3\xE4\x93\x02\xBB\x01\"^/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:purge:\x01*ZV\"Q/v1/{parent=projects/*/locations/*/dataStores/**}/suggestionDenyListEntries:purge:\x01*\x12\xCD\x03\x0A\x1BImportCompletionSuggestions\x12C.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest\x1A\x1D.google.longrunning.Operation\"\xC9\x02\xCAA\x8A\x01\x0ACgoogle.cloud.discoveryengine.v1.ImportCompletionSuggestionsResponse\x12Cgoogle.cloud.discoveryengine.v1.ImportCompletionSuggestionsMetadata\x82\xD3\xE4\x93\x02\xB4\x01\"[/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import:\x01*ZR\"M/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import:\x01*\x12\xC7\x03\x0A\x1APurgeCompletionSuggestions\x12B.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsRequest\x1A\x1D.google.longrunning.Operation\"\xC5\x02\xCAA\x88\x01\x0ABgoogle.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse\x12Bgoogle.cloud.discoveryengine.v1.PurgeCompletionSuggestionsMetadata\x82\xD3\xE4\x93\x02\xB2\x01\"Z/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge:\x01*ZQ\"L/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge:\x01*\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x89\x02\x0A#com.google.cloud.discoveryengine.v1B\x16CompletionServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/Control.php b/DiscoveryEngine/metadata/V1/Control.php index f8000e0ebd74..3b157b5ef61e 100644 Binary files a/DiscoveryEngine/metadata/V1/Control.php and b/DiscoveryEngine/metadata/V1/Control.php differ diff --git a/DiscoveryEngine/metadata/V1/ControlService.php b/DiscoveryEngine/metadata/V1/ControlService.php index 466b78fa7df1..cc899aa21af5 100644 --- a/DiscoveryEngine/metadata/V1/ControlService.php +++ b/DiscoveryEngine/metadata/V1/ControlService.php @@ -22,40 +22,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); $pool->internalAddGeneratedFile( - ' - -5google/cloud/discoveryengine/v1/control_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto-google/cloud/discoveryengine/v1/control.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateControlRequest> -parent ( B.AA(&discoveryengine.googleapis.com/Control> -control ( 2(.google.cloud.discoveryengine.v1.ControlBA - -control_id ( BA" -UpdateControlRequest> -control ( 2(.google.cloud.discoveryengine.v1.ControlBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"T -DeleteControlRequest< -name ( B.AA( -&discoveryengine.googleapis.com/Control"Q -GetControlRequest< -name ( B.AA( -&discoveryengine.googleapis.com/Control" -ListControlsRequest> -parent ( B.AA(&discoveryengine.googleapis.com/Control - page_size (BA - -page_token ( BA -filter ( BA"k -ListControlsResponse: -controls ( 2(.google.cloud.discoveryengine.v1.Control -next_page_token ( 2 -ControlService - CreateControl5.google.cloud.discoveryengine.v1.CreateControlRequest(.google.cloud.discoveryengine.v1.Control"Aparent,control,control_id"9/v1/{parent=projects/*/locations/*/dataStores/*}/controls:controlZR"G/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/controls:controlZO"D/v1/{parent=projects/*/locations/*/collections/*/engines/*}/controls:control - DeleteControl5.google.cloud.discoveryengine.v1.DeleteControlRequest.google.protobuf.Empty"Aname*9/v1/{name=projects/*/locations/*/dataStores/*/controls/*}ZI*G/v1/{name=projects/*/locations/*/collections/*/dataStores/*/controls/*}ZF*D/v1/{name=projects/*/locations/*/collections/*/engines/*/controls/*} - UpdateControl5.google.cloud.discoveryengine.v1.UpdateControlRequest(.google.cloud.discoveryengine.v1.Control"Acontrol,update_mask2A/v1/{control.name=projects/*/locations/*/dataStores/*/controls/*}:controlZZ2O/v1/{control.name=projects/*/locations/*/collections/*/dataStores/*/controls/*}:controlZW2L/v1/{control.name=projects/*/locations/*/collections/*/engines/*/controls/*}:control - -GetControl2.google.cloud.discoveryengine.v1.GetControlRequest(.google.cloud.discoveryengine.v1.Control"Aname9/v1/{name=projects/*/locations/*/dataStores/*/controls/*}ZIG/v1/{name=projects/*/locations/*/collections/*/dataStores/*/controls/*}ZFD/v1/{name=projects/*/locations/*/collections/*/engines/*/controls/*} - ListControls4.google.cloud.discoveryengine.v1.ListControlsRequest5.google.cloud.discoveryengine.v1.ListControlsResponse"Aparent9/v1/{parent=projects/*/locations/*/dataStores/*}/controlsZIG/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/controlsZFD/v1/{parent=projects/*/locations/*/collections/*/engines/*}/controlsRAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BControlServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\x89\x19\x0A5google/cloud/discoveryengine/v1/control_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A-google/cloud/discoveryengine/v1/control.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xAF\x01\x0A\x14CreateControlRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&discoveryengine.googleapis.com/Control\x12>\x0A\x07control\x18\x02 \x01(\x0B2(.google.cloud.discoveryengine.v1.ControlB\x03\xE0A\x02\x12\x17\x0A\x0Acontrol_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\x8C\x01\x0A\x14UpdateControlRequest\x12>\x0A\x07control\x18\x01 \x01(\x0B2(.google.cloud.discoveryengine.v1.ControlB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"T\x0A\x14DeleteControlRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&discoveryengine.googleapis.com/Control\"Q\x0A\x11GetControlRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&discoveryengine.googleapis.com/Control\"\x9B\x01\x0A\x13ListControlsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&discoveryengine.googleapis.com/Control\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"k\x0A\x14ListControlsResponse\x12:\x0A\x08controls\x18\x01 \x03(\x0B2(.google.cloud.discoveryengine.v1.Control\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x092\xE5\x0E\x0A\x0EControlService\x12\xFF\x02\x0A\x0DCreateControl\x125.google.cloud.discoveryengine.v1.CreateControlRequest\x1A(.google.cloud.discoveryengine.v1.Control\"\x8C\x02\xDAA\x19parent,control,control_id\x82\xD3\xE4\x93\x02\xE9\x01\"9/v1/{parent=projects/*/locations/*/dataStores/*}/controls:\x07controlZR\"G/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/controls:\x07controlZO\"D/v1/{parent=projects/*/locations/*/collections/*/engines/*}/controls:\x07control\x12\xBD\x02\x0A\x0DDeleteControl\x125.google.cloud.discoveryengine.v1.DeleteControlRequest\x1A\x16.google.protobuf.Empty\"\xDC\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCE\x01*9/v1/{name=projects/*/locations/*/dataStores/*/controls/*}ZI*G/v1/{name=projects/*/locations/*/collections/*/dataStores/*/controls/*}ZF*D/v1/{name=projects/*/locations/*/collections/*/engines/*/controls/*}\x12\x91\x03\x0A\x0DUpdateControl\x125.google.cloud.discoveryengine.v1.UpdateControlRequest\x1A(.google.cloud.discoveryengine.v1.Control\"\x9E\x02\xDAA\x13control,update_mask\x82\xD3\xE4\x93\x02\x81\x022A/v1/{control.name=projects/*/locations/*/dataStores/*/controls/*}:\x07controlZZ2O/v1/{control.name=projects/*/locations/*/collections/*/dataStores/*/controls/*}:\x07controlZW2L/v1/{control.name=projects/*/locations/*/collections/*/engines/*/controls/*}:\x07control\x12\xC9\x02\x0A\x0AGetControl\x122.google.cloud.discoveryengine.v1.GetControlRequest\x1A(.google.cloud.discoveryengine.v1.Control\"\xDC\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCE\x01\x129/v1/{name=projects/*/locations/*/dataStores/*/controls/*}ZI\x12G/v1/{name=projects/*/locations/*/collections/*/dataStores/*/controls/*}ZF\x12D/v1/{name=projects/*/locations/*/collections/*/engines/*/controls/*}\x12\xDC\x02\x0A\x0CListControls\x124.google.cloud.discoveryengine.v1.ListControlsRequest\x1A5.google.cloud.discoveryengine.v1.ListControlsResponse\"\xDE\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\xCE\x01\x129/v1/{parent=projects/*/locations/*/dataStores/*}/controlsZI\x12G/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/controlsZF\x12D/v1/{parent=projects/*/locations/*/collections/*/engines/*}/controls\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x86\x02\x0A#com.google.cloud.discoveryengine.v1B\x13ControlServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/Conversation.php b/DiscoveryEngine/metadata/V1/Conversation.php index 6057cbe0bd6a..1c51c36016aa 100644 Binary files a/DiscoveryEngine/metadata/V1/Conversation.php and b/DiscoveryEngine/metadata/V1/Conversation.php differ diff --git a/DiscoveryEngine/metadata/V1/ConversationalSearchService.php b/DiscoveryEngine/metadata/V1/ConversationalSearchService.php index 26f706eed3f0..3a080fb70c07 100644 Binary files a/DiscoveryEngine/metadata/V1/ConversationalSearchService.php and b/DiscoveryEngine/metadata/V1/ConversationalSearchService.php differ diff --git a/DiscoveryEngine/metadata/V1/CustomTuningModel.php b/DiscoveryEngine/metadata/V1/CustomTuningModel.php index 4a60172f8809..2506cb21192c 100644 Binary files a/DiscoveryEngine/metadata/V1/CustomTuningModel.php and b/DiscoveryEngine/metadata/V1/CustomTuningModel.php differ diff --git a/DiscoveryEngine/metadata/V1/DataStore.php b/DiscoveryEngine/metadata/V1/DataStore.php index d9f145af950f..753abbe6a28b 100644 Binary files a/DiscoveryEngine/metadata/V1/DataStore.php and b/DiscoveryEngine/metadata/V1/DataStore.php differ diff --git a/DiscoveryEngine/metadata/V1/DataStoreService.php b/DiscoveryEngine/metadata/V1/DataStoreService.php index 568f101a0344..349987b41b41 100644 Binary files a/DiscoveryEngine/metadata/V1/DataStoreService.php and b/DiscoveryEngine/metadata/V1/DataStoreService.php differ diff --git a/DiscoveryEngine/metadata/V1/Document.php b/DiscoveryEngine/metadata/V1/Document.php index c7672114f195..ee3d883b12d5 100644 Binary files a/DiscoveryEngine/metadata/V1/Document.php and b/DiscoveryEngine/metadata/V1/Document.php differ diff --git a/DiscoveryEngine/metadata/V1/DocumentProcessingConfig.php b/DiscoveryEngine/metadata/V1/DocumentProcessingConfig.php index 95ec623eb062..806b69967ac3 100644 Binary files a/DiscoveryEngine/metadata/V1/DocumentProcessingConfig.php and b/DiscoveryEngine/metadata/V1/DocumentProcessingConfig.php differ diff --git a/DiscoveryEngine/metadata/V1/DocumentService.php b/DiscoveryEngine/metadata/V1/DocumentService.php index 96eaaabe568a..fd2a1301b80c 100644 Binary files a/DiscoveryEngine/metadata/V1/DocumentService.php and b/DiscoveryEngine/metadata/V1/DocumentService.php differ diff --git a/DiscoveryEngine/metadata/V1/Engine.php b/DiscoveryEngine/metadata/V1/Engine.php index 04fb60737f10..abc82c514c42 100644 Binary files a/DiscoveryEngine/metadata/V1/Engine.php and b/DiscoveryEngine/metadata/V1/Engine.php differ diff --git a/DiscoveryEngine/metadata/V1/EngineService.php b/DiscoveryEngine/metadata/V1/EngineService.php index e7cf21424d4d..6a0bc3e2fd54 100644 --- a/DiscoveryEngine/metadata/V1/EngineService.php +++ b/DiscoveryEngine/metadata/V1/EngineService.php @@ -24,48 +24,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -4google/cloud/discoveryengine/v1/engine_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto,google/cloud/discoveryengine/v1/engine.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto" -CreateEngineRequestA -parent ( B1AA+ -)discoveryengine.googleapis.com/Collection< -engine ( 2\'.google.cloud.discoveryengine.v1.EngineBA - engine_id ( BA"x -CreateEngineMetadata/ - create_time ( 2.google.protobuf.Timestamp/ - update_time ( 2.google.protobuf.Timestamp"R -DeleteEngineRequest; -name ( B-AA\' -%discoveryengine.googleapis.com/Engine"x -DeleteEngineMetadata/ - create_time ( 2.google.protobuf.Timestamp/ - update_time ( 2.google.protobuf.Timestamp"O -GetEngineRequest; -name ( B-AA\' -%discoveryengine.googleapis.com/Engine" -ListEnginesRequestA -parent ( B1AA+ -)discoveryengine.googleapis.com/Collection - page_size (BA - -page_token ( BA -filter ( BA"h -ListEnginesResponse8 -engines ( 2\'.google.cloud.discoveryengine.v1.Engine -next_page_token ( " -UpdateEngineRequest< -engine ( 2\'.google.cloud.discoveryengine.v1.EngineBA/ - update_mask ( 2.google.protobuf.FieldMask2 - EngineService - CreateEngine4.google.cloud.discoveryengine.v1.CreateEngineRequest.google.longrunning.Operation"A^ -&google.cloud.discoveryengine.v1.Engine4google.cloud.discoveryengine.v1.CreateEngineMetadataAparent,engine,engine_idC"9/v1/{parent=projects/*/locations/*/collections/*}/engines:engine - DeleteEngine4.google.cloud.discoveryengine.v1.DeleteEngineRequest.google.longrunning.Operation"AM -google.protobuf.Empty4google.cloud.discoveryengine.v1.DeleteEngineMetadataAname;*9/v1/{name=projects/*/locations/*/collections/*/engines/*} - UpdateEngine4.google.cloud.discoveryengine.v1.UpdateEngineRequest\'.google.cloud.discoveryengine.v1.Engine"eAengine,update_maskJ2@/v1/{engine.name=projects/*/locations/*/collections/*/engines/*}:engine - GetEngine1.google.cloud.discoveryengine.v1.GetEngineRequest\'.google.cloud.discoveryengine.v1.Engine"HAname;9/v1/{name=projects/*/locations/*/collections/*/engines/*} - ListEngines3.google.cloud.discoveryengine.v1.ListEnginesRequest4.google.cloud.discoveryengine.v1.ListEnginesResponse"JAparent;9/v1/{parent=projects/*/locations/*/collections/*}/enginesRAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BEngineServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xB0\x16\x0A4google/cloud/discoveryengine/v1/engine_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A,google/cloud/discoveryengine/v1/engine.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xAE\x01\x0A\x13CreateEngineRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)discoveryengine.googleapis.com/Collection\x12<\x0A\x06engine\x18\x02 \x01(\x0B2'.google.cloud.discoveryengine.v1.EngineB\x03\xE0A\x02\x12\x16\x0A\x09engine_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"x\x0A\x14CreateEngineMetadata\x12/\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bupdate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\"R\x0A\x13DeleteEngineRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%discoveryengine.googleapis.com/Engine\"x\x0A\x14DeleteEngineMetadata\x12/\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bupdate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\"O\x0A\x10GetEngineRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%discoveryengine.googleapis.com/Engine\"\x9D\x01\x0A\x12ListEnginesRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)discoveryengine.googleapis.com/Collection\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"h\x0A\x13ListEnginesResponse\x128\x0A\x07engines\x18\x01 \x03(\x0B2'.google.cloud.discoveryengine.v1.Engine\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x84\x01\x0A\x13UpdateEngineRequest\x12<\x0A\x06engine\x18\x01 \x01(\x0B2'.google.cloud.discoveryengine.v1.EngineB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask2\xE3\x09\x0A\x0DEngineService\x12\xAA\x02\x0A\x0CCreateEngine\x124.google.cloud.discoveryengine.v1.CreateEngineRequest\x1A\x1D.google.longrunning.Operation\"\xC4\x01\xCAA^\x0A&google.cloud.discoveryengine.v1.Engine\x124google.cloud.discoveryengine.v1.CreateEngineMetadata\xDAA\x17parent,engine,engine_id\x82\xD3\xE4\x93\x02C\"9/v1/{parent=projects/*/locations/*/collections/*}/engines:\x06engine\x12\xFE\x01\x0A\x0CDeleteEngine\x124.google.cloud.discoveryengine.v1.DeleteEngineRequest\x1A\x1D.google.longrunning.Operation\"\x98\x01\xCAAM\x0A\x15google.protobuf.Empty\x124google.cloud.discoveryengine.v1.DeleteEngineMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02;*9/v1/{name=projects/*/locations/*/collections/*/engines/*}\x12\xD4\x01\x0A\x0CUpdateEngine\x124.google.cloud.discoveryengine.v1.UpdateEngineRequest\x1A'.google.cloud.discoveryengine.v1.Engine\"e\xDAA\x12engine,update_mask\x82\xD3\xE4\x93\x02J2@/v1/{engine.name=projects/*/locations/*/collections/*/engines/*}:\x06engine\x12\xB1\x01\x0A\x09GetEngine\x121.google.cloud.discoveryengine.v1.GetEngineRequest\x1A'.google.cloud.discoveryengine.v1.Engine\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\x129/v1/{name=projects/*/locations/*/collections/*/engines/*}\x12\xC4\x01\x0A\x0BListEngines\x123.google.cloud.discoveryengine.v1.ListEnginesRequest\x1A4.google.cloud.discoveryengine.v1.ListEnginesResponse\"J\xDAA\x06parent\x82\xD3\xE4\x93\x02;\x129/v1/{parent=projects/*/locations/*/collections/*}/engines\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x85\x02\x0A#com.google.cloud.discoveryengine.v1B\x12EngineServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/GroundedGenerationService.php b/DiscoveryEngine/metadata/V1/GroundedGenerationService.php index 5af479541503..72e57425bfab 100644 Binary files a/DiscoveryEngine/metadata/V1/GroundedGenerationService.php and b/DiscoveryEngine/metadata/V1/GroundedGenerationService.php differ diff --git a/DiscoveryEngine/metadata/V1/Grounding.php b/DiscoveryEngine/metadata/V1/Grounding.php index 0802c09144c4..8718d367a5db 100644 --- a/DiscoveryEngine/metadata/V1/Grounding.php +++ b/DiscoveryEngine/metadata/V1/Grounding.php @@ -17,29 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - -/google/cloud/discoveryengine/v1/grounding.protogoogle.cloud.discoveryengine.v1google/api/resource.proto" - GroundingFact - fact_text ( R - -attributes ( 2>.google.cloud.discoveryengine.v1.GroundingFact.AttributesEntry1 -AttributesEntry -key (  -value ( :8" - FactChunk - -chunk_text (  -source (  -index (W -source_metadata ( 2>.google.cloud.discoveryengine.v1.FactChunk.SourceMetadataEntry -uri (  -title (  -domain ( 5 -SourceMetadataEntry -key (  -value ( :8B -#com.google.cloud.discoveryengine.v1BGroundingProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xA2\x06\x0A/google/cloud/discoveryengine/v1/grounding.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x19google/api/resource.proto\"\xA9\x01\x0A\x0DGroundingFact\x12\x11\x0A\x09fact_text\x18\x01 \x01(\x09\x12R\x0A\x0Aattributes\x18\x02 \x03(\x0B2>.google.cloud.discoveryengine.v1.GroundingFact.AttributesEntry\x1A1\x0A\x0FAttributesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\xFA\x01\x0A\x09FactChunk\x12\x12\x0A\x0Achunk_text\x18\x01 \x01(\x09\x12\x0E\x0A\x06source\x18\x02 \x01(\x09\x12\x0D\x0A\x05index\x18\x04 \x01(\x05\x12W\x0A\x0Fsource_metadata\x18\x03 \x03(\x0B2>.google.cloud.discoveryengine.v1.FactChunk.SourceMetadataEntry\x12\x0B\x0A\x03uri\x18\x05 \x01(\x09\x12\x0D\x0A\x05title\x18\x06 \x01(\x09\x12\x0E\x0A\x06domain\x18\x07 \x01(\x09\x1A5\x0A\x13SourceMetadataEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01B\x81\x02\x0A#com.google.cloud.discoveryengine.v1B\x0EGroundingProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/IdentityMappingStore.php b/DiscoveryEngine/metadata/V1/IdentityMappingStore.php index 69dbe651401e..24f193e0c321 100644 Binary files a/DiscoveryEngine/metadata/V1/IdentityMappingStore.php and b/DiscoveryEngine/metadata/V1/IdentityMappingStore.php differ diff --git a/DiscoveryEngine/metadata/V1/IdentityMappingStoreService.php b/DiscoveryEngine/metadata/V1/IdentityMappingStoreService.php index 666bf917d1fd..2c6d8a8bd307 100644 Binary files a/DiscoveryEngine/metadata/V1/IdentityMappingStoreService.php and b/DiscoveryEngine/metadata/V1/IdentityMappingStoreService.php differ diff --git a/DiscoveryEngine/metadata/V1/ImportConfig.php b/DiscoveryEngine/metadata/V1/ImportConfig.php index 3d12b54372d3..020bec055682 100644 Binary files a/DiscoveryEngine/metadata/V1/ImportConfig.php and b/DiscoveryEngine/metadata/V1/ImportConfig.php differ diff --git a/DiscoveryEngine/metadata/V1/Project.php b/DiscoveryEngine/metadata/V1/Project.php index 6ad84e8d39bc..ab380b6b7af8 100644 Binary files a/DiscoveryEngine/metadata/V1/Project.php and b/DiscoveryEngine/metadata/V1/Project.php differ diff --git a/DiscoveryEngine/metadata/V1/ProjectService.php b/DiscoveryEngine/metadata/V1/ProjectService.php index 7330a9a5783d..b07d34bea781 100644 --- a/DiscoveryEngine/metadata/V1/ProjectService.php +++ b/DiscoveryEngine/metadata/V1/ProjectService.php @@ -21,19 +21,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Discoveryengine\V1\Project::initOnce(); \GPBMetadata\Google\Longrunning\Operations::initOnce(); $pool->internalAddGeneratedFile( - ' - -5google/cloud/discoveryengine/v1/project_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto-google/cloud/discoveryengine/v1/project.proto#google/longrunning/operations.proto" -ProvisionProjectRequest< -name ( B.AA( -&discoveryengine.googleapis.com/Project" -accept_data_use_terms (BA# -data_use_terms_version ( BA" -ProvisionProjectMetadata2 -ProjectService -ProvisionProject8.google.cloud.discoveryengine.v1.ProvisionProjectRequest.google.longrunning.Operation"Ac -\'google.cloud.discoveryengine.v1.Project8google.cloud.discoveryengine.v1.ProvisionProjectMetadataAname$"/v1/{name=projects/*}:provision:*RAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BProjectServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xC0\x08\x0A5google/cloud/discoveryengine/v1/project_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A-google/cloud/discoveryengine/v1/project.proto\x1A#google/longrunning/operations.proto\"\xA0\x01\x0A\x17ProvisionProjectRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&discoveryengine.googleapis.com/Project\x12\"\x0A\x15accept_data_use_terms\x18\x02 \x01(\x08B\x03\xE0A\x02\x12#\x0A\x16data_use_terms_version\x18\x03 \x01(\x09B\x03\xE0A\x02\"\x1A\x0A\x18ProvisionProjectMetadata2\xEC\x02\x0A\x0EProjectService\x12\x85\x02\x0A\x10ProvisionProject\x128.google.cloud.discoveryengine.v1.ProvisionProjectRequest\x1A\x1D.google.longrunning.Operation\"\x97\x01\xCAAc\x0A'google.cloud.discoveryengine.v1.Project\x128google.cloud.discoveryengine.v1.ProvisionProjectMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02\$\"\x1F/v1/{name=projects/*}:provision:\x01*\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x86\x02\x0A#com.google.cloud.discoveryengine.v1B\x13ProjectServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/PurgeConfig.php b/DiscoveryEngine/metadata/V1/PurgeConfig.php index 1eedcbb127c0..df384913855e 100644 Binary files a/DiscoveryEngine/metadata/V1/PurgeConfig.php and b/DiscoveryEngine/metadata/V1/PurgeConfig.php differ diff --git a/DiscoveryEngine/metadata/V1/RankService.php b/DiscoveryEngine/metadata/V1/RankService.php index 9b9c7cdccf17..1f61703a5486 100644 --- a/DiscoveryEngine/metadata/V1/RankService.php +++ b/DiscoveryEngine/metadata/V1/RankService.php @@ -19,32 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - -2google/cloud/discoveryengine/v1/rank_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto"J - RankingRecord - -id (  -title (  -content (  -score (" - RankRequestL -ranking_config ( B4AA. -,discoveryengine.googleapis.com/RankingConfig -model (  -top_n ( -query ( D -records ( 2..google.cloud.discoveryengine.v1.RankingRecordBA) -!ignore_record_details_in_response (Q - user_labels ( 2<.google.cloud.discoveryengine.v1.RankRequest.UserLabelsEntry1 -UserLabelsEntry -key (  -value ( :8"O - RankResponse? -records ( 2..google.cloud.discoveryengine.v1.RankingRecord2 - RankService -Rank,.google.cloud.discoveryengine.v1.RankRequest-.google.cloud.discoveryengine.v1.RankResponse"LF"A/v1/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank:*RAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BRankServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xEF\x09\x0A2google/cloud/discoveryengine/v1/rank_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"J\x0A\x0DRankingRecord\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12\x0D\x0A\x05title\x18\x02 \x01(\x09\x12\x0F\x0A\x07content\x18\x03 \x01(\x09\x12\x0D\x0A\x05score\x18\x04 \x01(\x02\"\xFF\x02\x0A\x0BRankRequest\x12L\x0A\x0Eranking_config\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,discoveryengine.googleapis.com/RankingConfig\x12\x0D\x0A\x05model\x18\x02 \x01(\x09\x12\x0D\x0A\x05top_n\x18\x03 \x01(\x05\x12\x0D\x0A\x05query\x18\x04 \x01(\x09\x12D\x0A\x07records\x18\x05 \x03(\x0B2..google.cloud.discoveryengine.v1.RankingRecordB\x03\xE0A\x02\x12)\x0A!ignore_record_details_in_response\x18\x06 \x01(\x08\x12Q\x0A\x0Buser_labels\x18\x07 \x03(\x0B2<.google.cloud.discoveryengine.v1.RankRequest.UserLabelsEntry\x1A1\x0A\x0FUserLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"O\x0A\x0CRankResponse\x12?\x0A\x07records\x18\x05 \x03(\x0B2..google.cloud.discoveryengine.v1.RankingRecord2\x95\x02\x0A\x0BRankService\x12\xB1\x01\x0A\x04Rank\x12,.google.cloud.discoveryengine.v1.RankRequest\x1A-.google.cloud.discoveryengine.v1.RankResponse\"L\x82\xD3\xE4\x93\x02F\"A/v1/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank:\x01*\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x83\x02\x0A#com.google.cloud.discoveryengine.v1B\x10RankServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/RecommendationService.php b/DiscoveryEngine/metadata/V1/RecommendationService.php index e13fd9b62d3e..728a13586220 100644 --- a/DiscoveryEngine/metadata/V1/RecommendationService.php +++ b/DiscoveryEngine/metadata/V1/RecommendationService.php @@ -22,41 +22,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Discoveryengine\V1\UserEvent::initOnce(); \GPBMetadata\Google\Protobuf\Struct::initOnce(); $pool->internalAddGeneratedFile( - ' - -internalAddGeneratedFile( - ' - -4google/cloud/discoveryengine/v1/schema_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto,google/cloud/discoveryengine/v1/schema.proto#google/longrunning/operations.protogoogle/protobuf/empty.protogoogle/protobuf/timestamp.proto"O -GetSchemaRequest; -name ( B-AA\' -%discoveryengine.googleapis.com/Schema"} -ListSchemasRequest@ -parent ( B0AA* -(discoveryengine.googleapis.com/DataStore - page_size ( - -page_token ( "h -ListSchemasResponse8 -schemas ( 2\'.google.cloud.discoveryengine.v1.Schema -next_page_token ( " -CreateSchemaRequest@ -parent ( B0AA* -(discoveryengine.googleapis.com/DataStore< -schema ( 2\'.google.cloud.discoveryengine.v1.SchemaBA - schema_id ( BA"j -UpdateSchemaRequest< -schema ( 2\'.google.cloud.discoveryengine.v1.SchemaBA - allow_missing ("R -DeleteSchemaRequest; -name ( B-AA\' -%discoveryengine.googleapis.com/Schema"x -CreateSchemaMetadata/ - create_time ( 2.google.protobuf.Timestamp/ - update_time ( 2.google.protobuf.Timestamp"x -UpdateSchemaMetadata/ - create_time ( 2.google.protobuf.Timestamp/ - update_time ( 2.google.protobuf.Timestamp"x -DeleteSchemaMetadata/ - create_time ( 2.google.protobuf.Timestamp/ - update_time ( 2.google.protobuf.Timestamp2 - SchemaService - GetSchema1.google.cloud.discoveryengine.v1.GetSchemaRequest\'.google.cloud.discoveryengine.v1.Schema"Aname8/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}ZHF/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*} - ListSchemas3.google.cloud.discoveryengine.v1.ListSchemasRequest4.google.cloud.discoveryengine.v1.ListSchemasResponse"Aparent8/v1/{parent=projects/*/locations/*/dataStores/*}/schemasZHF/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas - CreateSchema4.google.cloud.discoveryengine.v1.CreateSchemaRequest.google.longrunning.Operation"A^ -&google.cloud.discoveryengine.v1.Schema4google.cloud.discoveryengine.v1.CreateSchemaMetadataAparent,schema,schema_id"8/v1/{parent=projects/*/locations/*/dataStores/*}/schemas:schemaZP"F/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas:schema - UpdateSchema4.google.cloud.discoveryengine.v1.UpdateSchemaRequest.google.longrunning.Operation"A^ -&google.cloud.discoveryengine.v1.Schema4google.cloud.discoveryengine.v1.UpdateSchemaMetadata2?/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}:schemaZW2M/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}:schema - DeleteSchema4.google.cloud.discoveryengine.v1.DeleteSchemaRequest.google.longrunning.Operation"AM -google.protobuf.Empty4google.cloud.discoveryengine.v1.DeleteSchemaMetadataAname*8/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}ZH*F/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}RAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BSchemaServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\x99\x1A\x0A4google/cloud/discoveryengine/v1/schema_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A,google/cloud/discoveryengine/v1/schema.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"O\x0A\x10GetSchemaRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%discoveryengine.googleapis.com/Schema\"}\x0A\x12ListSchemasRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(discoveryengine.googleapis.com/DataStore\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"h\x0A\x13ListSchemasResponse\x128\x0A\x07schemas\x18\x01 \x03(\x0B2'.google.cloud.discoveryengine.v1.Schema\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAD\x01\x0A\x13CreateSchemaRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(discoveryengine.googleapis.com/DataStore\x12<\x0A\x06schema\x18\x02 \x01(\x0B2'.google.cloud.discoveryengine.v1.SchemaB\x03\xE0A\x02\x12\x16\x0A\x09schema_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"j\x0A\x13UpdateSchemaRequest\x12<\x0A\x06schema\x18\x01 \x01(\x0B2'.google.cloud.discoveryengine.v1.SchemaB\x03\xE0A\x02\x12\x15\x0A\x0Dallow_missing\x18\x03 \x01(\x08\"R\x0A\x13DeleteSchemaRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%discoveryengine.googleapis.com/Schema\"x\x0A\x14CreateSchemaMetadata\x12/\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bupdate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\"x\x0A\x14UpdateSchemaMetadata\x12/\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bupdate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\"x\x0A\x14DeleteSchemaMetadata\x12/\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12/\x0A\x0Bupdate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp2\xB1\x0D\x0A\x0DSchemaService\x12\xFC\x01\x0A\x09GetSchema\x121.google.cloud.discoveryengine.v1.GetSchemaRequest\x1A'.google.cloud.discoveryengine.v1.Schema\"\x92\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\x84\x01\x128/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}ZH\x12F/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}\x12\x8F\x02\x0A\x0BListSchemas\x123.google.cloud.discoveryengine.v1.ListSchemasRequest\x1A4.google.cloud.discoveryengine.v1.ListSchemasResponse\"\x94\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\x84\x01\x128/v1/{parent=projects/*/locations/*/dataStores/*}/schemasZH\x12F/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas\x12\xFC\x02\x0A\x0CCreateSchema\x124.google.cloud.discoveryengine.v1.CreateSchemaRequest\x1A\x1D.google.longrunning.Operation\"\x96\x02\xCAA^\x0A&google.cloud.discoveryengine.v1.Schema\x124google.cloud.discoveryengine.v1.CreateSchemaMetadata\xDAA\x17parent,schema,schema_id\x82\xD3\xE4\x93\x02\x94\x01\"8/v1/{parent=projects/*/locations/*/dataStores/*}/schemas:\x06schemaZP\"F/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas:\x06schema\x12\xF0\x02\x0A\x0CUpdateSchema\x124.google.cloud.discoveryengine.v1.UpdateSchemaRequest\x1A\x1D.google.longrunning.Operation\"\x8A\x02\xCAA^\x0A&google.cloud.discoveryengine.v1.Schema\x124google.cloud.discoveryengine.v1.UpdateSchemaMetadata\x82\xD3\xE4\x93\x02\xA2\x012?/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}:\x06schemaZW2M/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}:\x06schema\x12\xC8\x02\x0A\x0CDeleteSchema\x124.google.cloud.discoveryengine.v1.DeleteSchemaRequest\x1A\x1D.google.longrunning.Operation\"\xE2\x01\xCAAM\x0A\x15google.protobuf.Empty\x124google.cloud.discoveryengine.v1.DeleteSchemaMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02\x84\x01*8/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}ZH*F/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x85\x02\x0A#com.google.cloud.discoveryengine.v1B\x12SchemaServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/SearchService.php b/DiscoveryEngine/metadata/V1/SearchService.php index 454ab9ade12b..5883c3ccf905 100644 Binary files a/DiscoveryEngine/metadata/V1/SearchService.php and b/DiscoveryEngine/metadata/V1/SearchService.php differ diff --git a/DiscoveryEngine/metadata/V1/SearchTuningService.php b/DiscoveryEngine/metadata/V1/SearchTuningService.php index 1500e31c084a..327b3a04fc30 100644 Binary files a/DiscoveryEngine/metadata/V1/SearchTuningService.php and b/DiscoveryEngine/metadata/V1/SearchTuningService.php differ diff --git a/DiscoveryEngine/metadata/V1/ServingConfig.php b/DiscoveryEngine/metadata/V1/ServingConfig.php index 0124b1712e8b..cda3f6583a27 100644 Binary files a/DiscoveryEngine/metadata/V1/ServingConfig.php and b/DiscoveryEngine/metadata/V1/ServingConfig.php differ diff --git a/DiscoveryEngine/metadata/V1/ServingConfigService.php b/DiscoveryEngine/metadata/V1/ServingConfigService.php index 3cb98f782e55..5a8ca846e1e9 100644 --- a/DiscoveryEngine/metadata/V1/ServingConfigService.php +++ b/DiscoveryEngine/metadata/V1/ServingConfigService.php @@ -21,16 +21,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Discoveryengine\V1\ServingConfig::initOnce(); \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); $pool->internalAddGeneratedFile( - ' - - -internalAddGeneratedFile( - ' - -5google/cloud/discoveryengine/v1/session_service.protogoogle.cloud.discoveryengine.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protoCgoogle/cloud/discoveryengine/v1/conversational_search_service.proto-google/cloud/discoveryengine/v1/session.protogoogle/protobuf/empty.proto2 -SessionService - CreateSession5.google.cloud.discoveryengine.v1.CreateSessionRequest(.google.cloud.discoveryengine.v1.Session"Aparent,session"9/v1/{parent=projects/*/locations/*/dataStores/*}/sessions:sessionZR"G/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessions:sessionZO"D/v1/{parent=projects/*/locations/*/collections/*/engines/*}/sessions:session - DeleteSession5.google.cloud.discoveryengine.v1.DeleteSessionRequest.google.protobuf.Empty"Aname*9/v1/{name=projects/*/locations/*/dataStores/*/sessions/*}ZI*G/v1/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZF*D/v1/{name=projects/*/locations/*/collections/*/engines/*/sessions/*} - UpdateSession5.google.cloud.discoveryengine.v1.UpdateSessionRequest(.google.cloud.discoveryengine.v1.Session"Asession,update_mask2A/v1/{session.name=projects/*/locations/*/dataStores/*/sessions/*}:sessionZZ2O/v1/{session.name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}:sessionZW2L/v1/{session.name=projects/*/locations/*/collections/*/engines/*/sessions/*}:session - -GetSession2.google.cloud.discoveryengine.v1.GetSessionRequest(.google.cloud.discoveryengine.v1.Session"Aname9/v1/{name=projects/*/locations/*/dataStores/*/sessions/*}ZIG/v1/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZFD/v1/{name=projects/*/locations/*/collections/*/engines/*/sessions/*} - ListSessions4.google.cloud.discoveryengine.v1.ListSessionsRequest5.google.cloud.discoveryengine.v1.ListSessionsResponse"Aparent9/v1/{parent=projects/*/locations/*/dataStores/*}/sessionsZIG/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessionsZFD/v1/{parent=projects/*/locations/*/collections/*/engines/*}/sessionsRAdiscoveryengine.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -#com.google.cloud.discoveryengine.v1BSessionServiceProtoPZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepbDISCOVERYENGINEGoogle.Cloud.DiscoveryEngine.V1Google\\Cloud\\DiscoveryEngine\\V1"Google::Cloud::DiscoveryEngine::V1bproto3' + "\x0A\xAC\x13\x0A5google/cloud/discoveryengine/v1/session_service.proto\x12\x1Fgoogle.cloud.discoveryengine.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1ACgoogle/cloud/discoveryengine/v1/conversational_search_service.proto\x1A-google/cloud/discoveryengine/v1/session.proto\x1A\x1Bgoogle/protobuf/empty.proto2\xDA\x0E\x0A\x0ESessionService\x12\xF4\x02\x0A\x0DCreateSession\x125.google.cloud.discoveryengine.v1.CreateSessionRequest\x1A(.google.cloud.discoveryengine.v1.Session\"\x81\x02\xDAA\x0Eparent,session\x82\xD3\xE4\x93\x02\xE9\x01\"9/v1/{parent=projects/*/locations/*/dataStores/*}/sessions:\x07sessionZR\"G/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessions:\x07sessionZO\"D/v1/{parent=projects/*/locations/*/collections/*/engines/*}/sessions:\x07session\x12\xBD\x02\x0A\x0DDeleteSession\x125.google.cloud.discoveryengine.v1.DeleteSessionRequest\x1A\x16.google.protobuf.Empty\"\xDC\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCE\x01*9/v1/{name=projects/*/locations/*/dataStores/*/sessions/*}ZI*G/v1/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZF*D/v1/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}\x12\x91\x03\x0A\x0DUpdateSession\x125.google.cloud.discoveryengine.v1.UpdateSessionRequest\x1A(.google.cloud.discoveryengine.v1.Session\"\x9E\x02\xDAA\x13session,update_mask\x82\xD3\xE4\x93\x02\x81\x022A/v1/{session.name=projects/*/locations/*/dataStores/*/sessions/*}:\x07sessionZZ2O/v1/{session.name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}:\x07sessionZW2L/v1/{session.name=projects/*/locations/*/collections/*/engines/*/sessions/*}:\x07session\x12\xC9\x02\x0A\x0AGetSession\x122.google.cloud.discoveryengine.v1.GetSessionRequest\x1A(.google.cloud.discoveryengine.v1.Session\"\xDC\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCE\x01\x129/v1/{name=projects/*/locations/*/dataStores/*/sessions/*}ZI\x12G/v1/{name=projects/*/locations/*/collections/*/dataStores/*/sessions/*}ZF\x12D/v1/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}\x12\xDC\x02\x0A\x0CListSessions\x124.google.cloud.discoveryengine.v1.ListSessionsRequest\x1A5.google.cloud.discoveryengine.v1.ListSessionsResponse\"\xDE\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\xCE\x01\x129/v1/{parent=projects/*/locations/*/dataStores/*}/sessionsZI\x12G/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/sessionsZF\x12D/v1/{parent=projects/*/locations/*/collections/*/engines/*}/sessions\x1AR\xCAA\x1Ediscoveryengine.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x86\x02\x0A#com.google.cloud.discoveryengine.v1B\x13SessionServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xA2\x02\x0FDISCOVERYENGINE\xAA\x02\x1FGoogle.Cloud.DiscoveryEngine.V1\xCA\x02\x1FGoogle\\Cloud\\DiscoveryEngine\\V1\xEA\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DiscoveryEngine/metadata/V1/SiteSearchEngine.php b/DiscoveryEngine/metadata/V1/SiteSearchEngine.php index e389b5acf4ca..de0dde23fc7d 100644 Binary files a/DiscoveryEngine/metadata/V1/SiteSearchEngine.php and b/DiscoveryEngine/metadata/V1/SiteSearchEngine.php differ diff --git a/DiscoveryEngine/metadata/V1/SiteSearchEngineService.php b/DiscoveryEngine/metadata/V1/SiteSearchEngineService.php index b7b39c6c7505..527b81e93b2d 100644 Binary files a/DiscoveryEngine/metadata/V1/SiteSearchEngineService.php and b/DiscoveryEngine/metadata/V1/SiteSearchEngineService.php differ diff --git a/DiscoveryEngine/metadata/V1/UserEvent.php b/DiscoveryEngine/metadata/V1/UserEvent.php index 0eebe1a039d3..9910a17611c4 100644 Binary files a/DiscoveryEngine/metadata/V1/UserEvent.php and b/DiscoveryEngine/metadata/V1/UserEvent.php differ diff --git a/DiscoveryEngine/metadata/V1/UserEventService.php b/DiscoveryEngine/metadata/V1/UserEventService.php index cf3f66c3839b..edfbb7b83855 100644 Binary files a/DiscoveryEngine/metadata/V1/UserEventService.php and b/DiscoveryEngine/metadata/V1/UserEventService.php differ diff --git a/DiscoveryEngine/metadata/V1/UserLicense.php b/DiscoveryEngine/metadata/V1/UserLicense.php index 238edf01b021..7874a58e5144 100644 Binary files a/DiscoveryEngine/metadata/V1/UserLicense.php and b/DiscoveryEngine/metadata/V1/UserLicense.php differ diff --git a/DiscoveryEngine/metadata/V1/UserLicenseService.php b/DiscoveryEngine/metadata/V1/UserLicenseService.php index d2588ee2ca17..86fa7016dc75 100644 Binary files a/DiscoveryEngine/metadata/V1/UserLicenseService.php and b/DiscoveryEngine/metadata/V1/UserLicenseService.php differ diff --git a/DiscoveryEngine/src/V1/AdvancedSiteSearchConfig.php b/DiscoveryEngine/src/V1/AdvancedSiteSearchConfig.php index 94795bc57fa0..0156cb67d2de 100644 --- a/DiscoveryEngine/src/V1/AdvancedSiteSearchConfig.php +++ b/DiscoveryEngine/src/V1/AdvancedSiteSearchConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration data for advance site search. diff --git a/DiscoveryEngine/src/V1/AlloyDbSource.php b/DiscoveryEngine/src/V1/AlloyDbSource.php index d98bfc8a4a7c..c9f2ac2a4dcf 100644 --- a/DiscoveryEngine/src/V1/AlloyDbSource.php +++ b/DiscoveryEngine/src/V1/AlloyDbSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AlloyDB source import data from. diff --git a/DiscoveryEngine/src/V1/Answer.php b/DiscoveryEngine/src/V1/Answer.php index 8e0cf2475e42..7faaf35ae695 100644 --- a/DiscoveryEngine/src/V1/Answer.php +++ b/DiscoveryEngine/src/V1/Answer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines an answer. @@ -17,7 +17,7 @@ class Answer extends \Google\Protobuf\Internal\Message { /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/{@*}answers/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @@ -111,7 +111,7 @@ class Answer extends \Google\Protobuf\Internal\Message * * @type string $name * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/{@*}answers/*` * @type int $state * The state of the answer generation. * @type string $answer_text @@ -119,26 +119,26 @@ class Answer extends \Google\Protobuf\Internal\Message * @type float $grounding_score * A score in the range of [0, 1] describing how grounded the answer is by the * reference chunks. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Citation>|\Google\Protobuf\Internal\RepeatedField $citations + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Citation[] $citations * Citations. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $grounding_supports + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\GroundingSupport[] $grounding_supports * Optional. Grounding supports. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Reference>|\Google\Protobuf\Internal\RepeatedField $references + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Reference[] $references * References. - * @type array|\Google\Protobuf\Internal\RepeatedField $related_questions + * @type string[] $related_questions * Suggested related questions. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step>|\Google\Protobuf\Internal\RepeatedField $steps + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Step[] $steps * Answer generation steps. * @type \Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo $query_understanding_info * Query understanding information. - * @type array|\Google\Protobuf\Internal\RepeatedField $answer_skipped_reasons + * @type int[] $answer_skipped_reasons * Additional answer-skipped reasons. This provides the reason for ignored * cases. If nothing is skipped, this field is not set. * @type \Google\Protobuf\Timestamp $create_time * Output only. Answer creation timestamp. * @type \Google\Protobuf\Timestamp $complete_time * Output only. Answer completed timestamp. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SafetyRating>|\Google\Protobuf\Internal\RepeatedField $safety_ratings + * @type \Google\Cloud\DiscoveryEngine\V1\SafetyRating[] $safety_ratings * Optional. Safety ratings. * } */ @@ -149,7 +149,7 @@ public function __construct($data = NULL) { /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/{@*}answers/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @return string @@ -161,7 +161,7 @@ public function getName() /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/{@*}answers/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @param string $var @@ -269,7 +269,7 @@ public function setGroundingScore($var) * Citations. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Citation citations = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Citation> */ public function getCitations() { @@ -280,7 +280,7 @@ public function getCitations() * Citations. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Citation citations = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Citation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Citation[] $var * @return $this */ public function setCitations($var) @@ -295,7 +295,7 @@ public function setCitations($var) * Optional. Grounding supports. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.GroundingSupport grounding_supports = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\GroundingSupport> */ public function getGroundingSupports() { @@ -306,7 +306,7 @@ public function getGroundingSupports() * Optional. Grounding supports. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.GroundingSupport grounding_supports = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\GroundingSupport[] $var * @return $this */ public function setGroundingSupports($var) @@ -321,7 +321,7 @@ public function setGroundingSupports($var) * References. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Reference references = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Reference> */ public function getReferences() { @@ -332,7 +332,7 @@ public function getReferences() * References. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Reference references = 5; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Reference>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Reference[] $var * @return $this */ public function setReferences($var) @@ -347,7 +347,7 @@ public function setReferences($var) * Suggested related questions. * * Generated from protobuf field repeated string related_questions = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRelatedQuestions() { @@ -358,7 +358,7 @@ public function getRelatedQuestions() * Suggested related questions. * * Generated from protobuf field repeated string related_questions = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRelatedQuestions($var) @@ -373,7 +373,7 @@ public function setRelatedQuestions($var) * Answer generation steps. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step steps = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Step> */ public function getSteps() { @@ -384,7 +384,7 @@ public function getSteps() * Answer generation steps. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step steps = 7; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Step[] $var * @return $this */ public function setSteps($var) @@ -436,7 +436,7 @@ public function setQueryUnderstandingInfo($var) * cases. If nothing is skipped, this field is not set. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.AnswerSkippedReason answer_skipped_reasons = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAnswerSkippedReasons() { @@ -448,7 +448,7 @@ public function getAnswerSkippedReasons() * cases. If nothing is skipped, this field is not set. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.AnswerSkippedReason answer_skipped_reasons = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setAnswerSkippedReasons($var) @@ -535,7 +535,7 @@ public function setCompleteTime($var) * Optional. Safety ratings. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SafetyRating safety_ratings = 14 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SafetyRating> */ public function getSafetyRatings() { @@ -546,7 +546,7 @@ public function getSafetyRatings() * Optional. Safety ratings. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SafetyRating safety_ratings = 14 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SafetyRating>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SafetyRating[] $var * @return $this */ public function setSafetyRatings($var) diff --git a/DiscoveryEngine/src/V1/Answer/AnswerSkippedReason.php b/DiscoveryEngine/src/V1/Answer/AnswerSkippedReason.php index 006dc83513e7..377fe3a53fe9 100644 --- a/DiscoveryEngine/src/V1/Answer/AnswerSkippedReason.php +++ b/DiscoveryEngine/src/V1/Answer/AnswerSkippedReason.php @@ -142,4 +142,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Answer/Citation.php b/DiscoveryEngine/src/V1/Answer/Citation.php index 2c5112cb8307..01060492b096 100644 --- a/DiscoveryEngine/src/V1/Answer/Citation.php +++ b/DiscoveryEngine/src/V1/Answer/Citation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Citation info for a segment. @@ -52,7 +52,7 @@ class Citation extends \Google\Protobuf\Internal\Message * End of the attributed segment, exclusive. Measured in bytes (UTF-8 * unicode). If there are multi-byte characters,such as non-ASCII * characters, the index measurement is longer than the string length. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource>|\Google\Protobuf\Internal\RepeatedField $sources + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource[] $sources * Citation sources for the attributed segment. * } */ @@ -125,7 +125,7 @@ public function setEndIndex($var) * Citation sources for the attributed segment. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.CitationSource sources = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource> */ public function getSources() { @@ -136,7 +136,7 @@ public function getSources() * Citation sources for the attributed segment. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.CitationSource sources = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource[] $var * @return $this */ public function setSources($var) @@ -149,4 +149,3 @@ public function setSources($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/CitationSource.php b/DiscoveryEngine/src/V1/Answer/CitationSource.php index b21003e4a139..d401f5468ca9 100644 --- a/DiscoveryEngine/src/V1/Answer/CitationSource.php +++ b/DiscoveryEngine/src/V1/Answer/CitationSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Citation source. @@ -65,4 +65,3 @@ public function setReferenceId($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/GroundingSupport.php b/DiscoveryEngine/src/V1/Answer/GroundingSupport.php index a3b6e4bc8ef8..49388b175aa7 100644 --- a/DiscoveryEngine/src/V1/Answer/GroundingSupport.php +++ b/DiscoveryEngine/src/V1/Answer/GroundingSupport.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding support for a claim in `answer_text`. @@ -76,7 +76,7 @@ class GroundingSupport extends \Google\Protobuf\Internal\Message * this field is set to false. In that case, no grounding check was * done for the claim and therefore `grounding_score`, `sources` is not * returned. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource>|\Google\Protobuf\Internal\RepeatedField $sources + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource[] $sources * Optional. Citation sources for the claim. * } */ @@ -229,7 +229,7 @@ public function setGroundingCheckRequired($var) * Optional. Citation sources for the claim. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.CitationSource sources = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource> */ public function getSources() { @@ -240,7 +240,7 @@ public function getSources() * Optional. Citation sources for the claim. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.CitationSource sources = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\CitationSource[] $var * @return $this */ public function setSources($var) @@ -253,4 +253,3 @@ public function setSources($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php b/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php index 435c1af240cd..74e9e4df42aa 100644 --- a/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php +++ b/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query understanding information. @@ -28,7 +28,7 @@ class QueryUnderstandingInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo\QueryClassificationInfo>|\Google\Protobuf\Internal\RepeatedField $query_classification_info + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo\QueryClassificationInfo[] $query_classification_info * Query classification information. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Query classification information. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo\QueryClassificationInfo> */ public function getQueryClassificationInfo() { @@ -52,7 +52,7 @@ public function getQueryClassificationInfo() * Query classification information. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo\QueryClassificationInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo\QueryClassificationInfo[] $var * @return $this */ public function setQueryClassificationInfo($var) @@ -65,4 +65,3 @@ public function setQueryClassificationInfo($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo.php b/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo.php index 126b078520f2..6089d65932ad 100644 --- a/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo.php +++ b/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\QueryUnderstandingInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query classification information. @@ -99,4 +99,3 @@ public function setPositive($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo/Type.php b/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo/Type.php index 12eed307a73e..bcd67ac39dfc 100644 --- a/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo/Type.php +++ b/DiscoveryEngine/src/V1/Answer/QueryUnderstandingInfo/QueryClassificationInfo/Type.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Answer/Reference.php b/DiscoveryEngine/src/V1/Answer/Reference.php index 36d0ece9f862..9768b05e1f4a 100644 --- a/DiscoveryEngine/src/V1/Answer/Reference.php +++ b/DiscoveryEngine/src/V1/Answer/Reference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Reference. @@ -139,4 +139,3 @@ public function getContent() } - diff --git a/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo.php b/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo.php index 8df507d09fc3..fa54b496e488 100644 --- a/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo.php +++ b/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Reference; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Chunk information. @@ -203,4 +203,3 @@ public function setDocumentMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo/DocumentMetadata.php b/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo/DocumentMetadata.php index 74e3fd5eb6b4..14b50af7cd78 100644 --- a/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo/DocumentMetadata.php +++ b/DiscoveryEngine/src/V1/Answer/Reference/ChunkInfo/DocumentMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Reference\ChunkInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document metadata. @@ -215,4 +215,3 @@ public function setStructData($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Reference/StructuredDocumentInfo.php b/DiscoveryEngine/src/V1/Answer/Reference/StructuredDocumentInfo.php index 444e37eed491..13d9d1162407 100644 --- a/DiscoveryEngine/src/V1/Answer/Reference/StructuredDocumentInfo.php +++ b/DiscoveryEngine/src/V1/Answer/Reference/StructuredDocumentInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Reference; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Structured search information. @@ -177,4 +177,3 @@ public function setUri($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo.php b/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo.php index 7fb3b4c15587..74a21c9fcec1 100644 --- a/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo.php +++ b/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Reference; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Unstructured document information. @@ -59,7 +59,7 @@ class UnstructuredDocumentInfo extends \Google\Protobuf\Internal\Message * URI for the document. * @type string $title * Title. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo\ChunkContent>|\Google\Protobuf\Internal\RepeatedField $chunk_contents + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo\ChunkContent[] $chunk_contents * List of cited chunk contents derived from document content. * @type \Google\Protobuf\Struct $struct_data * The structured JSON metadata for the document. @@ -153,7 +153,7 @@ public function setTitle($var) * List of cited chunk contents derived from document content. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo\ChunkContent> */ public function getChunkContents() { @@ -164,7 +164,7 @@ public function getChunkContents() * List of cited chunk contents derived from document content. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo\ChunkContent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo\ChunkContent[] $var * @return $this */ public function setChunkContents($var) @@ -215,4 +215,3 @@ public function setStructData($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo/ChunkContent.php b/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo/ChunkContent.php index b2cf6c5727bc..210b39cc6330 100644 --- a/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo/ChunkContent.php +++ b/DiscoveryEngine/src/V1/Answer/Reference/UnstructuredDocumentInfo/ChunkContent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Chunk content. @@ -159,4 +159,3 @@ public function setRelevanceScore($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/State.php b/DiscoveryEngine/src/V1/Answer/State.php index b9b9673057ef..4fdfe97fd762 100644 --- a/DiscoveryEngine/src/V1/Answer/State.php +++ b/DiscoveryEngine/src/V1/Answer/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Answer/Step.php b/DiscoveryEngine/src/V1/Answer/Step.php index 68634c39897f..db7da96fba6f 100644 --- a/DiscoveryEngine/src/V1/Answer/Step.php +++ b/DiscoveryEngine/src/V1/Answer/Step.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Step information. @@ -52,7 +52,7 @@ class Step extends \Google\Protobuf\Internal\Message * The description of the step. * @type string $thought * The thought of the step. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action>|\Google\Protobuf\Internal\RepeatedField $actions + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action[] $actions * Actions. * } */ @@ -143,7 +143,7 @@ public function setThought($var) * Actions. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action> */ public function getActions() { @@ -154,7 +154,7 @@ public function getActions() * Actions. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action actions = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action[] $var * @return $this */ public function setActions($var) @@ -167,4 +167,3 @@ public function setActions($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Step/Action.php b/DiscoveryEngine/src/V1/Answer/Step/Action.php index b5900efabf9e..add10e488fc1 100644 --- a/DiscoveryEngine/src/V1/Answer/Step/Action.php +++ b/DiscoveryEngine/src/V1/Answer/Step/Action.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Step; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Action. @@ -117,4 +117,3 @@ public function getAction() } - diff --git a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation.php b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation.php index 43e13119e0a3..539c18ed83c3 100644 --- a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation.php +++ b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Observation. @@ -29,7 +29,7 @@ class Observation extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult>|\Google\Protobuf\Internal\RepeatedField $search_results + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult[] $search_results * Search results observed by the search action, it can be snippets info * or chunk info, depending on the citation type set by the user. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * or chunk info, depending on the citation type set by the user. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult search_results = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult> */ public function getSearchResults() { @@ -56,7 +56,7 @@ public function getSearchResults() * or chunk info, depending on the citation type set by the user. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult search_results = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult[] $var * @return $this */ public function setSearchResults($var) @@ -69,4 +69,3 @@ public function setSearchResults($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult.php b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult.php index be6d60879d54..dd7995b1def2 100644 --- a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult.php +++ b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation; 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.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult @@ -67,10 +67,10 @@ class SearchResult extends \Google\Protobuf\Internal\Message * URI for the document. * @type string $title * Title. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\SnippetInfo>|\Google\Protobuf\Internal\RepeatedField $snippet_info + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\SnippetInfo[] $snippet_info * If citation_type is DOCUMENT_LEVEL_CITATION, populate document * level snippets. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\ChunkInfo>|\Google\Protobuf\Internal\RepeatedField $chunk_info + * @type \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\ChunkInfo[] $chunk_info * If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, * populate chunk info. * @type \Google\Protobuf\Struct $struct_data @@ -168,7 +168,7 @@ public function setTitle($var) * level snippets. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\SnippetInfo> */ public function getSnippetInfo() { @@ -180,7 +180,7 @@ public function getSnippetInfo() * level snippets. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\SnippetInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\SnippetInfo[] $var * @return $this */ public function setSnippetInfo($var) @@ -196,7 +196,7 @@ public function setSnippetInfo($var) * populate chunk info. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\ChunkInfo> */ public function getChunkInfo() { @@ -208,7 +208,7 @@ public function getChunkInfo() * populate chunk info. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\ChunkInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult\ChunkInfo[] $var * @return $this */ public function setChunkInfo($var) @@ -263,4 +263,3 @@ public function setStructData($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/ChunkInfo.php b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/ChunkInfo.php index 315730ebf50a..04b3cccc45da 100644 --- a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/ChunkInfo.php +++ b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/ChunkInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Chunk information. @@ -159,4 +159,3 @@ public function setRelevanceScore($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/SnippetInfo.php b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/SnippetInfo.php index 3acbbb0f66c1..60b540792978 100644 --- a/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/SnippetInfo.php +++ b/DiscoveryEngine/src/V1/Answer/Step/Action/Observation/SearchResult/SnippetInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Snippet information. @@ -99,4 +99,3 @@ public function setSnippetStatus($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Step/Action/SearchAction.php b/DiscoveryEngine/src/V1/Answer/Step/Action/SearchAction.php index d3af5899c355..ad70bf6d01d3 100644 --- a/DiscoveryEngine/src/V1/Answer/Step/Action/SearchAction.php +++ b/DiscoveryEngine/src/V1/Answer/Step/Action/SearchAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Search action. @@ -65,4 +65,3 @@ public function setQuery($var) } - diff --git a/DiscoveryEngine/src/V1/Answer/Step/State.php b/DiscoveryEngine/src/V1/Answer/Step/State.php index 7cf4f0e088e1..2da62b41bc39 100644 --- a/DiscoveryEngine/src/V1/Answer/Step/State.php +++ b/DiscoveryEngine/src/V1/Answer/Step/State.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest.php b/DiscoveryEngine/src/V1/AnswerQueryRequest.php index fac47b7bc176..8e08963d1d81 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -19,9 +19,9 @@ class AnswerQueryRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/{@*}servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * @@ -142,9 +142,9 @@ class AnswerQueryRequest extends \Google\Protobuf\Internal\Message * * @type string $serving_config * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/{@*}servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * @type \Google\Cloud\DiscoveryEngine\V1\Query $query @@ -212,9 +212,9 @@ public function __construct($data = NULL) { /** * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/{@*}servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * @@ -228,9 +228,9 @@ public function getServingConfig() /** * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/{@*}servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec.php index fbc6526be641..ea44d617f43c 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Answer generation specification. @@ -449,4 +449,3 @@ public function setIgnoreJailBreakingQuery($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/ModelSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/ModelSpec.php index 0bbb1be7a964..0f72fa814f55 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/ModelSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/ModelSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\AnswerGenerationSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Answer Generation Model specification. @@ -69,4 +69,3 @@ public function setModelVersion($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/PromptSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/PromptSpec.php index 758aae9a0fad..9e3205dd663a 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/PromptSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/AnswerGenerationSpec/PromptSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\AnswerGenerationSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Answer generation prompt specification. @@ -65,4 +65,3 @@ public function setPreamble($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec.php index 660a2e6f51cd..8136f031f005 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * End user specification. @@ -28,7 +28,7 @@ class EndUserSpec extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData>|\Google\Protobuf\Internal\RepeatedField $end_user_metadata + * @type \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData[] $end_user_metadata * Optional. End user metadata. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Optional. End user metadata. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec.EndUserMetaData end_user_metadata = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData> */ public function getEndUserMetadata() { @@ -52,7 +52,7 @@ public function getEndUserMetadata() * Optional. End user metadata. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec.EndUserMetaData end_user_metadata = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData[] $var * @return $this */ public function setEndUserMetadata($var) @@ -65,4 +65,3 @@ public function setEndUserMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php index 74f4a611800f..01205e7330bd 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * End user metadata. @@ -73,4 +73,3 @@ public function getContent() } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo.php index 71d96875c743..617a1b8e0bc6 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Chunk information. @@ -109,4 +109,3 @@ public function setDocumentMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo/DocumentMetadata.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo/DocumentMetadata.php index 949f8f2d4905..c9823694d9fe 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo/DocumentMetadata.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData/ChunkInfo/DocumentMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData\ChunkInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document metadata contains the information of the document of @@ -66,4 +66,3 @@ public function setTitle($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec.php index 9d48e672e3ee..cc191541d734 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding specification. @@ -115,4 +115,3 @@ public function setFilteringLevel($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec/FilteringLevel.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec/FilteringLevel.php index 23c63502d3bb..230b4a78d108 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec/FilteringLevel.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/GroundingSpec/FilteringLevel.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php index 57eb4a430868..3b49ab42fdd7 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query understanding specification. @@ -157,4 +157,3 @@ public function setDisableSpellCorrection($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec.php index 8874265c1b57..b3397abb7b91 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query classification specification. @@ -28,7 +28,7 @@ class QueryClassificationSpec extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $types + * @type int[] $types * Enabled query classification types. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Enabled query classification types. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTypes() { @@ -52,7 +52,7 @@ public function getTypes() * Enabled query classification types. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTypes($var) @@ -65,4 +65,3 @@ public function setTypes($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec/Type.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec/Type.php index bee9f5121638..25b7ed1d7da2 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec/Type.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryClassificationSpec/Type.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec.php index 995c37c62065..0d6e26cb8279 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query rephraser specification. @@ -151,4 +151,3 @@ public function setModelSpec($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec.php index 26d89b8b38d1..3e4f7454dfe6 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryRephraserSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query Rephraser Model specification. @@ -69,4 +69,3 @@ public function setModelType($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec/ModelType.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec/ModelType.php index 1aa8bb3fa096..96425ea88485 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec/ModelType.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec/QueryRephraserSpec/ModelSpec/ModelType.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/RelatedQuestionsSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/RelatedQuestionsSpec.php index 3ea8e46d04d0..ad02a4d4fddf 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/RelatedQuestionsSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/RelatedQuestionsSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Related questions specification. @@ -65,4 +65,3 @@ public function setEnable($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec.php index 3dbcd99cad2d..e98f31beaaf3 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Safety specification. @@ -44,7 +44,7 @@ class SafetySpec extends \Google\Protobuf\Internal\Message * @type bool $enable * Enable the safety filtering on the answer response. It is false by * default. - * @type array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SafetySpec\SafetySetting>|\Google\Protobuf\Internal\RepeatedField $safety_settings + * @type \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SafetySpec\SafetySetting[] $safety_settings * Optional. Safety settings. * This settings are effective only when the safety_spec.enable is true. * } @@ -87,7 +87,7 @@ public function setEnable($var) * This settings are effective only when the safety_spec.enable is true. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SafetySpec.SafetySetting safety_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SafetySpec\SafetySetting> */ public function getSafetySettings() { @@ -99,7 +99,7 @@ public function getSafetySettings() * This settings are effective only when the safety_spec.enable is true. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SafetySpec.SafetySetting safety_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SafetySpec\SafetySetting>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SafetySpec\SafetySetting[] $var * @return $this */ public function setSafetySettings($var) @@ -112,4 +112,3 @@ public function setSafetySettings($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting.php index d3bbf6b59d46..fca41556dcd2 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SafetySpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Safety settings. @@ -99,4 +99,3 @@ public function setThreshold($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting/HarmBlockThreshold.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting/HarmBlockThreshold.php index 9f823358ac5b..668f07d150ca 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting/HarmBlockThreshold.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SafetySpec/SafetySetting/HarmBlockThreshold.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec.php index d10a87a1e87e..74d5cb92a564 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Search specification. @@ -106,4 +106,3 @@ public function getInput() } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchParams.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchParams.php index dfbc5710496c..292de7047385 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchParams.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchParams.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Search parameters. @@ -119,7 +119,7 @@ class SearchParams extends \Google\Protobuf\Internal\Message * search result mode defaults to `DOCUMENTS`. * See [parse and chunk * documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec>|\Google\Protobuf\Internal\RepeatedField $data_store_specs + * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec[] $data_store_specs * Specs defining dataStores to filter on in a search call and * configurations for those dataStores. This is only considered for * engines with multiple dataStores use case. For single dataStore within @@ -326,7 +326,7 @@ public function setSearchResultMode($var) * an engine, they should use the specs at the top level. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec> */ public function getDataStoreSpecs() { @@ -340,7 +340,7 @@ public function getDataStoreSpecs() * an engine, they should use the specs at the top level. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 7; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec[] $var * @return $this */ public function setDataStoreSpecs($var) @@ -353,4 +353,3 @@ public function setDataStoreSpecs($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList.php index fbae8a1f757a..5cd0787833c2 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Search result list. @@ -28,7 +28,7 @@ class SearchResultList extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult>|\Google\Protobuf\Internal\RepeatedField $search_results + * @type \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult[] $search_results * Search results. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Search results. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult> */ public function getSearchResults() { @@ -52,7 +52,7 @@ public function getSearchResults() * Search results. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult search_results = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult[] $var * @return $this */ public function setSearchResults($var) @@ -65,4 +65,3 @@ public function setSearchResults($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult.php index bc72f2679af0..bba23df175ba 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Search result. @@ -106,4 +106,3 @@ public function getContent() } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo.php index c26ca5b29b05..1f1b0a629c4f 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Chunk information. @@ -143,4 +143,3 @@ public function setDocumentMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo/DocumentMetadata.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo/DocumentMetadata.php index 0f7227b608b8..1058b08c0ccf 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo/DocumentMetadata.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/ChunkInfo/DocumentMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\ChunkInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document metadata contains the information of the document of the @@ -100,4 +100,3 @@ public function setTitle($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo.php index a2f60ad0e3e6..65c68465b29f 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Unstructured document information. @@ -70,13 +70,13 @@ class UnstructuredDocumentInfo extends \Google\Protobuf\Internal\Message * URI for the document. * @type string $title * Title. - * @type array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\DocumentContext>|\Google\Protobuf\Internal\RepeatedField $document_contexts + * @type \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\DocumentContext[] $document_contexts * List of document contexts. The content will be used for Answer * Generation. This is supposed to be the main content of the document * that can be long and comprehensive. - * @type array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveSegment>|\Google\Protobuf\Internal\RepeatedField $extractive_segments + * @type \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveSegment[] $extractive_segments * List of extractive segments. - * @type array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveAnswer>|\Google\Protobuf\Internal\RepeatedField $extractive_answers + * @type \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveAnswer[] $extractive_answers * Deprecated: This field is deprecated and will have no effect on * the Answer generation. * Please use document_contexts and extractive_segments fields. @@ -172,7 +172,7 @@ public function setTitle($var) * that can be long and comprehensive. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\DocumentContext> */ public function getDocumentContexts() { @@ -185,7 +185,7 @@ public function getDocumentContexts() * that can be long and comprehensive. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\DocumentContext>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\DocumentContext[] $var * @return $this */ public function setDocumentContexts($var) @@ -200,7 +200,7 @@ public function setDocumentContexts($var) * List of extractive segments. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveSegment> */ public function getExtractiveSegments() { @@ -211,7 +211,7 @@ public function getExtractiveSegments() * List of extractive segments. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveSegment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveSegment[] $var * @return $this */ public function setExtractiveSegments($var) @@ -229,7 +229,7 @@ public function setExtractiveSegments($var) * List of extractive answers. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6 [deprecated = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveAnswer> * @deprecated */ public function getExtractiveAnswers() @@ -247,7 +247,7 @@ public function getExtractiveAnswers() * List of extractive answers. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6 [deprecated = true]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveAnswer>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo\ExtractiveAnswer[] $var * @return $this * @deprecated */ @@ -264,4 +264,3 @@ public function setExtractiveAnswers($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/DocumentContext.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/DocumentContext.php index 36d3af1a6faa..8e346fe2a2c6 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/DocumentContext.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/DocumentContext.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document context. @@ -99,4 +99,3 @@ public function setContent($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveAnswer.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveAnswer.php index 065171d95ee5..0d951e6b2f8f 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveAnswer.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveAnswer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Extractive answer. @@ -100,4 +100,3 @@ public function setContent($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveSegment.php b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveSegment.php index 5cd3964e36f9..fd5a0db76cb2 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveSegment.php +++ b/DiscoveryEngine/src/V1/AnswerQueryRequest/SearchSpec/SearchResultList/SearchResult/UnstructuredDocumentInfo/ExtractiveSegment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\SearchSpec\SearchResultList\SearchResult\UnstructuredDocumentInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Extractive segment. @@ -102,4 +102,3 @@ public function setContent($var) } - diff --git a/DiscoveryEngine/src/V1/AnswerQueryResponse.php b/DiscoveryEngine/src/V1/AnswerQueryResponse.php index eb1dde5748ad..2b2f35b3ca9b 100644 --- a/DiscoveryEngine/src/V1/AnswerQueryResponse.php +++ b/DiscoveryEngine/src/V1/AnswerQueryResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/AssistAnswer.php b/DiscoveryEngine/src/V1/AssistAnswer.php index f7c766733064..36f1a12593b0 100644 --- a/DiscoveryEngine/src/V1/AssistAnswer.php +++ b/DiscoveryEngine/src/V1/AssistAnswer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AssistAnswer resource, main part of @@ -59,9 +59,9 @@ class AssistAnswer extends \Google\Protobuf\Internal\Message * characters. * @type int $state * State of the answer generation. - * @type array<\Google\Cloud\DiscoveryEngine\V1\AssistAnswer\Reply>|\Google\Protobuf\Internal\RepeatedField $replies + * @type \Google\Cloud\DiscoveryEngine\V1\AssistAnswer\Reply[] $replies * Replies of the assistant. - * @type array|\Google\Protobuf\Internal\RepeatedField $assist_skipped_reasons + * @type int[] $assist_skipped_reasons * Reasons for not answering the assist call. * } */ @@ -134,7 +134,7 @@ public function setState($var) * Replies of the assistant. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AssistAnswer\Reply> */ public function getReplies() { @@ -145,7 +145,7 @@ public function getReplies() * Replies of the assistant. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AssistAnswer\Reply>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AssistAnswer\Reply[] $var * @return $this */ public function setReplies($var) @@ -160,7 +160,7 @@ public function setReplies($var) * Reasons for not answering the assist call. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAssistSkippedReasons() { @@ -171,7 +171,7 @@ public function getAssistSkippedReasons() * Reasons for not answering the assist call. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setAssistSkippedReasons($var) diff --git a/DiscoveryEngine/src/V1/AssistAnswer/AssistSkippedReason.php b/DiscoveryEngine/src/V1/AssistAnswer/AssistSkippedReason.php index cfa3cf5515a3..ed87535f70dc 100644 --- a/DiscoveryEngine/src/V1/AssistAnswer/AssistSkippedReason.php +++ b/DiscoveryEngine/src/V1/AssistAnswer/AssistSkippedReason.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AssistAnswer/Reply.php b/DiscoveryEngine/src/V1/AssistAnswer/Reply.php index f6d9ff1dd495..2d60aed58b89 100644 --- a/DiscoveryEngine/src/V1/AssistAnswer/Reply.php +++ b/DiscoveryEngine/src/V1/AssistAnswer/Reply.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistAnswer; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * One part of the multi-part response of the assist call. @@ -73,4 +73,3 @@ public function getReply() } - diff --git a/DiscoveryEngine/src/V1/AssistAnswer/State.php b/DiscoveryEngine/src/V1/AssistAnswer/State.php index 0bdf93f4bd2d..b7d88dab2f5c 100644 --- a/DiscoveryEngine/src/V1/AssistAnswer/State.php +++ b/DiscoveryEngine/src/V1/AssistAnswer/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AssistUserMetadata.php b/DiscoveryEngine/src/V1/AssistUserMetadata.php index 3d76037f3c99..898d27222b97 100644 --- a/DiscoveryEngine/src/V1/AssistUserMetadata.php +++ b/DiscoveryEngine/src/V1/AssistUserMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * User metadata of the request. diff --git a/DiscoveryEngine/src/V1/Assistant.php b/DiscoveryEngine/src/V1/Assistant.php index 2d1245c11576..696cb852c976 100644 --- a/DiscoveryEngine/src/V1/Assistant.php +++ b/DiscoveryEngine/src/V1/Assistant.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Discovery Engine Assistant resource. diff --git a/DiscoveryEngine/src/V1/AssistantContent.php b/DiscoveryEngine/src/V1/AssistantContent.php index 945be954a19b..5fd934de7208 100644 --- a/DiscoveryEngine/src/V1/AssistantContent.php +++ b/DiscoveryEngine/src/V1/AssistantContent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Multi-modal content. diff --git a/DiscoveryEngine/src/V1/AssistantContent/Blob.php b/DiscoveryEngine/src/V1/AssistantContent/Blob.php index 8d189471f782..85fd38477751 100644 --- a/DiscoveryEngine/src/V1/AssistantContent/Blob.php +++ b/DiscoveryEngine/src/V1/AssistantContent/Blob.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantContent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Inline blob. @@ -99,4 +99,3 @@ public function setData($var) } - diff --git a/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult.php b/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult.php index e637f26f3fc3..c65029720b07 100644 --- a/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult.php +++ b/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantContent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of executing ExecutableCode. @@ -103,4 +103,3 @@ public function setOutput($var) } - diff --git a/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult/Outcome.php b/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult/Outcome.php index db83a7ba0066..80a9ce9defbe 100644 --- a/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult/Outcome.php +++ b/DiscoveryEngine/src/V1/AssistantContent/CodeExecutionResult/Outcome.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/AssistantContent/ExecutableCode.php b/DiscoveryEngine/src/V1/AssistantContent/ExecutableCode.php index afea7eca30e2..dbdeaa5ea6da 100644 --- a/DiscoveryEngine/src/V1/AssistantContent/ExecutableCode.php +++ b/DiscoveryEngine/src/V1/AssistantContent/ExecutableCode.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantContent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Code generated by the model that is meant to be executed by the model. @@ -65,4 +65,3 @@ public function setCode($var) } - diff --git a/DiscoveryEngine/src/V1/AssistantContent/File.php b/DiscoveryEngine/src/V1/AssistantContent/File.php index ee392f2b513c..b778d800572d 100644 --- a/DiscoveryEngine/src/V1/AssistantContent/File.php +++ b/DiscoveryEngine/src/V1/AssistantContent/File.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantContent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A file, e.g., an audio summary. @@ -99,4 +99,3 @@ public function setFileId($var) } - diff --git a/DiscoveryEngine/src/V1/AssistantGroundedContent.php b/DiscoveryEngine/src/V1/AssistantGroundedContent.php index 60b169f5e252..b250873c890f 100644 --- a/DiscoveryEngine/src/V1/AssistantGroundedContent.php +++ b/DiscoveryEngine/src/V1/AssistantGroundedContent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A piece of content and possibly its grounding information. diff --git a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata.php b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata.php index b83063c7c0bb..cfc1ad8a89a0 100644 --- a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata.php +++ b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding details for text sources. @@ -34,9 +34,9 @@ class TextGroundingMetadata extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Segment>|\Google\Protobuf\Internal\RepeatedField $segments + * @type \Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Segment[] $segments * Grounding information for parts of the text. - * @type array<\Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Reference>|\Google\Protobuf\Internal\RepeatedField $references + * @type \Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Reference[] $references * References for the grounded text. * } */ @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * Grounding information for parts of the text. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Segment segments = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Segment> */ public function getSegments() { @@ -60,7 +60,7 @@ public function getSegments() * Grounding information for parts of the text. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Segment segments = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Segment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Segment[] $var * @return $this */ public function setSegments($var) @@ -75,7 +75,7 @@ public function setSegments($var) * References for the grounded text. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference references = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Reference> */ public function getReferences() { @@ -86,7 +86,7 @@ public function getReferences() * References for the grounded text. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference references = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Reference>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Reference[] $var * @return $this */ public function setReferences($var) @@ -99,4 +99,3 @@ public function setReferences($var) } - diff --git a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference.php b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference.php index fac87a92971c..abbec9e754a9 100644 --- a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference.php +++ b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Referenced content and related document metadata. @@ -109,4 +109,3 @@ public function setDocumentMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference/DocumentMetadata.php b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference/DocumentMetadata.php index 0d33a6b36b99..a9729a7dd502 100644 --- a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference/DocumentMetadata.php +++ b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Reference/DocumentMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata\Reference; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document metadata. @@ -263,4 +263,3 @@ public function setDomain($var) } - diff --git a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Segment.php b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Segment.php index 394ca6a12c4a..92aeebf4195b 100644 --- a/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Segment.php +++ b/DiscoveryEngine/src/V1/AssistantGroundedContent/TextGroundingMetadata/Segment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\AssistantGroundedContent\TextGroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding information for a segment of the text. @@ -60,7 +60,7 @@ class Segment extends \Google\Protobuf\Internal\Message * length of more than one). * @type int|string $end_index * End of the segment, exclusive. - * @type array|\Google\Protobuf\Internal\RepeatedField $reference_indices + * @type int[] $reference_indices * References for the segment. * @type float $grounding_score * Score for the segment. @@ -133,7 +133,7 @@ public function setEndIndex($var) * References for the segment. * * Generated from protobuf field repeated int32 reference_indices = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReferenceIndices() { @@ -144,7 +144,7 @@ public function getReferenceIndices() * References for the segment. * * Generated from protobuf field repeated int32 reference_indices = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setReferenceIndices($var) @@ -209,4 +209,3 @@ public function setText($var) } - diff --git a/DiscoveryEngine/src/V1/BatchCreateTargetSiteMetadata.php b/DiscoveryEngine/src/V1/BatchCreateTargetSiteMetadata.php index 3fd5dc074118..d8b7ef9d34d6 100644 --- a/DiscoveryEngine/src/V1/BatchCreateTargetSiteMetadata.php +++ b/DiscoveryEngine/src/V1/BatchCreateTargetSiteMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/BatchCreateTargetSitesRequest.php b/DiscoveryEngine/src/V1/BatchCreateTargetSitesRequest.php index 025b00dae530..b37bc354fbff 100644 --- a/DiscoveryEngine/src/V1/BatchCreateTargetSitesRequest.php +++ b/DiscoveryEngine/src/V1/BatchCreateTargetSitesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -45,7 +45,7 @@ class BatchCreateTargetSitesRequest extends \Google\Protobuf\Internal\Message * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. * The parent field in the CreateBookRequest messages must either be empty or * match this field. - * @type array<\Google\Cloud\DiscoveryEngine\V1\CreateTargetSiteRequest>|\Google\Protobuf\Internal\RepeatedField $requests + * @type \Google\Cloud\DiscoveryEngine\V1\CreateTargetSiteRequest[] $requests * Required. The request message specifying the resources to create. * A maximum of 20 TargetSites can be created in a batch. * } @@ -92,7 +92,7 @@ public function setParent($var) * A maximum of 20 TargetSites can be created in a batch. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\CreateTargetSiteRequest> */ public function getRequests() { @@ -104,7 +104,7 @@ public function getRequests() * A maximum of 20 TargetSites can be created in a batch. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\CreateTargetSiteRequest>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\CreateTargetSiteRequest[] $var * @return $this */ public function setRequests($var) diff --git a/DiscoveryEngine/src/V1/BatchCreateTargetSitesResponse.php b/DiscoveryEngine/src/V1/BatchCreateTargetSitesResponse.php index 5cc625826f41..99282046b5fd 100644 --- a/DiscoveryEngine/src/V1/BatchCreateTargetSitesResponse.php +++ b/DiscoveryEngine/src/V1/BatchCreateTargetSitesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 BatchCreateTargetSitesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\TargetSite>|\Google\Protobuf\Internal\RepeatedField $target_sites + * @type \Google\Cloud\DiscoveryEngine\V1\TargetSite[] $target_sites * TargetSites created. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * TargetSites created. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.TargetSite target_sites = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\TargetSite> */ public function getTargetSites() { @@ -54,7 +54,7 @@ public function getTargetSites() * TargetSites created. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.TargetSite target_sites = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\TargetSite>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\TargetSite[] $var * @return $this */ public function setTargetSites($var) diff --git a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest.php index 28af4ab72d27..c78c3e128350 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/FhirMatcher.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/FhirMatcher.php index 6d5544b6fc57..24a790f040e5 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/FhirMatcher.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/FhirMatcher.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Matcher for the [Document][google.cloud.discoveryengine.v1.Document]s by @@ -31,7 +31,7 @@ class FhirMatcher extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $fhir_resources + * @type string[] $fhir_resources * Required. The FHIR resources to match by. * Format: * projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} @@ -48,7 +48,7 @@ public function __construct($data = NULL) { * projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} * * Generated from protobuf field repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFhirResources() { @@ -61,7 +61,7 @@ public function getFhirResources() * projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} * * Generated from protobuf field repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFhirResources($var) @@ -74,4 +74,3 @@ public function setFhirResources($var) } - diff --git a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/Matcher.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/Matcher.php index 837f67795cc6..e3a8b0b7b9cd 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/Matcher.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/Matcher.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Matcher for the [Document][google.cloud.discoveryengine.v1.Document]s. @@ -107,4 +107,3 @@ public function getMatcher() } - diff --git a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/UrisMatcher.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/UrisMatcher.php index 30afae42c5e3..3be196baa410 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/UrisMatcher.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataRequest/UrisMatcher.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Matcher for the [Document][google.cloud.discoveryengine.v1.Document]s by @@ -29,7 +29,7 @@ class UrisMatcher extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $uris + * @type string[] $uris * The exact URIs to match by. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * The exact URIs to match by. * * Generated from protobuf field repeated string uris = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUris() { @@ -53,7 +53,7 @@ public function getUris() * The exact URIs to match by. * * Generated from protobuf field repeated string uris = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUris($var) @@ -66,4 +66,3 @@ public function setUris($var) } - diff --git a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse.php index 6ea87a36de23..aeae9b5b3f4b 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 BatchGetDocumentsMetadataResponse extends \Google\Protobuf\Internal\Messag * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata>|\Google\Protobuf\Internal\RepeatedField $documents_metadata + * @type \Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata[] $documents_metadata * The metadata of the [Document][google.cloud.discoveryengine.v1.Document]s. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * The metadata of the [Document][google.cloud.discoveryengine.v1.Document]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata> */ public function getDocumentsMetadata() { @@ -54,7 +54,7 @@ public function getDocumentsMetadata() * The metadata of the [Document][google.cloud.discoveryengine.v1.Document]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata[] $var * @return $this */ public function setDocumentsMetadata($var) diff --git a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata.php index e41709f9b9fd..8b0993f3f604 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata of a [Document][google.cloud.discoveryengine.v1.Document]. @@ -211,4 +211,3 @@ public function setDataIngestionSource($var) } - diff --git a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata/MatcherValue.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata/MatcherValue.php index 00319353ab3b..d6c95bdf205b 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata/MatcherValue.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/DocumentMetadata/MatcherValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The value of the matcher that was used to match the @@ -113,4 +113,3 @@ public function getMatcherValue() } - diff --git a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/State.php b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/State.php index 17813816b2bd..2663735e1a0f 100644 --- a/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/State.php +++ b/DiscoveryEngine/src/V1/BatchGetDocumentsMetadataResponse/State.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/BatchUpdateUserLicensesMetadata.php b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesMetadata.php index 3366f66559d3..094e51f3451c 100644 --- a/DiscoveryEngine/src/V1/BatchUpdateUserLicensesMetadata.php +++ b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest.php b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest.php index 109851430853..99c41b3be60c 100644 --- a/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest.php +++ b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest/InlineSource.php b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest/InlineSource.php index f0347d2bf7ab..94e6568bf93a 100644 --- a/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BatchUpdateUserLicensesRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source for the input config for BatchUpdateUserLicenses @@ -37,7 +37,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\UserLicense>|\Google\Protobuf\Internal\RepeatedField $user_licenses + * @type \Google\Cloud\DiscoveryEngine\V1\UserLicense[] $user_licenses * Required. A list of user licenses to update. Each user license * must have a valid * [UserLicense.user_principal][google.cloud.discoveryengine.v1.UserLicense.user_principal]. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * [UserLicense.user_principal][google.cloud.discoveryengine.v1.UserLicense.user_principal]. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserLicense user_licenses = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\UserLicense> */ public function getUserLicenses() { @@ -69,7 +69,7 @@ public function getUserLicenses() * [UserLicense.user_principal][google.cloud.discoveryengine.v1.UserLicense.user_principal]. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserLicense user_licenses = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\UserLicense>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\UserLicense[] $var * @return $this */ public function setUserLicenses($var) @@ -118,4 +118,3 @@ public function setUpdateMask($var) } - diff --git a/DiscoveryEngine/src/V1/BatchUpdateUserLicensesResponse.php b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesResponse.php index f9e6fff34cdf..5f3382dc2f41 100644 --- a/DiscoveryEngine/src/V1/BatchUpdateUserLicensesResponse.php +++ b/DiscoveryEngine/src/V1/BatchUpdateUserLicensesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -36,9 +36,9 @@ class BatchUpdateUserLicensesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\UserLicense>|\Google\Protobuf\Internal\RepeatedField $user_licenses + * @type \Google\Cloud\DiscoveryEngine\V1\UserLicense[] $user_licenses * UserLicenses successfully updated. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * } */ @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * UserLicenses successfully updated. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserLicense user_licenses = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\UserLicense> */ public function getUserLicenses() { @@ -62,7 +62,7 @@ public function getUserLicenses() * UserLicenses successfully updated. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserLicense user_licenses = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\UserLicense>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\UserLicense[] $var * @return $this */ public function setUserLicenses($var) @@ -77,7 +77,7 @@ public function setUserLicenses($var) * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -88,7 +88,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/BatchVerifyTargetSitesMetadata.php b/DiscoveryEngine/src/V1/BatchVerifyTargetSitesMetadata.php index 45fe3fc683cd..6621ead79342 100644 --- a/DiscoveryEngine/src/V1/BatchVerifyTargetSitesMetadata.php +++ b/DiscoveryEngine/src/V1/BatchVerifyTargetSitesMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/BatchVerifyTargetSitesRequest.php b/DiscoveryEngine/src/V1/BatchVerifyTargetSitesRequest.php index 1e566fc7592e..0d2e316e18f7 100644 --- a/DiscoveryEngine/src/V1/BatchVerifyTargetSitesRequest.php +++ b/DiscoveryEngine/src/V1/BatchVerifyTargetSitesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/BatchVerifyTargetSitesResponse.php b/DiscoveryEngine/src/V1/BatchVerifyTargetSitesResponse.php index 92d93fc998ae..477cc024aae5 100644 --- a/DiscoveryEngine/src/V1/BatchVerifyTargetSitesResponse.php +++ b/DiscoveryEngine/src/V1/BatchVerifyTargetSitesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/BigQuerySource.php b/DiscoveryEngine/src/V1/BigQuerySource.php index fca97d9d27b0..1134bdd1c574 100644 --- a/DiscoveryEngine/src/V1/BigQuerySource.php +++ b/DiscoveryEngine/src/V1/BigQuerySource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BigQuery source import data from. diff --git a/DiscoveryEngine/src/V1/BigtableOptions.php b/DiscoveryEngine/src/V1/BigtableOptions.php index 94fedf2de962..db2cb112427c 100644 --- a/DiscoveryEngine/src/V1/BigtableOptions.php +++ b/DiscoveryEngine/src/V1/BigtableOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The Bigtable Options object that contains information to support diff --git a/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumn.php b/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumn.php index 0ba93cac113e..1be42917293e 100644 --- a/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumn.php +++ b/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumn.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BigtableOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The column of the Bigtable. @@ -215,4 +215,3 @@ public function setType($var) } - diff --git a/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumnFamily.php b/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumnFamily.php index 582de21a14f8..c5bdcffcbdca 100644 --- a/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumnFamily.php +++ b/DiscoveryEngine/src/V1/BigtableOptions/BigtableColumnFamily.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\BigtableOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The column family of the Bigtable. @@ -75,7 +75,7 @@ class BigtableColumnFamily extends \Google\Protobuf\Internal\Message * The type of values in this column family. * The values are expected to be encoded using `HBase Bytes.toBytes` * function when the encoding value is set to `BINARY`. - * @type array<\Google\Cloud\DiscoveryEngine\V1\BigtableOptions\BigtableColumn>|\Google\Protobuf\Internal\RepeatedField $columns + * @type \Google\Cloud\DiscoveryEngine\V1\BigtableOptions\BigtableColumn[] $columns * The list of objects that contains column level information for each * column. If a column is not present in this list it will be ignored. * } @@ -190,7 +190,7 @@ public function setType($var) * column. If a column is not present in this list it will be ignored. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumn columns = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\BigtableOptions\BigtableColumn> */ public function getColumns() { @@ -202,7 +202,7 @@ public function getColumns() * column. If a column is not present in this list it will be ignored. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumn columns = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\BigtableOptions\BigtableColumn>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\BigtableOptions\BigtableColumn[] $var * @return $this */ public function setColumns($var) @@ -215,4 +215,3 @@ public function setColumns($var) } - diff --git a/DiscoveryEngine/src/V1/BigtableOptions/Encoding.php b/DiscoveryEngine/src/V1/BigtableOptions/Encoding.php index e3b300de6bed..02ef66b8042d 100644 --- a/DiscoveryEngine/src/V1/BigtableOptions/Encoding.php +++ b/DiscoveryEngine/src/V1/BigtableOptions/Encoding.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/BigtableOptions/Type.php b/DiscoveryEngine/src/V1/BigtableOptions/Type.php index 322be753ca51..19ca973ecb6f 100644 --- a/DiscoveryEngine/src/V1/BigtableOptions/Type.php +++ b/DiscoveryEngine/src/V1/BigtableOptions/Type.php @@ -98,4 +98,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/BigtableSource.php b/DiscoveryEngine/src/V1/BigtableSource.php index 60e198af4864..18ce19085e86 100644 --- a/DiscoveryEngine/src/V1/BigtableSource.php +++ b/DiscoveryEngine/src/V1/BigtableSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The Cloud Bigtable source for importing data. diff --git a/DiscoveryEngine/src/V1/CheckGroundingRequest.php b/DiscoveryEngine/src/V1/CheckGroundingRequest.php index c65ebbc9d151..6e51563b8ad3 100644 --- a/DiscoveryEngine/src/V1/CheckGroundingRequest.php +++ b/DiscoveryEngine/src/V1/CheckGroundingRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 CheckGroundingRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the grounding config, such as - * `projects/*/locations/global/groundingConfigs/default_grounding_config`. + * `projects/{@*}locations/global/groundingConfigs/default_grounding_config`. * * Generated from protobuf field string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -72,10 +72,10 @@ class CheckGroundingRequest extends \Google\Protobuf\Internal\Message * * @type string $grounding_config * Required. The resource name of the grounding config, such as - * `projects/*/locations/global/groundingConfigs/default_grounding_config`. + * `projects/{@*}locations/global/groundingConfigs/default_grounding_config`. * @type string $answer_candidate * Answer candidate to check. It can have a maximum length of 4096 tokens. - * @type array<\Google\Cloud\DiscoveryEngine\V1\GroundingFact>|\Google\Protobuf\Internal\RepeatedField $facts + * @type \Google\Cloud\DiscoveryEngine\V1\GroundingFact[] $facts * List of facts for the grounding check. * We support up to 200 facts. * @type \Google\Cloud\DiscoveryEngine\V1\CheckGroundingSpec $grounding_spec @@ -105,7 +105,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the grounding config, such as - * `projects/*/locations/global/groundingConfigs/default_grounding_config`. + * `projects/{@*}locations/global/groundingConfigs/default_grounding_config`. * * Generated from protobuf field string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -117,7 +117,7 @@ public function getGroundingConfig() /** * Required. The resource name of the grounding config, such as - * `projects/*/locations/global/groundingConfigs/default_grounding_config`. + * `projects/{@*}locations/global/groundingConfigs/default_grounding_config`. * * Generated from protobuf field string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -162,7 +162,7 @@ public function setAnswerCandidate($var) * We support up to 200 facts. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundingFact facts = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GroundingFact> */ public function getFacts() { @@ -174,7 +174,7 @@ public function getFacts() * We support up to 200 facts. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundingFact facts = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GroundingFact>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GroundingFact[] $var * @return $this */ public function setFacts($var) diff --git a/DiscoveryEngine/src/V1/CheckGroundingResponse.php b/DiscoveryEngine/src/V1/CheckGroundingResponse.php index 8c0b4c9be5f1..b2343f80f56c 100644 --- a/DiscoveryEngine/src/V1/CheckGroundingResponse.php +++ b/DiscoveryEngine/src/V1/CheckGroundingResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the @@ -56,13 +56,13 @@ class CheckGroundingResponse extends \Google\Protobuf\Internal\Message * The support score for the input answer candidate. * Higher the score, higher is the fraction of claims that are supported by * the provided facts. This is always set when a response is returned. - * @type array<\Google\Cloud\DiscoveryEngine\V1\FactChunk>|\Google\Protobuf\Internal\RepeatedField $cited_chunks + * @type \Google\Cloud\DiscoveryEngine\V1\FactChunk[] $cited_chunks * List of facts cited across all claims in the answer candidate. * These are derived from the facts supplied in the request. - * @type array<\Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\CheckGroundingFactChunk>|\Google\Protobuf\Internal\RepeatedField $cited_facts + * @type \Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\CheckGroundingFactChunk[] $cited_facts * List of facts cited across all claims in the answer candidate. * These are derived from the facts supplied in the request. - * @type array<\Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\Claim>|\Google\Protobuf\Internal\RepeatedField $claims + * @type \Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\Claim[] $claims * Claim texts and citation info across all claims in the answer candidate. * } */ @@ -116,7 +116,7 @@ public function setSupportScore($var) * These are derived from the facts supplied in the request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.FactChunk cited_chunks = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\FactChunk> */ public function getCitedChunks() { @@ -128,7 +128,7 @@ public function getCitedChunks() * These are derived from the facts supplied in the request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.FactChunk cited_chunks = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\FactChunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\FactChunk[] $var * @return $this */ public function setCitedChunks($var) @@ -144,7 +144,7 @@ public function setCitedChunks($var) * These are derived from the facts supplied in the request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CheckGroundingResponse.CheckGroundingFactChunk cited_facts = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\CheckGroundingFactChunk> */ public function getCitedFacts() { @@ -156,7 +156,7 @@ public function getCitedFacts() * These are derived from the facts supplied in the request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CheckGroundingResponse.CheckGroundingFactChunk cited_facts = 6; - * @param array<\Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\CheckGroundingFactChunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\CheckGroundingFactChunk[] $var * @return $this */ public function setCitedFacts($var) @@ -171,7 +171,7 @@ public function setCitedFacts($var) * Claim texts and citation info across all claims in the answer candidate. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CheckGroundingResponse.Claim claims = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\Claim> */ public function getClaims() { @@ -182,7 +182,7 @@ public function getClaims() * Claim texts and citation info across all claims in the answer candidate. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CheckGroundingResponse.Claim claims = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\Claim>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse\Claim[] $var * @return $this */ public function setClaims($var) diff --git a/DiscoveryEngine/src/V1/CheckGroundingResponse/CheckGroundingFactChunk.php b/DiscoveryEngine/src/V1/CheckGroundingResponse/CheckGroundingFactChunk.php index 3817da32abf4..e1f24ba32758 100644 --- a/DiscoveryEngine/src/V1/CheckGroundingResponse/CheckGroundingFactChunk.php +++ b/DiscoveryEngine/src/V1/CheckGroundingResponse/CheckGroundingFactChunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Fact chunk for grounding check. @@ -65,4 +65,3 @@ public function setChunkText($var) } - diff --git a/DiscoveryEngine/src/V1/CheckGroundingResponse/Claim.php b/DiscoveryEngine/src/V1/CheckGroundingResponse/Claim.php index 2997443705e2..facd0beb1ce3 100644 --- a/DiscoveryEngine/src/V1/CheckGroundingResponse/Claim.php +++ b/DiscoveryEngine/src/V1/CheckGroundingResponse/Claim.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\CheckGroundingResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Text and citation info for a claim in the answer candidate. @@ -101,7 +101,7 @@ class Claim extends \Google\Protobuf\Internal\Message * @type string $claim_text * Text for the claim in the answer candidate. Always provided regardless of * whether citations or anti-citations are found. - * @type array|\Google\Protobuf\Internal\RepeatedField $citation_indices + * @type int[] $citation_indices * A list of indices (into 'cited_chunks') specifying the citations * associated with the claim. For instance [1,3,4] means that * cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited @@ -257,7 +257,7 @@ public function setClaimText($var) * is supported by the fact. * * Generated from protobuf field repeated int32 citation_indices = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCitationIndices() { @@ -272,7 +272,7 @@ public function getCitationIndices() * is supported by the fact. * * Generated from protobuf field repeated int32 citation_indices = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setCitationIndices($var) @@ -371,4 +371,3 @@ public function setScore($var) } - diff --git a/DiscoveryEngine/src/V1/CheckGroundingSpec.php b/DiscoveryEngine/src/V1/CheckGroundingSpec.php index a8d9afba3ad1..8445bbd67ee6 100644 --- a/DiscoveryEngine/src/V1/CheckGroundingSpec.php +++ b/DiscoveryEngine/src/V1/CheckGroundingSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification for the grounding check. diff --git a/DiscoveryEngine/src/V1/Chunk.php b/DiscoveryEngine/src/V1/Chunk.php index 41ff3bee9ac0..4830b68e6984 100644 --- a/DiscoveryEngine/src/V1/Chunk.php +++ b/DiscoveryEngine/src/V1/Chunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Chunk captures all raw metadata information of items to be recommended or @@ -128,15 +128,15 @@ class Chunk extends \Google\Protobuf\Internal\Message * Page span of the chunk. * @type \Google\Cloud\DiscoveryEngine\V1\Chunk\ChunkMetadata $chunk_metadata * Output only. Metadata of the current chunk. - * @type array|\Google\Protobuf\Internal\RepeatedField $data_urls + * @type string[] $data_urls * Output only. Image Data URLs if the current chunk contains images. * Data URLs are composed of four parts: a prefix (data:), a MIME type * indicating the type of data, an optional base64 token if non-textual, * and the data itself: * data:[][;base64], - * @type array|\Google\Protobuf\Internal\RepeatedField $annotation_contents + * @type string[] $annotation_contents * Output only. Annotation contents if the current chunk contains annotations. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Chunk\AnnotationMetadata>|\Google\Protobuf\Internal\RepeatedField $annotation_metadata + * @type \Google\Cloud\DiscoveryEngine\V1\Chunk\AnnotationMetadata[] $annotation_metadata * Output only. The annotation metadata includes structured content in the * current chunk. * } @@ -430,7 +430,7 @@ public function setChunkMetadata($var) * data:[][;base64], * * Generated from protobuf field repeated string data_urls = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDataUrls() { @@ -445,7 +445,7 @@ public function getDataUrls() * data:[][;base64], * * Generated from protobuf field repeated string data_urls = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDataUrls($var) @@ -460,7 +460,7 @@ public function setDataUrls($var) * Output only. Annotation contents if the current chunk contains annotations. * * Generated from protobuf field repeated string annotation_contents = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAnnotationContents() { @@ -471,7 +471,7 @@ public function getAnnotationContents() * Output only. Annotation contents if the current chunk contains annotations. * * Generated from protobuf field repeated string annotation_contents = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAnnotationContents($var) @@ -487,7 +487,7 @@ public function setAnnotationContents($var) * current chunk. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Chunk.AnnotationMetadata annotation_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Chunk\AnnotationMetadata> */ public function getAnnotationMetadata() { @@ -499,7 +499,7 @@ public function getAnnotationMetadata() * current chunk. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Chunk.AnnotationMetadata annotation_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Chunk\AnnotationMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Chunk\AnnotationMetadata[] $var * @return $this */ public function setAnnotationMetadata($var) diff --git a/DiscoveryEngine/src/V1/Chunk/AnnotationMetadata.php b/DiscoveryEngine/src/V1/Chunk/AnnotationMetadata.php index 571dd392c6e6..ea8e185f947c 100644 --- a/DiscoveryEngine/src/V1/Chunk/AnnotationMetadata.php +++ b/DiscoveryEngine/src/V1/Chunk/AnnotationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The annotation metadata includes structured content in the current chunk. @@ -113,4 +113,3 @@ public function setImageId($var) } - diff --git a/DiscoveryEngine/src/V1/Chunk/ChunkMetadata.php b/DiscoveryEngine/src/V1/Chunk/ChunkMetadata.php index 82d55522ee89..1ce4fc0b6351 100644 --- a/DiscoveryEngine/src/V1/Chunk/ChunkMetadata.php +++ b/DiscoveryEngine/src/V1/Chunk/ChunkMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata of the current chunk. This field is only populated on @@ -44,13 +44,13 @@ class ChunkMetadata extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Chunk>|\Google\Protobuf\Internal\RepeatedField $previous_chunks + * @type \Google\Cloud\DiscoveryEngine\V1\Chunk[] $previous_chunks * The previous chunks of the current chunk. The number is controlled by * [SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks]. * This field is only populated on * [SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search] * API. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Chunk>|\Google\Protobuf\Internal\RepeatedField $next_chunks + * @type \Google\Cloud\DiscoveryEngine\V1\Chunk[] $next_chunks * The next chunks of the current chunk. The number is controlled by * [SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks]. * This field is only populated on @@ -71,7 +71,7 @@ public function __construct($data = NULL) { * API. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Chunk> */ public function getPreviousChunks() { @@ -86,7 +86,7 @@ public function getPreviousChunks() * API. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Chunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Chunk[] $var * @return $this */ public function setPreviousChunks($var) @@ -105,7 +105,7 @@ public function setPreviousChunks($var) * API. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Chunk> */ public function getNextChunks() { @@ -120,7 +120,7 @@ public function getNextChunks() * API. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Chunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Chunk[] $var * @return $this */ public function setNextChunks($var) @@ -133,4 +133,3 @@ public function setNextChunks($var) } - diff --git a/DiscoveryEngine/src/V1/Chunk/DocumentMetadata.php b/DiscoveryEngine/src/V1/Chunk/DocumentMetadata.php index 5186a1bc3665..709845423177 100644 --- a/DiscoveryEngine/src/V1/Chunk/DocumentMetadata.php +++ b/DiscoveryEngine/src/V1/Chunk/DocumentMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document metadata contains the information of the document of the current @@ -156,4 +156,3 @@ public function setStructData($var) } - diff --git a/DiscoveryEngine/src/V1/Chunk/PageSpan.php b/DiscoveryEngine/src/V1/Chunk/PageSpan.php index 9eb7798243cb..9e7d8858903c 100644 --- a/DiscoveryEngine/src/V1/Chunk/PageSpan.php +++ b/DiscoveryEngine/src/V1/Chunk/PageSpan.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Page span of the chunk. @@ -99,4 +99,3 @@ public function setPageEnd($var) } - diff --git a/DiscoveryEngine/src/V1/Chunk/StructureType.php b/DiscoveryEngine/src/V1/Chunk/StructureType.php index 4be6556e36e7..93edd59cd986 100644 --- a/DiscoveryEngine/src/V1/Chunk/StructureType.php +++ b/DiscoveryEngine/src/V1/Chunk/StructureType.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Chunk/StructuredContent.php b/DiscoveryEngine/src/V1/Chunk/StructuredContent.php index 705c57f70210..ea989293c806 100644 --- a/DiscoveryEngine/src/V1/Chunk/StructuredContent.php +++ b/DiscoveryEngine/src/V1/Chunk/StructuredContent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The structured content information. @@ -99,4 +99,3 @@ public function setContent($var) } - diff --git a/DiscoveryEngine/src/V1/CloudSqlSource.php b/DiscoveryEngine/src/V1/CloudSqlSource.php index 65dbb1f6e1ee..4bf0146fa9e0 100644 --- a/DiscoveryEngine/src/V1/CloudSqlSource.php +++ b/DiscoveryEngine/src/V1/CloudSqlSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud SQL source import data from. diff --git a/DiscoveryEngine/src/V1/CmekConfig.php b/DiscoveryEngine/src/V1/CmekConfig.php index 50e7dac0ed62..5768974c1195 100644 --- a/DiscoveryEngine/src/V1/CmekConfig.php +++ b/DiscoveryEngine/src/V1/CmekConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations used to enable CMEK data encryption with Cloud KMS keys. @@ -90,7 +90,7 @@ class CmekConfig extends \Google\Protobuf\Internal\Message * Output only. The default CmekConfig for the Customer. * @type int|string $last_rotation_timestamp_micros * Output only. The timestamp of the last key rotation. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SingleRegionKey>|\Google\Protobuf\Internal\RepeatedField $single_region_keys + * @type \Google\Cloud\DiscoveryEngine\V1\SingleRegionKey[] $single_region_keys * Optional. Single-regional CMEKs that are required for some VAIS features. * @type int $notebooklm_state * Output only. Whether the NotebookLM Corpus is ready to be used. @@ -269,7 +269,7 @@ public function setLastRotationTimestampMicros($var) * Optional. Single-regional CMEKs that are required for some VAIS features. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SingleRegionKey single_region_keys = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SingleRegionKey> */ public function getSingleRegionKeys() { @@ -280,7 +280,7 @@ public function getSingleRegionKeys() * Optional. Single-regional CMEKs that are required for some VAIS features. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SingleRegionKey single_region_keys = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SingleRegionKey>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SingleRegionKey[] $var * @return $this */ public function setSingleRegionKeys($var) diff --git a/DiscoveryEngine/src/V1/CmekConfig/NotebookLMState.php b/DiscoveryEngine/src/V1/CmekConfig/NotebookLMState.php index d2a271948e27..d5c9d224e6ea 100644 --- a/DiscoveryEngine/src/V1/CmekConfig/NotebookLMState.php +++ b/DiscoveryEngine/src/V1/CmekConfig/NotebookLMState.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/CmekConfig/State.php b/DiscoveryEngine/src/V1/CmekConfig/State.php index 67fe3abf6be6..4d0acaa8cc72 100644 --- a/DiscoveryEngine/src/V1/CmekConfig/State.php +++ b/DiscoveryEngine/src/V1/CmekConfig/State.php @@ -103,4 +103,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/CollectUserEventRequest.php b/DiscoveryEngine/src/V1/CollectUserEventRequest.php index b9f67adf65c6..1ccdbcf1d8f1 100644 --- a/DiscoveryEngine/src/V1/CollectUserEventRequest.php +++ b/DiscoveryEngine/src/V1/CollectUserEventRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CollectUserEvent method. diff --git a/DiscoveryEngine/src/V1/CompleteQueryRequest.php b/DiscoveryEngine/src/V1/CompleteQueryRequest.php index 1385560655e2..ce82cbf731dc 100644 --- a/DiscoveryEngine/src/V1/CompleteQueryRequest.php +++ b/DiscoveryEngine/src/V1/CompleteQueryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -20,7 +20,7 @@ class CompleteQueryRequest extends \Google\Protobuf\Internal\Message /** * Required. The parent data store resource name for which the completion is * performed, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * * Generated from protobuf field string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -86,7 +86,7 @@ class CompleteQueryRequest extends \Google\Protobuf\Internal\Message * @type string $data_store * Required. The parent data store resource name for which the completion is * performed, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * @type string $query * Required. The typeahead input used to fetch suggestions. Maximum length is * 128 characters. @@ -132,7 +132,7 @@ public function __construct($data = NULL) { /** * Required. The parent data store resource name for which the completion is * performed, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * * Generated from protobuf field string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -145,7 +145,7 @@ public function getDataStore() /** * Required. The parent data store resource name for which the completion is * performed, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * * Generated from protobuf field string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/DiscoveryEngine/src/V1/CompleteQueryResponse.php b/DiscoveryEngine/src/V1/CompleteQueryResponse.php index 7794d8d05da0..3583f4347721 100644 --- a/DiscoveryEngine/src/V1/CompleteQueryResponse.php +++ b/DiscoveryEngine/src/V1/CompleteQueryResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 CompleteQueryResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion>|\Google\Protobuf\Internal\RepeatedField $query_suggestions + * @type \Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion[] $query_suggestions * Results of the matched query suggestions. The result list is ordered and * the first result is a top suggestion. * @type bool $tail_match_triggered @@ -58,7 +58,7 @@ public function __construct($data = NULL) { * the first result is a top suggestion. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion query_suggestions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion> */ public function getQuerySuggestions() { @@ -70,7 +70,7 @@ public function getQuerySuggestions() * the first result is a top suggestion. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion query_suggestions = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion[] $var * @return $this */ public function setQuerySuggestions($var) diff --git a/DiscoveryEngine/src/V1/CompleteQueryResponse/QuerySuggestion.php b/DiscoveryEngine/src/V1/CompleteQueryResponse/QuerySuggestion.php index 52260f5bec35..5befdcc5a1b3 100644 --- a/DiscoveryEngine/src/V1/CompleteQueryResponse/QuerySuggestion.php +++ b/DiscoveryEngine/src/V1/CompleteQueryResponse/QuerySuggestion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Suggestions as search queries. @@ -38,7 +38,7 @@ class QuerySuggestion extends \Google\Protobuf\Internal\Message * * @type string $suggestion * The suggestion for the query. - * @type array|\Google\Protobuf\Internal\RepeatedField $completable_field_paths + * @type string[] $completable_field_paths * The unique document field paths that serve as the source of this * suggestion if it was generated from completable fields. * This field is only populated for the document-completable model. @@ -81,7 +81,7 @@ public function setSuggestion($var) * This field is only populated for the document-completable model. * * Generated from protobuf field repeated string completable_field_paths = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCompletableFieldPaths() { @@ -94,7 +94,7 @@ public function getCompletableFieldPaths() * This field is only populated for the document-completable model. * * Generated from protobuf field repeated string completable_field_paths = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCompletableFieldPaths($var) @@ -107,4 +107,3 @@ public function setCompletableFieldPaths($var) } - diff --git a/DiscoveryEngine/src/V1/CompletionInfo.php b/DiscoveryEngine/src/V1/CompletionInfo.php index 514ac4f519de..81886ce8c861 100644 --- a/DiscoveryEngine/src/V1/CompletionInfo.php +++ b/DiscoveryEngine/src/V1/CompletionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detailed completion information including completion attribution token and diff --git a/DiscoveryEngine/src/V1/CompletionSuggestion.php b/DiscoveryEngine/src/V1/CompletionSuggestion.php index f9d115011f41..9ba28fa1f830 100644 --- a/DiscoveryEngine/src/V1/CompletionSuggestion.php +++ b/DiscoveryEngine/src/V1/CompletionSuggestion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Autocomplete suggestions that are imported from Customer. @@ -71,7 +71,7 @@ class CompletionSuggestion extends \Google\Protobuf\Internal\Message * be used to deduplicate semantically identical suggestions. * @type float $group_score * The score of this suggestion within its group. - * @type array|\Google\Protobuf\Internal\RepeatedField $alternative_phrases + * @type string[] $alternative_phrases * Alternative matching phrases for this suggestion. * } */ @@ -258,7 +258,7 @@ public function setGroupScore($var) * Alternative matching phrases for this suggestion. * * Generated from protobuf field repeated string alternative_phrases = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAlternativePhrases() { @@ -269,7 +269,7 @@ public function getAlternativePhrases() * Alternative matching phrases for this suggestion. * * Generated from protobuf field repeated string alternative_phrases = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAlternativePhrases($var) diff --git a/DiscoveryEngine/src/V1/Condition.php b/DiscoveryEngine/src/V1/Condition.php index eaa0bbae730a..04f7d1dec46c 100644 --- a/DiscoveryEngine/src/V1/Condition.php +++ b/DiscoveryEngine/src/V1/Condition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines circumstances to be checked before allowing a behavior @@ -49,14 +49,14 @@ class Condition extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Condition\QueryTerm>|\Google\Protobuf\Internal\RepeatedField $query_terms + * @type \Google\Cloud\DiscoveryEngine\V1\Condition\QueryTerm[] $query_terms * Search only * A list of terms to match the query on. * Cannot be set when * [Condition.query_regex][google.cloud.discoveryengine.v1.Condition.query_regex] * is set. * Maximum of 10 query terms. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Condition\TimeRange>|\Google\Protobuf\Internal\RepeatedField $active_time_range + * @type \Google\Cloud\DiscoveryEngine\V1\Condition\TimeRange[] $active_time_range * Range of time(s) specifying when condition is active. * Maximum of 10 time ranges. * @type string $query_regex @@ -80,7 +80,7 @@ public function __construct($data = NULL) { * Maximum of 10 query terms. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Condition.QueryTerm query_terms = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Condition\QueryTerm> */ public function getQueryTerms() { @@ -96,7 +96,7 @@ public function getQueryTerms() * Maximum of 10 query terms. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Condition.QueryTerm query_terms = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Condition\QueryTerm>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Condition\QueryTerm[] $var * @return $this */ public function setQueryTerms($var) @@ -112,7 +112,7 @@ public function setQueryTerms($var) * Maximum of 10 time ranges. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Condition.TimeRange active_time_range = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Condition\TimeRange> */ public function getActiveTimeRange() { @@ -124,7 +124,7 @@ public function getActiveTimeRange() * Maximum of 10 time ranges. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Condition.TimeRange active_time_range = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Condition\TimeRange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Condition\TimeRange[] $var * @return $this */ public function setActiveTimeRange($var) diff --git a/DiscoveryEngine/src/V1/Condition/QueryTerm.php b/DiscoveryEngine/src/V1/Condition/QueryTerm.php index 9f24b0dc4f61..9185561f9a43 100644 --- a/DiscoveryEngine/src/V1/Condition/QueryTerm.php +++ b/DiscoveryEngine/src/V1/Condition/QueryTerm.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Condition; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Matcher for search request query @@ -115,4 +115,3 @@ public function setFullMatch($var) } - diff --git a/DiscoveryEngine/src/V1/Condition/TimeRange.php b/DiscoveryEngine/src/V1/Condition/TimeRange.php index bdff1cde4c2e..69c56fd48a0f 100644 --- a/DiscoveryEngine/src/V1/Condition/TimeRange.php +++ b/DiscoveryEngine/src/V1/Condition/TimeRange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Condition; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Used for time-dependent conditions. @@ -131,4 +131,3 @@ public function setEndTime($var) } - diff --git a/DiscoveryEngine/src/V1/Control.php b/DiscoveryEngine/src/V1/Control.php index dd9d5cf9ebab..7c2a6e3029d7 100644 --- a/DiscoveryEngine/src/V1/Control.php +++ b/DiscoveryEngine/src/V1/Control.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a conditioned behavior to employ during serving. @@ -20,7 +20,7 @@ class Control extends \Google\Protobuf\Internal\Message { /** * Immutable. Fully qualified name - * `projects/*/locations/global/dataStore/*/controls/*` + * `projects/{@*}locations/global/dataStore/{@*}controls/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @@ -91,12 +91,12 @@ class Control extends \Google\Protobuf\Internal\Message * Promote certain links based on predefined trigger queries. * @type string $name * Immutable. Fully qualified name - * `projects/*/locations/global/dataStore/*/controls/*` + * `projects/{@*}locations/global/dataStore/{@*}controls/*` * @type string $display_name * Required. Human readable name. The identifier used in UI views. * Must be UTF-8 encoded string. Length limit is 128 characters. * Otherwise an INVALID ARGUMENT error is thrown. - * @type array|\Google\Protobuf\Internal\RepeatedField $associated_serving_config_ids + * @type string[] $associated_serving_config_ids * Output only. List of all * [ServingConfig][google.cloud.discoveryengine.v1.ServingConfig] IDs this * control is attached to. May take up to 10 minutes to update after changes. @@ -104,7 +104,7 @@ class Control extends \Google\Protobuf\Internal\Message * Required. Immutable. What solution the control belongs to. * Must be compatible with vertical of resource. * Otherwise an INVALID ARGUMENT error is thrown. - * @type array|\Google\Protobuf\Internal\RepeatedField $use_cases + * @type int[] $use_cases * Specifies the use case for the control. * Affects what condition fields can be set. * Only applies to @@ -112,7 +112,7 @@ class Control extends \Google\Protobuf\Internal\Message * Currently only allow one use case per control. * Must be set when solution_type is * [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Condition>|\Google\Protobuf\Internal\RepeatedField $conditions + * @type \Google\Cloud\DiscoveryEngine\V1\Condition[] $conditions * Determines when the associated action will trigger. * Omit to always apply the action. * Currently only a single condition may be specified. @@ -283,7 +283,7 @@ public function setPromoteAction($var) /** * Immutable. Fully qualified name - * `projects/*/locations/global/dataStore/*/controls/*` + * `projects/{@*}locations/global/dataStore/{@*}controls/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @return string @@ -295,7 +295,7 @@ public function getName() /** * Immutable. Fully qualified name - * `projects/*/locations/global/dataStore/*/controls/*` + * `projects/{@*}locations/global/dataStore/{@*}controls/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @param string $var @@ -345,7 +345,7 @@ public function setDisplayName($var) * control is attached to. May take up to 10 minutes to update after changes. * * Generated from protobuf field repeated string associated_serving_config_ids = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAssociatedServingConfigIds() { @@ -358,7 +358,7 @@ public function getAssociatedServingConfigIds() * control is attached to. May take up to 10 minutes to update after changes. * * Generated from protobuf field repeated string associated_serving_config_ids = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAssociatedServingConfigIds($var) @@ -409,7 +409,7 @@ public function setSolutionType($var) * [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchUseCase use_cases = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUseCases() { @@ -426,7 +426,7 @@ public function getUseCases() * [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchUseCase use_cases = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setUseCases($var) @@ -444,7 +444,7 @@ public function setUseCases($var) * Otherwise an INVALID ARGUMENT error is thrown. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Condition conditions = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Condition> */ public function getConditions() { @@ -458,7 +458,7 @@ public function getConditions() * Otherwise an INVALID ARGUMENT error is thrown. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Condition conditions = 5; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Condition>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Condition[] $var * @return $this */ public function setConditions($var) diff --git a/DiscoveryEngine/src/V1/Control/BoostAction.php b/DiscoveryEngine/src/V1/Control/BoostAction.php index c0354c4bb077..ae896f7590af 100644 --- a/DiscoveryEngine/src/V1/Control/BoostAction.php +++ b/DiscoveryEngine/src/V1/Control/BoostAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Control; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Adjusts order of products in returned list. @@ -253,4 +253,3 @@ public function getBoostSpec() } - diff --git a/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec.php b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec.php index 646fec0f1e5d..adfe618f2dbf 100644 --- a/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec.php +++ b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Control\BoostAction; 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 @@ -68,7 +68,7 @@ class InterpolationBoostSpec 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\DiscoveryEngine\V1\Control\BoostAction\InterpolationBoostSpec\ControlPoint>|\Google\Protobuf\Internal\RepeatedField $control_points + * @type \Google\Cloud\DiscoveryEngine\V1\Control\BoostAction\InterpolationBoostSpec\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. @@ -175,7 +175,7 @@ public function setInterpolationType($var) * the control points listed here. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Control\BoostAction\InterpolationBoostSpec\ControlPoint> */ public function getControlPoints() { @@ -188,7 +188,7 @@ public function getControlPoints() * the control points listed here. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Control\BoostAction\InterpolationBoostSpec\ControlPoint>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Control\BoostAction\InterpolationBoostSpec\ControlPoint[] $var * @return $this */ public function setControlPoints($var) @@ -201,4 +201,3 @@ public function setControlPoints($var) } - diff --git a/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/AttributeType.php b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/AttributeType.php index bc3ae264e6c9..68205d9b7286 100644 --- a/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/AttributeType.php +++ b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/AttributeType.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/ControlPoint.php b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/ControlPoint.php index 8cfd826b726d..c4095a5cdd78 100644 --- a/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/ControlPoint.php +++ b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/ControlPoint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Control\BoostAction\InterpolationBoostSpec; 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/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/InterpolationType.php b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/InterpolationType.php index b553cc407ce3..846c6ae29006 100644 --- a/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/InterpolationType.php +++ b/DiscoveryEngine/src/V1/Control/BoostAction/InterpolationBoostSpec/InterpolationType.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Control/FilterAction.php b/DiscoveryEngine/src/V1/Control/FilterAction.php index ec03e754cc07..42405f474b19 100644 --- a/DiscoveryEngine/src/V1/Control/FilterAction.php +++ b/DiscoveryEngine/src/V1/Control/FilterAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Control; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specified which products may be included in results. @@ -128,4 +128,3 @@ public function setDataStore($var) } - diff --git a/DiscoveryEngine/src/V1/Control/PromoteAction.php b/DiscoveryEngine/src/V1/Control/PromoteAction.php index e490004daf6d..272b032b80ac 100644 --- a/DiscoveryEngine/src/V1/Control/PromoteAction.php +++ b/DiscoveryEngine/src/V1/Control/PromoteAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Control; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Promote certain links based on some trigger queries. @@ -111,4 +111,3 @@ public function setSearchLinkPromotion($var) } - diff --git a/DiscoveryEngine/src/V1/Control/RedirectAction.php b/DiscoveryEngine/src/V1/Control/RedirectAction.php index 3b4116479b05..977b77951e54 100644 --- a/DiscoveryEngine/src/V1/Control/RedirectAction.php +++ b/DiscoveryEngine/src/V1/Control/RedirectAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Control; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Redirects a shopper to the provided URI. @@ -77,4 +77,3 @@ public function setRedirectUri($var) } - diff --git a/DiscoveryEngine/src/V1/Control/SynonymsAction.php b/DiscoveryEngine/src/V1/Control/SynonymsAction.php index 67c9674745da..d5b17a1721cc 100644 --- a/DiscoveryEngine/src/V1/Control/SynonymsAction.php +++ b/DiscoveryEngine/src/V1/Control/SynonymsAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Control; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Creates a set of terms that will act as synonyms of one another. @@ -33,7 +33,7 @@ class SynonymsAction extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $synonyms + * @type string[] $synonyms * Defines a set of synonyms. * Can specify up to 100 synonyms. * Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * thrown. * * Generated from protobuf field repeated string synonyms = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSynonyms() { @@ -66,7 +66,7 @@ public function getSynonyms() * thrown. * * Generated from protobuf field repeated string synonyms = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSynonyms($var) @@ -79,4 +79,3 @@ public function setSynonyms($var) } - diff --git a/DiscoveryEngine/src/V1/Conversation.php b/DiscoveryEngine/src/V1/Conversation.php index 2a217e603795..6b34c0bf240f 100644 --- a/DiscoveryEngine/src/V1/Conversation.php +++ b/DiscoveryEngine/src/V1/Conversation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * External conversation proto definition. @@ -17,9 +17,9 @@ class Conversation extends \Google\Protobuf\Internal\Message { /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` + * `projects/{project}/locations/global/collections/{collection}/dataStore/{@*}conversations/*` * or - * `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`. + * `projects/{project}/locations/global/collections/{collection}/engines/{@*}conversations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @@ -63,14 +63,14 @@ class Conversation extends \Google\Protobuf\Internal\Message * * @type string $name * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` + * `projects/{project}/locations/global/collections/{collection}/dataStore/{@*}conversations/*` * or - * `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`. + * `projects/{project}/locations/global/collections/{collection}/engines/{@*}conversations/*`. * @type int $state * The state of the Conversation. * @type string $user_pseudo_id * A unique identifier for tracking users. - * @type array<\Google\Cloud\DiscoveryEngine\V1\ConversationMessage>|\Google\Protobuf\Internal\RepeatedField $messages + * @type \Google\Cloud\DiscoveryEngine\V1\ConversationMessage[] $messages * Conversation messages. * @type \Google\Protobuf\Timestamp $start_time * Output only. The time the conversation started. @@ -85,9 +85,9 @@ public function __construct($data = NULL) { /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` + * `projects/{project}/locations/global/collections/{collection}/dataStore/{@*}conversations/*` * or - * `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`. + * `projects/{project}/locations/global/collections/{collection}/engines/{@*}conversations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @return string @@ -99,9 +99,9 @@ public function getName() /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*` + * `projects/{project}/locations/global/collections/{collection}/dataStore/{@*}conversations/*` * or - * `projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`. + * `projects/{project}/locations/global/collections/{collection}/engines/{@*}conversations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @param string $var @@ -171,7 +171,7 @@ public function setUserPseudoId($var) * Conversation messages. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.ConversationMessage messages = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\ConversationMessage> */ public function getMessages() { @@ -182,7 +182,7 @@ public function getMessages() * Conversation messages. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.ConversationMessage messages = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\ConversationMessage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\ConversationMessage[] $var * @return $this */ public function setMessages($var) diff --git a/DiscoveryEngine/src/V1/Conversation/State.php b/DiscoveryEngine/src/V1/Conversation/State.php index 46d0b8350d23..1cba4008d70b 100644 --- a/DiscoveryEngine/src/V1/Conversation/State.php +++ b/DiscoveryEngine/src/V1/Conversation/State.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/ConversationContext.php b/DiscoveryEngine/src/V1/ConversationContext.php index cb6b4a072570..56f5e82014bc 100644 --- a/DiscoveryEngine/src/V1/ConversationContext.php +++ b/DiscoveryEngine/src/V1/ConversationContext.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines context of the conversation @@ -36,7 +36,7 @@ class ConversationContext extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $context_documents + * @type string[] $context_documents * The current list of documents the user is seeing. * It contains the document resource references. * @type string $active_document @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * It contains the document resource references. * * Generated from protobuf field repeated string context_documents = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContextDocuments() { @@ -66,7 +66,7 @@ public function getContextDocuments() * It contains the document resource references. * * Generated from protobuf field repeated string context_documents = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setContextDocuments($var) diff --git a/DiscoveryEngine/src/V1/ConversationMessage.php b/DiscoveryEngine/src/V1/ConversationMessage.php index 5e267d526b0c..89831b6e7924 100644 --- a/DiscoveryEngine/src/V1/ConversationMessage.php +++ b/DiscoveryEngine/src/V1/ConversationMessage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a conversation message. diff --git a/DiscoveryEngine/src/V1/ConverseConversationRequest.php b/DiscoveryEngine/src/V1/ConverseConversationRequest.php index 46ba1bb88e60..1b0c0a8d7c8e 100644 --- a/DiscoveryEngine/src/V1/ConverseConversationRequest.php +++ b/DiscoveryEngine/src/V1/ConverseConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ConverseConversationResponse.php b/DiscoveryEngine/src/V1/ConverseConversationResponse.php index 446ceb060277..e96d8a175042 100644 --- a/DiscoveryEngine/src/V1/ConverseConversationResponse.php +++ b/DiscoveryEngine/src/V1/ConverseConversationResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -46,7 +46,7 @@ class ConverseConversationResponse extends \Google\Protobuf\Internal\Message * Answer to the current query. * @type \Google\Cloud\DiscoveryEngine\V1\Conversation $conversation * Updated conversation including the answer. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult>|\Google\Protobuf\Internal\RepeatedField $search_results + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult[] $search_results * Search Results. * } */ @@ -131,7 +131,7 @@ public function setConversation($var) * Search Results. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult> */ public function getSearchResults() { @@ -142,7 +142,7 @@ public function getSearchResults() * Search Results. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult[] $var * @return $this */ public function setSearchResults($var) diff --git a/DiscoveryEngine/src/V1/CreateControlRequest.php b/DiscoveryEngine/src/V1/CreateControlRequest.php index 723fe141d957..bd88430aa1ff 100644 --- a/DiscoveryEngine/src/V1/CreateControlRequest.php +++ b/DiscoveryEngine/src/V1/CreateControlRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for CreateControl method. diff --git a/DiscoveryEngine/src/V1/CreateConversationRequest.php b/DiscoveryEngine/src/V1/CreateConversationRequest.php index 541c714940dd..55c05abf4131 100644 --- a/DiscoveryEngine/src/V1/CreateConversationRequest.php +++ b/DiscoveryEngine/src/V1/CreateConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for CreateConversation method. diff --git a/DiscoveryEngine/src/V1/CreateDataStoreMetadata.php b/DiscoveryEngine/src/V1/CreateDataStoreMetadata.php index ef443c9371ce..58b132e10cf4 100644 --- a/DiscoveryEngine/src/V1/CreateDataStoreMetadata.php +++ b/DiscoveryEngine/src/V1/CreateDataStoreMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/CreateDataStoreRequest.php b/DiscoveryEngine/src/V1/CreateDataStoreRequest.php index 343742b398b1..49fcb46eaa36 100644 --- a/DiscoveryEngine/src/V1/CreateDataStoreRequest.php +++ b/DiscoveryEngine/src/V1/CreateDataStoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for diff --git a/DiscoveryEngine/src/V1/CreateDocumentRequest.php b/DiscoveryEngine/src/V1/CreateDocumentRequest.php index f38ca27d7b89..902eb1b85fc1 100644 --- a/DiscoveryEngine/src/V1/CreateDocumentRequest.php +++ b/DiscoveryEngine/src/V1/CreateDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/CreateEngineMetadata.php b/DiscoveryEngine/src/V1/CreateEngineMetadata.php index 5b1cd7a7230d..e1ba90b12805 100644 --- a/DiscoveryEngine/src/V1/CreateEngineMetadata.php +++ b/DiscoveryEngine/src/V1/CreateEngineMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/CreateEngineRequest.php b/DiscoveryEngine/src/V1/CreateEngineRequest.php index 8c127570d234..35eb7c9c401f 100644 --- a/DiscoveryEngine/src/V1/CreateEngineRequest.php +++ b/DiscoveryEngine/src/V1/CreateEngineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for diff --git a/DiscoveryEngine/src/V1/CreateIdentityMappingStoreRequest.php b/DiscoveryEngine/src/V1/CreateIdentityMappingStoreRequest.php index 7cc4250c4537..75a907b5c783 100644 --- a/DiscoveryEngine/src/V1/CreateIdentityMappingStoreRequest.php +++ b/DiscoveryEngine/src/V1/CreateIdentityMappingStoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/CreateSchemaMetadata.php b/DiscoveryEngine/src/V1/CreateSchemaMetadata.php index 9372aa713f66..59982194b0c2 100644 --- a/DiscoveryEngine/src/V1/CreateSchemaMetadata.php +++ b/DiscoveryEngine/src/V1/CreateSchemaMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for Create Schema LRO. diff --git a/DiscoveryEngine/src/V1/CreateSchemaRequest.php b/DiscoveryEngine/src/V1/CreateSchemaRequest.php index 75b11e40f16a..6eb58035ed00 100644 --- a/DiscoveryEngine/src/V1/CreateSchemaRequest.php +++ b/DiscoveryEngine/src/V1/CreateSchemaRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/CreateSessionRequest.php b/DiscoveryEngine/src/V1/CreateSessionRequest.php index 297971632e1f..6a642be86043 100644 --- a/DiscoveryEngine/src/V1/CreateSessionRequest.php +++ b/DiscoveryEngine/src/V1/CreateSessionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for CreateSession method. diff --git a/DiscoveryEngine/src/V1/CreateSitemapMetadata.php b/DiscoveryEngine/src/V1/CreateSitemapMetadata.php index f175d2fd90d5..5a1f379934f3 100644 --- a/DiscoveryEngine/src/V1/CreateSitemapMetadata.php +++ b/DiscoveryEngine/src/V1/CreateSitemapMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/CreateSitemapRequest.php b/DiscoveryEngine/src/V1/CreateSitemapRequest.php index 77edd71bb28b..5adc19797d82 100644 --- a/DiscoveryEngine/src/V1/CreateSitemapRequest.php +++ b/DiscoveryEngine/src/V1/CreateSitemapRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -20,7 +20,7 @@ class CreateSitemapRequest extends \Google\Protobuf\Internal\Message /** * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -59,7 +59,7 @@ public static function build(string $parent, \Google\Cloud\DiscoveryEngine\V1\Si * @type string $parent * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * @type \Google\Cloud\DiscoveryEngine\V1\Sitemap $sitemap * Required. The [Sitemap][google.cloud.discoveryengine.v1.Sitemap] to create. * } @@ -72,7 +72,7 @@ public function __construct($data = NULL) { /** * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -85,7 +85,7 @@ public function getParent() /** * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/DiscoveryEngine/src/V1/CreateTargetSiteMetadata.php b/DiscoveryEngine/src/V1/CreateTargetSiteMetadata.php index 525d55019b87..d62d5d340233 100644 --- a/DiscoveryEngine/src/V1/CreateTargetSiteMetadata.php +++ b/DiscoveryEngine/src/V1/CreateTargetSiteMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/CreateTargetSiteRequest.php b/DiscoveryEngine/src/V1/CreateTargetSiteRequest.php index 04de7aeffd32..3efd200c04a9 100644 --- a/DiscoveryEngine/src/V1/CreateTargetSiteRequest.php +++ b/DiscoveryEngine/src/V1/CreateTargetSiteRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/CustomAttribute.php b/DiscoveryEngine/src/V1/CustomAttribute.php index 96ea2b044491..1856ff085448 100644 --- a/DiscoveryEngine/src/V1/CustomAttribute.php +++ b/DiscoveryEngine/src/V1/CustomAttribute.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A custom attribute that is not explicitly modeled in a resource, e.g. @@ -49,7 +49,7 @@ class CustomAttribute extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $text + * @type string[] $text * The textual values of this custom attribute. For example, `["yellow", * "green"]` when the key is "color". * Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is @@ -59,7 +59,7 @@ class CustomAttribute extends \Google\Protobuf\Internal\Message * or * [CustomAttribute.numbers][google.cloud.discoveryengine.v1.CustomAttribute.numbers] * should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. - * @type array|\Google\Protobuf\Internal\RepeatedField $numbers + * @type float[] $numbers * The numerical values of this custom attribute. For example, `[2.3, 15.4]` * when the key is "lengths_cm". * Exactly one of @@ -86,7 +86,7 @@ public function __construct($data = NULL) { * should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. * * Generated from protobuf field repeated string text = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getText() { @@ -105,7 +105,7 @@ public function getText() * should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. * * Generated from protobuf field repeated string text = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setText($var) @@ -126,7 +126,7 @@ public function setText($var) * should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. * * Generated from protobuf field repeated double numbers = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNumbers() { @@ -143,7 +143,7 @@ public function getNumbers() * should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. * * Generated from protobuf field repeated double numbers = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param float[] $var * @return $this */ public function setNumbers($var) diff --git a/DiscoveryEngine/src/V1/CustomTuningModel.php b/DiscoveryEngine/src/V1/CustomTuningModel.php index 1843fc35ee31..75ae3c0a0433 100644 --- a/DiscoveryEngine/src/V1/CustomTuningModel.php +++ b/DiscoveryEngine/src/V1/CustomTuningModel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata that describes a custom tuned model. diff --git a/DiscoveryEngine/src/V1/CustomTuningModel/ModelState.php b/DiscoveryEngine/src/V1/CustomTuningModel/ModelState.php index 663d3879a80c..1fefd929a5f8 100644 --- a/DiscoveryEngine/src/V1/CustomTuningModel/ModelState.php +++ b/DiscoveryEngine/src/V1/CustomTuningModel/ModelState.php @@ -94,4 +94,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/DataStore.php b/DiscoveryEngine/src/V1/DataStore.php index c5b1fce54759..c4d00f711912 100644 --- a/DiscoveryEngine/src/V1/DataStore.php +++ b/DiscoveryEngine/src/V1/DataStore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DataStore captures global settings and configs at the DataStore level. @@ -198,7 +198,7 @@ class DataStore extends \Google\Protobuf\Internal\Message * characters. Otherwise, an INVALID_ARGUMENT error is returned. * @type int $industry_vertical * Immutable. The industry vertical that the data store registers. - * @type array|\Google\Protobuf\Internal\RepeatedField $solution_types + * @type int[] $solution_types * The solutions that the data store enrolls. Available solutions for each * [industry_vertical][google.cloud.discoveryengine.v1.DataStore.industry_vertical]: * * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. @@ -383,7 +383,7 @@ public function setIndustryVertical($var) * solutions cannot be enrolled. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SolutionType solution_types = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSolutionTypes() { @@ -398,7 +398,7 @@ public function getSolutionTypes() * solutions cannot be enrolled. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SolutionType solution_types = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSolutionTypes($var) diff --git a/DiscoveryEngine/src/V1/DataStore/BillingEstimation.php b/DiscoveryEngine/src/V1/DataStore/BillingEstimation.php index 1442b27407a8..054fd9376120 100644 --- a/DiscoveryEngine/src/V1/DataStore/BillingEstimation.php +++ b/DiscoveryEngine/src/V1/DataStore/BillingEstimation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\DataStore; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Estimation of data size per data store. @@ -265,4 +265,3 @@ public function setWebsiteDataUpdateTime($var) } - diff --git a/DiscoveryEngine/src/V1/DataStore/ContentConfig.php b/DiscoveryEngine/src/V1/DataStore/ContentConfig.php index 0adade69e8df..5282ab3f475c 100644 --- a/DiscoveryEngine/src/V1/DataStore/ContentConfig.php +++ b/DiscoveryEngine/src/V1/DataStore/ContentConfig.php @@ -77,4 +77,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/DeleteCmekConfigMetadata.php b/DiscoveryEngine/src/V1/DeleteCmekConfigMetadata.php index 5a485d08d4d5..3310b0ba155d 100644 --- a/DiscoveryEngine/src/V1/DeleteCmekConfigMetadata.php +++ b/DiscoveryEngine/src/V1/DeleteCmekConfigMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/DeleteCmekConfigRequest.php b/DiscoveryEngine/src/V1/DeleteCmekConfigRequest.php index ad339602f76a..dde993862c46 100644 --- a/DiscoveryEngine/src/V1/DeleteCmekConfigRequest.php +++ b/DiscoveryEngine/src/V1/DeleteCmekConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DeleteControlRequest.php b/DiscoveryEngine/src/V1/DeleteControlRequest.php index b0f69214b856..ebbb0af3540c 100644 --- a/DiscoveryEngine/src/V1/DeleteControlRequest.php +++ b/DiscoveryEngine/src/V1/DeleteControlRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for DeleteControl method. diff --git a/DiscoveryEngine/src/V1/DeleteConversationRequest.php b/DiscoveryEngine/src/V1/DeleteConversationRequest.php index 0407ba5aac86..dcbc3d85e319 100644 --- a/DiscoveryEngine/src/V1/DeleteConversationRequest.php +++ b/DiscoveryEngine/src/V1/DeleteConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for DeleteConversation method. diff --git a/DiscoveryEngine/src/V1/DeleteDataStoreMetadata.php b/DiscoveryEngine/src/V1/DeleteDataStoreMetadata.php index 5cf020e100a6..a238a47fa24a 100644 --- a/DiscoveryEngine/src/V1/DeleteDataStoreMetadata.php +++ b/DiscoveryEngine/src/V1/DeleteDataStoreMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/DeleteDataStoreRequest.php b/DiscoveryEngine/src/V1/DeleteDataStoreRequest.php index f24440ef26a9..b4aead1164e4 100644 --- a/DiscoveryEngine/src/V1/DeleteDataStoreRequest.php +++ b/DiscoveryEngine/src/V1/DeleteDataStoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DeleteDocumentRequest.php b/DiscoveryEngine/src/V1/DeleteDocumentRequest.php index dceaa5af0bdb..4e25e2bed94c 100644 --- a/DiscoveryEngine/src/V1/DeleteDocumentRequest.php +++ b/DiscoveryEngine/src/V1/DeleteDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DeleteEngineMetadata.php b/DiscoveryEngine/src/V1/DeleteEngineMetadata.php index 933420c0aa82..bb0ed8fd5e5a 100644 --- a/DiscoveryEngine/src/V1/DeleteEngineMetadata.php +++ b/DiscoveryEngine/src/V1/DeleteEngineMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/DeleteEngineRequest.php b/DiscoveryEngine/src/V1/DeleteEngineRequest.php index ea7354f007bb..391d4a190644 100644 --- a/DiscoveryEngine/src/V1/DeleteEngineRequest.php +++ b/DiscoveryEngine/src/V1/DeleteEngineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreMetadata.php b/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreMetadata.php index 8b50b880fe74..33c54af8d32e 100644 --- a/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreMetadata.php +++ b/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreRequest.php b/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreRequest.php index 9c97cf343488..b6ce8bd63262 100644 --- a/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreRequest.php +++ b/DiscoveryEngine/src/V1/DeleteIdentityMappingStoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DeleteSchemaMetadata.php b/DiscoveryEngine/src/V1/DeleteSchemaMetadata.php index b333f2a7e673..aaba8bb471a9 100644 --- a/DiscoveryEngine/src/V1/DeleteSchemaMetadata.php +++ b/DiscoveryEngine/src/V1/DeleteSchemaMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for DeleteSchema LRO. diff --git a/DiscoveryEngine/src/V1/DeleteSchemaRequest.php b/DiscoveryEngine/src/V1/DeleteSchemaRequest.php index bdfd90bd77c2..c1f25741150e 100644 --- a/DiscoveryEngine/src/V1/DeleteSchemaRequest.php +++ b/DiscoveryEngine/src/V1/DeleteSchemaRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DeleteSessionRequest.php b/DiscoveryEngine/src/V1/DeleteSessionRequest.php index 9cdb049a1385..307d242a56a0 100644 --- a/DiscoveryEngine/src/V1/DeleteSessionRequest.php +++ b/DiscoveryEngine/src/V1/DeleteSessionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for DeleteSession method. diff --git a/DiscoveryEngine/src/V1/DeleteSitemapMetadata.php b/DiscoveryEngine/src/V1/DeleteSitemapMetadata.php index 411b45ed99aa..279766b59b40 100644 --- a/DiscoveryEngine/src/V1/DeleteSitemapMetadata.php +++ b/DiscoveryEngine/src/V1/DeleteSitemapMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/DeleteSitemapRequest.php b/DiscoveryEngine/src/V1/DeleteSitemapRequest.php index 229bd9c3350d..f94d5cc77cfb 100644 --- a/DiscoveryEngine/src/V1/DeleteSitemapRequest.php +++ b/DiscoveryEngine/src/V1/DeleteSitemapRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DeleteTargetSiteMetadata.php b/DiscoveryEngine/src/V1/DeleteTargetSiteMetadata.php index 174c67ef4cad..82be58f8a3fb 100644 --- a/DiscoveryEngine/src/V1/DeleteTargetSiteMetadata.php +++ b/DiscoveryEngine/src/V1/DeleteTargetSiteMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/DeleteTargetSiteRequest.php b/DiscoveryEngine/src/V1/DeleteTargetSiteRequest.php index 6d1fc245a982..a32758acae45 100644 --- a/DiscoveryEngine/src/V1/DeleteTargetSiteRequest.php +++ b/DiscoveryEngine/src/V1/DeleteTargetSiteRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchMetadata.php b/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchMetadata.php index a0e1eb9743d1..35b2b109750b 100644 --- a/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchMetadata.php +++ b/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchRequest.php b/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchRequest.php index b64abb3c1e7a..d2ecfb15cb7e 100644 --- a/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchRequest.php +++ b/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchResponse.php b/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchResponse.php index b1c837f4d135..1fc2606c0c93 100644 --- a/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchResponse.php +++ b/DiscoveryEngine/src/V1/DisableAdvancedSiteSearchResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/Document.php b/DiscoveryEngine/src/V1/Document.php index d3ebe5121da7..359c8895ccce 100644 --- a/DiscoveryEngine/src/V1/Document.php +++ b/DiscoveryEngine/src/V1/Document.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document captures all raw metadata information of items to be recommended or diff --git a/DiscoveryEngine/src/V1/Document/AclInfo.php b/DiscoveryEngine/src/V1/Document/AclInfo.php index d5704f5e17b5..befa89af7c58 100644 --- a/DiscoveryEngine/src/V1/Document/AclInfo.php +++ b/DiscoveryEngine/src/V1/Document/AclInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ACL Information of the Document. @@ -28,7 +28,7 @@ class AclInfo extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Document\AclInfo\AccessRestriction>|\Google\Protobuf\Internal\RepeatedField $readers + * @type \Google\Cloud\DiscoveryEngine\V1\Document\AclInfo\AccessRestriction[] $readers * Readers of the document. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Readers of the document. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Document.AclInfo.AccessRestriction readers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Document\AclInfo\AccessRestriction> */ public function getReaders() { @@ -52,7 +52,7 @@ public function getReaders() * Readers of the document. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Document.AclInfo.AccessRestriction readers = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Document\AclInfo\AccessRestriction>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Document\AclInfo\AccessRestriction[] $var * @return $this */ public function setReaders($var) @@ -65,4 +65,3 @@ public function setReaders($var) } - diff --git a/DiscoveryEngine/src/V1/Document/AclInfo/AccessRestriction.php b/DiscoveryEngine/src/V1/Document/AclInfo/AccessRestriction.php index b5d93d0bef7a..cb58fd4b98b7 100644 --- a/DiscoveryEngine/src/V1/Document/AclInfo/AccessRestriction.php +++ b/DiscoveryEngine/src/V1/Document/AclInfo/AccessRestriction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Document\AclInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AclRestriction to model complex inheritance restrictions. @@ -87,7 +87,7 @@ class AccessRestriction extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Principal>|\Google\Protobuf\Internal\RepeatedField $principals + * @type \Google\Cloud\DiscoveryEngine\V1\Principal[] $principals * List of principals. * @type bool $idp_wide * All users within the Identity Provider. @@ -102,7 +102,7 @@ public function __construct($data = NULL) { * List of principals. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Principal principals = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Principal> */ public function getPrincipals() { @@ -113,7 +113,7 @@ public function getPrincipals() * List of principals. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Principal principals = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Principal>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Principal[] $var * @return $this */ public function setPrincipals($var) @@ -152,4 +152,3 @@ public function setIdpWide($var) } - diff --git a/DiscoveryEngine/src/V1/Document/Content.php b/DiscoveryEngine/src/V1/Document/Content.php index ec19352924c9..46bfb0118311 100644 --- a/DiscoveryEngine/src/V1/Document/Content.php +++ b/DiscoveryEngine/src/V1/Document/Content.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Unstructured data linked to this document. @@ -52,7 +52,7 @@ class Content extends \Google\Protobuf\Internal\Message * 1,000,000 bytes (1 MB / ~0.95 MiB). * Note: As with all `bytes` fields, this field is represented as pure * binary in Protocol Buffers and base64-encoded string in JSON. For - * example, `abc123!?$*&()'-=@~` should be represented as + * example, `abc123!?$*&()'-=\@~` should be represented as * `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See * https://developers.google.com/protocol-buffers/docs/proto3#json. * @type string $uri @@ -91,7 +91,7 @@ public function __construct($data = NULL) { * 1,000,000 bytes (1 MB / ~0.95 MiB). * Note: As with all `bytes` fields, this field is represented as pure * binary in Protocol Buffers and base64-encoded string in JSON. For - * example, `abc123!?$*&()'-=@~` should be represented as + * example, `abc123!?$*&()'-=\@~` should be represented as * `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See * https://developers.google.com/protocol-buffers/docs/proto3#json. * @@ -113,7 +113,7 @@ public function hasRawBytes() * 1,000,000 bytes (1 MB / ~0.95 MiB). * Note: As with all `bytes` fields, this field is represented as pure * binary in Protocol Buffers and base64-encoded string in JSON. For - * example, `abc123!?$*&()'-=@~` should be represented as + * example, `abc123!?$*&()'-=\@~` should be represented as * `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See * https://developers.google.com/protocol-buffers/docs/proto3#json. * @@ -236,4 +236,3 @@ public function getContent() } - diff --git a/DiscoveryEngine/src/V1/Document/IndexStatus.php b/DiscoveryEngine/src/V1/Document/IndexStatus.php index 80c24c4015d8..e9d2e1ceed58 100644 --- a/DiscoveryEngine/src/V1/Document/IndexStatus.php +++ b/DiscoveryEngine/src/V1/Document/IndexStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Index status of the document. @@ -46,7 +46,7 @@ class IndexStatus extends \Google\Protobuf\Internal\Message * @type \Google\Protobuf\Timestamp $index_time * The time when the document was indexed. * If this field is populated, it means the document has been indexed. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while indexing the document. * If this field is populated, the document is not indexed due to errors. * @type string $pending_message @@ -102,7 +102,7 @@ public function setIndexTime($var) * If this field is populated, the document is not indexed due to errors. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -114,7 +114,7 @@ public function getErrorSamples() * If this field is populated, the document is not indexed due to errors. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) @@ -155,4 +155,3 @@ public function setPendingMessage($var) } - diff --git a/DiscoveryEngine/src/V1/DocumentInfo.php b/DiscoveryEngine/src/V1/DocumentInfo.php index 51efcd1e368d..7c468e19adde 100644 --- a/DiscoveryEngine/src/V1/DocumentInfo.php +++ b/DiscoveryEngine/src/V1/DocumentInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detailed document information associated with a user event. @@ -75,7 +75,7 @@ class DocumentInfo extends \Google\Protobuf\Internal\Message * Required for events of the following event types: * * `add-to-cart` * * `purchase` - * @type array|\Google\Protobuf\Internal\RepeatedField $promotion_ids + * @type string[] $promotion_ids * The promotion IDs associated with this Document. * Currently, this field is restricted to at most one ID. * @type bool $joined @@ -245,7 +245,7 @@ public function setQuantity($var) * Currently, this field is restricted to at most one ID. * * Generated from protobuf field repeated string promotion_ids = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPromotionIds() { @@ -257,7 +257,7 @@ public function getPromotionIds() * Currently, this field is restricted to at most one ID. * * Generated from protobuf field repeated string promotion_ids = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPromotionIds($var) diff --git a/DiscoveryEngine/src/V1/DocumentProcessingConfig.php b/DiscoveryEngine/src/V1/DocumentProcessingConfig.php index 1fa538c15c1d..0b5e5874d7d0 100644 --- a/DiscoveryEngine/src/V1/DocumentProcessingConfig.php +++ b/DiscoveryEngine/src/V1/DocumentProcessingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A singleton resource of @@ -23,7 +23,7 @@ class DocumentProcessingConfig extends \Google\Protobuf\Internal\Message /** * The full resource name of the Document Processing Config. * Format: - * `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}documentProcessingConfig`. * * Generated from protobuf field string name = 1; */ @@ -72,7 +72,7 @@ class DocumentProcessingConfig extends \Google\Protobuf\Internal\Message * @type string $name * The full resource name of the Document Processing Config. * Format: - * `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}documentProcessingConfig`. * @type \Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig\ChunkingConfig $chunking_config * Whether chunking mode is enabled. * @type \Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig\ParsingConfig $default_parsing_config @@ -105,7 +105,7 @@ public function __construct($data = NULL) { /** * The full resource name of the Document Processing Config. * Format: - * `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}documentProcessingConfig`. * * Generated from protobuf field string name = 1; * @return string @@ -118,7 +118,7 @@ public function getName() /** * The full resource name of the Document Processing Config. * Format: - * `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}documentProcessingConfig`. * * Generated from protobuf field string name = 1; * @param string $var diff --git a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig.php b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig.php index 773694e589e1..4e5f44009303 100644 --- a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig.php +++ b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for chunking config. @@ -73,4 +73,3 @@ public function getChunkMode() } - diff --git a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig/LayoutBasedChunkingConfig.php b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig/LayoutBasedChunkingConfig.php index 7e2676fac663..9ed3f8d0486f 100644 --- a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig/LayoutBasedChunkingConfig.php +++ b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ChunkingConfig/LayoutBasedChunkingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig\ChunkingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for the layout based chunking. @@ -115,4 +115,3 @@ public function setIncludeAncestorHeadings($var) } - diff --git a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig.php b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig.php index c6103aecf692..fd6fea12c8f3 100644 --- a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig.php +++ b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Related configurations applied to a specific type of document parser. @@ -142,4 +142,3 @@ public function getTypeDedicatedConfig() } - diff --git a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/DigitalParsingConfig.php b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/DigitalParsingConfig.php index 2678652787cc..97f444881ae9 100644 --- a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/DigitalParsingConfig.php +++ b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/DigitalParsingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig\ParsingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The digital parsing configurations for documents. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/LayoutParsingConfig.php b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/LayoutParsingConfig.php index 3d15171338f6..185b87c04b9b 100644 --- a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/LayoutParsingConfig.php +++ b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/LayoutParsingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig\ParsingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The layout parsing configurations for documents. @@ -68,15 +68,15 @@ class LayoutParsingConfig extends \Google\Protobuf\Internal\Message * @type bool $enable_image_annotation * Optional. If true, the LLM based annotation is added to the image * during parsing. - * @type array|\Google\Protobuf\Internal\RepeatedField $structured_content_types + * @type string[] $structured_content_types * Optional. Contains the required structure types to extract from the * document. Supported values: * * `shareholder-structure` - * @type array|\Google\Protobuf\Internal\RepeatedField $exclude_html_elements + * @type string[] $exclude_html_elements * Optional. List of HTML elements to exclude from the parsed content. - * @type array|\Google\Protobuf\Internal\RepeatedField $exclude_html_classes + * @type string[] $exclude_html_classes * Optional. List of HTML classes to exclude from the parsed content. - * @type array|\Google\Protobuf\Internal\RepeatedField $exclude_html_ids + * @type string[] $exclude_html_ids * Optional. List of HTML ids to exclude from the parsed content. * } */ @@ -147,7 +147,7 @@ public function setEnableImageAnnotation($var) * * `shareholder-structure` * * Generated from protobuf field repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getStructuredContentTypes() { @@ -160,7 +160,7 @@ public function getStructuredContentTypes() * * `shareholder-structure` * * Generated from protobuf field repeated string structured_content_types = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setStructuredContentTypes($var) @@ -175,7 +175,7 @@ public function setStructuredContentTypes($var) * Optional. List of HTML elements to exclude from the parsed content. * * Generated from protobuf field repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExcludeHtmlElements() { @@ -186,7 +186,7 @@ public function getExcludeHtmlElements() * Optional. List of HTML elements to exclude from the parsed content. * * Generated from protobuf field repeated string exclude_html_elements = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExcludeHtmlElements($var) @@ -201,7 +201,7 @@ public function setExcludeHtmlElements($var) * Optional. List of HTML classes to exclude from the parsed content. * * Generated from protobuf field repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExcludeHtmlClasses() { @@ -212,7 +212,7 @@ public function getExcludeHtmlClasses() * Optional. List of HTML classes to exclude from the parsed content. * * Generated from protobuf field repeated string exclude_html_classes = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExcludeHtmlClasses($var) @@ -227,7 +227,7 @@ public function setExcludeHtmlClasses($var) * Optional. List of HTML ids to exclude from the parsed content. * * Generated from protobuf field repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExcludeHtmlIds() { @@ -238,7 +238,7 @@ public function getExcludeHtmlIds() * Optional. List of HTML ids to exclude from the parsed content. * * Generated from protobuf field repeated string exclude_html_ids = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExcludeHtmlIds($var) @@ -251,4 +251,3 @@ public function setExcludeHtmlIds($var) } - diff --git a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/OcrParsingConfig.php b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/OcrParsingConfig.php index 1381a4fdf635..0098cd274f8c 100644 --- a/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/OcrParsingConfig.php +++ b/DiscoveryEngine/src/V1/DocumentProcessingConfig/ParsingConfig/OcrParsingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\DocumentProcessingConfig\ParsingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The OCR parsing configurations for documents. @@ -37,7 +37,7 @@ class OcrParsingConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $enhanced_document_elements + * @type string[] $enhanced_document_elements * [DEPRECATED] This field is deprecated. To use the additional enhanced * document elements processing, please switch to `layout_parsing_config`. * @type bool $use_native_text @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * document elements processing, please switch to `layout_parsing_config`. * * Generated from protobuf field repeated string enhanced_document_elements = 1 [deprecated = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField * @deprecated */ public function getEnhancedDocumentElements() @@ -71,7 +71,7 @@ public function getEnhancedDocumentElements() * document elements processing, please switch to `layout_parsing_config`. * * Generated from protobuf field repeated string enhanced_document_elements = 1 [deprecated = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this * @deprecated */ @@ -116,4 +116,3 @@ public function setUseNativeText($var) } - diff --git a/DiscoveryEngine/src/V1/DoubleList.php b/DiscoveryEngine/src/V1/DoubleList.php index 39a2d244fbf2..1f31e2d1b984 100644 --- a/DiscoveryEngine/src/V1/DoubleList.php +++ b/DiscoveryEngine/src/V1/DoubleList.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Double list. @@ -28,7 +28,7 @@ class DoubleList extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $values + * @type float[] $values * Double values. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Double values. * * Generated from protobuf field repeated double values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getValues() { @@ -52,7 +52,7 @@ public function getValues() * Double values. * * Generated from protobuf field repeated double values = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param float[] $var * @return $this */ public function setValues($var) diff --git a/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchMetadata.php b/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchMetadata.php index e5d8ff52f3fb..0ac3ef6ab8fc 100644 --- a/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchMetadata.php +++ b/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchRequest.php b/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchRequest.php index 06bfbe5c8e80..7deef14d939a 100644 --- a/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchRequest.php +++ b/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchResponse.php b/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchResponse.php index 331ea11a3eb4..01e053b22247 100644 --- a/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchResponse.php +++ b/DiscoveryEngine/src/V1/EnableAdvancedSiteSearchResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/Engine.php b/DiscoveryEngine/src/V1/Engine.php index 2b6384ffe974..15656c0fa465 100644 --- a/DiscoveryEngine/src/V1/Engine.php +++ b/DiscoveryEngine/src/V1/Engine.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata that describes the training and serving parameters of an @@ -23,7 +23,7 @@ class Engine extends \Google\Protobuf\Internal\Message * Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are - * /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned. + * /[a-z0-9][a-z0-9-_]{@*}. Otherwise, an INVALID_ARGUMENT error is returned. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER]; */ @@ -132,7 +132,7 @@ class Engine extends \Google\Protobuf\Internal\Message * Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are - * /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned. + * /[a-z0-9][a-z0-9-_]{@*}. Otherwise, an INVALID_ARGUMENT error is returned. * @type string $display_name * Required. The display name of the engine. Should be human readable. UTF-8 * encoded string with limit of 1024 characters. @@ -140,7 +140,7 @@ class Engine extends \Google\Protobuf\Internal\Message * Output only. Timestamp the Recommendation Engine was created at. * @type \Google\Protobuf\Timestamp $update_time * Output only. Timestamp the Recommendation Engine was last updated. - * @type array|\Google\Protobuf\Internal\RepeatedField $data_store_ids + * @type string[] $data_store_ids * Optional. The data stores associated with this engine. * For * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH] @@ -332,7 +332,7 @@ public function setChatEngineMetadata($var) * Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are - * /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned. + * /[a-z0-9][a-z0-9-_]{@*}. Otherwise, an INVALID_ARGUMENT error is returned. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER]; * @return string @@ -349,7 +349,7 @@ public function getName() * Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` * engine should be 1-63 characters, and valid characters are - * /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned. + * /[a-z0-9][a-z0-9-_]{@*}. Otherwise, an INVALID_ARGUMENT error is returned. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER]; * @param string $var @@ -481,7 +481,7 @@ public function setUpdateTime($var) * initializations. * * Generated from protobuf field repeated string data_store_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDataStoreIds() { @@ -506,7 +506,7 @@ public function getDataStoreIds() * initializations. * * Generated from protobuf field repeated string data_store_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDataStoreIds($var) diff --git a/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php b/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php index 646d264febbb..006bcddf9154 100644 --- a/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php +++ b/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for a Chat Engine. @@ -259,4 +259,3 @@ public function setAllowCrossRegion($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/ChatEngineConfig/AgentCreationConfig.php b/DiscoveryEngine/src/V1/Engine/ChatEngineConfig/AgentCreationConfig.php index bdbcf03d02bc..e49cbd42b01a 100644 --- a/DiscoveryEngine/src/V1/Engine/ChatEngineConfig/AgentCreationConfig.php +++ b/DiscoveryEngine/src/V1/Engine/ChatEngineConfig/AgentCreationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine\ChatEngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for generating a Dialogflow agent. @@ -209,4 +209,3 @@ public function setLocation($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/ChatEngineMetadata.php b/DiscoveryEngine/src/V1/Engine/ChatEngineMetadata.php index 0811ad8d2a5f..a8cb18063c8e 100644 --- a/DiscoveryEngine/src/V1/Engine/ChatEngineMetadata.php +++ b/DiscoveryEngine/src/V1/Engine/ChatEngineMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Additional information of a Chat Engine. @@ -78,4 +78,3 @@ public function setDialogflowAgent($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/CommonConfig.php b/DiscoveryEngine/src/V1/Engine/CommonConfig.php index eeb5c06a5d35..edadfa9f860c 100644 --- a/DiscoveryEngine/src/V1/Engine/CommonConfig.php +++ b/DiscoveryEngine/src/V1/Engine/CommonConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Common configurations for an Engine. @@ -69,4 +69,3 @@ public function setCompanyName($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig.php b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig.php index c4c48e3dd0a3..3f6825a3cfe2 100644 --- a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig.php +++ b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Additional config specs for a Media Recommendation engine. @@ -325,4 +325,3 @@ public function setEngineFeaturesConfig($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/EngineFeaturesConfig.php b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/EngineFeaturesConfig.php index 8f59234cc158..b2186c6d3c1c 100644 --- a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/EngineFeaturesConfig.php +++ b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/EngineFeaturesConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine\MediaRecommendationEngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * More feature configs of the selected engine type. @@ -106,4 +106,3 @@ public function getTypeDedicatedConfig() } - diff --git a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/MostPopularFeatureConfig.php b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/MostPopularFeatureConfig.php index 60edb86f90c5..02444df0ae25 100644 --- a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/MostPopularFeatureConfig.php +++ b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/MostPopularFeatureConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine\MediaRecommendationEngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Feature configurations that are required for creating a Most Popular @@ -78,4 +78,3 @@ public function setTimeWindowDays($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/OptimizationObjectiveConfig.php b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/OptimizationObjectiveConfig.php index ee197fba8487..39032a1ea317 100644 --- a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/OptimizationObjectiveConfig.php +++ b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/OptimizationObjectiveConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine\MediaRecommendationEngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Custom threshold for `cvr` optimization_objective. @@ -103,4 +103,3 @@ public function setTargetFieldValueFloat($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/RecommendedForYouFeatureConfig.php b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/RecommendedForYouFeatureConfig.php index 230994400629..009caccb6a50 100644 --- a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/RecommendedForYouFeatureConfig.php +++ b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/RecommendedForYouFeatureConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine\MediaRecommendationEngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Additional feature configurations for creating a `recommended-for-you` @@ -90,4 +90,3 @@ public function setContextEventType($var) } - diff --git a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/TrainingState.php b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/TrainingState.php index bb0b051965b8..d5d806de5a91 100644 --- a/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/TrainingState.php +++ b/DiscoveryEngine/src/V1/Engine/MediaRecommendationEngineConfig/TrainingState.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Engine/SearchEngineConfig.php b/DiscoveryEngine/src/V1/Engine/SearchEngineConfig.php index 97134bec50d3..9f4548db1c26 100644 --- a/DiscoveryEngine/src/V1/Engine/SearchEngineConfig.php +++ b/DiscoveryEngine/src/V1/Engine/SearchEngineConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Engine; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for a Search Engine. @@ -46,7 +46,7 @@ class SearchEngineConfig extends \Google\Protobuf\Internal\Message * Defaults to * [SearchTier.SEARCH_TIER_STANDARD][google.cloud.discoveryengine.v1.SearchTier.SEARCH_TIER_STANDARD] * if not specified. - * @type array|\Google\Protobuf\Internal\RepeatedField $search_add_ons + * @type int[] $search_add_ons * The add-on that this search engine enables. * } */ @@ -95,7 +95,7 @@ public function setSearchTier($var) * The add-on that this search engine enables. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchAddOn search_add_ons = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSearchAddOns() { @@ -106,7 +106,7 @@ public function getSearchAddOns() * The add-on that this search engine enables. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchAddOn search_add_ons = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSearchAddOns($var) @@ -119,4 +119,3 @@ public function setSearchAddOns($var) } - diff --git a/DiscoveryEngine/src/V1/FactChunk.php b/DiscoveryEngine/src/V1/FactChunk.php index eedba2930df9..f23b8667f5fe 100644 --- a/DiscoveryEngine/src/V1/FactChunk.php +++ b/DiscoveryEngine/src/V1/FactChunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Fact Chunk. diff --git a/DiscoveryEngine/src/V1/FetchDomainVerificationStatusRequest.php b/DiscoveryEngine/src/V1/FetchDomainVerificationStatusRequest.php index dec1e4d396e7..921023a45ae7 100644 --- a/DiscoveryEngine/src/V1/FetchDomainVerificationStatusRequest.php +++ b/DiscoveryEngine/src/V1/FetchDomainVerificationStatusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/FetchDomainVerificationStatusResponse.php b/DiscoveryEngine/src/V1/FetchDomainVerificationStatusResponse.php index 5c0aa6363302..a940a16ca781 100644 --- a/DiscoveryEngine/src/V1/FetchDomainVerificationStatusResponse.php +++ b/DiscoveryEngine/src/V1/FetchDomainVerificationStatusResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -44,7 +44,7 @@ class FetchDomainVerificationStatusResponse extends \Google\Protobuf\Internal\Me * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\TargetSite>|\Google\Protobuf\Internal\RepeatedField $target_sites + * @type \Google\Cloud\DiscoveryEngine\V1\TargetSite[] $target_sites * List of TargetSites containing the site verification status. * @type string $next_page_token * A token that can be sent as `page_token` to retrieve the next page. @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * List of TargetSites containing the site verification status. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.TargetSite target_sites = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\TargetSite> */ public function getTargetSites() { @@ -74,7 +74,7 @@ public function getTargetSites() * List of TargetSites containing the site verification status. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.TargetSite target_sites = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\TargetSite>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\TargetSite[] $var * @return $this */ public function setTargetSites($var) diff --git a/DiscoveryEngine/src/V1/FetchSitemapsRequest.php b/DiscoveryEngine/src/V1/FetchSitemapsRequest.php index a2b20851e41c..48add0f4b21a 100644 --- a/DiscoveryEngine/src/V1/FetchSitemapsRequest.php +++ b/DiscoveryEngine/src/V1/FetchSitemapsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -20,7 +20,7 @@ class FetchSitemapsRequest extends \Google\Protobuf\Internal\Message /** * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -60,7 +60,7 @@ public static function build(string $parent): self * @type string $parent * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * @type \Google\Cloud\DiscoveryEngine\V1\FetchSitemapsRequest\Matcher $matcher * Optional. If specified, fetches the matching * [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s. If not specified, @@ -76,7 +76,7 @@ public function __construct($data = NULL) { /** * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -89,7 +89,7 @@ public function getParent() /** * Required. Parent resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/DiscoveryEngine/src/V1/FetchSitemapsRequest/Matcher.php b/DiscoveryEngine/src/V1/FetchSitemapsRequest/Matcher.php index 67f4615c64e9..019863590741 100644 --- a/DiscoveryEngine/src/V1/FetchSitemapsRequest/Matcher.php +++ b/DiscoveryEngine/src/V1/FetchSitemapsRequest/Matcher.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\FetchSitemapsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Matcher for the [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s. @@ -74,4 +74,3 @@ public function getMatcher() } - diff --git a/DiscoveryEngine/src/V1/FetchSitemapsRequest/UrisMatcher.php b/DiscoveryEngine/src/V1/FetchSitemapsRequest/UrisMatcher.php index 6414495078a7..c60133d69ef7 100644 --- a/DiscoveryEngine/src/V1/FetchSitemapsRequest/UrisMatcher.php +++ b/DiscoveryEngine/src/V1/FetchSitemapsRequest/UrisMatcher.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\FetchSitemapsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Matcher for the [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s by @@ -29,7 +29,7 @@ class UrisMatcher extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $uris + * @type string[] $uris * The [Sitemap][google.cloud.discoveryengine.v1.Sitemap] uris. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * The [Sitemap][google.cloud.discoveryengine.v1.Sitemap] uris. * * Generated from protobuf field repeated string uris = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUris() { @@ -53,7 +53,7 @@ public function getUris() * The [Sitemap][google.cloud.discoveryengine.v1.Sitemap] uris. * * Generated from protobuf field repeated string uris = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUris($var) @@ -66,4 +66,3 @@ public function setUris($var) } - diff --git a/DiscoveryEngine/src/V1/FetchSitemapsResponse.php b/DiscoveryEngine/src/V1/FetchSitemapsResponse.php index bc80d9250fe3..c7bf339c1976 100644 --- a/DiscoveryEngine/src/V1/FetchSitemapsResponse.php +++ b/DiscoveryEngine/src/V1/FetchSitemapsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 FetchSitemapsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\FetchSitemapsResponse\SitemapMetadata>|\Google\Protobuf\Internal\RepeatedField $sitemaps_metadata + * @type \Google\Cloud\DiscoveryEngine\V1\FetchSitemapsResponse\SitemapMetadata[] $sitemaps_metadata * List of [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s fetched. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * List of [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s fetched. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\FetchSitemapsResponse\SitemapMetadata> */ public function getSitemapsMetadata() { @@ -54,7 +54,7 @@ public function getSitemapsMetadata() * List of [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s fetched. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.FetchSitemapsResponse.SitemapMetadata sitemaps_metadata = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\FetchSitemapsResponse\SitemapMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\FetchSitemapsResponse\SitemapMetadata[] $var * @return $this */ public function setSitemapsMetadata($var) diff --git a/DiscoveryEngine/src/V1/FetchSitemapsResponse/SitemapMetadata.php b/DiscoveryEngine/src/V1/FetchSitemapsResponse/SitemapMetadata.php index 81e277630441..9fcedeb8dab0 100644 --- a/DiscoveryEngine/src/V1/FetchSitemapsResponse/SitemapMetadata.php +++ b/DiscoveryEngine/src/V1/FetchSitemapsResponse/SitemapMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\FetchSitemapsResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains a [Sitemap][google.cloud.discoveryengine.v1.Sitemap] and its @@ -76,4 +76,3 @@ public function setSitemap($var) } - diff --git a/DiscoveryEngine/src/V1/FhirStoreSource.php b/DiscoveryEngine/src/V1/FhirStoreSource.php index 29739b79b789..54f1fd3e9a9c 100644 --- a/DiscoveryEngine/src/V1/FhirStoreSource.php +++ b/DiscoveryEngine/src/V1/FhirStoreSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud FhirStore source import data from. @@ -67,7 +67,7 @@ class FhirStoreSource extends \Google\Protobuf\Internal\Message * Intermediate Cloud Storage directory used for the import with a length * limit of 2,000 characters. Can be specified if one wants to have the * FhirStore export to a specific Cloud Storage directory. - * @type array|\Google\Protobuf\Internal\RepeatedField $resource_types + * @type string[] $resource_types * The FHIR resource types to import. The resource types should be a subset of * all [supported FHIR resource * types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). @@ -154,7 +154,7 @@ public function setGcsStagingDir($var) * Default to all supported FHIR resource types if empty. * * Generated from protobuf field repeated string resource_types = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getResourceTypes() { @@ -168,7 +168,7 @@ public function getResourceTypes() * Default to all supported FHIR resource types if empty. * * Generated from protobuf field repeated string resource_types = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setResourceTypes($var) diff --git a/DiscoveryEngine/src/V1/FirestoreSource.php b/DiscoveryEngine/src/V1/FirestoreSource.php index 19aec3390a81..aa29117c6cc8 100644 --- a/DiscoveryEngine/src/V1/FirestoreSource.php +++ b/DiscoveryEngine/src/V1/FirestoreSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Firestore source import data from. diff --git a/DiscoveryEngine/src/V1/GcsSource.php b/DiscoveryEngine/src/V1/GcsSource.php index 38121444def8..6f939fecc610 100644 --- a/DiscoveryEngine/src/V1/GcsSource.php +++ b/DiscoveryEngine/src/V1/GcsSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud Storage location for input content. @@ -19,7 +19,7 @@ class GcsSource extends \Google\Protobuf\Internal\Message * Required. Cloud Storage URIs to input files. Each URI can be up to * 2000 characters long. URIs can match the full object path (for example, * `gs://bucket/directory/object.json`) or a pattern matching one or more - * files, such as `gs://bucket/directory/*.json`. + * files, such as `gs://bucket/directory/*.json`. * A request can contain at most 100 files (or 100,000 files if `data_schema` * is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is * `content`). @@ -58,11 +58,11 @@ class GcsSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $input_uris + * @type string[] $input_uris * Required. Cloud Storage URIs to input files. Each URI can be up to * 2000 characters long. URIs can match the full object path (for example, * `gs://bucket/directory/object.json`) or a pattern matching one or more - * files, such as `gs://bucket/directory/*.json`. + * files, such as `gs://bucket/directory/*.json`. * A request can contain at most 100 files (or 100,000 files if `data_schema` * is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is * `content`). @@ -97,13 +97,13 @@ public function __construct($data = NULL) { * Required. Cloud Storage URIs to input files. Each URI can be up to * 2000 characters long. URIs can match the full object path (for example, * `gs://bucket/directory/object.json`) or a pattern matching one or more - * files, such as `gs://bucket/directory/*.json`. + * files, such as `gs://bucket/directory/*.json`. * A request can contain at most 100 files (or 100,000 files if `data_schema` * is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is * `content`). * * Generated from protobuf field repeated string input_uris = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getInputUris() { @@ -114,13 +114,13 @@ public function getInputUris() * Required. Cloud Storage URIs to input files. Each URI can be up to * 2000 characters long. URIs can match the full object path (for example, * `gs://bucket/directory/object.json`) or a pattern matching one or more - * files, such as `gs://bucket/directory/*.json`. + * files, such as `gs://bucket/directory/*.json`. * A request can contain at most 100 files (or 100,000 files if `data_schema` * is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is * `content`). * * Generated from protobuf field repeated string input_uris = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setInputUris($var) diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest.php index 3050a2cdbcdb..7410cf724c27 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Top-level message sent by the client for the `GenerateGroundedContent` @@ -86,7 +86,7 @@ class GenerateGroundedContentRequest extends \Google\Protobuf\Internal\Message * Content of the system instruction for the current API. * These instructions will take priority over any other prompt instructions * if the selected model is supporting them. - * @type array<\Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent>|\Google\Protobuf\Internal\RepeatedField $contents + * @type \Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent[] $contents * Content of the current conversation with the model. * For single-turn queries, this is a single instance. For multi-turn queries, * this is a repeated field that contains conversation history + latest @@ -193,7 +193,7 @@ public function setSystemInstruction($var) * request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundedGenerationContent contents = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent> */ public function getContents() { @@ -207,7 +207,7 @@ public function getContents() * request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundedGenerationContent contents = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent[] $var * @return $this */ public function setContents($var) diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration.php index ce0b1477ab70..728315737a46 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the options to customize dynamic retrieval. @@ -75,4 +75,3 @@ public function setPredictor($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor.php index 4eb8ab405fa4..524551335427 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\DynamicRetrievalConfiguration; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the predictor settings for dynamic retrieval. @@ -113,4 +113,3 @@ public function setThreshold($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor/Version.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor/Version.php index 0e2e497ea8c9..cfc955540154 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor/Version.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/DynamicRetrievalConfiguration/DynamicRetrievalPredictor/Version.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GenerationSpec.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GenerationSpec.php index 419cb2e9dbc1..fe7a8d89cdea 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GenerationSpec.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GenerationSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Content generation specification. @@ -411,4 +411,3 @@ public function setMaxOutputTokens($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource.php index 8c969eb63b73..cb78d22a55be 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding source. @@ -172,4 +172,3 @@ public function getSource() } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/EnterpriseWebRetrievalSource.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/EnterpriseWebRetrievalSource.php index 016e6ed9cf95..8b922bd233c2 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/EnterpriseWebRetrievalSource.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/EnterpriseWebRetrievalSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Params for using enterprise web retrieval as grounding source. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/GoogleSearchSource.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/GoogleSearchSource.php index 17da05eb8ce0..674bd0240b1e 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/GoogleSearchSource.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/GoogleSearchSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google Search config parameters. @@ -79,4 +79,3 @@ public function setDynamicRetrievalConfig($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/InlineSource.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/InlineSource.php index 591966907408..9097839851d6 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/InlineSource.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message to be used for grounding based on inline content. @@ -36,7 +36,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\GroundingFact>|\Google\Protobuf\Internal\RepeatedField $grounding_facts + * @type \Google\Cloud\DiscoveryEngine\V1\GroundingFact[] $grounding_facts * List of facts to be used for grounding. * @type array|\Google\Protobuf\Internal\MapField $attributes * Attributes associated with the content. @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * List of facts to be used for grounding. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundingFact grounding_facts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GroundingFact> */ public function getGroundingFacts() { @@ -64,7 +64,7 @@ public function getGroundingFacts() * List of facts to be used for grounding. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundingFact grounding_facts = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GroundingFact>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GroundingFact[] $var * @return $this */ public function setGroundingFacts($var) @@ -107,4 +107,3 @@ public function setAttributes($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/SearchSource.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/SearchSource.php index b55ac4302b74..62c5a5880fb4 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/SearchSource.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSource/SearchSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message to be used for grounding with Vertex AI Search. @@ -187,4 +187,3 @@ public function setSafeSearch($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSpec.php b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSpec.php index fc371d8552df..c9f9fbb2ce40 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSpec.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentRequest/GroundingSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding specification. @@ -28,7 +28,7 @@ class GroundingSpec extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource>|\Google\Protobuf\Internal\RepeatedField $grounding_sources + * @type \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource[] $grounding_sources * Grounding sources. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Grounding sources. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource> */ public function getGroundingSources() { @@ -52,7 +52,7 @@ public function getGroundingSources() * Grounding sources. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource[] $var * @return $this */ public function setGroundingSources($var) @@ -65,4 +65,3 @@ public function setGroundingSources($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse.php index 7b42c947c5ec..1e0c80c81d2b 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `GenerateGroundedContent` method. @@ -28,7 +28,7 @@ class GenerateGroundedContentResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate>|\Google\Protobuf\Internal\RepeatedField $candidates + * @type \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate[] $candidates * Generated candidates. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Generated candidates. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate> */ public function getCandidates() { @@ -52,7 +52,7 @@ public function getCandidates() * Generated candidates. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate candidates = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate[] $var * @return $this */ public function setCandidates($var) diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate.php index 794673fedb97..a1ed86f7ff7e 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A response candidate generated from the model. @@ -197,4 +197,3 @@ public function setGroundingMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata.php index 56601a345d79..b956b0f45d01 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Citation for the generated content. @@ -64,23 +64,23 @@ class GroundingMetadata extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\RetrievalMetadata>|\Google\Protobuf\Internal\RepeatedField $retrieval_metadata + * @type \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\RetrievalMetadata[] $retrieval_metadata * Retrieval metadata to provide an understanding in the * retrieval steps performed by the model. There can be multiple such * messages which can correspond to different parts of the retrieval. This * is a mechanism used to ensure transparency to our users. - * @type array<\Google\Cloud\DiscoveryEngine\V1\FactChunk>|\Google\Protobuf\Internal\RepeatedField $support_chunks + * @type \Google\Cloud\DiscoveryEngine\V1\FactChunk[] $support_chunks * List of chunks to be attributed across all claims in the candidate. * These are derived from the grounding sources supplied in the request. - * @type array|\Google\Protobuf\Internal\RepeatedField $web_search_queries + * @type string[] $web_search_queries * Web search queries for the following-up web search. * @type \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\SearchEntryPoint $search_entry_point * Google search entry for the following-up web searches. - * @type array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $grounding_support + * @type \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\GroundingSupport[] $grounding_support * GroundingSupport across all claims in the answer candidate. * An support to a fact indicates that the claim is supported by * the fact. - * @type array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\ImageMetadata>|\Google\Protobuf\Internal\RepeatedField $images + * @type \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\ImageMetadata[] $images * Images from the web search. * } */ @@ -96,7 +96,7 @@ public function __construct($data = NULL) { * is a mechanism used to ensure transparency to our users. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\RetrievalMetadata> */ public function getRetrievalMetadata() { @@ -110,7 +110,7 @@ public function getRetrievalMetadata() * is a mechanism used to ensure transparency to our users. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\RetrievalMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\RetrievalMetadata[] $var * @return $this */ public function setRetrievalMetadata($var) @@ -126,7 +126,7 @@ public function setRetrievalMetadata($var) * These are derived from the grounding sources supplied in the request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.FactChunk support_chunks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\FactChunk> */ public function getSupportChunks() { @@ -138,7 +138,7 @@ public function getSupportChunks() * These are derived from the grounding sources supplied in the request. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.FactChunk support_chunks = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\FactChunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\FactChunk[] $var * @return $this */ public function setSupportChunks($var) @@ -153,7 +153,7 @@ public function setSupportChunks($var) * Web search queries for the following-up web search. * * Generated from protobuf field repeated string web_search_queries = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getWebSearchQueries() { @@ -164,7 +164,7 @@ public function getWebSearchQueries() * Web search queries for the following-up web search. * * Generated from protobuf field repeated string web_search_queries = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setWebSearchQueries($var) @@ -217,7 +217,7 @@ public function setSearchEntryPoint($var) * the fact. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\GroundingSupport> */ public function getGroundingSupport() { @@ -230,7 +230,7 @@ public function getGroundingSupport() * the fact. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\GroundingSupport[] $var * @return $this */ public function setGroundingSupport($var) @@ -245,7 +245,7 @@ public function setGroundingSupport($var) * Images from the web search. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata images = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\ImageMetadata> */ public function getImages() { @@ -256,7 +256,7 @@ public function getImages() * Images from the web search. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata images = 9; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\ImageMetadata>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\ImageMetadata[] $var * @return $this */ public function setImages($var) @@ -269,4 +269,3 @@ public function setImages($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalMetadata.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalMetadata.php index 1a4f54402b27..3a8bdd38308a 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalMetadata.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the metadata about dynamic retrieval. @@ -75,4 +75,3 @@ public function setPredictorMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata.php index 09207799172c..0d9e5879b66e 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the metadata about the dynamic retrieval predictor. @@ -125,4 +125,3 @@ public function setPrediction($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata/Version.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata/Version.php index 30ec19cc89e1..2d0edc7c5a7c 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata/Version.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/DynamicRetrievalPredictorMetadata/Version.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/GroundingSupport.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/GroundingSupport.php index 4e68b69f4502..9cb94cba8d92 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/GroundingSupport.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/GroundingSupport.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding info for a claim in the candidate and its support. @@ -49,7 +49,7 @@ class GroundingSupport extends \Google\Protobuf\Internal\Message * @type string $claim_text * Text for the claim in the candidate. Always provided when a * support is found. - * @type array|\Google\Protobuf\Internal\RepeatedField $support_chunk_indices + * @type int[] $support_chunk_indices * A list of indices (into 'support_chunks') specifying the * citations associated with the claim. For instance [1,3,4] means * that support_chunks[1], support_chunks[3], @@ -100,7 +100,7 @@ public function setClaimText($var) * support_chunks[4] are the chunks attributed to the claim. * * Generated from protobuf field repeated int32 support_chunk_indices = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSupportChunkIndices() { @@ -114,7 +114,7 @@ public function getSupportChunkIndices() * support_chunks[4] are the chunks attributed to the claim. * * Generated from protobuf field repeated int32 support_chunk_indices = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSupportChunkIndices($var) @@ -167,4 +167,3 @@ public function setSupportScore($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata.php index 0f01e44f395d..06e2b6bf7ff1 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about an image from the web search. @@ -163,4 +163,3 @@ public function setSource($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/Image.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/Image.php index 12f0c7c074ec..f93938cebf78 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/Image.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/Image.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\ImageMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the image. @@ -133,4 +133,3 @@ public function setHeight($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/WebsiteInfo.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/WebsiteInfo.php index 3f420cecc38a..aec21c3a31d7 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/WebsiteInfo.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/ImageMetadata/WebsiteInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata\ImageMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the website that the image is from. @@ -99,4 +99,3 @@ public function setTitle($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata.php index e6273801e7e6..ecbaea2f36f4 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the metadata associated with a retrieval step. @@ -109,4 +109,3 @@ public function setDynamicRetrievalMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata/Source.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata/Source.php index f635460ed8dd..91d68489b2ce 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata/Source.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/RetrievalMetadata/Source.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/SearchEntryPoint.php b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/SearchEntryPoint.php index 1e61988c5f57..9b4276a938e9 100644 --- a/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/SearchEntryPoint.php +++ b/DiscoveryEngine/src/V1/GenerateGroundedContentResponse/Candidate/GroundingMetadata/SearchEntryPoint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate\GroundingMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google search entry point. @@ -107,4 +107,3 @@ public function setSdkBlob($var) } - diff --git a/DiscoveryEngine/src/V1/GetAnswerRequest.php b/DiscoveryEngine/src/V1/GetAnswerRequest.php index 624260872ffc..3366e51ff27e 100644 --- a/DiscoveryEngine/src/V1/GetAnswerRequest.php +++ b/DiscoveryEngine/src/V1/GetAnswerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for GetAnswer method. diff --git a/DiscoveryEngine/src/V1/GetCmekConfigRequest.php b/DiscoveryEngine/src/V1/GetCmekConfigRequest.php index a463e11f282b..5bc30c235d23 100644 --- a/DiscoveryEngine/src/V1/GetCmekConfigRequest.php +++ b/DiscoveryEngine/src/V1/GetCmekConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetCmekConfigRequest method. @@ -18,8 +18,8 @@ class GetCmekConfigRequest extends \Google\Protobuf\Internal\Message /** * Required. Resource name of * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], such as - * `projects/*/locations/*/cmekConfig` or - * `projects/*/locations/*/cmekConfigs/*`. + * `projects/{@*}locations/{@*}cmekConfig` or + * `projects/{@*}locations/{@*}cmekConfigs/*`. * If the caller does not have permission to access the * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], regardless of * whether or not it exists, a PERMISSION_DENIED error is returned. @@ -58,8 +58,8 @@ public static function build(string $name): self * @type string $name * Required. Resource name of * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], such as - * `projects/*/locations/*/cmekConfig` or - * `projects/*/locations/*/cmekConfigs/*`. + * `projects/{@*}locations/{@*}cmekConfig` or + * `projects/{@*}locations/{@*}cmekConfigs/*`. * If the caller does not have permission to access the * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], regardless of * whether or not it exists, a PERMISSION_DENIED error is returned. @@ -73,8 +73,8 @@ public function __construct($data = NULL) { /** * Required. Resource name of * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], such as - * `projects/*/locations/*/cmekConfig` or - * `projects/*/locations/*/cmekConfigs/*`. + * `projects/{@*}locations/{@*}cmekConfig` or + * `projects/{@*}locations/{@*}cmekConfigs/*`. * If the caller does not have permission to access the * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], regardless of * whether or not it exists, a PERMISSION_DENIED error is returned. @@ -90,8 +90,8 @@ public function getName() /** * Required. Resource name of * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], such as - * `projects/*/locations/*/cmekConfig` or - * `projects/*/locations/*/cmekConfigs/*`. + * `projects/{@*}locations/{@*}cmekConfig` or + * `projects/{@*}locations/{@*}cmekConfigs/*`. * If the caller does not have permission to access the * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], regardless of * whether or not it exists, a PERMISSION_DENIED error is returned. diff --git a/DiscoveryEngine/src/V1/GetControlRequest.php b/DiscoveryEngine/src/V1/GetControlRequest.php index a477700e21c1..f3fce5c4a898 100644 --- a/DiscoveryEngine/src/V1/GetControlRequest.php +++ b/DiscoveryEngine/src/V1/GetControlRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for GetControl method. diff --git a/DiscoveryEngine/src/V1/GetConversationRequest.php b/DiscoveryEngine/src/V1/GetConversationRequest.php index 52237d85f733..79cf199d7902 100644 --- a/DiscoveryEngine/src/V1/GetConversationRequest.php +++ b/DiscoveryEngine/src/V1/GetConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for GetConversation method. diff --git a/DiscoveryEngine/src/V1/GetDataStoreRequest.php b/DiscoveryEngine/src/V1/GetDataStoreRequest.php index d002189dcfbd..74b7d8572db7 100644 --- a/DiscoveryEngine/src/V1/GetDataStoreRequest.php +++ b/DiscoveryEngine/src/V1/GetDataStoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/GetDocumentRequest.php b/DiscoveryEngine/src/V1/GetDocumentRequest.php index 78e81f128155..d56215f5422a 100644 --- a/DiscoveryEngine/src/V1/GetDocumentRequest.php +++ b/DiscoveryEngine/src/V1/GetDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/GetEngineRequest.php b/DiscoveryEngine/src/V1/GetEngineRequest.php index b68da9ef3f36..40345882cd22 100644 --- a/DiscoveryEngine/src/V1/GetEngineRequest.php +++ b/DiscoveryEngine/src/V1/GetEngineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/GetIdentityMappingStoreRequest.php b/DiscoveryEngine/src/V1/GetIdentityMappingStoreRequest.php index 859b17ac90ca..818dce80e457 100644 --- a/DiscoveryEngine/src/V1/GetIdentityMappingStoreRequest.php +++ b/DiscoveryEngine/src/V1/GetIdentityMappingStoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/GetSchemaRequest.php b/DiscoveryEngine/src/V1/GetSchemaRequest.php index 4a9036b219e9..87f4b126504f 100644 --- a/DiscoveryEngine/src/V1/GetSchemaRequest.php +++ b/DiscoveryEngine/src/V1/GetSchemaRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/GetSessionRequest.php b/DiscoveryEngine/src/V1/GetSessionRequest.php index d0ce4e38eeea..0e1939810fec 100644 --- a/DiscoveryEngine/src/V1/GetSessionRequest.php +++ b/DiscoveryEngine/src/V1/GetSessionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for GetSession method. diff --git a/DiscoveryEngine/src/V1/GetSiteSearchEngineRequest.php b/DiscoveryEngine/src/V1/GetSiteSearchEngineRequest.php index e7b7ba255c92..95849c08d05d 100644 --- a/DiscoveryEngine/src/V1/GetSiteSearchEngineRequest.php +++ b/DiscoveryEngine/src/V1/GetSiteSearchEngineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/GetTargetSiteRequest.php b/DiscoveryEngine/src/V1/GetTargetSiteRequest.php index 8e3e03953d88..22e61c62e371 100644 --- a/DiscoveryEngine/src/V1/GetTargetSiteRequest.php +++ b/DiscoveryEngine/src/V1/GetTargetSiteRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/GroundedGenerationContent.php b/DiscoveryEngine/src/V1/GroundedGenerationContent.php index b0e40bee2852..a145b2362513 100644 --- a/DiscoveryEngine/src/V1/GroundedGenerationContent.php +++ b/DiscoveryEngine/src/V1/GroundedGenerationContent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Base structured datatype containing multi-part content of a message. @@ -40,7 +40,7 @@ class GroundedGenerationContent extends \Google\Protobuf\Internal\Message * Producer of the content. Must be either `user` or `model`. * Intended to be used for multi-turn conversations. Otherwise, it can be left * unset. - * @type array<\Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent\Part>|\Google\Protobuf\Internal\RepeatedField $parts + * @type \Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent\Part[] $parts * Ordered `Parts` that constitute a single message. * } */ @@ -83,7 +83,7 @@ public function setRole($var) * Ordered `Parts` that constitute a single message. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundedGenerationContent.Part parts = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent\Part> */ public function getParts() { @@ -94,7 +94,7 @@ public function getParts() * Ordered `Parts` that constitute a single message. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.GroundedGenerationContent.Part parts = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent\Part>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent\Part[] $var * @return $this */ public function setParts($var) diff --git a/DiscoveryEngine/src/V1/GroundedGenerationContent/Part.php b/DiscoveryEngine/src/V1/GroundedGenerationContent/Part.php index 8cea7f9b48b6..17aed29aa344 100644 --- a/DiscoveryEngine/src/V1/GroundedGenerationContent/Part.php +++ b/DiscoveryEngine/src/V1/GroundedGenerationContent/Part.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\GroundedGenerationContent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Single part of content. @@ -73,4 +73,3 @@ public function getData() } - diff --git a/DiscoveryEngine/src/V1/GroundingFact.php b/DiscoveryEngine/src/V1/GroundingFact.php index b640640efa03..8fd64d849578 100644 --- a/DiscoveryEngine/src/V1/GroundingFact.php +++ b/DiscoveryEngine/src/V1/GroundingFact.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Grounding Fact. diff --git a/DiscoveryEngine/src/V1/HealthcareFhirConfig.php b/DiscoveryEngine/src/V1/HealthcareFhirConfig.php index 477e029e4f52..4eb0efb9618b 100644 --- a/DiscoveryEngine/src/V1/HealthcareFhirConfig.php +++ b/DiscoveryEngine/src/V1/HealthcareFhirConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config to data store for `HEALTHCARE_FHIR` vertical. diff --git a/DiscoveryEngine/src/V1/IdentityMappingEntry.php b/DiscoveryEngine/src/V1/IdentityMappingEntry.php index b2babc217fea..18d76489850e 100644 --- a/DiscoveryEngine/src/V1/IdentityMappingEntry.php +++ b/DiscoveryEngine/src/V1/IdentityMappingEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identity Mapping Entry that maps an external identity to an internal diff --git a/DiscoveryEngine/src/V1/IdentityMappingEntryOperationMetadata.php b/DiscoveryEngine/src/V1/IdentityMappingEntryOperationMetadata.php index cd29407d5d3e..d043e564e1ec 100644 --- a/DiscoveryEngine/src/V1/IdentityMappingEntryOperationMetadata.php +++ b/DiscoveryEngine/src/V1/IdentityMappingEntryOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * IdentityMappingEntry LongRunningOperation metadata for diff --git a/DiscoveryEngine/src/V1/IdentityMappingStore.php b/DiscoveryEngine/src/V1/IdentityMappingStore.php index 1e12f12b0302..f0ee1df1968f 100644 --- a/DiscoveryEngine/src/V1/IdentityMappingStore.php +++ b/DiscoveryEngine/src/V1/IdentityMappingStore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identity Mapping Store which contains Identity Mapping Entries. diff --git a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsMetadata.php b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsMetadata.php index a14fbccf2dca..b717b19e5aab 100644 --- a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsMetadata.php +++ b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the ImportCompletionSuggestions diff --git a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest.php b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest.php index f2691232c802..0c3e33bd98c2 100644 --- a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest.php +++ b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -20,7 +20,7 @@ class ImportCompletionSuggestionsRequest extends \Google\Protobuf\Internal\Messa /** * Required. The parent data store resource name for which to import customer * autocomplete suggestions. - * Follows pattern `projects/*/locations/*/collections/*/dataStores/*` + * Follows pattern `projects/{@*}locations/{@*}collections/{@*}dataStores/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -48,7 +48,7 @@ class ImportCompletionSuggestionsRequest extends \Google\Protobuf\Internal\Messa * @type string $parent * Required. The parent data store resource name for which to import customer * autocomplete suggestions. - * Follows pattern `projects/*/locations/*/collections/*/dataStores/*` + * Follows pattern `projects/{@*}locations/{@*}collections/{@*}dataStores/*` * @type \Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig $error_config * The desired location of errors incurred during the Import. * } @@ -154,7 +154,7 @@ public function setBigquerySource($var) /** * Required. The parent data store resource name for which to import customer * autocomplete suggestions. - * Follows pattern `projects/*/locations/*/collections/*/dataStores/*` + * Follows pattern `projects/{@*}locations/{@*}collections/{@*}dataStores/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -167,7 +167,7 @@ public function getParent() /** * Required. The parent data store resource name for which to import customer * autocomplete suggestions. - * Follows pattern `projects/*/locations/*/collections/*/dataStores/*` + * Follows pattern `projects/{@*}locations/{@*}collections/{@*}dataStores/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest/InlineSource.php b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest/InlineSource.php index fa8ba459fc9f..a659f5b0b1c6 100644 --- a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\ImportCompletionSuggestionsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source for CompletionSuggestions. @@ -28,7 +28,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\CompletionSuggestion>|\Google\Protobuf\Internal\RepeatedField $suggestions + * @type \Google\Cloud\DiscoveryEngine\V1\CompletionSuggestion[] $suggestions * Required. A list of all denylist entries to import. Max of 1000 items. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Required. A list of all denylist entries to import. Max of 1000 items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\CompletionSuggestion> */ public function getSuggestions() { @@ -52,7 +52,7 @@ public function getSuggestions() * Required. A list of all denylist entries to import. Max of 1000 items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CompletionSuggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\CompletionSuggestion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\CompletionSuggestion[] $var * @return $this */ public function setSuggestions($var) @@ -65,4 +65,3 @@ public function setSuggestions($var) } - diff --git a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsResponse.php b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsResponse.php index b0ba5bd19d9a..43c5e2dc37f8 100644 --- a/DiscoveryEngine/src/V1/ImportCompletionSuggestionsResponse.php +++ b/DiscoveryEngine/src/V1/ImportCompletionSuggestionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of the @@ -38,7 +38,7 @@ class ImportCompletionSuggestionsResponse extends \Google\Protobuf\Internal\Mess * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * @type \Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig $error_config * The desired location of errors incurred during the Import. @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -64,7 +64,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/ImportDocumentsMetadata.php b/DiscoveryEngine/src/V1/ImportDocumentsMetadata.php index 25d43b37aed8..70fa715c3b64 100644 --- a/DiscoveryEngine/src/V1/ImportDocumentsMetadata.php +++ b/DiscoveryEngine/src/V1/ImportDocumentsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the ImportDocuments operation. This is diff --git a/DiscoveryEngine/src/V1/ImportDocumentsRequest.php b/DiscoveryEngine/src/V1/ImportDocumentsRequest.php index 8832a7816506..34a3326da2ea 100644 --- a/DiscoveryEngine/src/V1/ImportDocumentsRequest.php +++ b/DiscoveryEngine/src/V1/ImportDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Import methods. diff --git a/DiscoveryEngine/src/V1/ImportDocumentsRequest/InlineSource.php b/DiscoveryEngine/src/V1/ImportDocumentsRequest/InlineSource.php index e5dd8c0e3e19..c100d666f1c4 100644 --- a/DiscoveryEngine/src/V1/ImportDocumentsRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/ImportDocumentsRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\ImportDocumentsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source for the input config for ImportDocuments method. @@ -30,7 +30,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Document>|\Google\Protobuf\Internal\RepeatedField $documents + * @type \Google\Cloud\DiscoveryEngine\V1\Document[] $documents * Required. A list of documents to update/create. Each document must have a * valid [Document.id][google.cloud.discoveryengine.v1.Document.id]. * Recommended max of 100 items. @@ -47,7 +47,7 @@ public function __construct($data = NULL) { * Recommended max of 100 items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Document> */ public function getDocuments() { @@ -60,7 +60,7 @@ public function getDocuments() * Recommended max of 100 items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Document>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Document[] $var * @return $this */ public function setDocuments($var) @@ -73,4 +73,3 @@ public function setDocuments($var) } - diff --git a/DiscoveryEngine/src/V1/ImportDocumentsRequest/ReconciliationMode.php b/DiscoveryEngine/src/V1/ImportDocumentsRequest/ReconciliationMode.php index a05402846e13..6649172c6714 100644 --- a/DiscoveryEngine/src/V1/ImportDocumentsRequest/ReconciliationMode.php +++ b/DiscoveryEngine/src/V1/ImportDocumentsRequest/ReconciliationMode.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/ImportDocumentsResponse.php b/DiscoveryEngine/src/V1/ImportDocumentsResponse.php index 418453382756..ce7b1405e8af 100644 --- a/DiscoveryEngine/src/V1/ImportDocumentsResponse.php +++ b/DiscoveryEngine/src/V1/ImportDocumentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of the @@ -37,7 +37,7 @@ class ImportDocumentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * @type \Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig $error_config * Echoes the destination for the complete errors in the request if set. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -63,7 +63,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/ImportErrorConfig.php b/DiscoveryEngine/src/V1/ImportErrorConfig.php index 964ab8054b69..a585a46e6b69 100644 --- a/DiscoveryEngine/src/V1/ImportErrorConfig.php +++ b/DiscoveryEngine/src/V1/ImportErrorConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of destination for Import related errors. diff --git a/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest.php b/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest.php index 1f23865b9a34..501aeb980032 100644 --- a/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest.php +++ b/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest/InlineSource.php b/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest/InlineSource.php index 0db41c18627c..2dc37aa739a0 100644 --- a/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/ImportIdentityMappingsRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\ImportIdentityMappingsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source to import identity mapping entries from. @@ -28,7 +28,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry>|\Google\Protobuf\Internal\RepeatedField $identity_mapping_entries + * @type \Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry[] $identity_mapping_entries * A maximum of 10000 entries can be imported at one time * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * A maximum of 10000 entries can be imported at one time * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingEntry identity_mapping_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry> */ public function getIdentityMappingEntries() { @@ -52,7 +52,7 @@ public function getIdentityMappingEntries() * A maximum of 10000 entries can be imported at one time * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingEntry identity_mapping_entries = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry[] $var * @return $this */ public function setIdentityMappingEntries($var) @@ -65,4 +65,3 @@ public function setIdentityMappingEntries($var) } - diff --git a/DiscoveryEngine/src/V1/ImportIdentityMappingsResponse.php b/DiscoveryEngine/src/V1/ImportIdentityMappingsResponse.php index a99fd3013c34..5c89f10f47dd 100644 --- a/DiscoveryEngine/src/V1/ImportIdentityMappingsResponse.php +++ b/DiscoveryEngine/src/V1/ImportIdentityMappingsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ImportIdentityMappingsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -53,7 +53,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesMetadata.php b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesMetadata.php index 16eee71b9af4..1bac19da6791 100644 --- a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesMetadata.php +++ b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the ImportSuggestionDenyListEntries diff --git a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest.php b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest.php index c5ec31cd7f9e..f431d1313536 100644 --- a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest.php +++ b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ImportSuggestionDenyListEntriesRequest extends \Google\Protobuf\Internal\M { /** * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -43,7 +43,7 @@ class ImportSuggestionDenyListEntriesRequest extends \Google\Protobuf\Internal\M * per line. * @type string $parent * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * } */ public function __construct($data = NULL) { @@ -125,7 +125,7 @@ public function setGcsSource($var) /** * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -137,7 +137,7 @@ public function getParent() /** * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest/InlineSource.php b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest/InlineSource.php index 65ad826740e4..3182b28ab3f4 100644 --- a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\ImportSuggestionDenyListEntriesRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source for SuggestionDenyListEntry. @@ -28,7 +28,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\SuggestionDenyListEntry>|\Google\Protobuf\Internal\RepeatedField $entries + * @type \Google\Cloud\DiscoveryEngine\V1\SuggestionDenyListEntry[] $entries * Required. A list of all denylist entries to import. Max of 1000 items. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Required. A list of all denylist entries to import. Max of 1000 items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SuggestionDenyListEntry> */ public function getEntries() { @@ -52,7 +52,7 @@ public function getEntries() * Required. A list of all denylist entries to import. Max of 1000 items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SuggestionDenyListEntry entries = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SuggestionDenyListEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SuggestionDenyListEntry[] $var * @return $this */ public function setEntries($var) @@ -65,4 +65,3 @@ public function setEntries($var) } - diff --git a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesResponse.php b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesResponse.php index 4ec5fc3bdc74..4a3e61044dfc 100644 --- a/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesResponse.php +++ b/DiscoveryEngine/src/V1/ImportSuggestionDenyListEntriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -42,7 +42,7 @@ class ImportSuggestionDenyListEntriesResponse extends \Google\Protobuf\Internal\ * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * @type int|string $imported_entries_count * Count of deny list entries successfully imported. @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -70,7 +70,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/ImportUserEventsMetadata.php b/DiscoveryEngine/src/V1/ImportUserEventsMetadata.php index a7fbe083bd4d..90f70103fc71 100644 --- a/DiscoveryEngine/src/V1/ImportUserEventsMetadata.php +++ b/DiscoveryEngine/src/V1/ImportUserEventsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the Import operation. This is diff --git a/DiscoveryEngine/src/V1/ImportUserEventsRequest.php b/DiscoveryEngine/src/V1/ImportUserEventsRequest.php index ce6a881d604d..0903a36d7b21 100644 --- a/DiscoveryEngine/src/V1/ImportUserEventsRequest.php +++ b/DiscoveryEngine/src/V1/ImportUserEventsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the ImportUserEvents request. diff --git a/DiscoveryEngine/src/V1/ImportUserEventsRequest/InlineSource.php b/DiscoveryEngine/src/V1/ImportUserEventsRequest/InlineSource.php index ae8d58b3cc0d..e1c93b2b3986 100644 --- a/DiscoveryEngine/src/V1/ImportUserEventsRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/ImportUserEventsRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\ImportUserEventsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source for the input config for ImportUserEvents method. @@ -28,7 +28,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\UserEvent>|\Google\Protobuf\Internal\RepeatedField $user_events + * @type \Google\Cloud\DiscoveryEngine\V1\UserEvent[] $user_events * Required. A list of user events to import. Recommended max of 10k items. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Required. A list of user events to import. Recommended max of 10k items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\UserEvent> */ public function getUserEvents() { @@ -52,7 +52,7 @@ public function getUserEvents() * Required. A list of user events to import. Recommended max of 10k items. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\UserEvent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\UserEvent[] $var * @return $this */ public function setUserEvents($var) @@ -65,4 +65,3 @@ public function setUserEvents($var) } - diff --git a/DiscoveryEngine/src/V1/ImportUserEventsResponse.php b/DiscoveryEngine/src/V1/ImportUserEventsResponse.php index 564563223aa5..654a79443691 100644 --- a/DiscoveryEngine/src/V1/ImportUserEventsResponse.php +++ b/DiscoveryEngine/src/V1/ImportUserEventsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of the ImportUserEventsRequest. If the long running @@ -50,7 +50,7 @@ class ImportUserEventsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * @type \Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig $error_config * Echoes the destination for the complete errors if this field was set in @@ -71,7 +71,7 @@ public function __construct($data = NULL) { * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -82,7 +82,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/Interval.php b/DiscoveryEngine/src/V1/Interval.php index 06fd49f9cb70..9a208b884508 100644 --- a/DiscoveryEngine/src/V1/Interval.php +++ b/DiscoveryEngine/src/V1/Interval.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A floating point interval. diff --git a/DiscoveryEngine/src/V1/ListCmekConfigsRequest.php b/DiscoveryEngine/src/V1/ListCmekConfigsRequest.php index 37a9cc0d325e..1a8a18bf7242 100644 --- a/DiscoveryEngine/src/V1/ListCmekConfigsRequest.php +++ b/DiscoveryEngine/src/V1/ListCmekConfigsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListCmekConfigsResponse.php b/DiscoveryEngine/src/V1/ListCmekConfigsResponse.php index 56c90f738a36..0e26aae9e137 100644 --- a/DiscoveryEngine/src/V1/ListCmekConfigsResponse.php +++ b/DiscoveryEngine/src/V1/ListCmekConfigsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -31,7 +31,7 @@ class ListCmekConfigsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\CmekConfig>|\Google\Protobuf\Internal\RepeatedField $cmek_configs + * @type \Google\Cloud\DiscoveryEngine\V1\CmekConfig[] $cmek_configs * All the customer's * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s. * } @@ -46,7 +46,7 @@ public function __construct($data = NULL) { * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CmekConfig cmek_configs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\CmekConfig> */ public function getCmekConfigs() { @@ -58,7 +58,7 @@ public function getCmekConfigs() * [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CmekConfig cmek_configs = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\CmekConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\CmekConfig[] $var * @return $this */ public function setCmekConfigs($var) diff --git a/DiscoveryEngine/src/V1/ListControlsRequest.php b/DiscoveryEngine/src/V1/ListControlsRequest.php index 6f617ecbea6f..73ad35b298ab 100644 --- a/DiscoveryEngine/src/V1/ListControlsRequest.php +++ b/DiscoveryEngine/src/V1/ListControlsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for ListControls method. diff --git a/DiscoveryEngine/src/V1/ListControlsResponse.php b/DiscoveryEngine/src/V1/ListControlsResponse.php index f0bbd9ba3e7e..1f18488dbe70 100644 --- a/DiscoveryEngine/src/V1/ListControlsResponse.php +++ b/DiscoveryEngine/src/V1/ListControlsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for ListControls method. @@ -34,7 +34,7 @@ class ListControlsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Control>|\Google\Protobuf\Internal\RepeatedField $controls + * @type \Google\Cloud\DiscoveryEngine\V1\Control[] $controls * All the Controls for a given data store. * @type string $next_page_token * Pagination token, if not returned indicates the last page. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * All the Controls for a given data store. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Control controls = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Control> */ public function getControls() { @@ -60,7 +60,7 @@ public function getControls() * All the Controls for a given data store. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Control controls = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Control>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Control[] $var * @return $this */ public function setControls($var) diff --git a/DiscoveryEngine/src/V1/ListConversationsRequest.php b/DiscoveryEngine/src/V1/ListConversationsRequest.php index 0168464597dd..497c342c8e65 100644 --- a/DiscoveryEngine/src/V1/ListConversationsRequest.php +++ b/DiscoveryEngine/src/V1/ListConversationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for ListConversations method. diff --git a/DiscoveryEngine/src/V1/ListConversationsResponse.php b/DiscoveryEngine/src/V1/ListConversationsResponse.php index 9636b514cf6f..ccbdc6dd9e21 100644 --- a/DiscoveryEngine/src/V1/ListConversationsResponse.php +++ b/DiscoveryEngine/src/V1/ListConversationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for ListConversations method. @@ -34,7 +34,7 @@ class ListConversationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Conversation>|\Google\Protobuf\Internal\RepeatedField $conversations + * @type \Google\Cloud\DiscoveryEngine\V1\Conversation[] $conversations * All the Conversations for a given data store. * @type string $next_page_token * Pagination token, if not returned indicates the last page. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * All the Conversations for a given data store. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Conversation conversations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Conversation> */ public function getConversations() { @@ -60,7 +60,7 @@ public function getConversations() * All the Conversations for a given data store. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Conversation conversations = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Conversation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Conversation[] $var * @return $this */ public function setConversations($var) diff --git a/DiscoveryEngine/src/V1/ListCustomModelsRequest.php b/DiscoveryEngine/src/V1/ListCustomModelsRequest.php index 546e6542a4b2..dac8dd830545 100644 --- a/DiscoveryEngine/src/V1/ListCustomModelsRequest.php +++ b/DiscoveryEngine/src/V1/ListCustomModelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListCustomModelsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the parent Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to fetch the models * from. * @@ -35,7 +35,7 @@ class ListCustomModelsRequest extends \Google\Protobuf\Internal\Message * * @type string $data_store * Required. The resource name of the parent Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to fetch the models * from. * } @@ -47,7 +47,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the parent Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to fetch the models * from. * @@ -61,7 +61,7 @@ public function getDataStore() /** * Required. The resource name of the parent Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to fetch the models * from. * diff --git a/DiscoveryEngine/src/V1/ListCustomModelsResponse.php b/DiscoveryEngine/src/V1/ListCustomModelsResponse.php index 1bdd3f268f6f..ef268133be64 100644 --- a/DiscoveryEngine/src/V1/ListCustomModelsResponse.php +++ b/DiscoveryEngine/src/V1/ListCustomModelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListCustomModelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\CustomTuningModel>|\Google\Protobuf\Internal\RepeatedField $models + * @type \Google\Cloud\DiscoveryEngine\V1\CustomTuningModel[] $models * List of custom tuning models. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * List of custom tuning models. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\CustomTuningModel> */ public function getModels() { @@ -54,7 +54,7 @@ public function getModels() * List of custom tuning models. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\CustomTuningModel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\CustomTuningModel[] $var * @return $this */ public function setModels($var) diff --git a/DiscoveryEngine/src/V1/ListDataStoresRequest.php b/DiscoveryEngine/src/V1/ListDataStoresRequest.php index dc3e12ae5200..7c9d004d9655 100644 --- a/DiscoveryEngine/src/V1/ListDataStoresRequest.php +++ b/DiscoveryEngine/src/V1/ListDataStoresRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListDataStoresResponse.php b/DiscoveryEngine/src/V1/ListDataStoresResponse.php index b3db7369a32d..210882f05638 100644 --- a/DiscoveryEngine/src/V1/ListDataStoresResponse.php +++ b/DiscoveryEngine/src/V1/ListDataStoresResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListDataStoresResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\DataStore>|\Google\Protobuf\Internal\RepeatedField $data_stores + * @type \Google\Cloud\DiscoveryEngine\V1\DataStore[] $data_stores * All the customer's [DataStore][google.cloud.discoveryengine.v1.DataStore]s. * @type string $next_page_token * A token that can be sent as @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * All the customer's [DataStore][google.cloud.discoveryengine.v1.DataStore]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\DataStore> */ public function getDataStores() { @@ -68,7 +68,7 @@ public function getDataStores() * All the customer's [DataStore][google.cloud.discoveryengine.v1.DataStore]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.DataStore data_stores = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\DataStore>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\DataStore[] $var * @return $this */ public function setDataStores($var) diff --git a/DiscoveryEngine/src/V1/ListDocumentsRequest.php b/DiscoveryEngine/src/V1/ListDocumentsRequest.php index 42d68af993e2..5874df055b2d 100644 --- a/DiscoveryEngine/src/V1/ListDocumentsRequest.php +++ b/DiscoveryEngine/src/V1/ListDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListDocumentsResponse.php b/DiscoveryEngine/src/V1/ListDocumentsResponse.php index 6a0ca3c4c9eb..5c3d760a86c2 100644 --- a/DiscoveryEngine/src/V1/ListDocumentsResponse.php +++ b/DiscoveryEngine/src/V1/ListDocumentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListDocumentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Document>|\Google\Protobuf\Internal\RepeatedField $documents + * @type \Google\Cloud\DiscoveryEngine\V1\Document[] $documents * The [Document][google.cloud.discoveryengine.v1.Document]s. * @type string $next_page_token * A token that can be sent as @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The [Document][google.cloud.discoveryengine.v1.Document]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Document documents = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Document> */ public function getDocuments() { @@ -68,7 +68,7 @@ public function getDocuments() * The [Document][google.cloud.discoveryengine.v1.Document]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Document documents = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Document>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Document[] $var * @return $this */ public function setDocuments($var) diff --git a/DiscoveryEngine/src/V1/ListEnginesRequest.php b/DiscoveryEngine/src/V1/ListEnginesRequest.php index 7511fa715a4f..65789e847617 100644 --- a/DiscoveryEngine/src/V1/ListEnginesRequest.php +++ b/DiscoveryEngine/src/V1/ListEnginesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListEnginesResponse.php b/DiscoveryEngine/src/V1/ListEnginesResponse.php index bd11651d0ddd..6f1cd21b2083 100644 --- a/DiscoveryEngine/src/V1/ListEnginesResponse.php +++ b/DiscoveryEngine/src/V1/ListEnginesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListEnginesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Engine>|\Google\Protobuf\Internal\RepeatedField $engines + * @type \Google\Cloud\DiscoveryEngine\V1\Engine[] $engines * All the customer's [Engine][google.cloud.discoveryengine.v1.Engine]s. * @type string $next_page_token * Not supported. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * All the customer's [Engine][google.cloud.discoveryengine.v1.Engine]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Engine engines = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Engine> */ public function getEngines() { @@ -62,7 +62,7 @@ public function getEngines() * All the customer's [Engine][google.cloud.discoveryengine.v1.Engine]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Engine engines = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Engine>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Engine[] $var * @return $this */ public function setEngines($var) diff --git a/DiscoveryEngine/src/V1/ListIdentityMappingStoresRequest.php b/DiscoveryEngine/src/V1/ListIdentityMappingStoresRequest.php index 7ec67f309b4f..a941216f860c 100644 --- a/DiscoveryEngine/src/V1/ListIdentityMappingStoresRequest.php +++ b/DiscoveryEngine/src/V1/ListIdentityMappingStoresRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListIdentityMappingStoresResponse.php b/DiscoveryEngine/src/V1/ListIdentityMappingStoresResponse.php index 958ac8fd84bd..abc7692703f8 100644 --- a/DiscoveryEngine/src/V1/ListIdentityMappingStoresResponse.php +++ b/DiscoveryEngine/src/V1/ListIdentityMappingStoresResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListIdentityMappingStoresResponse extends \Google\Protobuf\Internal\Messag * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingStore>|\Google\Protobuf\Internal\RepeatedField $identity_mapping_stores + * @type \Google\Cloud\DiscoveryEngine\V1\IdentityMappingStore[] $identity_mapping_stores * The Identity Mapping Stores. * @type string $next_page_token * A token that can be sent as `page_token` to retrieve the next page. If this @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The Identity Mapping Stores. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_stores = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingStore> */ public function getIdentityMappingStores() { @@ -63,7 +63,7 @@ public function getIdentityMappingStores() * The Identity Mapping Stores. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_stores = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingStore>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\IdentityMappingStore[] $var * @return $this */ public function setIdentityMappingStores($var) diff --git a/DiscoveryEngine/src/V1/ListIdentityMappingsRequest.php b/DiscoveryEngine/src/V1/ListIdentityMappingsRequest.php index fe14f12e11f8..0bed337ac355 100644 --- a/DiscoveryEngine/src/V1/ListIdentityMappingsRequest.php +++ b/DiscoveryEngine/src/V1/ListIdentityMappingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListIdentityMappingsResponse.php b/DiscoveryEngine/src/V1/ListIdentityMappingsResponse.php index d5f38260a25c..5527c4ba7a9e 100644 --- a/DiscoveryEngine/src/V1/ListIdentityMappingsResponse.php +++ b/DiscoveryEngine/src/V1/ListIdentityMappingsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListIdentityMappingsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry>|\Google\Protobuf\Internal\RepeatedField $identity_mapping_entries + * @type \Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry[] $identity_mapping_entries * The Identity Mapping Entries. * @type string $next_page_token * A token that can be sent as `page_token` to retrieve the next page. If this @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The Identity Mapping Entries. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingEntry identity_mapping_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry> */ public function getIdentityMappingEntries() { @@ -63,7 +63,7 @@ public function getIdentityMappingEntries() * The Identity Mapping Entries. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingEntry identity_mapping_entries = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry[] $var * @return $this */ public function setIdentityMappingEntries($var) diff --git a/DiscoveryEngine/src/V1/ListSchemasRequest.php b/DiscoveryEngine/src/V1/ListSchemasRequest.php index 4a3e130261ec..1509e5510282 100644 --- a/DiscoveryEngine/src/V1/ListSchemasRequest.php +++ b/DiscoveryEngine/src/V1/ListSchemasRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListSchemasResponse.php b/DiscoveryEngine/src/V1/ListSchemasResponse.php index 4705d7ca0f55..5b582a8b9d92 100644 --- a/DiscoveryEngine/src/V1/ListSchemasResponse.php +++ b/DiscoveryEngine/src/V1/ListSchemasResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 ListSchemasResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Schema>|\Google\Protobuf\Internal\RepeatedField $schemas + * @type \Google\Cloud\DiscoveryEngine\V1\Schema[] $schemas * The [Schema][google.cloud.discoveryengine.v1.Schema]s. * @type string $next_page_token * A token that can be sent as @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The [Schema][google.cloud.discoveryengine.v1.Schema]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Schema schemas = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Schema> */ public function getSchemas() { @@ -68,7 +68,7 @@ public function getSchemas() * The [Schema][google.cloud.discoveryengine.v1.Schema]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Schema schemas = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Schema>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Schema[] $var * @return $this */ public function setSchemas($var) diff --git a/DiscoveryEngine/src/V1/ListSessionsRequest.php b/DiscoveryEngine/src/V1/ListSessionsRequest.php index e5c1a75e96e5..91015479372c 100644 --- a/DiscoveryEngine/src/V1/ListSessionsRequest.php +++ b/DiscoveryEngine/src/V1/ListSessionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for ListSessions method. diff --git a/DiscoveryEngine/src/V1/ListSessionsResponse.php b/DiscoveryEngine/src/V1/ListSessionsResponse.php index 118e667831b1..ca57980f3a9d 100644 --- a/DiscoveryEngine/src/V1/ListSessionsResponse.php +++ b/DiscoveryEngine/src/V1/ListSessionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for ListSessions method. @@ -34,7 +34,7 @@ class ListSessionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\Session>|\Google\Protobuf\Internal\RepeatedField $sessions + * @type \Google\Cloud\DiscoveryEngine\V1\Session[] $sessions * All the Sessions for a given data store. * @type string $next_page_token * Pagination token, if not returned indicates the last page. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * All the Sessions for a given data store. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Session sessions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Session> */ public function getSessions() { @@ -60,7 +60,7 @@ public function getSessions() * All the Sessions for a given data store. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Session sessions = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Session>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Session[] $var * @return $this */ public function setSessions($var) diff --git a/DiscoveryEngine/src/V1/ListTargetSitesRequest.php b/DiscoveryEngine/src/V1/ListTargetSitesRequest.php index 95c8cec895e1..3fd3d7f94710 100644 --- a/DiscoveryEngine/src/V1/ListTargetSitesRequest.php +++ b/DiscoveryEngine/src/V1/ListTargetSitesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListTargetSitesResponse.php b/DiscoveryEngine/src/V1/ListTargetSitesResponse.php index 27a9a08f41c8..b721fb5ede1c 100644 --- a/DiscoveryEngine/src/V1/ListTargetSitesResponse.php +++ b/DiscoveryEngine/src/V1/ListTargetSitesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -44,7 +44,7 @@ class ListTargetSitesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\TargetSite>|\Google\Protobuf\Internal\RepeatedField $target_sites + * @type \Google\Cloud\DiscoveryEngine\V1\TargetSite[] $target_sites * List of TargetSites. * @type string $next_page_token * A token that can be sent as `page_token` to retrieve the next page. @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * List of TargetSites. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.TargetSite target_sites = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\TargetSite> */ public function getTargetSites() { @@ -74,7 +74,7 @@ public function getTargetSites() * List of TargetSites. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.TargetSite target_sites = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\TargetSite>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\TargetSite[] $var * @return $this */ public function setTargetSites($var) diff --git a/DiscoveryEngine/src/V1/ListUserLicensesRequest.php b/DiscoveryEngine/src/V1/ListUserLicensesRequest.php index 9a7a7334b48b..d6cf99bf997d 100644 --- a/DiscoveryEngine/src/V1/ListUserLicensesRequest.php +++ b/DiscoveryEngine/src/V1/ListUserLicensesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/ListUserLicensesResponse.php b/DiscoveryEngine/src/V1/ListUserLicensesResponse.php index 52026b4813e5..e5830faf63a9 100644 --- a/DiscoveryEngine/src/V1/ListUserLicensesResponse.php +++ b/DiscoveryEngine/src/V1/ListUserLicensesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; 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 ListUserLicensesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\UserLicense>|\Google\Protobuf\Internal\RepeatedField $user_licenses + * @type \Google\Cloud\DiscoveryEngine\V1\UserLicense[] $user_licenses * All the customer's * [UserLicense][google.cloud.discoveryengine.v1.UserLicense]s. * @type string $next_page_token @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * [UserLicense][google.cloud.discoveryengine.v1.UserLicense]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserLicense user_licenses = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\UserLicense> */ public function getUserLicenses() { @@ -67,7 +67,7 @@ public function getUserLicenses() * [UserLicense][google.cloud.discoveryengine.v1.UserLicense]s. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.UserLicense user_licenses = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\UserLicense>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\UserLicense[] $var * @return $this */ public function setUserLicenses($var) diff --git a/DiscoveryEngine/src/V1/MediaInfo.php b/DiscoveryEngine/src/V1/MediaInfo.php index a4127b6cae03..885e35cec47d 100644 --- a/DiscoveryEngine/src/V1/MediaInfo.php +++ b/DiscoveryEngine/src/V1/MediaInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Media-specific user event information. diff --git a/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig.php b/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig.php index 161ca8878fdd..211981a2568d 100644 --- a/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig.php +++ b/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for Natural Language Query Understanding. diff --git a/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig/Mode.php b/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig/Mode.php index 49ca81e29d2a..422a6d296d10 100644 --- a/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig/Mode.php +++ b/DiscoveryEngine/src/V1/NaturalLanguageQueryUnderstandingConfig/Mode.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/PageInfo.php b/DiscoveryEngine/src/V1/PageInfo.php index 56b337b655c8..400fb79aa976 100644 --- a/DiscoveryEngine/src/V1/PageInfo.php +++ b/DiscoveryEngine/src/V1/PageInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detailed page information. diff --git a/DiscoveryEngine/src/V1/PanelInfo.php b/DiscoveryEngine/src/V1/PanelInfo.php index 29a2f4738c7b..7e8a414627b8 100644 --- a/DiscoveryEngine/src/V1/PanelInfo.php +++ b/DiscoveryEngine/src/V1/PanelInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detailed panel information associated with a user event. @@ -72,7 +72,7 @@ class PanelInfo extends \Google\Protobuf\Internal\Message * Must be set if * [panel_position][google.cloud.discoveryengine.v1.PanelInfo.panel_position] * is set. - * @type array<\Google\Cloud\DiscoveryEngine\V1\DocumentInfo>|\Google\Protobuf\Internal\RepeatedField $documents + * @type \Google\Cloud\DiscoveryEngine\V1\DocumentInfo[] $documents * Optional. The document IDs associated with this panel. * } */ @@ -221,7 +221,7 @@ public function setTotalPanels($var) * Optional. The document IDs associated with this panel. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.DocumentInfo documents = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\DocumentInfo> */ public function getDocuments() { @@ -232,7 +232,7 @@ public function getDocuments() * Optional. The document IDs associated with this panel. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.DocumentInfo documents = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\DocumentInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\DocumentInfo[] $var * @return $this */ public function setDocuments($var) diff --git a/DiscoveryEngine/src/V1/Principal.php b/DiscoveryEngine/src/V1/Principal.php index e6f2b4e14c4f..fcbf0be744b8 100644 --- a/DiscoveryEngine/src/V1/Principal.php +++ b/DiscoveryEngine/src/V1/Principal.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Principal identifier of a user or a group. diff --git a/DiscoveryEngine/src/V1/Project.php b/DiscoveryEngine/src/V1/Project.php index 5af8ff910b7e..089878c995fa 100644 --- a/DiscoveryEngine/src/V1/Project.php +++ b/DiscoveryEngine/src/V1/Project.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata and configurations for a Google Cloud project in the service. diff --git a/DiscoveryEngine/src/V1/Project/ServiceTerms.php b/DiscoveryEngine/src/V1/Project/ServiceTerms.php index ddd7a44c991f..6d92554566b4 100644 --- a/DiscoveryEngine/src/V1/Project/ServiceTerms.php +++ b/DiscoveryEngine/src/V1/Project/ServiceTerms.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Project; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the terms of service. @@ -261,4 +261,3 @@ public function setDeclineTime($var) } - diff --git a/DiscoveryEngine/src/V1/Project/ServiceTerms/State.php b/DiscoveryEngine/src/V1/Project/ServiceTerms/State.php index a41802e86321..6be059f0d20e 100644 --- a/DiscoveryEngine/src/V1/Project/ServiceTerms/State.php +++ b/DiscoveryEngine/src/V1/Project/ServiceTerms/State.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/ProvisionProjectMetadata.php b/DiscoveryEngine/src/V1/ProvisionProjectMetadata.php index 95f9296757ae..37716641ffe0 100644 --- a/DiscoveryEngine/src/V1/ProvisionProjectMetadata.php +++ b/DiscoveryEngine/src/V1/ProvisionProjectMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata associated with a project provision operation. diff --git a/DiscoveryEngine/src/V1/ProvisionProjectRequest.php b/DiscoveryEngine/src/V1/ProvisionProjectRequest.php index 51a94f5db321..14e5a88fbdb6 100644 --- a/DiscoveryEngine/src/V1/ProvisionProjectRequest.php +++ b/DiscoveryEngine/src/V1/ProvisionProjectRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for diff --git a/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsMetadata.php b/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsMetadata.php index f92bd3ba31c6..12ea45f5618d 100644 --- a/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsMetadata.php +++ b/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the PurgeCompletionSuggestions diff --git a/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsRequest.php b/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsRequest.php index 175c0d67041d..8310f37bb2e6 100644 --- a/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsRequest.php +++ b/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -20,7 +20,7 @@ class PurgeCompletionSuggestionsRequest extends \Google\Protobuf\Internal\Messag /** * Required. The parent data store resource name for which to purge completion * suggestions. Follows pattern - * projects/*/locations/*/collections/*/dataStores/*. + * projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -35,7 +35,7 @@ class PurgeCompletionSuggestionsRequest extends \Google\Protobuf\Internal\Messag * @type string $parent * Required. The parent data store resource name for which to purge completion * suggestions. Follows pattern - * projects/*/locations/*/collections/*/dataStores/*. + * projects/{@*}locations/{@*}collections/{@*}dataStores/*. * } */ public function __construct($data = NULL) { @@ -46,7 +46,7 @@ public function __construct($data = NULL) { /** * Required. The parent data store resource name for which to purge completion * suggestions. Follows pattern - * projects/*/locations/*/collections/*/dataStores/*. + * projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -59,7 +59,7 @@ public function getParent() /** * Required. The parent data store resource name for which to purge completion * suggestions. Follows pattern - * projects/*/locations/*/collections/*/dataStores/*. + * projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsResponse.php b/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsResponse.php index d40162451d92..1120d6407537 100644 --- a/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsResponse.php +++ b/DiscoveryEngine/src/V1/PurgeCompletionSuggestionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 PurgeCompletionSuggestionsResponse extends \Google\Protobuf\Internal\Messa * * @type bool $purge_succeeded * Whether the completion suggestions were successfully purged. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * } */ @@ -77,7 +77,7 @@ public function setPurgeSucceeded($var) * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -88,7 +88,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/PurgeDocumentsMetadata.php b/DiscoveryEngine/src/V1/PurgeDocumentsMetadata.php index 1869a355563d..b086fd28779b 100644 --- a/DiscoveryEngine/src/V1/PurgeDocumentsMetadata.php +++ b/DiscoveryEngine/src/V1/PurgeDocumentsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the PurgeDocuments operation. diff --git a/DiscoveryEngine/src/V1/PurgeDocumentsRequest.php b/DiscoveryEngine/src/V1/PurgeDocumentsRequest.php index ecbc2b001438..00d5e2aeb60a 100644 --- a/DiscoveryEngine/src/V1/PurgeDocumentsRequest.php +++ b/DiscoveryEngine/src/V1/PurgeDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/PurgeDocumentsRequest/InlineSource.php b/DiscoveryEngine/src/V1/PurgeDocumentsRequest/InlineSource.php index 7f77e09f585b..38d2a1ec0a24 100644 --- a/DiscoveryEngine/src/V1/PurgeDocumentsRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/PurgeDocumentsRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\PurgeDocumentsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source for the input config for @@ -20,7 +20,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message /** * Required. A list of full resource name of documents to purge. In the * format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * Recommended max of 100 items. * * Generated from protobuf field repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -33,10 +33,10 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $documents + * @type string[] $documents * Required. A list of full resource name of documents to purge. In the * format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * Recommended max of 100 items. * } */ @@ -48,11 +48,11 @@ public function __construct($data = NULL) { /** * Required. A list of full resource name of documents to purge. In the * format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * Recommended max of 100 items. * * Generated from protobuf field repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDocuments() { @@ -62,11 +62,11 @@ public function getDocuments() /** * Required. A list of full resource name of documents to purge. In the * format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * Recommended max of 100 items. * * Generated from protobuf field repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDocuments($var) @@ -79,4 +79,3 @@ public function setDocuments($var) } - diff --git a/DiscoveryEngine/src/V1/PurgeDocumentsResponse.php b/DiscoveryEngine/src/V1/PurgeDocumentsResponse.php index 76d2ceda2540..b36f1cfe40db 100644 --- a/DiscoveryEngine/src/V1/PurgeDocumentsResponse.php +++ b/DiscoveryEngine/src/V1/PurgeDocumentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; 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 PurgeDocumentsResponse extends \Google\Protobuf\Internal\Message * * @type int|string $purge_count * The total count of documents purged as a result of the operation. - * @type array|\Google\Protobuf\Internal\RepeatedField $purge_sample + * @type string[] $purge_sample * A sample of document names that will be deleted. Only populated if `force` * is set to false. A max of 100 names will be returned and the names are * chosen at random. @@ -84,7 +84,7 @@ public function setPurgeCount($var) * chosen at random. * * Generated from protobuf field repeated string purge_sample = 2 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPurgeSample() { @@ -97,7 +97,7 @@ public function getPurgeSample() * chosen at random. * * Generated from protobuf field repeated string purge_sample = 2 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPurgeSample($var) diff --git a/DiscoveryEngine/src/V1/PurgeErrorConfig.php b/DiscoveryEngine/src/V1/PurgeErrorConfig.php index ad80d67bf0f0..61453f7e15d3 100644 --- a/DiscoveryEngine/src/V1/PurgeErrorConfig.php +++ b/DiscoveryEngine/src/V1/PurgeErrorConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of destination for Purge related errors. diff --git a/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest.php b/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest.php index 0e6d66edad60..5f8d19dd36f8 100644 --- a/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest.php +++ b/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest/InlineSource.php b/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest/InlineSource.php index d8932f8b08e1..cbcb53fa863e 100644 --- a/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest/InlineSource.php +++ b/DiscoveryEngine/src/V1/PurgeIdentityMappingsRequest/InlineSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\PurgeIdentityMappingsRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inline source to purge identity mapping entries from. @@ -28,7 +28,7 @@ class InlineSource extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry>|\Google\Protobuf\Internal\RepeatedField $identity_mapping_entries + * @type \Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry[] $identity_mapping_entries * A maximum of 10000 entries can be purged at one time * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * A maximum of 10000 entries can be purged at one time * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingEntry identity_mapping_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry> */ public function getIdentityMappingEntries() { @@ -52,7 +52,7 @@ public function getIdentityMappingEntries() * A maximum of 10000 entries can be purged at one time * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.IdentityMappingEntry identity_mapping_entries = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\IdentityMappingEntry[] $var * @return $this */ public function setIdentityMappingEntries($var) @@ -65,4 +65,3 @@ public function setIdentityMappingEntries($var) } - diff --git a/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesMetadata.php b/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesMetadata.php index 2710c12488b4..f90aea0802de 100644 --- a/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesMetadata.php +++ b/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the PurgeSuggestionDenyListEntries diff --git a/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesRequest.php b/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesRequest.php index cfa3f5ecc093..28b986ed3b31 100644 --- a/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesRequest.php +++ b/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 PurgeSuggestionDenyListEntriesRequest extends \Google\Protobuf\Internal\Me { /** * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -33,7 +33,7 @@ class PurgeSuggestionDenyListEntriesRequest extends \Google\Protobuf\Internal\Me * * @type string $parent * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * } */ public function __construct($data = NULL) { @@ -43,7 +43,7 @@ public function __construct($data = NULL) { /** * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -55,7 +55,7 @@ public function getParent() /** * Required. The parent data store resource name for which to import denylist - * entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + * entries. Follows pattern projects/{@*}locations/{@*}collections/{@*}dataStores/*. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesResponse.php b/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesResponse.php index 1eb56f3bbd1f..fcd5eca91864 100644 --- a/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesResponse.php +++ b/DiscoveryEngine/src/V1/PurgeSuggestionDenyListEntriesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 PurgeSuggestionDenyListEntriesResponse extends \Google\Protobuf\Internal\M * * @type int|string $purge_count * Number of suggestion deny list entries purged. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the request. * } */ @@ -77,7 +77,7 @@ public function setPurgeCount($var) * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -88,7 +88,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the request. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 2; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/PurgeUserEventsMetadata.php b/DiscoveryEngine/src/V1/PurgeUserEventsMetadata.php index a951995525f9..ed2129b3c742 100644 --- a/DiscoveryEngine/src/V1/PurgeUserEventsMetadata.php +++ b/DiscoveryEngine/src/V1/PurgeUserEventsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the PurgeUserEvents operation. diff --git a/DiscoveryEngine/src/V1/PurgeUserEventsRequest.php b/DiscoveryEngine/src/V1/PurgeUserEventsRequest.php index 953cd515643b..3c70e8730876 100644 --- a/DiscoveryEngine/src/V1/PurgeUserEventsRequest.php +++ b/DiscoveryEngine/src/V1/PurgeUserEventsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for PurgeUserEvents method. diff --git a/DiscoveryEngine/src/V1/PurgeUserEventsResponse.php b/DiscoveryEngine/src/V1/PurgeUserEventsResponse.php index 998903cc947e..1a13d1109c47 100644 --- a/DiscoveryEngine/src/V1/PurgeUserEventsResponse.php +++ b/DiscoveryEngine/src/V1/PurgeUserEventsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of the PurgeUserEventsRequest. If the long running operation is diff --git a/DiscoveryEngine/src/V1/Query.php b/DiscoveryEngine/src/V1/Query.php index a5c67556b7e8..44546a4e5256 100644 --- a/DiscoveryEngine/src/V1/Query.php +++ b/DiscoveryEngine/src/V1/Query.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a user inputed query. diff --git a/DiscoveryEngine/src/V1/RankRequest.php b/DiscoveryEngine/src/V1/RankRequest.php index 2d233ed28f8f..4b16a8bea561 100644 --- a/DiscoveryEngine/src/V1/RankRequest.php +++ b/DiscoveryEngine/src/V1/RankRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -25,9 +25,9 @@ class RankRequest extends \Google\Protobuf\Internal\Message protected $ranking_config = ''; /** * The identifier of the model to use. It is one of: - * * `semantic-ranker-512@latest`: Semantic ranking model with maximum input + * * `semantic-ranker-512\@latest`: Semantic ranking model with maximum input * token size 512. - * It is set to `semantic-ranker-512@latest` by default if unspecified. + * It is set to `semantic-ranker-512\@latest` by default if unspecified. * * Generated from protobuf field string model = 2; */ @@ -90,15 +90,15 @@ class RankRequest extends \Google\Protobuf\Internal\Message * `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. * @type string $model * The identifier of the model to use. It is one of: - * * `semantic-ranker-512@latest`: Semantic ranking model with maximum input + * * `semantic-ranker-512\@latest`: Semantic ranking model with maximum input * token size 512. - * It is set to `semantic-ranker-512@latest` by default if unspecified. + * It is set to `semantic-ranker-512\@latest` by default if unspecified. * @type int $top_n * The number of results to return. If this is unset or no bigger than zero, * returns all results. * @type string $query * The query to use. - * @type array<\Google\Cloud\DiscoveryEngine\V1\RankingRecord>|\Google\Protobuf\Internal\RepeatedField $records + * @type \Google\Cloud\DiscoveryEngine\V1\RankingRecord[] $records * Required. A list of records to rank. At most 200 records to rank. * @type bool $ignore_record_details_in_response * If true, the response will contain only record ID and score. By default, it @@ -156,9 +156,9 @@ public function setRankingConfig($var) /** * The identifier of the model to use. It is one of: - * * `semantic-ranker-512@latest`: Semantic ranking model with maximum input + * * `semantic-ranker-512\@latest`: Semantic ranking model with maximum input * token size 512. - * It is set to `semantic-ranker-512@latest` by default if unspecified. + * It is set to `semantic-ranker-512\@latest` by default if unspecified. * * Generated from protobuf field string model = 2; * @return string @@ -170,9 +170,9 @@ public function getModel() /** * The identifier of the model to use. It is one of: - * * `semantic-ranker-512@latest`: Semantic ranking model with maximum input + * * `semantic-ranker-512\@latest`: Semantic ranking model with maximum input * token size 512. - * It is set to `semantic-ranker-512@latest` by default if unspecified. + * It is set to `semantic-ranker-512\@latest` by default if unspecified. * * Generated from protobuf field string model = 2; * @param string $var @@ -244,7 +244,7 @@ public function setQuery($var) * Required. A list of records to rank. At most 200 records to rank. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\RankingRecord> */ public function getRecords() { @@ -255,7 +255,7 @@ public function getRecords() * Required. A list of records to rank. At most 200 records to rank. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\RankingRecord>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\RankingRecord[] $var * @return $this */ public function setRecords($var) diff --git a/DiscoveryEngine/src/V1/RankResponse.php b/DiscoveryEngine/src/V1/RankResponse.php index d03a029e4612..3bdde210e09e 100644 --- a/DiscoveryEngine/src/V1/RankResponse.php +++ b/DiscoveryEngine/src/V1/RankResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 RankResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\RankingRecord>|\Google\Protobuf\Internal\RepeatedField $records + * @type \Google\Cloud\DiscoveryEngine\V1\RankingRecord[] $records * A list of records sorted by descending score. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * A list of records sorted by descending score. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\RankingRecord> */ public function getRecords() { @@ -53,7 +53,7 @@ public function getRecords() * A list of records sorted by descending score. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5; - * @param array<\Google\Cloud\DiscoveryEngine\V1\RankingRecord>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\RankingRecord[] $var * @return $this */ public function setRecords($var) diff --git a/DiscoveryEngine/src/V1/RankingRecord.php b/DiscoveryEngine/src/V1/RankingRecord.php index f7238fec7745..baba81e1c5a0 100644 --- a/DiscoveryEngine/src/V1/RankingRecord.php +++ b/DiscoveryEngine/src/V1/RankingRecord.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Record message for diff --git a/DiscoveryEngine/src/V1/RecommendRequest.php b/DiscoveryEngine/src/V1/RecommendRequest.php index 7c8337de0ad5..0782856fea89 100644 --- a/DiscoveryEngine/src/V1/RecommendRequest.php +++ b/DiscoveryEngine/src/V1/RecommendRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for Recommend method. @@ -18,13 +18,13 @@ class RecommendRequest extends \Google\Protobuf\Internal\Message /** * Required. Full resource name of a * [ServingConfig][google.cloud.discoveryengine.v1.ServingConfig]: - * `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or - * `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` + * `projects/{@*}locations/global/collections/{@*}engines/{@*}servingConfigs/*`, or + * `projects/{@*}locations/global/collections/{@*}dataStores/{@*}servingConfigs/*` * One default serving config is created along with your recommendation engine * creation. The engine ID is used as the ID of the default serving * config. For example, for Engine - * `projects/*/locations/global/collections/*/engines/my-engine`, you can use - * `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` + * `projects/{@*}locations/global/collections/{@*}engines/my-engine`, you can use + * `projects/{@*}locations/global/collections/{@*}engines/my-engine/servingConfigs/my-engine` * for your * [RecommendationService.Recommend][google.cloud.discoveryengine.v1.RecommendationService.Recommend] * requests. @@ -156,13 +156,13 @@ class RecommendRequest extends \Google\Protobuf\Internal\Message * @type string $serving_config * Required. Full resource name of a * [ServingConfig][google.cloud.discoveryengine.v1.ServingConfig]: - * `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or - * `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` + * `projects/{@*}locations/global/collections/{@*}engines/{@*}servingConfigs/*`, or + * `projects/{@*}locations/global/collections/{@*}dataStores/{@*}servingConfigs/*` * One default serving config is created along with your recommendation engine * creation. The engine ID is used as the ID of the default serving * config. For example, for Engine - * `projects/*/locations/global/collections/*/engines/my-engine`, you can use - * `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` + * `projects/{@*}locations/global/collections/{@*}engines/my-engine`, you can use + * `projects/{@*}locations/global/collections/{@*}engines/my-engine/servingConfigs/my-engine` * for your * [RecommendationService.Recommend][google.cloud.discoveryengine.v1.RecommendationService.Recommend] * requests. @@ -266,13 +266,13 @@ public function __construct($data = NULL) { /** * Required. Full resource name of a * [ServingConfig][google.cloud.discoveryengine.v1.ServingConfig]: - * `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or - * `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` + * `projects/{@*}locations/global/collections/{@*}engines/{@*}servingConfigs/*`, or + * `projects/{@*}locations/global/collections/{@*}dataStores/{@*}servingConfigs/*` * One default serving config is created along with your recommendation engine * creation. The engine ID is used as the ID of the default serving * config. For example, for Engine - * `projects/*/locations/global/collections/*/engines/my-engine`, you can use - * `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` + * `projects/{@*}locations/global/collections/{@*}engines/my-engine`, you can use + * `projects/{@*}locations/global/collections/{@*}engines/my-engine/servingConfigs/my-engine` * for your * [RecommendationService.Recommend][google.cloud.discoveryengine.v1.RecommendationService.Recommend] * requests. @@ -288,13 +288,13 @@ public function getServingConfig() /** * Required. Full resource name of a * [ServingConfig][google.cloud.discoveryengine.v1.ServingConfig]: - * `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or - * `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` + * `projects/{@*}locations/global/collections/{@*}engines/{@*}servingConfigs/*`, or + * `projects/{@*}locations/global/collections/{@*}dataStores/{@*}servingConfigs/*` * One default serving config is created along with your recommendation engine * creation. The engine ID is used as the ID of the default serving * config. For example, for Engine - * `projects/*/locations/global/collections/*/engines/my-engine`, you can use - * `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` + * `projects/{@*}locations/global/collections/{@*}engines/my-engine`, you can use + * `projects/{@*}locations/global/collections/{@*}engines/my-engine/servingConfigs/my-engine` * for your * [RecommendationService.Recommend][google.cloud.discoveryengine.v1.RecommendationService.Recommend] * requests. diff --git a/DiscoveryEngine/src/V1/RecommendResponse.php b/DiscoveryEngine/src/V1/RecommendResponse.php index f93b989ec3bf..9e49e4924a0f 100644 --- a/DiscoveryEngine/src/V1/RecommendResponse.php +++ b/DiscoveryEngine/src/V1/RecommendResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for Recommend method. @@ -53,7 +53,7 @@ class RecommendResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\RecommendResponse\RecommendationResult>|\Google\Protobuf\Internal\RepeatedField $results + * @type \Google\Cloud\DiscoveryEngine\V1\RecommendResponse\RecommendationResult[] $results * A list of recommended Documents. The order represents the ranking (from the * most relevant Document to the least). * @type string $attribution_token @@ -61,7 +61,7 @@ class RecommendResponse extends \Google\Protobuf\Internal\Message * [UserEvent][google.cloud.discoveryengine.v1.UserEvent] logs resulting from * this recommendation, which enables accurate attribution of recommendation * model performance. - * @type array|\Google\Protobuf\Internal\RepeatedField $missing_ids + * @type string[] $missing_ids * IDs of documents in the request that were missing from the default Branch * associated with the requested ServingConfig. * @type bool $validate_only @@ -80,7 +80,7 @@ public function __construct($data = NULL) { * most relevant Document to the least). * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RecommendResponse.RecommendationResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\RecommendResponse\RecommendationResult> */ public function getResults() { @@ -92,7 +92,7 @@ public function getResults() * most relevant Document to the least). * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RecommendResponse.RecommendationResult results = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\RecommendResponse\RecommendationResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\RecommendResponse\RecommendationResult[] $var * @return $this */ public function setResults($var) @@ -140,7 +140,7 @@ public function setAttributionToken($var) * associated with the requested ServingConfig. * * Generated from protobuf field repeated string missing_ids = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getMissingIds() { @@ -152,7 +152,7 @@ public function getMissingIds() * associated with the requested ServingConfig. * * Generated from protobuf field repeated string missing_ids = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setMissingIds($var) diff --git a/DiscoveryEngine/src/V1/RecommendResponse/RecommendationResult.php b/DiscoveryEngine/src/V1/RecommendResponse/RecommendationResult.php index fa8719e71aca..504bad103105 100644 --- a/DiscoveryEngine/src/V1/RecommendResponse/RecommendationResult.php +++ b/DiscoveryEngine/src/V1/RecommendResponse/RecommendationResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\RecommendResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RecommendationResult represents a generic recommendation result with @@ -164,4 +164,3 @@ public function setMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/RecrawlUrisMetadata.php b/DiscoveryEngine/src/V1/RecrawlUrisMetadata.php index 5555ea4b3050..063fc01e7639 100644 --- a/DiscoveryEngine/src/V1/RecrawlUrisMetadata.php +++ b/DiscoveryEngine/src/V1/RecrawlUrisMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the @@ -107,16 +107,16 @@ class RecrawlUrisMetadata extends \Google\Protobuf\Internal\Message * @type \Google\Protobuf\Timestamp $update_time * Operation last update time. If the operation is done, this is also the * finish time. - * @type array|\Google\Protobuf\Internal\RepeatedField $invalid_uris + * @type string[] $invalid_uris * Unique URIs in the request that have invalid format. Sample limited to * 1000. * @type int $invalid_uris_count * Total number of unique URIs in the request that have invalid format. - * @type array|\Google\Protobuf\Internal\RepeatedField $noindex_uris + * @type string[] $noindex_uris * URIs that have no index meta tag. Sample limited to 1000. * @type int $noindex_uris_count * Total number of URIs that have no index meta tag. - * @type array|\Google\Protobuf\Internal\RepeatedField $uris_not_matching_target_sites + * @type string[] $uris_not_matching_target_sites * Unique URIs in the request that don't match any TargetSite in the * DataStore, only match TargetSites that haven't been fully indexed, or match * a TargetSite with type EXCLUDE. Sample limited to 1000. @@ -217,7 +217,7 @@ public function setUpdateTime($var) * 1000. * * Generated from protobuf field repeated string invalid_uris = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getInvalidUris() { @@ -229,7 +229,7 @@ public function getInvalidUris() * 1000. * * Generated from protobuf field repeated string invalid_uris = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setInvalidUris($var) @@ -270,7 +270,7 @@ public function setInvalidUrisCount($var) * URIs that have no index meta tag. Sample limited to 1000. * * Generated from protobuf field repeated string noindex_uris = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNoindexUris() { @@ -281,7 +281,7 @@ public function getNoindexUris() * URIs that have no index meta tag. Sample limited to 1000. * * Generated from protobuf field repeated string noindex_uris = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNoindexUris($var) @@ -324,7 +324,7 @@ public function setNoindexUrisCount($var) * a TargetSite with type EXCLUDE. Sample limited to 1000. * * Generated from protobuf field repeated string uris_not_matching_target_sites = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUrisNotMatchingTargetSites() { @@ -337,7 +337,7 @@ public function getUrisNotMatchingTargetSites() * a TargetSite with type EXCLUDE. Sample limited to 1000. * * Generated from protobuf field repeated string uris_not_matching_target_sites = 9; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUrisNotMatchingTargetSites($var) diff --git a/DiscoveryEngine/src/V1/RecrawlUrisRequest.php b/DiscoveryEngine/src/V1/RecrawlUrisRequest.php index 2e6cf1c9068f..975da2698f9d 100644 --- a/DiscoveryEngine/src/V1/RecrawlUrisRequest.php +++ b/DiscoveryEngine/src/V1/RecrawlUrisRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -20,7 +20,7 @@ class RecrawlUrisRequest extends \Google\Protobuf\Internal\Message /** * Required. Full resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -50,8 +50,8 @@ class RecrawlUrisRequest extends \Google\Protobuf\Internal\Message * @type string $site_search_engine * Required. Full resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. - * @type array|\Google\Protobuf\Internal\RepeatedField $uris + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. + * @type string[] $uris * Required. List of URIs to crawl. At most 10K URIs are supported, otherwise * an INVALID_ARGUMENT error is thrown. Each URI should match at least one * [TargetSite][google.cloud.discoveryengine.v1.TargetSite] in @@ -68,7 +68,7 @@ public function __construct($data = NULL) { /** * Required. Full resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -81,7 +81,7 @@ public function getSiteSearchEngine() /** * Required. Full resource name of the * [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine], such - * as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. + * as `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine`. * * Generated from protobuf field string site_search_engine = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -102,7 +102,7 @@ public function setSiteSearchEngine($var) * `site_search_engine`. * * Generated from protobuf field repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUris() { @@ -116,7 +116,7 @@ public function getUris() * `site_search_engine`. * * Generated from protobuf field repeated string uris = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setUris($var) diff --git a/DiscoveryEngine/src/V1/RecrawlUrisResponse.php b/DiscoveryEngine/src/V1/RecrawlUrisResponse.php index 8aedce4fe9f5..99f122678165 100644 --- a/DiscoveryEngine/src/V1/RecrawlUrisResponse.php +++ b/DiscoveryEngine/src/V1/RecrawlUrisResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -36,9 +36,9 @@ class RecrawlUrisResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo>|\Google\Protobuf\Internal\RepeatedField $failure_samples + * @type \Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo[] $failure_samples * Details for a sample of up to 10 `failed_uris`. - * @type array|\Google\Protobuf\Internal\RepeatedField $failed_uris + * @type string[] $failed_uris * URIs that were not crawled before the LRO terminated. * } */ @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * Details for a sample of up to 10 `failed_uris`. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo failure_samples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo> */ public function getFailureSamples() { @@ -62,7 +62,7 @@ public function getFailureSamples() * Details for a sample of up to 10 `failed_uris`. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo failure_samples = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo[] $var * @return $this */ public function setFailureSamples($var) @@ -77,7 +77,7 @@ public function setFailureSamples($var) * URIs that were not crawled before the LRO terminated. * * Generated from protobuf field repeated string failed_uris = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFailedUris() { @@ -88,7 +88,7 @@ public function getFailedUris() * URIs that were not crawled before the LRO terminated. * * Generated from protobuf field repeated string failed_uris = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFailedUris($var) diff --git a/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo.php b/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo.php index 73fddac56dcf..c3daaffe83b1 100644 --- a/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo.php +++ b/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details about why a particular URI failed to be crawled. Each FailureInfo @@ -37,7 +37,7 @@ class FailureInfo extends \Google\Protobuf\Internal\Message * * @type string $uri * URI that failed to be crawled. - * @type array<\Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo\FailureReason>|\Google\Protobuf\Internal\RepeatedField $failure_reasons + * @type \Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo\FailureReason[] $failure_reasons * List of failure reasons by corpus type (e.g. desktop, mobile). * } */ @@ -76,7 +76,7 @@ public function setUri($var) * List of failure reasons by corpus type (e.g. desktop, mobile). * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo\FailureReason> */ public function getFailureReasons() { @@ -87,7 +87,7 @@ public function getFailureReasons() * List of failure reasons by corpus type (e.g. desktop, mobile). * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo\FailureReason>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo\FailureReason[] $var * @return $this */ public function setFailureReasons($var) @@ -100,4 +100,3 @@ public function setFailureReasons($var) } - diff --git a/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason.php b/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason.php index 684a38976424..9c7206c9dabd 100644 --- a/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason.php +++ b/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\RecrawlUrisResponse\FailureInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details about why crawling failed for a particular CorpusType, e.g., @@ -100,4 +100,3 @@ public function setErrorMessage($var) } - diff --git a/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason/CorpusType.php b/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason/CorpusType.php index 297a848651f7..e165534e20eb 100644 --- a/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason/CorpusType.php +++ b/DiscoveryEngine/src/V1/RecrawlUrisResponse/FailureInfo/FailureReason/CorpusType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Reply.php b/DiscoveryEngine/src/V1/Reply.php index cd46cf206986..3d7aa5e2cbad 100644 --- a/DiscoveryEngine/src/V1/Reply.php +++ b/DiscoveryEngine/src/V1/Reply.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a reply message to user. diff --git a/DiscoveryEngine/src/V1/SafetyRating.php b/DiscoveryEngine/src/V1/SafetyRating.php index b80e3bca63f2..22d0f697282a 100644 --- a/DiscoveryEngine/src/V1/SafetyRating.php +++ b/DiscoveryEngine/src/V1/SafetyRating.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Safety rating corresponding to the generated content. diff --git a/DiscoveryEngine/src/V1/SafetyRating/HarmProbability.php b/DiscoveryEngine/src/V1/SafetyRating/HarmProbability.php index fa0812ab2bf6..9219840e20a3 100644 --- a/DiscoveryEngine/src/V1/SafetyRating/HarmProbability.php +++ b/DiscoveryEngine/src/V1/SafetyRating/HarmProbability.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SafetyRating/HarmSeverity.php b/DiscoveryEngine/src/V1/SafetyRating/HarmSeverity.php index b35e1b545b9e..62e5e8cae9c8 100644 --- a/DiscoveryEngine/src/V1/SafetyRating/HarmSeverity.php +++ b/DiscoveryEngine/src/V1/SafetyRating/HarmSeverity.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Schema.php b/DiscoveryEngine/src/V1/Schema.php index 64fc1fe7b94a..bdab99622e6f 100644 --- a/DiscoveryEngine/src/V1/Schema.php +++ b/DiscoveryEngine/src/V1/Schema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the structure and layout of a type of document data. diff --git a/DiscoveryEngine/src/V1/SearchInfo.php b/DiscoveryEngine/src/V1/SearchInfo.php index 393f96d1226c..ba1763b5e530 100644 --- a/DiscoveryEngine/src/V1/SearchInfo.php +++ b/DiscoveryEngine/src/V1/SearchInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detailed search information. diff --git a/DiscoveryEngine/src/V1/SearchLinkPromotion.php b/DiscoveryEngine/src/V1/SearchLinkPromotion.php index 5b621d61d15b..d6e2338c0f86 100644 --- a/DiscoveryEngine/src/V1/SearchLinkPromotion.php +++ b/DiscoveryEngine/src/V1/SearchLinkPromotion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Promotion proto includes uri and other helping information to display the diff --git a/DiscoveryEngine/src/V1/SearchRequest.php b/DiscoveryEngine/src/V1/SearchRequest.php index dbfb36bf3be7..1777b9c7c48f 100644 --- a/DiscoveryEngine/src/V1/SearchRequest.php +++ b/DiscoveryEngine/src/V1/SearchRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for @@ -19,9 +19,9 @@ class SearchRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * @@ -30,7 +30,7 @@ class SearchRequest extends \Google\Protobuf\Internal\Message protected $serving_config = ''; /** * The branch resource name, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. * Use `default_branch` as the branch ID or leave this field empty, to search * documents under the default branch. * @@ -470,19 +470,19 @@ class SearchRequest extends \Google\Protobuf\Internal\Message * * @type string $serving_config * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * @type string $branch * The branch resource name, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. * Use `default_branch` as the branch ID or leave this field empty, to search * documents under the default branch. * @type string $query * Raw search query. - * @type array|\Google\Protobuf\Internal\RepeatedField $page_categories + * @type string[] $page_categories * Optional. The categories associated with a category page. Must be set for * category navigation queries to achieve good search quality. The format * should be the same as @@ -529,7 +529,7 @@ class SearchRequest extends \Google\Protobuf\Internal\Message * The maximum number of results to return for OneBox. * This applies to each OneBox type individually. * Default number is 10. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec>|\Google\Protobuf\Internal\RepeatedField $data_store_specs + * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec[] $data_store_specs * Specifications that define the specific * [DataStore][google.cloud.discoveryengine.v1.DataStore]s to be searched, * along with configurations for those data stores. This is only considered @@ -584,7 +584,7 @@ class SearchRequest extends \Google\Protobuf\Internal\Message * fields](https://cloud.google.com/apis/design/standard_fields). This field * helps to better interpret the query. If a value isn't specified, the query * language code is automatically detected, which may not be accurate. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\FacetSpec>|\Google\Protobuf\Internal\RepeatedField $facet_specs + * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\FacetSpec[] $facet_specs * Facet specifications for faceted search. If empty, no facets are returned. * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` * error is returned. @@ -736,7 +736,7 @@ class SearchRequest extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DisplaySpec $display_spec * Optional. Config for display feature, like match highlighting on search * results. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\CrowdingSpec>|\Google\Protobuf\Internal\RepeatedField $crowding_specs + * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\CrowdingSpec[] $crowding_specs * Optional. Crowding specifications for improving result diversity. * If multiple CrowdingSpecs are specified, crowding will be evaluated on * each unique combination of the `field` values, and max_count will be the @@ -785,9 +785,9 @@ public function __construct($data = NULL) { /** * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * @@ -801,9 +801,9 @@ public function getServingConfig() /** * Required. The resource name of the Search serving config, such as - * `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, + * `projects/{@*}locations/global/collections/default_collection/engines/{@*}servingConfigs/default_serving_config`, * or - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. * This field is used to identify the serving configuration name, set * of models used to make the search. * @@ -821,7 +821,7 @@ public function setServingConfig($var) /** * The branch resource name, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. * Use `default_branch` as the branch ID or leave this field empty, to search * documents under the default branch. * @@ -835,7 +835,7 @@ public function getBranch() /** * The branch resource name, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. * Use `default_branch` as the branch ID or leave this field empty, to search * documents under the default branch. * @@ -895,7 +895,7 @@ public function setQuery($var) * > Founders Edition` * * Generated from protobuf field repeated string page_categories = 63 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPageCategories() { @@ -920,7 +920,7 @@ public function getPageCategories() * > Founders Edition` * * Generated from protobuf field repeated string page_categories = 63 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPageCategories($var) @@ -1123,7 +1123,7 @@ public function setOneBoxPageSize($var) * used. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 32; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec> */ public function getDataStoreSpecs() { @@ -1140,7 +1140,7 @@ public function getDataStoreSpecs() * used. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 32; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec[] $var * @return $this */ public function setDataStoreSpecs($var) @@ -1371,7 +1371,7 @@ public function setLanguageCode($var) * error is returned. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.FacetSpec facet_specs = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\FacetSpec> */ public function getFacetSpecs() { @@ -1384,7 +1384,7 @@ public function getFacetSpecs() * error is returned. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.FacetSpec facet_specs = 9; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\FacetSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\FacetSpec[] $var * @return $this */ public function setFacetSpecs($var) @@ -2059,7 +2059,7 @@ public function setDisplaySpec($var) * removed or demoted. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec crowding_specs = 40 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\CrowdingSpec> */ public function getCrowdingSpecs() { @@ -2078,7 +2078,7 @@ public function getCrowdingSpecs() * removed or demoted. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.CrowdingSpec crowding_specs = 40 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\CrowdingSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\CrowdingSpec[] $var * @return $this */ public function setCrowdingSpecs($var) diff --git a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec.php b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec.php index cb11a7100a9a..36c7d77bf7f0 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; 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. @@ -31,7 +31,7 @@ class BoostSpec extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec>|\Google\Protobuf\Internal\RepeatedField $condition_boost_specs + * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec[] $condition_boost_specs * Condition boost specifications. If a document matches multiple conditions * in the specifications, boost scores from these specifications are all * applied and combined in a non-linear way. Maximum number of @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * specifications is 20. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec> */ public function getConditionBoostSpecs() { @@ -64,7 +64,7 @@ public function getConditionBoostSpecs() * specifications is 20. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec condition_boost_specs = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec[] $var * @return $this */ public function setConditionBoostSpecs($var) @@ -77,4 +77,3 @@ public function setConditionBoostSpecs($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec.php b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec.php index 2c903bbd62ba..c9e36f807ade 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Boost applies to documents which match a condition. @@ -235,4 +235,3 @@ public function setBoostControlSpec($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec.php b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec.php index ac9f682896a5..9d55cffa30d9 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\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 @@ -68,7 +68,7 @@ class BoostControlSpec extends \Google\Protobuf\Internal\Message * @type int $interpolation_type * The interpolation type to be applied to connect the control points * listed below. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint>|\Google\Protobuf\Internal\RepeatedField $control_points + * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint[] $control_points * The control points used to define the curve. The monotonic function * (defined through the interpolation_type above) passes through the * control points listed here. @@ -175,7 +175,7 @@ public function setInterpolationType($var) * control points listed here. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint> */ public function getControlPoints() { @@ -188,7 +188,7 @@ public function getControlPoints() * control points listed here. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\BoostSpec\ConditionBoostSpec\BoostControlSpec\ControlPoint[] $var * @return $this */ public function setControlPoints($var) @@ -201,4 +201,3 @@ public function setControlPoints($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php index 34a5c6593803..6a7350394115 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php +++ b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/AttributeType.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php index a7f6686d99f0..ee665d7abcb7 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php +++ b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/ControlPoint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\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/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php index 121bd8d5936e..5abde0eab3d8 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php +++ b/DiscoveryEngine/src/V1/SearchRequest/BoostSpec/ConditionBoostSpec/BoostControlSpec/InterpolationType.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec.php index 697b3da44605..c0998fcd5d69 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specification for configuring the behavior of content search. @@ -273,4 +273,3 @@ public function setChunkSpec($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ChunkSpec.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ChunkSpec.php index 3822231f6558..95a12e4f0295 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ChunkSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ChunkSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the chunk spec to be returned from the search response. @@ -119,4 +119,3 @@ public function setNumNextChunks($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ExtractiveContentSpec.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ExtractiveContentSpec.php index 386c71b2bca9..263865def470 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ExtractiveContentSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/ExtractiveContentSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specification for configuring the extractive content in a search @@ -322,4 +322,3 @@ public function setNumNextSegments($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SearchResultMode.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SearchResultMode.php index a5f9f1aed11b..16dbfbc08ec6 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SearchResultMode.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SearchResultMode.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SnippetSpec.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SnippetSpec.php index 69e0b3b556b1..d00fe5674d6d 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SnippetSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SnippetSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specification for configuring snippets in a search response. @@ -167,4 +167,3 @@ public function setReturnSnippet($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec.php index 28e3138cf661..55349c4177d9 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specification for configuring a summary returned in a search @@ -624,4 +624,3 @@ public function setUseSemanticChunks($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelPromptSpec.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelPromptSpec.php index 4dd4fc39191a..7b37064dcea4 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelPromptSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelPromptSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec\SummarySpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification of the prompt to use with the model. @@ -69,4 +69,3 @@ public function setPreamble($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelSpec.php b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelSpec.php index b5f6bb1cde90..d159a833b485 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ContentSearchSpec/SummarySpec/ModelSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec\SummarySpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification of the model. @@ -101,4 +101,3 @@ public function setVersion($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec.php b/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec.php index 97ec4c829955..6c7fb3c75959 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification for crowding. Crowding improves the diversity of search @@ -161,4 +161,3 @@ public function setMode($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec/Mode.php b/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec/Mode.php index e83ac10cf511..62f81e9f16e1 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec/Mode.php +++ b/DiscoveryEngine/src/V1/SearchRequest/CrowdingSpec/Mode.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/DataStoreSpec.php b/DiscoveryEngine/src/V1/SearchRequest/DataStoreSpec.php index 18a33a08a503..063d81722b58 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/DataStoreSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/DataStoreSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A struct to define data stores to filter on in a search call and @@ -223,4 +223,3 @@ public function setCustomSearchOperators($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php b/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php index b404a0794b5e..edde92b7aa83 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies features for display, like match highlighting. @@ -65,4 +65,3 @@ public function setMatchHighlightingCondition($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec/MatchHighlightingCondition.php b/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec/MatchHighlightingCondition.php index 5d7cdaf850e7..4fc42f7c3681 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec/MatchHighlightingCondition.php +++ b/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec/MatchHighlightingCondition.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/FacetSpec.php b/DiscoveryEngine/src/V1/SearchRequest/FacetSpec.php index 4e3b62e48c25..406baea5909c 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/FacetSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/FacetSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A facet specification to perform faceted search. @@ -104,7 +104,7 @@ class FacetSpec extends \Google\Protobuf\Internal\Message * "healthcare_aggregation_key", the limit will be overridden to * 10,000 internally, regardless of the value set here. * If this field is negative, an `INVALID_ARGUMENT` is returned. - * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_filter_keys + * @type string[] $excluded_filter_keys * List of keys to exclude when faceting. * By default, * [FacetKey.key][google.cloud.discoveryengine.v1.SearchRequest.FacetSpec.FacetKey.key] @@ -256,7 +256,7 @@ public function setLimit($var) * error is returned. * * Generated from protobuf field repeated string excluded_filter_keys = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExcludedFilterKeys() { @@ -288,7 +288,7 @@ public function getExcludedFilterKeys() * error is returned. * * Generated from protobuf field repeated string excluded_filter_keys = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExcludedFilterKeys($var) @@ -369,4 +369,3 @@ public function setEnableDynamicPosition($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/FacetSpec/FacetKey.php b/DiscoveryEngine/src/V1/SearchRequest/FacetSpec/FacetKey.php index bcbe8c31acec..a16f53b01020 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/FacetSpec/FacetKey.php +++ b/DiscoveryEngine/src/V1/SearchRequest/FacetSpec/FacetKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest\FacetSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies how a facet is computed. @@ -98,24 +98,24 @@ class FacetKey extends \Google\Protobuf\Internal\Message * Required. Supported textual and numerical facet keys in * [Document][google.cloud.discoveryengine.v1.Document] object, over which * the facet values are computed. Facet key is case-sensitive. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Interval>|\Google\Protobuf\Internal\RepeatedField $intervals + * @type \Google\Cloud\DiscoveryEngine\V1\Interval[] $intervals * Set only if values should be bucketed into intervals. Must be set * for facets with numerical values. Must not be set for facet with text * values. Maximum number of intervals is 30. - * @type array|\Google\Protobuf\Internal\RepeatedField $restricted_values + * @type string[] $restricted_values * Only get facet for the given restricted values. Only supported on * textual fields. For example, suppose "category" has three values * "Action > 2022", "Action > 2021" and "Sci-Fi > 2022". If set * "restricted_values" to "Action > 2022", the "category" facet only * contains "Action > 2022". Only supported on textual fields. Maximum * is 10. - * @type array|\Google\Protobuf\Internal\RepeatedField $prefixes + * @type string[] $prefixes * Only get facet values that start with the given string prefix. For * example, suppose "category" has three values "Action > 2022", * "Action > 2021" and "Sci-Fi > 2022". If set "prefixes" to "Action", the * "category" facet only contains "Action > 2022" and "Action > 2021". * Only supported on textual fields. Maximum is 10. - * @type array|\Google\Protobuf\Internal\RepeatedField $contains + * @type string[] $contains * Only get facet values that contain the given strings. For example, * suppose "category" has three values "Action > 2022", * "Action > 2021" and "Sci-Fi > 2022". If set "contains" to "2022", the @@ -181,7 +181,7 @@ public function setKey($var) * values. Maximum number of intervals is 30. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Interval intervals = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Interval> */ public function getIntervals() { @@ -194,7 +194,7 @@ public function getIntervals() * values. Maximum number of intervals is 30. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Interval intervals = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Interval>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Interval[] $var * @return $this */ public function setIntervals($var) @@ -214,7 +214,7 @@ public function setIntervals($var) * is 10. * * Generated from protobuf field repeated string restricted_values = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRestrictedValues() { @@ -230,7 +230,7 @@ public function getRestrictedValues() * is 10. * * Generated from protobuf field repeated string restricted_values = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRestrictedValues($var) @@ -249,7 +249,7 @@ public function setRestrictedValues($var) * Only supported on textual fields. Maximum is 10. * * Generated from protobuf field repeated string prefixes = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPrefixes() { @@ -264,7 +264,7 @@ public function getPrefixes() * Only supported on textual fields. Maximum is 10. * * Generated from protobuf field repeated string prefixes = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPrefixes($var) @@ -283,7 +283,7 @@ public function setPrefixes($var) * Only supported on textual fields. Maximum is 10. * * Generated from protobuf field repeated string contains = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContains() { @@ -298,7 +298,7 @@ public function getContains() * Only supported on textual fields. Maximum is 10. * * Generated from protobuf field repeated string contains = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setContains($var) @@ -389,4 +389,3 @@ public function setOrderBy($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/ImageQuery.php b/DiscoveryEngine/src/V1/SearchRequest/ImageQuery.php index 26d34f032fb1..e900ab8761b6 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/ImageQuery.php +++ b/DiscoveryEngine/src/V1/SearchRequest/ImageQuery.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the image query input. @@ -76,4 +76,3 @@ public function getImage() } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec.php b/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec.php index c7c2e5907cea..88ecd0c4f9e9 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification to enable natural language understanding capabilities for @@ -71,7 +71,7 @@ class NaturalLanguageQueryUnderstandingSpec extends \Google\Protobuf\Internal\Me * @type int $filter_extraction_condition * The condition under which filter extraction should occur. * Server behavior defaults to `DISABLED`. - * @type array|\Google\Protobuf\Internal\RepeatedField $geo_search_query_detection_field_names + * @type string[] $geo_search_query_detection_field_names * Field names used for location-based filtering, where geolocation filters * are detected in natural language search queries. * Only valid when the FilterExtractionCondition is set to `ENABLED`. @@ -88,7 +88,7 @@ class NaturalLanguageQueryUnderstandingSpec extends \Google\Protobuf\Internal\Me * [SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition][google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition] * is set to * [FilterExtractionCondition.ENABLED][google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition.ENABLED]. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_field_names + * @type string[] $allowed_field_names * Optional. Allowlist of fields that can be used for natural language * filter extraction. By default, if this is unspecified, all indexable * fields are eligible for natural language filter extraction (but are not @@ -140,7 +140,7 @@ public function setFilterExtractionCondition($var) * [ServingConfig.geo_search_query_detection_field_names][google.cloud.discoveryengine.v1.ServingConfig.geo_search_query_detection_field_names]. * * Generated from protobuf field repeated string geo_search_query_detection_field_names = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getGeoSearchQueryDetectionFieldNames() { @@ -155,7 +155,7 @@ public function getGeoSearchQueryDetectionFieldNames() * [ServingConfig.geo_search_query_detection_field_names][google.cloud.discoveryengine.v1.ServingConfig.geo_search_query_detection_field_names]. * * Generated from protobuf field repeated string geo_search_query_detection_field_names = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setGeoSearchQueryDetectionFieldNames($var) @@ -221,7 +221,7 @@ public function setExtractedFilterBehavior($var) * yet supported, and will be ignored. * * Generated from protobuf field repeated string allowed_field_names = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAllowedFieldNames() { @@ -239,7 +239,7 @@ public function getAllowedFieldNames() * yet supported, and will be ignored. * * Generated from protobuf field repeated string allowed_field_names = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAllowedFieldNames($var) @@ -252,4 +252,3 @@ public function setAllowedFieldNames($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/ExtractedFilterBehavior.php b/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/ExtractedFilterBehavior.php index 596eefd5231b..335a17799aa7 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/ExtractedFilterBehavior.php +++ b/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/ExtractedFilterBehavior.php @@ -65,4 +65,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/FilterExtractionCondition.php b/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/FilterExtractionCondition.php index a4e99f9496ca..03abd82e28d9 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/FilterExtractionCondition.php +++ b/DiscoveryEngine/src/V1/SearchRequest/NaturalLanguageQueryUnderstandingSpec/FilterExtractionCondition.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec.php b/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec.php index 7d22bf14f6e9..3be14f3dd2b8 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification to determine under which conditions query expansion should @@ -112,4 +112,3 @@ public function setPinUnexpandedResults($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec/Condition.php b/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec/Condition.php index 6e4640640840..00d10d0a6b59 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec/Condition.php +++ b/DiscoveryEngine/src/V1/SearchRequest/QueryExpansionSpec/Condition.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/RankingExpressionBackend.php b/DiscoveryEngine/src/V1/SearchRequest/RankingExpressionBackend.php index 0c63d8e917b9..1c4ed92ea419 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/RankingExpressionBackend.php +++ b/DiscoveryEngine/src/V1/SearchRequest/RankingExpressionBackend.php @@ -79,4 +79,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/RelevanceScoreSpec.php b/DiscoveryEngine/src/V1/SearchRequest/RelevanceScoreSpec.php index a0d998db60f6..c45580cac52b 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/RelevanceScoreSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/RelevanceScoreSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The specification for returning the document relevance score. @@ -69,4 +69,3 @@ public function setReturnRelevanceScore($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/RelevanceThreshold.php b/DiscoveryEngine/src/V1/SearchRequest/RelevanceThreshold.php index f6a1766d96ef..fead70f53e48 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/RelevanceThreshold.php +++ b/DiscoveryEngine/src/V1/SearchRequest/RelevanceThreshold.php @@ -76,4 +76,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec.php b/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec.php index 88446b0d73a1..ef092af6d1b2 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification for search as you type in search requests. @@ -73,4 +73,3 @@ public function setCondition($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec/Condition.php b/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec/Condition.php index 58996740de8d..09ce1be5131f 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec/Condition.php +++ b/DiscoveryEngine/src/V1/SearchRequest/SearchAsYouTypeSpec/Condition.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/SessionSpec.php b/DiscoveryEngine/src/V1/SearchRequest/SessionSpec.php index bb1853b47bb2..9a89a3996fab 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/SessionSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/SessionSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Session specification. @@ -208,4 +208,3 @@ public function setSearchResultPersistenceCount($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec.php b/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec.php index 622ad565c9dc..efc76bafaf4a 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec.php +++ b/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The specification for query spell correction. @@ -73,4 +73,3 @@ public function setMode($var) } - diff --git a/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec/Mode.php b/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec/Mode.php index d3eb833b1536..84955a6135b3 100644 --- a/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec/Mode.php +++ b/DiscoveryEngine/src/V1/SearchRequest/SpellCorrectionSpec/Mode.php @@ -65,4 +65,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchResponse.php b/DiscoveryEngine/src/V1/SearchResponse.php index f3450a4a0b62..0c46c85bf15e 100644 --- a/DiscoveryEngine/src/V1/SearchResponse.php +++ b/DiscoveryEngine/src/V1/SearchResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for @@ -127,9 +127,9 @@ class SearchResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult>|\Google\Protobuf\Internal\RepeatedField $results + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult[] $results * A list of matched documents. The order represents the ranking. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet>|\Google\Protobuf\Internal\RepeatedField $facets + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet[] $facets * Results of facets requested by user. * @type int $total_size * The estimated total count of matched items irrespective of pagination. The @@ -174,7 +174,7 @@ class SearchResponse extends \Google\Protobuf\Internal\Message * Only set if * [SearchRequest.session][google.cloud.discoveryengine.v1.SearchRequest.session] * is provided. See its description for more details. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchLinkPromotion>|\Google\Protobuf\Internal\RepeatedField $search_link_promotions + * @type \Google\Cloud\DiscoveryEngine\V1\SearchLinkPromotion[] $search_link_promotions * Promotions for site search. * @type int $semantic_state * Output only. Indicates the semantic state of the search response. @@ -189,7 +189,7 @@ public function __construct($data = NULL) { * A list of matched documents. The order represents the ranking. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult> */ public function getResults() { @@ -200,7 +200,7 @@ public function getResults() * A list of matched documents. The order represents the ranking. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult results = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult[] $var * @return $this */ public function setResults($var) @@ -215,7 +215,7 @@ public function setResults($var) * Results of facets requested by user. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Facet facets = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet> */ public function getFacets() { @@ -226,7 +226,7 @@ public function getFacets() * Results of facets requested by user. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Facet facets = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet[] $var * @return $this */ public function setFacets($var) @@ -565,7 +565,7 @@ public function setSessionInfo($var) * Promotions for site search. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotions = 23; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchLinkPromotion> */ public function getSearchLinkPromotions() { @@ -576,7 +576,7 @@ public function getSearchLinkPromotions() * Promotions for site search. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchLinkPromotion search_link_promotions = 23; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchLinkPromotion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchLinkPromotion[] $var * @return $this */ public function setSearchLinkPromotions($var) diff --git a/DiscoveryEngine/src/V1/SearchResponse/Facet.php b/DiscoveryEngine/src/V1/SearchResponse/Facet.php index 3e84dbe49ee4..d5788966b230 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Facet.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Facet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A facet result. @@ -44,7 +44,7 @@ class Facet extends \Google\Protobuf\Internal\Message * @type string $key * The key for this facet. For example, `"colors"` or `"price"`. It matches * [SearchRequest.FacetSpec.FacetKey.key][google.cloud.discoveryengine.v1.SearchRequest.FacetSpec.FacetKey.key]. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet\FacetValue>|\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet\FacetValue[] $values * The facet values for this field. * @type bool $dynamic_facet * Whether the facet is dynamically generated. @@ -87,7 +87,7 @@ public function setKey($var) * The facet values for this field. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Facet.FacetValue values = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet\FacetValue> */ public function getValues() { @@ -98,7 +98,7 @@ public function getValues() * The facet values for this field. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Facet.FacetValue values = 2; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet\FacetValue>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet\FacetValue[] $var * @return $this */ public function setValues($var) @@ -137,4 +137,3 @@ public function setDynamicFacet($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Facet/FacetValue.php b/DiscoveryEngine/src/V1/SearchResponse/Facet/FacetValue.php index c1b4ead1ca39..ed1c58d91782 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Facet/FacetValue.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Facet/FacetValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Facet; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A facet value which contains value names and their count. @@ -146,4 +146,3 @@ public function getFacetValue() } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo.php index dd5905972646..d1d694db02a7 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information describing what natural language understanding was @@ -52,7 +52,7 @@ class NaturalLanguageQueryUnderstandingInfo extends \Google\Protobuf\Internal\Me * The filters that were extracted from the input query. * @type string $rewritten_query * Rewritten input query minus the extracted filters. - * @type array|\Google\Protobuf\Internal\RepeatedField $classified_intents + * @type string[] $classified_intents * The classified intents from the input query. * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter $structured_extracted_filter * The filters that were extracted from the input query represented in a @@ -120,7 +120,7 @@ public function setRewrittenQuery($var) * The classified intents from the input query. * * Generated from protobuf field repeated string classified_intents = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getClassifiedIntents() { @@ -131,7 +131,7 @@ public function getClassifiedIntents() * The classified intents from the input query. * * Generated from protobuf field repeated string classified_intents = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setClassifiedIntents($var) @@ -182,4 +182,3 @@ public function setStructuredExtractedFilter($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter.php index de31f7c0dc57..2e4fd75d1187 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The filters that were extracted from the input query represented in a @@ -92,4 +92,3 @@ public function setExpression($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/AndExpression.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/AndExpression.php index a598976d51f8..5c79bd00b377 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/AndExpression.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/AndExpression.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Logical `And` operator. @@ -28,7 +28,7 @@ class AndExpression extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression>|\Google\Protobuf\Internal\RepeatedField $expressions + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression[] $expressions * The expressions that were ANDed together. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The expressions that were ANDed together. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression> */ public function getExpressions() { @@ -52,7 +52,7 @@ public function getExpressions() * The expressions that were ANDed together. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression[] $var * @return $this */ public function setExpressions($var) @@ -65,4 +65,3 @@ public function setExpressions($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/Expression.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/Expression.php index ea3d9f784e6d..7c0d3bc06ae2 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/Expression.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/Expression.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The expression denoting the filter that was extracted from the input @@ -206,4 +206,3 @@ public function getExpr() } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/GeolocationConstraint.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/GeolocationConstraint.php index 83340a2ff695..44d82acc2e8e 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/GeolocationConstraint.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/GeolocationConstraint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Constraint of a geolocation field. @@ -214,4 +214,3 @@ public function setRadiusInMeters($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint.php index d3eebb942465..938cbf1fb102 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Constraint expression of a number field. Example: price < 100. @@ -171,4 +171,3 @@ public function setQuerySegment($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint/Comparison.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint/Comparison.php index 6d652cf97e98..f2c121659e00 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint/Comparison.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/NumberConstraint/Comparison.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/OrExpression.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/OrExpression.php index 088f44ba330b..40e20503ad4f 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/OrExpression.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/OrExpression.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Logical `Or` operator. @@ -28,7 +28,7 @@ class OrExpression extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression>|\Google\Protobuf\Internal\RepeatedField $expressions + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression[] $expressions * The expressions that were ORed together. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The expressions that were ORed together. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression> */ public function getExpressions() { @@ -52,7 +52,7 @@ public function getExpressions() * The expressions that were ORed together. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter\Expression[] $var * @return $this */ public function setExpressions($var) @@ -65,4 +65,3 @@ public function setExpressions($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/StringConstraint.php b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/StringConstraint.php index 2fef852a79af..b12f5092146c 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/StringConstraint.php +++ b/DiscoveryEngine/src/V1/SearchResponse/NaturalLanguageQueryUnderstandingInfo/StructuredExtractedFilter/StringConstraint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\NaturalLanguageQueryUnderstandingInfo\StructuredExtractedFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Constraint expression of a string field. @@ -43,7 +43,7 @@ class StringConstraint extends \Google\Protobuf\Internal\Message * * @type string $field_name * Name of the string field as defined in the schema. - * @type array|\Google\Protobuf\Internal\RepeatedField $values + * @type string[] $values * Values of the string field. The record will only be returned if the * field value matches one of the values specified here. * @type string $query_segment @@ -86,7 +86,7 @@ public function setFieldName($var) * field value matches one of the values specified here. * * Generated from protobuf field repeated string values = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getValues() { @@ -98,7 +98,7 @@ public function getValues() * field value matches one of the values specified here. * * Generated from protobuf field repeated string values = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setValues($var) @@ -137,4 +137,3 @@ public function setQuerySegment($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/QueryExpansionInfo.php b/DiscoveryEngine/src/V1/SearchResponse/QueryExpansionInfo.php index 4e0b624c8a81..757749eb30b6 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/QueryExpansionInfo.php +++ b/DiscoveryEngine/src/V1/SearchResponse/QueryExpansionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information describing query expansion including whether expansion has @@ -112,4 +112,3 @@ public function setPinnedResultCount($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/SearchResult.php b/DiscoveryEngine/src/V1/SearchResponse/SearchResult.php index 06546101974b..e7f3bf718c92 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/SearchResult.php +++ b/DiscoveryEngine/src/V1/SearchResponse/SearchResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the search results. @@ -251,4 +251,3 @@ public function setRankSignals($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals.php b/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals.php index 5057ac0f5277..1b3310d3ee57 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals.php +++ b/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A set of ranking signals. @@ -92,7 +92,7 @@ class RankSignals extends \Google\Protobuf\Internal\Message * Optional. Combined custom boosts for a doc. * @type float $default_rank * Optional. The default rank of the result. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult\RankSignals\CustomSignal>|\Google\Protobuf\Internal\RepeatedField $custom_signals + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult\RankSignals\CustomSignal[] $custom_signals * Optional. A list of custom clearbox signals. * } */ @@ -383,7 +383,7 @@ public function setDefaultRank($var) * Optional. A list of custom clearbox signals. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal custom_signals = 33 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult\RankSignals\CustomSignal> */ public function getCustomSignals() { @@ -394,7 +394,7 @@ public function getCustomSignals() * Optional. A list of custom clearbox signals. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult.RankSignals.CustomSignal custom_signals = 33 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult\RankSignals\CustomSignal>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult\RankSignals\CustomSignal[] $var * @return $this */ public function setCustomSignals($var) @@ -407,4 +407,3 @@ public function setCustomSignals($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals/CustomSignal.php b/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals/CustomSignal.php index 9a9d4ecc290b..ea75013db0f1 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals/CustomSignal.php +++ b/DiscoveryEngine/src/V1/SearchResponse/SearchResult/RankSignals/CustomSignal.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\SearchResult\RankSignals; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Custom clearbox signal represented by name and value pair. @@ -103,4 +103,3 @@ public function setValue($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/SemanticState.php b/DiscoveryEngine/src/V1/SearchResponse/SemanticState.php index 8df2949def49..c56c15922c42 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/SemanticState.php +++ b/DiscoveryEngine/src/V1/SearchResponse/SemanticState.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/SessionInfo.php b/DiscoveryEngine/src/V1/SearchResponse/SessionInfo.php index d0cbb0571b77..53c1971199f7 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/SessionInfo.php +++ b/DiscoveryEngine/src/V1/SearchResponse/SessionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the session. @@ -127,4 +127,3 @@ public function setQueryId($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary.php b/DiscoveryEngine/src/V1/SearchResponse/Summary.php index 96f36103e851..285787ff67ad 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Summary of the top N search results specified by the summary spec. @@ -50,7 +50,7 @@ class Summary extends \Google\Protobuf\Internal\Message * * @type string $summary_text * The summary content. - * @type array|\Google\Protobuf\Internal\RepeatedField $summary_skipped_reasons + * @type int[] $summary_skipped_reasons * Additional summary-skipped reasons. This provides the reason for ignored * cases. If nothing is skipped, this field is not set. * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\SafetyAttributes $safety_attributes @@ -96,7 +96,7 @@ public function setSummaryText($var) * cases. If nothing is skipped, this field is not set. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.SummarySkippedReason summary_skipped_reasons = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSummarySkippedReasons() { @@ -108,7 +108,7 @@ public function getSummarySkippedReasons() * cases. If nothing is skipped, this field is not set. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.SummarySkippedReason summary_skipped_reasons = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSummarySkippedReasons($var) @@ -195,4 +195,3 @@ public function setSummaryWithMetadata($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/Citation.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/Citation.php index dd5e62054878..6b6fdd630306 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/Citation.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/Citation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Citation info for a segment. @@ -44,7 +44,7 @@ class Citation extends \Google\Protobuf\Internal\Message * Index indicates the start of the segment, measured in bytes/unicode. * @type int|string $end_index * End of the attributed segment, exclusive. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\CitationSource>|\Google\Protobuf\Internal\RepeatedField $sources + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\CitationSource[] $sources * Citation sources for the attributed segment. * } */ @@ -109,7 +109,7 @@ public function setEndIndex($var) * Citation sources for the attributed segment. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource sources = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\CitationSource> */ public function getSources() { @@ -120,7 +120,7 @@ public function getSources() * Citation sources for the attributed segment. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource sources = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\CitationSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\CitationSource[] $var * @return $this */ public function setSources($var) @@ -133,4 +133,3 @@ public function setSources($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationMetadata.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationMetadata.php index 30306926f36d..f7a467f63006 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationMetadata.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Citation metadata. @@ -28,7 +28,7 @@ class CitationMetadata extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Citation>|\Google\Protobuf\Internal\RepeatedField $citations + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Citation[] $citations * Citations for segments. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Citations for segments. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation citations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Citation> */ public function getCitations() { @@ -52,7 +52,7 @@ public function getCitations() * Citations for segments. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation citations = 1; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Citation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Citation[] $var * @return $this */ public function setCitations($var) @@ -65,4 +65,3 @@ public function setCitations($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationSource.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationSource.php index 4544933b4159..b59c4b3109e6 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationSource.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/CitationSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Citation source. @@ -73,4 +73,3 @@ public function setReferenceIndex($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference.php index bf62afb95e9d..e043f556dfcc 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document reference. @@ -25,7 +25,7 @@ class Reference extends \Google\Protobuf\Internal\Message * Required. * [Document.name][google.cloud.discoveryengine.v1.Document.name] of the * document. Full resource name of the referenced document, in the format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * * Generated from protobuf field string document = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -55,10 +55,10 @@ class Reference extends \Google\Protobuf\Internal\Message * Required. * [Document.name][google.cloud.discoveryengine.v1.Document.name] of the * document. Full resource name of the referenced document, in the format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * @type string $uri * Cloud Storage or HTTP uri for the document. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference\ChunkContent>|\Google\Protobuf\Internal\RepeatedField $chunk_contents + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference\ChunkContent[] $chunk_contents * List of cited chunk contents derived from document content. * } */ @@ -97,7 +97,7 @@ public function setTitle($var) * Required. * [Document.name][google.cloud.discoveryengine.v1.Document.name] of the * document. Full resource name of the referenced document, in the format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * * Generated from protobuf field string document = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -111,7 +111,7 @@ public function getDocument() * Required. * [Document.name][google.cloud.discoveryengine.v1.Document.name] of the * document. Full resource name of the referenced document, in the format - * `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}branches/{@*}documents/*`. * * Generated from protobuf field string document = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -155,7 +155,7 @@ public function setUri($var) * List of cited chunk contents derived from document content. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference\ChunkContent> */ public function getChunkContents() { @@ -166,7 +166,7 @@ public function getChunkContents() * List of cited chunk contents derived from document content. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent chunk_contents = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference\ChunkContent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference\ChunkContent[] $var * @return $this */ public function setChunkContents($var) @@ -179,4 +179,3 @@ public function setChunkContents($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference/ChunkContent.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference/ChunkContent.php index aa316b4a79d9..bceb2a5f6bdc 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference/ChunkContent.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/Reference/ChunkContent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Chunk content. @@ -99,4 +99,3 @@ public function setPageIdentifier($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/SafetyAttributes.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/SafetyAttributes.php index 7d12696bfff4..a95965847f61 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/SafetyAttributes.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/SafetyAttributes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Safety Attribute categories and their associated confidence scores. @@ -36,10 +36,10 @@ class SafetyAttributes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $categories + * @type string[] $categories * The display names of Safety Attribute categories associated with the * generated content. Order matches the Scores. - * @type array|\Google\Protobuf\Internal\RepeatedField $scores + * @type float[] $scores * The confidence scores of the each category, higher * value means higher confidence. Order matches the Categories. * } @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * generated content. Order matches the Scores. * * Generated from protobuf field repeated string categories = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCategories() { @@ -66,7 +66,7 @@ public function getCategories() * generated content. Order matches the Scores. * * Generated from protobuf field repeated string categories = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCategories($var) @@ -82,7 +82,7 @@ public function setCategories($var) * value means higher confidence. Order matches the Categories. * * Generated from protobuf field repeated float scores = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getScores() { @@ -94,7 +94,7 @@ public function getScores() * value means higher confidence. Order matches the Categories. * * Generated from protobuf field repeated float scores = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param float[] $var * @return $this */ public function setScores($var) @@ -107,4 +107,3 @@ public function setScores($var) } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/SummarySkippedReason.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/SummarySkippedReason.php index b908233176e2..c51eaa1f6c1c 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/SummarySkippedReason.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/SummarySkippedReason.php @@ -141,4 +141,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/SearchResponse/Summary/SummaryWithMetadata.php b/DiscoveryEngine/src/V1/SearchResponse/Summary/SummaryWithMetadata.php index 11493f0f3111..723c24861f9d 100644 --- a/DiscoveryEngine/src/V1/SearchResponse/Summary/SummaryWithMetadata.php +++ b/DiscoveryEngine/src/V1/SearchResponse/Summary/SummaryWithMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Summary with metadata information. @@ -44,7 +44,7 @@ class SummaryWithMetadata extends \Google\Protobuf\Internal\Message * Summary text with no citation information. * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\CitationMetadata $citation_metadata * Citation metadata for given summary. - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference>|\Google\Protobuf\Internal\RepeatedField $references + * @type \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference[] $references * Document References. * } */ @@ -119,7 +119,7 @@ public function setCitationMetadata($var) * Document References. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference references = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference> */ public function getReferences() { @@ -130,7 +130,7 @@ public function getReferences() * Document References. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference references = 3; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchResponse\Summary\Reference[] $var * @return $this */ public function setReferences($var) @@ -143,4 +143,3 @@ public function setReferences($var) } - diff --git a/DiscoveryEngine/src/V1/ServingConfig.php b/DiscoveryEngine/src/V1/ServingConfig.php index 47556a70a4f7..15a4b6bcd16a 100644 --- a/DiscoveryEngine/src/V1/ServingConfig.php +++ b/DiscoveryEngine/src/V1/ServingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configures metadata that is used to generate serving time results (e.g. @@ -271,38 +271,38 @@ class ServingConfig extends \Google\Protobuf\Internal\Message * Output only. ServingConfig created timestamp. * @type \Google\Protobuf\Timestamp $update_time * Output only. ServingConfig updated timestamp. - * @type array|\Google\Protobuf\Internal\RepeatedField $filter_control_ids + * @type string[] $filter_control_ids * Filter controls to use in serving path. * All triggered filter controls will be applied. * Filter controls must be in the same data store as the serving config. * Maximum of 20 filter controls. - * @type array|\Google\Protobuf\Internal\RepeatedField $boost_control_ids + * @type string[] $boost_control_ids * Boost controls to use in serving path. * All triggered boost controls will be applied. * Boost controls must be in the same data store as the serving config. * Maximum of 20 boost controls. - * @type array|\Google\Protobuf\Internal\RepeatedField $redirect_control_ids + * @type string[] $redirect_control_ids * IDs of the redirect controls. Only the first triggered redirect * action is applied, even if multiple apply. Maximum number of * specifications is 100. * Can only be set if * [SolutionType][google.cloud.discoveryengine.v1.SolutionType] is * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. - * @type array|\Google\Protobuf\Internal\RepeatedField $synonyms_control_ids + * @type string[] $synonyms_control_ids * Condition synonyms specifications. If multiple synonyms conditions * match, all matching synonyms controls in the list will execute. * Maximum number of specifications is 100. * Can only be set if * [SolutionType][google.cloud.discoveryengine.v1.SolutionType] is * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. - * @type array|\Google\Protobuf\Internal\RepeatedField $oneway_synonyms_control_ids + * @type string[] $oneway_synonyms_control_ids * Condition oneway synonyms specifications. If multiple oneway synonyms * conditions match, all matching oneway synonyms controls in the list * will execute. Maximum number of specifications is 100. * Can only be set if * [SolutionType][google.cloud.discoveryengine.v1.SolutionType] is * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. - * @type array|\Google\Protobuf\Internal\RepeatedField $dissociate_control_ids + * @type string[] $dissociate_control_ids * Condition do not associate specifications. If multiple do not * associate conditions match, all matching do not associate controls in * the list will execute. @@ -311,7 +311,7 @@ class ServingConfig extends \Google\Protobuf\Internal\Message * Can only be set if * [SolutionType][google.cloud.discoveryengine.v1.SolutionType] is * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. - * @type array|\Google\Protobuf\Internal\RepeatedField $replacement_control_ids + * @type string[] $replacement_control_ids * Condition replacement specifications. * Applied according to the order in the list. * A previously replaced term can not be re-replaced. @@ -319,13 +319,13 @@ class ServingConfig extends \Google\Protobuf\Internal\Message * Can only be set if * [SolutionType][google.cloud.discoveryengine.v1.SolutionType] is * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. - * @type array|\Google\Protobuf\Internal\RepeatedField $ignore_control_ids + * @type string[] $ignore_control_ids * Condition ignore specifications. If multiple ignore * conditions match, all matching ignore controls in the list will * execute. * Order does not matter. * Maximum number of specifications is 100. - * @type array|\Google\Protobuf\Internal\RepeatedField $promote_control_ids + * @type string[] $promote_control_ids * Condition promote specifications. * Maximum number of specifications is 100. * } @@ -716,7 +716,7 @@ public function setUpdateTime($var) * Maximum of 20 filter controls. * * Generated from protobuf field repeated string filter_control_ids = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFilterControlIds() { @@ -730,7 +730,7 @@ public function getFilterControlIds() * Maximum of 20 filter controls. * * Generated from protobuf field repeated string filter_control_ids = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFilterControlIds($var) @@ -748,7 +748,7 @@ public function setFilterControlIds($var) * Maximum of 20 boost controls. * * Generated from protobuf field repeated string boost_control_ids = 12; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBoostControlIds() { @@ -762,7 +762,7 @@ public function getBoostControlIds() * Maximum of 20 boost controls. * * Generated from protobuf field repeated string boost_control_ids = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setBoostControlIds($var) @@ -782,7 +782,7 @@ public function setBoostControlIds($var) * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string redirect_control_ids = 14; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRedirectControlIds() { @@ -798,7 +798,7 @@ public function getRedirectControlIds() * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string redirect_control_ids = 14; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRedirectControlIds($var) @@ -818,7 +818,7 @@ public function setRedirectControlIds($var) * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string synonyms_control_ids = 15; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSynonymsControlIds() { @@ -834,7 +834,7 @@ public function getSynonymsControlIds() * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string synonyms_control_ids = 15; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSynonymsControlIds($var) @@ -854,7 +854,7 @@ public function setSynonymsControlIds($var) * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string oneway_synonyms_control_ids = 16; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getOnewaySynonymsControlIds() { @@ -870,7 +870,7 @@ public function getOnewaySynonymsControlIds() * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string oneway_synonyms_control_ids = 16; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setOnewaySynonymsControlIds($var) @@ -892,7 +892,7 @@ public function setOnewaySynonymsControlIds($var) * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string dissociate_control_ids = 17; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDissociateControlIds() { @@ -910,7 +910,7 @@ public function getDissociateControlIds() * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string dissociate_control_ids = 17; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDissociateControlIds($var) @@ -931,7 +931,7 @@ public function setDissociateControlIds($var) * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string replacement_control_ids = 18; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReplacementControlIds() { @@ -948,7 +948,7 @@ public function getReplacementControlIds() * [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]. * * Generated from protobuf field repeated string replacement_control_ids = 18; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReplacementControlIds($var) @@ -967,7 +967,7 @@ public function setReplacementControlIds($var) * Maximum number of specifications is 100. * * Generated from protobuf field repeated string ignore_control_ids = 19; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIgnoreControlIds() { @@ -982,7 +982,7 @@ public function getIgnoreControlIds() * Maximum number of specifications is 100. * * Generated from protobuf field repeated string ignore_control_ids = 19; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIgnoreControlIds($var) @@ -998,7 +998,7 @@ public function setIgnoreControlIds($var) * Maximum number of specifications is 100. * * Generated from protobuf field repeated string promote_control_ids = 26; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPromoteControlIds() { @@ -1010,7 +1010,7 @@ public function getPromoteControlIds() * Maximum number of specifications is 100. * * Generated from protobuf field repeated string promote_control_ids = 26; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPromoteControlIds($var) diff --git a/DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php b/DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php index 47e4be74069b..f36eae9f01bf 100644 --- a/DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php +++ b/DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\ServingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the configurations needed for Generic Discovery.Currently we @@ -81,4 +81,3 @@ public function setContentSearchSpec($var) } - diff --git a/DiscoveryEngine/src/V1/ServingConfig/MediaConfig.php b/DiscoveryEngine/src/V1/ServingConfig/MediaConfig.php index 42ed7458bf41..6d59d4f0f86a 100644 --- a/DiscoveryEngine/src/V1/ServingConfig/MediaConfig.php +++ b/DiscoveryEngine/src/V1/ServingConfig/MediaConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\ServingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the configurations needed for Media Discovery. Currently we @@ -264,4 +264,3 @@ public function getDemoteContentWatched() } - diff --git a/DiscoveryEngine/src/V1/Session.php b/DiscoveryEngine/src/V1/Session.php index b21404144943..9fc9d0c48610 100644 --- a/DiscoveryEngine/src/V1/Session.php +++ b/DiscoveryEngine/src/V1/Session.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * External session proto definition. @@ -17,7 +17,7 @@ class Session extends \Google\Protobuf\Internal\Message { /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @@ -83,7 +83,7 @@ class Session extends \Google\Protobuf\Internal\Message * * @type string $name * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` * @type string $display_name * Optional. The display name of the session. * This field is used to identify the session in the UI. @@ -92,9 +92,9 @@ class Session extends \Google\Protobuf\Internal\Message * The state of the session. * @type string $user_pseudo_id * A unique identifier for tracking users. - * @type array<\Google\Cloud\DiscoveryEngine\V1\Session\Turn>|\Google\Protobuf\Internal\RepeatedField $turns + * @type \Google\Cloud\DiscoveryEngine\V1\Session\Turn[] $turns * Turns. - * @type array|\Google\Protobuf\Internal\RepeatedField $labels + * @type string[] $labels * Optional. The labels for the session. * Can be set as filter in ListSessionsRequest. * @type \Google\Protobuf\Timestamp $start_time @@ -113,7 +113,7 @@ public function __construct($data = NULL) { /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @return string @@ -125,7 +125,7 @@ public function getName() /** * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; * @param string $var @@ -225,7 +225,7 @@ public function setUserPseudoId($var) * Turns. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\Session\Turn> */ public function getTurns() { @@ -236,7 +236,7 @@ public function getTurns() * Turns. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4; - * @param array<\Google\Cloud\DiscoveryEngine\V1\Session\Turn>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\Session\Turn[] $var * @return $this */ public function setTurns($var) @@ -252,7 +252,7 @@ public function setTurns($var) * Can be set as filter in ListSessionsRequest. * * Generated from protobuf field repeated string labels = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLabels() { @@ -264,7 +264,7 @@ public function getLabels() * Can be set as filter in ListSessionsRequest. * * Generated from protobuf field repeated string labels = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLabels($var) diff --git a/DiscoveryEngine/src/V1/Session/State.php b/DiscoveryEngine/src/V1/Session/State.php index 7990b51b3c52..d018218ac637 100644 --- a/DiscoveryEngine/src/V1/Session/State.php +++ b/DiscoveryEngine/src/V1/Session/State.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Session/Turn.php b/DiscoveryEngine/src/V1/Session/Turn.php index 162f961f1b15..5447f97d091a 100644 --- a/DiscoveryEngine/src/V1/Session/Turn.php +++ b/DiscoveryEngine/src/V1/Session/Turn.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\Session; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a turn, including a query from the user and a @@ -296,4 +296,3 @@ public function setQueryConfig($var) } - diff --git a/DiscoveryEngine/src/V1/SingleRegionKey.php b/DiscoveryEngine/src/V1/SingleRegionKey.php index 94e35bc31cea..a32ab523a044 100644 --- a/DiscoveryEngine/src/V1/SingleRegionKey.php +++ b/DiscoveryEngine/src/V1/SingleRegionKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for single-regional CMEKs. diff --git a/DiscoveryEngine/src/V1/SiteSearchEngine.php b/DiscoveryEngine/src/V1/SiteSearchEngine.php index 71115ba0a1b8..e215a599571a 100644 --- a/DiscoveryEngine/src/V1/SiteSearchEngine.php +++ b/DiscoveryEngine/src/V1/SiteSearchEngine.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * SiteSearchEngine captures DataStore level site search persisting @@ -18,7 +18,7 @@ class SiteSearchEngine extends \Google\Protobuf\Internal\Message { /** * The fully qualified resource name of the site search engine. - * Format: `projects/*/locations/*/dataStores/*/siteSearchEngine` + * Format: `projects/{@*}locations/{@*}dataStores/{@*}siteSearchEngine` * * Generated from protobuf field string name = 1; */ @@ -32,7 +32,7 @@ class SiteSearchEngine extends \Google\Protobuf\Internal\Message * * @type string $name * The fully qualified resource name of the site search engine. - * Format: `projects/*/locations/*/dataStores/*/siteSearchEngine` + * Format: `projects/{@*}locations/{@*}dataStores/{@*}siteSearchEngine` * } */ public function __construct($data = NULL) { @@ -42,7 +42,7 @@ public function __construct($data = NULL) { /** * The fully qualified resource name of the site search engine. - * Format: `projects/*/locations/*/dataStores/*/siteSearchEngine` + * Format: `projects/{@*}locations/{@*}dataStores/{@*}siteSearchEngine` * * Generated from protobuf field string name = 1; * @return string @@ -54,7 +54,7 @@ public function getName() /** * The fully qualified resource name of the site search engine. - * Format: `projects/*/locations/*/dataStores/*/siteSearchEngine` + * Format: `projects/{@*}locations/{@*}dataStores/{@*}siteSearchEngine` * * Generated from protobuf field string name = 1; * @param string $var diff --git a/DiscoveryEngine/src/V1/SiteVerificationInfo.php b/DiscoveryEngine/src/V1/SiteVerificationInfo.php index a4d12855c631..e78bbde7bd17 100644 --- a/DiscoveryEngine/src/V1/SiteVerificationInfo.php +++ b/DiscoveryEngine/src/V1/SiteVerificationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Verification information for target sites in advanced site search. diff --git a/DiscoveryEngine/src/V1/SiteVerificationInfo/SiteVerificationState.php b/DiscoveryEngine/src/V1/SiteVerificationInfo/SiteVerificationState.php index 329320dca724..b45c7c65256b 100644 --- a/DiscoveryEngine/src/V1/SiteVerificationInfo/SiteVerificationState.php +++ b/DiscoveryEngine/src/V1/SiteVerificationInfo/SiteVerificationState.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/Sitemap.php b/DiscoveryEngine/src/V1/Sitemap.php index c764ada1bded..a463d19d45d1 100644 --- a/DiscoveryEngine/src/V1/Sitemap.php +++ b/DiscoveryEngine/src/V1/Sitemap.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A sitemap for the SiteSearchEngine. @@ -17,7 +17,7 @@ class Sitemap extends \Google\Protobuf\Internal\Message { /** * Output only. The fully qualified resource name of the sitemap. - * `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine/sitemaps/*` * The `sitemap_id` suffix is system-generated. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -41,7 +41,7 @@ class Sitemap extends \Google\Protobuf\Internal\Message * Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. * @type string $name * Output only. The fully qualified resource name of the sitemap. - * `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine/sitemaps/*` * The `sitemap_id` suffix is system-generated. * @type \Google\Protobuf\Timestamp $create_time * Output only. The sitemap's creation time. @@ -85,7 +85,7 @@ public function setUri($var) /** * Output only. The fully qualified resource name of the sitemap. - * `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine/sitemaps/*` * The `sitemap_id` suffix is system-generated. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -98,7 +98,7 @@ public function getName() /** * Output only. The fully qualified resource name of the sitemap. - * `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*` + * `projects/{@*}locations/{@*}collections/{@*}dataStores/{@*}siteSearchEngine/sitemaps/*` * The `sitemap_id` suffix is system-generated. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/DiscoveryEngine/src/V1/SpannerSource.php b/DiscoveryEngine/src/V1/SpannerSource.php index 4eb930e5e033..345d9e80618e 100644 --- a/DiscoveryEngine/src/V1/SpannerSource.php +++ b/DiscoveryEngine/src/V1/SpannerSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The Spanner source for importing data diff --git a/DiscoveryEngine/src/V1/StreamAssistRequest.php b/DiscoveryEngine/src/V1/StreamAssistRequest.php index 34f4682b4960..a2e2ab67a75c 100644 --- a/DiscoveryEngine/src/V1/StreamAssistRequest.php +++ b/DiscoveryEngine/src/V1/StreamAssistRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the diff --git a/DiscoveryEngine/src/V1/StreamAssistRequest/GenerationSpec.php b/DiscoveryEngine/src/V1/StreamAssistRequest/GenerationSpec.php index f210c113e9f0..f19bbaf20721 100644 --- a/DiscoveryEngine/src/V1/StreamAssistRequest/GenerationSpec.php +++ b/DiscoveryEngine/src/V1/StreamAssistRequest/GenerationSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\StreamAssistRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Assistant generation specification for the request. @@ -71,4 +71,3 @@ public function setModelId($var) } - diff --git a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec.php b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec.php index 1ad1c234a2b2..922432f139d2 100644 --- a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec.php +++ b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\StreamAssistRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification of tools that are used to serve the request. @@ -223,4 +223,3 @@ public function setVideoGenerationSpec($var) } - diff --git a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/ImageGenerationSpec.php b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/ImageGenerationSpec.php index 2aac6964cdae..49a1a3fb70e9 100644 --- a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/ImageGenerationSpec.php +++ b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/ImageGenerationSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\StreamAssistRequest\ToolsSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification of the image generation tool. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VertexAiSearchSpec.php b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VertexAiSearchSpec.php index 36ce97cd6ebd..4c5d283ab88f 100644 --- a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VertexAiSearchSpec.php +++ b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VertexAiSearchSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\StreamAssistRequest\ToolsSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification of the Vertex AI Search tool. @@ -49,7 +49,7 @@ class VertexAiSearchSpec extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec>|\Google\Protobuf\Internal\RepeatedField $data_store_specs + * @type \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec[] $data_store_specs * Optional. Specs defining * [DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in * a search call and configurations for those data stores. This is only @@ -83,7 +83,7 @@ public function __construct($data = NULL) { * multiple data stores. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec> */ public function getDataStoreSpecs() { @@ -98,7 +98,7 @@ public function getDataStoreSpecs() * multiple data stores. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec data_store_specs = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DataStoreSpec[] $var * @return $this */ public function setDataStoreSpecs($var) @@ -159,4 +159,3 @@ public function setFilter($var) } - diff --git a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VideoGenerationSpec.php b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VideoGenerationSpec.php index 3fbade733776..de7b8b178d30 100644 --- a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VideoGenerationSpec.php +++ b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/VideoGenerationSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\StreamAssistRequest\ToolsSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification of the video generation tool. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/WebGroundingSpec.php b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/WebGroundingSpec.php index ef2dd53649d5..c6119a98b2d1 100644 --- a/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/WebGroundingSpec.php +++ b/DiscoveryEngine/src/V1/StreamAssistRequest/ToolsSpec/WebGroundingSpec.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\StreamAssistRequest\ToolsSpec; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specification of the web grounding tool. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/DiscoveryEngine/src/V1/StreamAssistResponse.php b/DiscoveryEngine/src/V1/StreamAssistResponse.php index 5615bf4e3270..a174b6cc934c 100644 --- a/DiscoveryEngine/src/V1/StreamAssistResponse.php +++ b/DiscoveryEngine/src/V1/StreamAssistResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the diff --git a/DiscoveryEngine/src/V1/StreamAssistResponse/SessionInfo.php b/DiscoveryEngine/src/V1/StreamAssistResponse/SessionInfo.php index 5785ec8fade9..d966886648d2 100644 --- a/DiscoveryEngine/src/V1/StreamAssistResponse/SessionInfo.php +++ b/DiscoveryEngine/src/V1/StreamAssistResponse/SessionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\StreamAssistResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the session. @@ -73,4 +73,3 @@ public function setSession($var) } - diff --git a/DiscoveryEngine/src/V1/SuggestionDenyListEntry.php b/DiscoveryEngine/src/V1/SuggestionDenyListEntry.php index 5857e88b1e8f..e6e52d5824b0 100644 --- a/DiscoveryEngine/src/V1/SuggestionDenyListEntry.php +++ b/DiscoveryEngine/src/V1/SuggestionDenyListEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Suggestion deny list entry identifying the phrase to block from suggestions diff --git a/DiscoveryEngine/src/V1/SuggestionDenyListEntry/MatchOperator.php b/DiscoveryEngine/src/V1/SuggestionDenyListEntry/MatchOperator.php index ce8611ffd2b1..59bb2a57d5ab 100644 --- a/DiscoveryEngine/src/V1/SuggestionDenyListEntry/MatchOperator.php +++ b/DiscoveryEngine/src/V1/SuggestionDenyListEntry/MatchOperator.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/TargetSite.php b/DiscoveryEngine/src/V1/TargetSite.php index bfaeab3c09ff..d6c170bec8d3 100644 --- a/DiscoveryEngine/src/V1/TargetSite.php +++ b/DiscoveryEngine/src/V1/TargetSite.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A target site for the SiteSearchEngine. diff --git a/DiscoveryEngine/src/V1/TargetSite/FailureReason.php b/DiscoveryEngine/src/V1/TargetSite/FailureReason.php index 579cfa3734df..74ad004fba53 100644 --- a/DiscoveryEngine/src/V1/TargetSite/FailureReason.php +++ b/DiscoveryEngine/src/V1/TargetSite/FailureReason.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\TargetSite; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Site search indexing failure reasons. @@ -73,4 +73,3 @@ public function getFailure() } - diff --git a/DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php b/DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php index f0aa04e4f939..51aa5c985b9c 100644 --- a/DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php +++ b/DiscoveryEngine/src/V1/TargetSite/FailureReason/QuotaFailure.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\TargetSite\FailureReason; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Failed due to insufficient quota. @@ -69,4 +69,3 @@ public function setTotalRequiredQuota($var) } - diff --git a/DiscoveryEngine/src/V1/TargetSite/IndexingStatus.php b/DiscoveryEngine/src/V1/TargetSite/IndexingStatus.php index 4870a3d6e3fe..4aa18b2aff1b 100644 --- a/DiscoveryEngine/src/V1/TargetSite/IndexingStatus.php +++ b/DiscoveryEngine/src/V1/TargetSite/IndexingStatus.php @@ -91,4 +91,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/TargetSite/Type.php b/DiscoveryEngine/src/V1/TargetSite/Type.php index 269f28107122..75fb68dc7b9e 100644 --- a/DiscoveryEngine/src/V1/TargetSite/Type.php +++ b/DiscoveryEngine/src/V1/TargetSite/Type.php @@ -64,4 +64,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/TextInput.php b/DiscoveryEngine/src/V1/TextInput.php index 645755b1ba2c..6536e13ba847 100644 --- a/DiscoveryEngine/src/V1/TextInput.php +++ b/DiscoveryEngine/src/V1/TextInput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines text input. diff --git a/DiscoveryEngine/src/V1/TrainCustomModelMetadata.php b/DiscoveryEngine/src/V1/TrainCustomModelMetadata.php index 9ab93de14666..c38251b75d47 100644 --- a/DiscoveryEngine/src/V1/TrainCustomModelMetadata.php +++ b/DiscoveryEngine/src/V1/TrainCustomModelMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the TrainCustomModel operation. This is diff --git a/DiscoveryEngine/src/V1/TrainCustomModelRequest.php b/DiscoveryEngine/src/V1/TrainCustomModelRequest.php index 75c163d2d6ac..a332f15c59f9 100644 --- a/DiscoveryEngine/src/V1/TrainCustomModelRequest.php +++ b/DiscoveryEngine/src/V1/TrainCustomModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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 TrainCustomModelRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name of the Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to train the models. * * Generated from protobuf field string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -57,7 +57,7 @@ class TrainCustomModelRequest extends \Google\Protobuf\Internal\Message * Cloud Storage training input. * @type string $data_store * Required. The resource name of the Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to train the models. * @type string $model_type * Model to be trained. Supported values are: @@ -107,7 +107,7 @@ public function setGcsTrainingInput($var) /** * Required. The resource name of the Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to train the models. * * Generated from protobuf field string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { @@ -120,7 +120,7 @@ public function getDataStore() /** * Required. The resource name of the Data Store, such as - * `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. + * `projects/{@*}locations/global/collections/default_collection/dataStores/default_data_store`. * This field is used to identify the data store where to train the models. * * Generated from protobuf field string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { diff --git a/DiscoveryEngine/src/V1/TrainCustomModelRequest/GcsTrainingInput.php b/DiscoveryEngine/src/V1/TrainCustomModelRequest/GcsTrainingInput.php index 76d7f7d84937..a5a172396dc9 100644 --- a/DiscoveryEngine/src/V1/TrainCustomModelRequest/GcsTrainingInput.php +++ b/DiscoveryEngine/src/V1/TrainCustomModelRequest/GcsTrainingInput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1\TrainCustomModelRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud Storage training data input. @@ -235,4 +235,3 @@ public function setTestDataPath($var) } - diff --git a/DiscoveryEngine/src/V1/TrainCustomModelResponse.php b/DiscoveryEngine/src/V1/TrainCustomModelResponse.php index ac1857f1039e..3b247d7929bb 100644 --- a/DiscoveryEngine/src/V1/TrainCustomModelResponse.php +++ b/DiscoveryEngine/src/V1/TrainCustomModelResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of the @@ -61,7 +61,7 @@ class TrainCustomModelResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $error_samples + * @type \Google\Rpc\Status[] $error_samples * A sample of errors encountered while processing the data. * @type \Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig $error_config * Echoes the destination for the complete errors in the request if set. @@ -89,7 +89,7 @@ public function __construct($data = NULL) { * A sample of errors encountered while processing the data. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrorSamples() { @@ -100,7 +100,7 @@ public function getErrorSamples() * A sample of errors encountered while processing the data. * * Generated from protobuf field repeated .google.rpc.Status error_samples = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrorSamples($var) diff --git a/DiscoveryEngine/src/V1/TransactionInfo.php b/DiscoveryEngine/src/V1/TransactionInfo.php index e4308487b3e6..2ac7dc60a9ae 100644 --- a/DiscoveryEngine/src/V1/TransactionInfo.php +++ b/DiscoveryEngine/src/V1/TransactionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A transaction represents the entire purchase transaction. diff --git a/DiscoveryEngine/src/V1/UpdateCmekConfigMetadata.php b/DiscoveryEngine/src/V1/UpdateCmekConfigMetadata.php index 079031590b88..771254c27f10 100644 --- a/DiscoveryEngine/src/V1/UpdateCmekConfigMetadata.php +++ b/DiscoveryEngine/src/V1/UpdateCmekConfigMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/UpdateCmekConfigRequest.php b/DiscoveryEngine/src/V1/UpdateCmekConfigRequest.php index d3e30d316458..b1d8986e56d2 100644 --- a/DiscoveryEngine/src/V1/UpdateCmekConfigRequest.php +++ b/DiscoveryEngine/src/V1/UpdateCmekConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateCmekConfig method. diff --git a/DiscoveryEngine/src/V1/UpdateControlRequest.php b/DiscoveryEngine/src/V1/UpdateControlRequest.php index 52b645c0a237..5f28ba39f8e1 100644 --- a/DiscoveryEngine/src/V1/UpdateControlRequest.php +++ b/DiscoveryEngine/src/V1/UpdateControlRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for UpdateControl method. diff --git a/DiscoveryEngine/src/V1/UpdateConversationRequest.php b/DiscoveryEngine/src/V1/UpdateConversationRequest.php index 42ef333bbf6a..5909f74a8faa 100644 --- a/DiscoveryEngine/src/V1/UpdateConversationRequest.php +++ b/DiscoveryEngine/src/V1/UpdateConversationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for UpdateConversation method. diff --git a/DiscoveryEngine/src/V1/UpdateDataStoreRequest.php b/DiscoveryEngine/src/V1/UpdateDataStoreRequest.php index 86b3c56b7ce3..6f93ca92429f 100644 --- a/DiscoveryEngine/src/V1/UpdateDataStoreRequest.php +++ b/DiscoveryEngine/src/V1/UpdateDataStoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/UpdateDocumentRequest.php b/DiscoveryEngine/src/V1/UpdateDocumentRequest.php index e7a11d150d48..6c77215f9339 100644 --- a/DiscoveryEngine/src/V1/UpdateDocumentRequest.php +++ b/DiscoveryEngine/src/V1/UpdateDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/UpdateEngineRequest.php b/DiscoveryEngine/src/V1/UpdateEngineRequest.php index 47791803d528..ba5f77513ac7 100644 --- a/DiscoveryEngine/src/V1/UpdateEngineRequest.php +++ b/DiscoveryEngine/src/V1/UpdateEngineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/UpdateSchemaMetadata.php b/DiscoveryEngine/src/V1/UpdateSchemaMetadata.php index 745e59a0275a..4faa550cd8bb 100644 --- a/DiscoveryEngine/src/V1/UpdateSchemaMetadata.php +++ b/DiscoveryEngine/src/V1/UpdateSchemaMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for UpdateSchema LRO. diff --git a/DiscoveryEngine/src/V1/UpdateSchemaRequest.php b/DiscoveryEngine/src/V1/UpdateSchemaRequest.php index f6d44496c191..2138d7dcabe4 100644 --- a/DiscoveryEngine/src/V1/UpdateSchemaRequest.php +++ b/DiscoveryEngine/src/V1/UpdateSchemaRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/UpdateServingConfigRequest.php b/DiscoveryEngine/src/V1/UpdateServingConfigRequest.php index b24b280082a9..a37b123a9cfd 100644 --- a/DiscoveryEngine/src/V1/UpdateServingConfigRequest.php +++ b/DiscoveryEngine/src/V1/UpdateServingConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for UpdateServingConfig method. diff --git a/DiscoveryEngine/src/V1/UpdateSessionRequest.php b/DiscoveryEngine/src/V1/UpdateSessionRequest.php index a5e5d5fc46aa..c9b8665665de 100644 --- a/DiscoveryEngine/src/V1/UpdateSessionRequest.php +++ b/DiscoveryEngine/src/V1/UpdateSessionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for UpdateSession method. diff --git a/DiscoveryEngine/src/V1/UpdateTargetSiteMetadata.php b/DiscoveryEngine/src/V1/UpdateTargetSiteMetadata.php index 82610b5baea1..c3e8acea7835 100644 --- a/DiscoveryEngine/src/V1/UpdateTargetSiteMetadata.php +++ b/DiscoveryEngine/src/V1/UpdateTargetSiteMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the progress of the diff --git a/DiscoveryEngine/src/V1/UpdateTargetSiteRequest.php b/DiscoveryEngine/src/V1/UpdateTargetSiteRequest.php index af1a81970751..08799ec79eda 100644 --- a/DiscoveryEngine/src/V1/UpdateTargetSiteRequest.php +++ b/DiscoveryEngine/src/V1/UpdateTargetSiteRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\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/DiscoveryEngine/src/V1/UserEvent.php b/DiscoveryEngine/src/V1/UserEvent.php index 21456ac85e1f..b62ab7b51f2c 100644 --- a/DiscoveryEngine/src/V1/UserEvent.php +++ b/DiscoveryEngine/src/V1/UserEvent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * UserEvent captures all metadata information Discovery Engine API needs to @@ -417,7 +417,7 @@ class UserEvent extends \Google\Protobuf\Internal\Message * conforming to https://google.aip.dev/160#filtering. * The value must be a UTF-8 encoded string with a length limit of 1,000 * characters. Otherwise, an `INVALID_ARGUMENT` error is returned. - * @type array<\Google\Cloud\DiscoveryEngine\V1\DocumentInfo>|\Google\Protobuf\Internal\RepeatedField $documents + * @type \Google\Cloud\DiscoveryEngine\V1\DocumentInfo[] $documents * List of [Document][google.cloud.discoveryengine.v1.Document]s associated * with this user event. * This field is optional except for the following event types: @@ -446,11 +446,11 @@ class UserEvent extends \Google\Protobuf\Internal\Message * enabled and the user clicks a suggestion for search. * @type \Google\Cloud\DiscoveryEngine\V1\TransactionInfo $transaction_info * The transaction metadata (if any) associated with this user event. - * @type array|\Google\Protobuf\Internal\RepeatedField $tag_ids + * @type string[] $tag_ids * A list of identifiers for the independent experiment groups this user event * belongs to. This is used to distinguish between user events associated with * different experiment setups. - * @type array|\Google\Protobuf\Internal\RepeatedField $promotion_ids + * @type string[] $promotion_ids * The promotion IDs if this is an event associated with promotions. * Currently, this field is restricted to at most one ID. * @type array|\Google\Protobuf\Internal\MapField $attributes @@ -478,7 +478,7 @@ class UserEvent extends \Google\Protobuf\Internal\Message * search, or in other ways. * @type \Google\Cloud\DiscoveryEngine\V1\MediaInfo $media_info * Media-specific info. - * @type array<\Google\Cloud\DiscoveryEngine\V1\PanelInfo>|\Google\Protobuf\Internal\RepeatedField $panels + * @type \Google\Cloud\DiscoveryEngine\V1\PanelInfo[] $panels * Optional. List of panels associated with this event. * Used for page-level impression data. * } @@ -1042,7 +1042,7 @@ public function setFilter($var) * is desired. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.DocumentInfo documents = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\DocumentInfo> */ public function getDocuments() { @@ -1067,7 +1067,7 @@ public function getDocuments() * is desired. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.DocumentInfo documents = 10; - * @param array<\Google\Cloud\DiscoveryEngine\V1\DocumentInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\DocumentInfo[] $var * @return $this */ public function setDocuments($var) @@ -1238,7 +1238,7 @@ public function setTransactionInfo($var) * different experiment setups. * * Generated from protobuf field repeated string tag_ids = 15; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTagIds() { @@ -1251,7 +1251,7 @@ public function getTagIds() * different experiment setups. * * Generated from protobuf field repeated string tag_ids = 15; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTagIds($var) @@ -1267,7 +1267,7 @@ public function setTagIds($var) * Currently, this field is restricted to at most one ID. * * Generated from protobuf field repeated string promotion_ids = 16; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPromotionIds() { @@ -1279,7 +1279,7 @@ public function getPromotionIds() * Currently, this field is restricted to at most one ID. * * Generated from protobuf field repeated string promotion_ids = 16; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPromotionIds($var) @@ -1399,7 +1399,7 @@ public function setMediaInfo($var) * Used for page-level impression data. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.PanelInfo panels = 22 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DiscoveryEngine\V1\PanelInfo> */ public function getPanels() { @@ -1411,7 +1411,7 @@ public function getPanels() * Used for page-level impression data. * * Generated from protobuf field repeated .google.cloud.discoveryengine.v1.PanelInfo panels = 22 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DiscoveryEngine\V1\PanelInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DiscoveryEngine\V1\PanelInfo[] $var * @return $this */ public function setPanels($var) diff --git a/DiscoveryEngine/src/V1/UserInfo.php b/DiscoveryEngine/src/V1/UserInfo.php index e9e7eed0da1c..0af276d8d7b0 100644 --- a/DiscoveryEngine/src/V1/UserInfo.php +++ b/DiscoveryEngine/src/V1/UserInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information of an end user. diff --git a/DiscoveryEngine/src/V1/UserLicense.php b/DiscoveryEngine/src/V1/UserLicense.php index 1b9640056ebe..503b269c1148 100644 --- a/DiscoveryEngine/src/V1/UserLicense.php +++ b/DiscoveryEngine/src/V1/UserLicense.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * User License information assigned by the admin. diff --git a/DiscoveryEngine/src/V1/UserLicense/LicenseAssignmentState.php b/DiscoveryEngine/src/V1/UserLicense/LicenseAssignmentState.php index d2f53e7f5638..824beb8018d7 100644 --- a/DiscoveryEngine/src/V1/UserLicense/LicenseAssignmentState.php +++ b/DiscoveryEngine/src/V1/UserLicense/LicenseAssignmentState.php @@ -78,4 +78,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/WorkspaceConfig.php b/DiscoveryEngine/src/V1/WorkspaceConfig.php index eebbfc3e2900..55ec62a5f1d2 100644 --- a/DiscoveryEngine/src/V1/WorkspaceConfig.php +++ b/DiscoveryEngine/src/V1/WorkspaceConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config to store data store type configuration for workspace data diff --git a/DiscoveryEngine/src/V1/WorkspaceConfig/Type.php b/DiscoveryEngine/src/V1/WorkspaceConfig/Type.php index 70623e19b266..f0c2f1180230 100644 --- a/DiscoveryEngine/src/V1/WorkspaceConfig/Type.php +++ b/DiscoveryEngine/src/V1/WorkspaceConfig/Type.php @@ -101,4 +101,3 @@ public static function value($name) } } - diff --git a/DiscoveryEngine/src/V1/WriteUserEventRequest.php b/DiscoveryEngine/src/V1/WriteUserEventRequest.php index 497c71c864c5..fb1fed2f441b 100644 --- a/DiscoveryEngine/src/V1/WriteUserEventRequest.php +++ b/DiscoveryEngine/src/V1/WriteUserEventRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DiscoveryEngine\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for WriteUserEvent method. diff --git a/Dlp/metadata/V2/Dlp.php b/Dlp/metadata/V2/Dlp.php index d032343d12a2..b630ac336ab9 100644 Binary files a/Dlp/metadata/V2/Dlp.php and b/Dlp/metadata/V2/Dlp.php differ diff --git a/Dlp/metadata/V2/Storage.php b/Dlp/metadata/V2/Storage.php index c7f425bf0e55..07bc7150c8cc 100644 Binary files a/Dlp/metadata/V2/Storage.php and b/Dlp/metadata/V2/Storage.php differ diff --git a/Dlp/src/V2/Action.php b/Dlp/src/V2/Action.php index b3f3c0b17a1d..cf63a0d472fd 100644 --- a/Dlp/src/V2/Action.php +++ b/Dlp/src/V2/Action.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A task to execute on the completion of a job. diff --git a/Dlp/src/V2/Action/Deidentify.php b/Dlp/src/V2/Action/Deidentify.php index 935ba102c037..702c3b87d728 100644 --- a/Dlp/src/V2/Action/Deidentify.php +++ b/Dlp/src/V2/Action/Deidentify.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Create a de-identified copy of a storage bucket. Only compatible @@ -161,7 +161,7 @@ class Deidentify extends \Google\Protobuf\Internal\Message * from the input bucket. De-identified files will overwrite files in the * output path. * Form of: gs://bucket/folder/ or gs://bucket - * @type array|\Google\Protobuf\Internal\RepeatedField $file_types_to_transform + * @type int[] $file_types_to_transform * List of user-specified file type groups to transform. If specified, only * the files with these file types are transformed. If empty, all * supported files are transformed. Supported types may be automatically @@ -399,7 +399,7 @@ public function setCloudStorageOutput($var) * only file types supported are: IMAGES, TEXT_FILES, CSV, TSV. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFileTypesToTransform() { @@ -416,7 +416,7 @@ public function getFileTypesToTransform() * only file types supported are: IMAGES, TEXT_FILES, CSV, TSV. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setFileTypesToTransform($var) @@ -437,4 +437,3 @@ public function getOutput() } - diff --git a/Dlp/src/V2/Action/JobNotificationEmails.php b/Dlp/src/V2/Action/JobNotificationEmails.php index 5ea316b5e2a4..721a816a485f 100644 --- a/Dlp/src/V2/Action/JobNotificationEmails.php +++ b/Dlp/src/V2/Action/JobNotificationEmails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Sends an email when the job completes. The email goes to IAM project owners @@ -33,4 +33,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/Action/PublishFindingsToCloudDataCatalog.php b/Dlp/src/V2/Action/PublishFindingsToCloudDataCatalog.php index 12280de4ef0a..38870781dae8 100644 --- a/Dlp/src/V2/Action/PublishFindingsToCloudDataCatalog.php +++ b/Dlp/src/V2/Action/PublishFindingsToCloudDataCatalog.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag @@ -46,4 +46,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php b/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php index cb78fc998c10..5d1d0659239a 100644 --- a/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php +++ b/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Publish findings of a DlpJob to Dataplex Universal Catalog as a @@ -41,4 +41,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/Action/PublishSummaryToCscc.php b/Dlp/src/V2/Action/PublishSummaryToCscc.php index d39456b27b40..9fdbed69984b 100644 --- a/Dlp/src/V2/Action/PublishSummaryToCscc.php +++ b/Dlp/src/V2/Action/PublishSummaryToCscc.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Publish the result summary of a DlpJob to [Security Command @@ -38,4 +38,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/Action/PublishToPubSub.php b/Dlp/src/V2/Action/PublishToPubSub.php index e6bfae6cb29e..27416c4022a2 100644 --- a/Dlp/src/V2/Action/PublishToPubSub.php +++ b/Dlp/src/V2/Action/PublishToPubSub.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Publish a message into a given Pub/Sub topic when DlpJob has completed. The @@ -81,4 +81,3 @@ public function setTopic($var) } - diff --git a/Dlp/src/V2/Action/PublishToStackdriver.php b/Dlp/src/V2/Action/PublishToStackdriver.php index 955cf81a236f..42315ba5a80f 100644 --- a/Dlp/src/V2/Action/PublishToStackdriver.php +++ b/Dlp/src/V2/Action/PublishToStackdriver.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Enable Stackdriver metric dlp.googleapis.com/finding_count. This @@ -34,4 +34,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/Action/SaveFindings.php b/Dlp/src/V2/Action/SaveFindings.php index 401a6c9d35f1..23c3b4652499 100644 --- a/Dlp/src/V2/Action/SaveFindings.php +++ b/Dlp/src/V2/Action/SaveFindings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Action; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * If set, the detailed findings will be persisted to the specified @@ -78,4 +78,3 @@ public function setOutputConfig($var) } - diff --git a/Dlp/src/V2/ActionDetails.php b/Dlp/src/V2/ActionDetails.php index 9830d068c860..9e36c1cb3316 100644 --- a/Dlp/src/V2/ActionDetails.php +++ b/Dlp/src/V2/ActionDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The results of an [Action][google.privacy.dlp.v2.Action]. diff --git a/Dlp/src/V2/ActivateJobTriggerRequest.php b/Dlp/src/V2/ActivateJobTriggerRequest.php index bd9291228bd1..cedc5fc7b665 100644 --- a/Dlp/src/V2/ActivateJobTriggerRequest.php +++ b/Dlp/src/V2/ActivateJobTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ActivateJobTrigger. diff --git a/Dlp/src/V2/AllOtherDatabaseResources.php b/Dlp/src/V2/AllOtherDatabaseResources.php index 77c9979299d6..3db18488e8be 100644 --- a/Dlp/src/V2/AllOtherDatabaseResources.php +++ b/Dlp/src/V2/AllOtherDatabaseResources.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Match database resources not covered by any other filter. diff --git a/Dlp/src/V2/AllOtherResources.php b/Dlp/src/V2/AllOtherResources.php index 239fbc4d64c5..df5aae5afb5a 100644 --- a/Dlp/src/V2/AllOtherResources.php +++ b/Dlp/src/V2/AllOtherResources.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Match discovery resources not covered by any other filter. diff --git a/Dlp/src/V2/AmazonS3Bucket.php b/Dlp/src/V2/AmazonS3Bucket.php index 1c3c4e034e68..10f70f5d141f 100644 --- a/Dlp/src/V2/AmazonS3Bucket.php +++ b/Dlp/src/V2/AmazonS3Bucket.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Amazon S3 bucket. diff --git a/Dlp/src/V2/AmazonS3BucketConditions.php b/Dlp/src/V2/AmazonS3BucketConditions.php index e1f827661a83..9344c00f5db1 100644 --- a/Dlp/src/V2/AmazonS3BucketConditions.php +++ b/Dlp/src/V2/AmazonS3BucketConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Amazon S3 bucket conditions. @@ -36,10 +36,10 @@ class AmazonS3BucketConditions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $bucket_types + * @type int[] $bucket_types * Optional. Bucket types that should be profiled. * Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified. - * @type array|\Google\Protobuf\Internal\RepeatedField $object_storage_classes + * @type int[] $object_storage_classes * Optional. Object classes that should be profiled. * Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified. * } @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType bucket_types = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBucketTypes() { @@ -66,7 +66,7 @@ public function getBucketTypes() * Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType bucket_types = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setBucketTypes($var) @@ -82,7 +82,7 @@ public function setBucketTypes($var) * Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass object_storage_classes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getObjectStorageClasses() { @@ -94,7 +94,7 @@ public function getObjectStorageClasses() * Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass object_storage_classes = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setObjectStorageClasses($var) diff --git a/Dlp/src/V2/AmazonS3BucketConditions/BucketType.php b/Dlp/src/V2/AmazonS3BucketConditions/BucketType.php index 1afe244d94d7..96827e556d7b 100644 --- a/Dlp/src/V2/AmazonS3BucketConditions/BucketType.php +++ b/Dlp/src/V2/AmazonS3BucketConditions/BucketType.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/AmazonS3BucketConditions/ObjectStorageClass.php b/Dlp/src/V2/AmazonS3BucketConditions/ObjectStorageClass.php index a76bf93a7a7a..08ee4771da3d 100644 --- a/Dlp/src/V2/AmazonS3BucketConditions/ObjectStorageClass.php +++ b/Dlp/src/V2/AmazonS3BucketConditions/ObjectStorageClass.php @@ -81,4 +81,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/AmazonS3BucketRegex.php b/Dlp/src/V2/AmazonS3BucketRegex.php index 6ad03965c916..2752309e0291 100644 --- a/Dlp/src/V2/AmazonS3BucketRegex.php +++ b/Dlp/src/V2/AmazonS3BucketRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Amazon S3 bucket regex. diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php index f61ea6917a50..065a2e0277c0 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of a risk analysis operation request. diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult.php index 7c5d183826f7..f402c62d1137 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of the categorical stats computation. @@ -28,7 +28,7 @@ class CategoricalStatsResult extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult\CategoricalStatsHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $value_frequency_histogram_buckets + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult\CategoricalStatsHistogramBucket[] $value_frequency_histogram_buckets * Histogram of value frequencies in the column. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Histogram of value frequencies in the column. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult\CategoricalStatsHistogramBucket> */ public function getValueFrequencyHistogramBuckets() { @@ -52,7 +52,7 @@ public function getValueFrequencyHistogramBuckets() * Histogram of value frequencies in the column. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult\CategoricalStatsHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult\CategoricalStatsHistogramBucket[] $var * @return $this */ public function setValueFrequencyHistogramBuckets($var) @@ -65,4 +65,3 @@ public function setValueFrequencyHistogramBuckets($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult/CategoricalStatsHistogramBucket.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult/CategoricalStatsHistogramBucket.php index 28865a120900..4bbe2da9172f 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult/CategoricalStatsHistogramBucket.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/CategoricalStatsResult/CategoricalStatsHistogramBucket.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Histogram of value frequencies in the column. @@ -59,7 +59,7 @@ class CategoricalStatsHistogramBucket extends \Google\Protobuf\Internal\Message * Upper bound on the value frequency of the values in this bucket. * @type int|string $bucket_size * Total number of values in this bucket. - * @type array<\Google\Cloud\Dlp\V2\ValueFrequency>|\Google\Protobuf\Internal\RepeatedField $bucket_values + * @type \Google\Cloud\Dlp\V2\ValueFrequency[] $bucket_values * Sample of value frequencies in this bucket. The total number of * values returned per bucket is capped at 20. * @type int|string $bucket_value_count @@ -154,7 +154,7 @@ public function setBucketSize($var) * values returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\ValueFrequency> */ public function getBucketValues() { @@ -166,7 +166,7 @@ public function getBucketValues() * values returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ValueFrequency bucket_values = 4; - * @param array<\Google\Cloud\Dlp\V2\ValueFrequency>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\ValueFrequency[] $var * @return $this */ public function setBucketValues($var) @@ -205,4 +205,3 @@ public function setBucketValueCount($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult.php index c942dc65c405..3ec3508bd91f 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of the δ-presence computation. Note that these results are an @@ -36,7 +36,7 @@ class DeltaPresenceEstimationResult extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $delta_presence_estimation_histogram + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationHistogramBucket[] $delta_presence_estimation_histogram * The intervals [min_probability, max_probability) do not overlap. If a * value doesn't correspond to any such interval, the associated frequency * is zero. For example, the following records: @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * nor larger or equal to 0.4. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationHistogramBucket> */ public function getDeltaPresenceEstimationHistogram() { @@ -81,7 +81,7 @@ public function getDeltaPresenceEstimationHistogram() * nor larger or equal to 0.4. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationHistogramBucket[] $var * @return $this */ public function setDeltaPresenceEstimationHistogram($var) @@ -94,4 +94,3 @@ public function setDeltaPresenceEstimationHistogram($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationHistogramBucket.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationHistogramBucket.php index a16e38f8a3b2..39ea9ada22ec 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationHistogramBucket.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationHistogramBucket.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A DeltaPresenceEstimationHistogramBucket message with the following @@ -67,7 +67,7 @@ class DeltaPresenceEstimationHistogramBucket extends \Google\Protobuf\Internal\M * Always greater than or equal to min_probability. * @type int|string $bucket_size * Number of records within these probability bounds. - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationQuasiIdValues>|\Google\Protobuf\Internal\RepeatedField $bucket_values + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationQuasiIdValues[] $bucket_values * Sample of quasi-identifier tuple values in this bucket. The total * number of classes returned per bucket is capped at 20. * @type int|string $bucket_value_count @@ -162,7 +162,7 @@ public function setBucketSize($var) * number of classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationQuasiIdValues> */ public function getBucketValues() { @@ -174,7 +174,7 @@ public function getBucketValues() * number of classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues bucket_values = 6; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationQuasiIdValues>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult\DeltaPresenceEstimationQuasiIdValues[] $var * @return $this */ public function setBucketValues($var) @@ -213,4 +213,3 @@ public function setBucketValueCount($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationQuasiIdValues.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationQuasiIdValues.php index 4b56ef2e9621..fcb9a8d1f843 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationQuasiIdValues.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/DeltaPresenceEstimationResult/DeltaPresenceEstimationQuasiIdValues.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A tuple of values for the quasi-identifier columns. @@ -41,7 +41,7 @@ class DeltaPresenceEstimationQuasiIdValues extends \Google\Protobuf\Internal\Mes * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $quasi_ids_values + * @type \Google\Cloud\Dlp\V2\Value[] $quasi_ids_values * The quasi-identifier values. * @type float $estimated_probability * The estimated probability that a given individual sharing these @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * The quasi-identifier values. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Value> */ public function getQuasiIdsValues() { @@ -74,7 +74,7 @@ public function getQuasiIdsValues() * The quasi-identifier values. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @param array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Value[] $var * @return $this */ public function setQuasiIdsValues($var) @@ -127,4 +127,3 @@ public function setEstimatedProbability($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult.php index 23147aae458c..b75dd1ee5e7b 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of the k-anonymity computation. @@ -28,7 +28,7 @@ class KAnonymityResult extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $equivalence_class_histogram_buckets + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket[] $equivalence_class_histogram_buckets * Histogram of k-anonymity equivalence classes. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Histogram of k-anonymity equivalence classes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket> */ public function getEquivalenceClassHistogramBuckets() { @@ -52,7 +52,7 @@ public function getEquivalenceClassHistogramBuckets() * Histogram of k-anonymity equivalence classes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket equivalence_class_histogram_buckets = 5; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityHistogramBucket[] $var * @return $this */ public function setEquivalenceClassHistogramBuckets($var) @@ -65,4 +65,3 @@ public function setEquivalenceClassHistogramBuckets($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityEquivalenceClass.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityEquivalenceClass.php index c499f9a638e1..0f01902fec4c 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityEquivalenceClass.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityEquivalenceClass.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The set of columns' values that share the same ldiversity value @@ -37,7 +37,7 @@ class KAnonymityEquivalenceClass extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $quasi_ids_values + * @type \Google\Cloud\Dlp\V2\Value[] $quasi_ids_values * Set of values defining the equivalence class. One value per * quasi-identifier column in the original KAnonymity metric message. * The order is always the same as the original request. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The order is always the same as the original request. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Value> */ public function getQuasiIdsValues() { @@ -70,7 +70,7 @@ public function getQuasiIdsValues() * The order is always the same as the original request. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @param array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Value[] $var * @return $this */ public function setQuasiIdsValues($var) @@ -111,4 +111,3 @@ public function setEquivalenceClassSize($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityHistogramBucket.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityHistogramBucket.php index 7e858cab0532..a87ca465ee0f 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityHistogramBucket.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KAnonymityResult/KAnonymityHistogramBucket.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Histogram of k-anonymity equivalence classes. @@ -59,7 +59,7 @@ class KAnonymityHistogramBucket extends \Google\Protobuf\Internal\Message * Upper bound on the size of the equivalence classes in this bucket. * @type int|string $bucket_size * Total number of equivalence classes in this bucket. - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityEquivalenceClass>|\Google\Protobuf\Internal\RepeatedField $bucket_values + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityEquivalenceClass[] $bucket_values * Sample of equivalence classes in this bucket. The total number of * classes returned per bucket is capped at 20. * @type int|string $bucket_value_count @@ -154,7 +154,7 @@ public function setBucketSize($var) * classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityEquivalenceClass> */ public function getBucketValues() { @@ -166,7 +166,7 @@ public function getBucketValues() * classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass bucket_values = 4; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityEquivalenceClass>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult\KAnonymityEquivalenceClass[] $var * @return $this */ public function setBucketValues($var) @@ -205,4 +205,3 @@ public function setBucketValueCount($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult.php index 6e6a406a8c40..c8513592a472 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of the reidentifiability analysis. Note that these results are an @@ -36,7 +36,7 @@ class KMapEstimationResult extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $k_map_estimation_histogram + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationHistogramBucket[] $k_map_estimation_histogram * The intervals [min_anonymity, max_anonymity] do not overlap. If a value * doesn't correspond to any such interval, the associated frequency is * zero. For example, the following records: @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * larger than 10. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationHistogramBucket> */ public function getKMapEstimationHistogram() { @@ -81,7 +81,7 @@ public function getKMapEstimationHistogram() * larger than 10. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket k_map_estimation_histogram = 1; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationHistogramBucket[] $var * @return $this */ public function setKMapEstimationHistogram($var) @@ -94,4 +94,3 @@ public function setKMapEstimationHistogram($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php index e874d4ef8aa6..ea3c2d161bcd 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationHistogramBucket.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A KMapEstimationHistogramBucket message with the following values: @@ -66,7 +66,7 @@ class KMapEstimationHistogramBucket extends \Google\Protobuf\Internal\Message * Always greater than or equal to min_anonymity. * @type int|string $bucket_size * Number of records within these anonymity bounds. - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationQuasiIdValues>|\Google\Protobuf\Internal\RepeatedField $bucket_values + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationQuasiIdValues[] $bucket_values * Sample of quasi-identifier tuple values in this bucket. The total * number of classes returned per bucket is capped at 20. * @type int|string $bucket_value_count @@ -161,7 +161,7 @@ public function setBucketSize($var) * number of classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationQuasiIdValues> */ public function getBucketValues() { @@ -173,7 +173,7 @@ public function getBucketValues() * number of classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues bucket_values = 6; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationQuasiIdValues>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult\KMapEstimationQuasiIdValues[] $var * @return $this */ public function setBucketValues($var) @@ -212,4 +212,3 @@ public function setBucketValueCount($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationQuasiIdValues.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationQuasiIdValues.php index 7e44143dc322..5a00480aeae1 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationQuasiIdValues.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/KMapEstimationResult/KMapEstimationQuasiIdValues.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A tuple of values for the quasi-identifier columns. @@ -34,7 +34,7 @@ class KMapEstimationQuasiIdValues extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $quasi_ids_values + * @type \Google\Cloud\Dlp\V2\Value[] $quasi_ids_values * The quasi-identifier values. * @type int|string $estimated_anonymity * The estimated anonymity for these quasi-identifier values. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The quasi-identifier values. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Value> */ public function getQuasiIdsValues() { @@ -60,7 +60,7 @@ public function getQuasiIdsValues() * The quasi-identifier values. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @param array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Value[] $var * @return $this */ public function setQuasiIdsValues($var) @@ -99,4 +99,3 @@ public function setEstimatedAnonymity($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult.php index 47bf244be664..f283792e67ac 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of the l-diversity computation. @@ -28,7 +28,7 @@ class LDiversityResult extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $sensitive_value_frequency_histogram_buckets + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityHistogramBucket[] $sensitive_value_frequency_histogram_buckets * Histogram of l-diversity equivalence class sensitive value frequencies. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Histogram of l-diversity equivalence class sensitive value frequencies. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityHistogramBucket> */ public function getSensitiveValueFrequencyHistogramBuckets() { @@ -52,7 +52,7 @@ public function getSensitiveValueFrequencyHistogramBuckets() * Histogram of l-diversity equivalence class sensitive value frequencies. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityHistogramBucket>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityHistogramBucket[] $var * @return $this */ public function setSensitiveValueFrequencyHistogramBuckets($var) @@ -65,4 +65,3 @@ public function setSensitiveValueFrequencyHistogramBuckets($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityEquivalenceClass.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityEquivalenceClass.php index 3cf77c8e2c08..c15ec2a422d4 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityEquivalenceClass.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityEquivalenceClass.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The set of columns' values that share the same ldiversity value. @@ -47,14 +47,14 @@ class LDiversityEquivalenceClass extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $quasi_ids_values + * @type \Google\Cloud\Dlp\V2\Value[] $quasi_ids_values * Quasi-identifier values defining the k-anonymity equivalence * class. The order is always the same as the original request. * @type int|string $equivalence_class_size * Size of the k-anonymity equivalence class. * @type int|string $num_distinct_sensitive_values * Number of distinct sensitive values in this equivalence class. - * @type array<\Google\Cloud\Dlp\V2\ValueFrequency>|\Google\Protobuf\Internal\RepeatedField $top_sensitive_values + * @type \Google\Cloud\Dlp\V2\ValueFrequency[] $top_sensitive_values * Estimated frequencies of top sensitive values. * } */ @@ -68,7 +68,7 @@ public function __construct($data = NULL) { * class. The order is always the same as the original request. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Value> */ public function getQuasiIdsValues() { @@ -80,7 +80,7 @@ public function getQuasiIdsValues() * class. The order is always the same as the original request. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1; - * @param array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Value[] $var * @return $this */ public function setQuasiIdsValues($var) @@ -147,7 +147,7 @@ public function setNumDistinctSensitiveValues($var) * Estimated frequencies of top sensitive values. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\ValueFrequency> */ public function getTopSensitiveValues() { @@ -158,7 +158,7 @@ public function getTopSensitiveValues() * Estimated frequencies of top sensitive values. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4; - * @param array<\Google\Cloud\Dlp\V2\ValueFrequency>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\ValueFrequency[] $var * @return $this */ public function setTopSensitiveValues($var) @@ -171,4 +171,3 @@ public function setTopSensitiveValues($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityHistogramBucket.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityHistogramBucket.php index 12e3e76b3a1f..02702056d1a6 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityHistogramBucket.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/LDiversityResult/LDiversityHistogramBucket.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Histogram of l-diversity equivalence class sensitive value frequencies. @@ -63,7 +63,7 @@ class LDiversityHistogramBucket extends \Google\Protobuf\Internal\Message * classes in this bucket. * @type int|string $bucket_size * Total number of equivalence classes in this bucket. - * @type array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityEquivalenceClass>|\Google\Protobuf\Internal\RepeatedField $bucket_values + * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityEquivalenceClass[] $bucket_values * Sample of equivalence classes in this bucket. The total number of * classes returned per bucket is capped at 20. * @type int|string $bucket_value_count @@ -162,7 +162,7 @@ public function setBucketSize($var) * classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityEquivalenceClass> */ public function getBucketValues() { @@ -174,7 +174,7 @@ public function getBucketValues() * classes returned per bucket is capped at 20. * * Generated from protobuf field repeated .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass bucket_values = 4; - * @param array<\Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityEquivalenceClass>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult\LDiversityEquivalenceClass[] $var * @return $this */ public function setBucketValues($var) @@ -213,4 +213,3 @@ public function setBucketValueCount($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/NumericalStatsResult.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/NumericalStatsResult.php index f691cebc579d..36dce1413141 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/NumericalStatsResult.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/NumericalStatsResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Result of the numerical stats computation. @@ -45,7 +45,7 @@ class NumericalStatsResult extends \Google\Protobuf\Internal\Message * Minimum value appearing in the column. * @type \Google\Cloud\Dlp\V2\Value $max_value * Maximum value appearing in the column. - * @type array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $quantile_values + * @type \Google\Cloud\Dlp\V2\Value[] $quantile_values * List of 99 values that partition the set of field values into 100 equal * sized buckets. * } @@ -132,7 +132,7 @@ public function setMaxValue($var) * sized buckets. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quantile_values = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Value> */ public function getQuantileValues() { @@ -144,7 +144,7 @@ public function getQuantileValues() * sized buckets. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value quantile_values = 4; - * @param array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Value[] $var * @return $this */ public function setQuantileValues($var) @@ -157,4 +157,3 @@ public function setQuantileValues($var) } - diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/RequestedRiskAnalysisOptions.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/RequestedRiskAnalysisOptions.php index c854f280a4dd..e4920b48b193 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails/RequestedRiskAnalysisOptions.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails/RequestedRiskAnalysisOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Risk analysis options. @@ -75,4 +75,3 @@ public function setJobConfig($var) } - diff --git a/Dlp/src/V2/AwsAccount.php b/Dlp/src/V2/AwsAccount.php index 31359143b5ea..c03278aec88a 100644 --- a/Dlp/src/V2/AwsAccount.php +++ b/Dlp/src/V2/AwsAccount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AWS account. diff --git a/Dlp/src/V2/AwsAccountRegex.php b/Dlp/src/V2/AwsAccountRegex.php index 94fe40cd0f64..f797c48c4a7c 100644 --- a/Dlp/src/V2/AwsAccountRegex.php +++ b/Dlp/src/V2/AwsAccountRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * AWS account regex. diff --git a/Dlp/src/V2/BigQueryDiscoveryTarget.php b/Dlp/src/V2/BigQueryDiscoveryTarget.php index 6c568fa2188f..bbeb9f95e9d6 100644 --- a/Dlp/src/V2/BigQueryDiscoveryTarget.php +++ b/Dlp/src/V2/BigQueryDiscoveryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Target used to match against for discovery with BigQuery tables diff --git a/Dlp/src/V2/BigQueryField.php b/Dlp/src/V2/BigQueryField.php index ff205ef48b1f..0df9f89d23e2 100644 --- a/Dlp/src/V2/BigQueryField.php +++ b/Dlp/src/V2/BigQueryField.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message defining a field of a BigQuery table. diff --git a/Dlp/src/V2/BigQueryKey.php b/Dlp/src/V2/BigQueryKey.php index 142e075dda01..ab72006a93e5 100644 --- a/Dlp/src/V2/BigQueryKey.php +++ b/Dlp/src/V2/BigQueryKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Row key for identifying a record in BigQuery table. diff --git a/Dlp/src/V2/BigQueryOptions.php b/Dlp/src/V2/BigQueryOptions.php index 0886b43eaab5..68c3dc5a2d72 100644 --- a/Dlp/src/V2/BigQueryOptions.php +++ b/Dlp/src/V2/BigQueryOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options defining BigQuery table and row identifiers. @@ -88,7 +88,7 @@ class BigQueryOptions extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\BigQueryTable $table_reference * Complete BigQuery table reference. - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $identifying_fields + * @type \Google\Cloud\Dlp\V2\FieldId[] $identifying_fields * Table fields that may uniquely identify a row within the table. When * `actions.saveFindings.outputConfig.table` is specified, the values of * columns specified here are available in the output table under @@ -111,13 +111,13 @@ class BigQueryOptions extends \Google\Protobuf\Internal\Message * recommend using `rowsLimit` instead. * @type int $sample_method * How to sample the data. - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $excluded_fields + * @type \Google\Cloud\Dlp\V2\FieldId[] $excluded_fields * References to fields excluded from scanning. This allows you to skip * inspection of entire columns which you know have no findings. * When inspecting a table, we recommend that you inspect all columns. * Otherwise, findings might be affected because hints from excluded columns * will not be used. - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $included_fields + * @type \Google\Cloud\Dlp\V2\FieldId[] $included_fields * Limit scanning only to these fields. * When inspecting a table, we recommend that you inspect all columns. * Otherwise, findings might be affected because hints from excluded columns @@ -173,7 +173,7 @@ public function setTableReference($var) * fields such as `person.birthdate.year` are allowed. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getIdentifyingFields() { @@ -188,7 +188,7 @@ public function getIdentifyingFields() * fields such as `person.birthdate.year` are allowed. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setIdentifyingFields($var) @@ -307,7 +307,7 @@ public function setSampleMethod($var) * will not be used. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getExcludedFields() { @@ -322,7 +322,7 @@ public function getExcludedFields() * will not be used. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setExcludedFields($var) @@ -340,7 +340,7 @@ public function setExcludedFields($var) * will not be used. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId included_fields = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getIncludedFields() { @@ -354,7 +354,7 @@ public function getIncludedFields() * will not be used. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId included_fields = 7; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setIncludedFields($var) diff --git a/Dlp/src/V2/BigQueryOptions/SampleMethod.php b/Dlp/src/V2/BigQueryOptions/SampleMethod.php index 6fc26c4f8a57..6d55acc939fb 100644 --- a/Dlp/src/V2/BigQueryOptions/SampleMethod.php +++ b/Dlp/src/V2/BigQueryOptions/SampleMethod.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/BigQueryRegex.php b/Dlp/src/V2/BigQueryRegex.php index e0379d8b0e9a..19c11f76b153 100644 --- a/Dlp/src/V2/BigQueryRegex.php +++ b/Dlp/src/V2/BigQueryRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A pattern to match against one or more tables, datasets, or projects that diff --git a/Dlp/src/V2/BigQueryRegexes.php b/Dlp/src/V2/BigQueryRegexes.php index ead1a639827f..8ee6223b311f 100644 --- a/Dlp/src/V2/BigQueryRegexes.php +++ b/Dlp/src/V2/BigQueryRegexes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of regular expressions to determine what tables to match @@ -30,7 +30,7 @@ class BigQueryRegexes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\BigQueryRegex>|\Google\Protobuf\Internal\RepeatedField $patterns + * @type \Google\Cloud\Dlp\V2\BigQueryRegex[] $patterns * A single BigQuery regular expression pattern to match against one or more * tables, datasets, or projects that contain BigQuery tables. * } @@ -45,7 +45,7 @@ public function __construct($data = NULL) { * tables, datasets, or projects that contain BigQuery tables. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQueryRegex patterns = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\BigQueryRegex> */ public function getPatterns() { @@ -57,7 +57,7 @@ public function getPatterns() * tables, datasets, or projects that contain BigQuery tables. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQueryRegex patterns = 1; - * @param array<\Google\Cloud\Dlp\V2\BigQueryRegex>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\BigQueryRegex[] $var * @return $this */ public function setPatterns($var) diff --git a/Dlp/src/V2/BigQueryTable.php b/Dlp/src/V2/BigQueryTable.php index 0d0cca797077..31aa68d2047d 100644 --- a/Dlp/src/V2/BigQueryTable.php +++ b/Dlp/src/V2/BigQueryTable.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message defining the location of a BigQuery table. A table is uniquely diff --git a/Dlp/src/V2/BigQueryTableCollection.php b/Dlp/src/V2/BigQueryTableCollection.php index 6c26ad1fcc08..98bd63a209ca 100644 --- a/Dlp/src/V2/BigQueryTableCollection.php +++ b/Dlp/src/V2/BigQueryTableCollection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a collection of BigQuery tables. Used for Discovery. diff --git a/Dlp/src/V2/BigQueryTableTypes.php b/Dlp/src/V2/BigQueryTableTypes.php index 3235dd3795d3..ce0caf2e7f28 100644 --- a/Dlp/src/V2/BigQueryTableTypes.php +++ b/Dlp/src/V2/BigQueryTableTypes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The types of BigQuery tables supported by Cloud DLP. @@ -28,7 +28,7 @@ class BigQueryTableTypes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $types + * @type int[] $types * A set of BigQuery table types. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * A set of BigQuery table types. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQueryTableType types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTypes() { @@ -52,7 +52,7 @@ public function getTypes() * A set of BigQuery table types. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQueryTableType types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTypes($var) diff --git a/Dlp/src/V2/BoundingBox.php b/Dlp/src/V2/BoundingBox.php index f0032c6eab48..2446fc075771 100644 --- a/Dlp/src/V2/BoundingBox.php +++ b/Dlp/src/V2/BoundingBox.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Bounding box encompassing detected text within an image. diff --git a/Dlp/src/V2/BucketingConfig.php b/Dlp/src/V2/BucketingConfig.php index 0885bb2f144f..d90802f0d85b 100644 --- a/Dlp/src/V2/BucketingConfig.php +++ b/Dlp/src/V2/BucketingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generalization function that buckets values based on ranges. The ranges and @@ -37,7 +37,7 @@ class BucketingConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\BucketingConfig\Bucket>|\Google\Protobuf\Internal\RepeatedField $buckets + * @type \Google\Cloud\Dlp\V2\BucketingConfig\Bucket[] $buckets * Set of buckets. Ranges must be non-overlapping. * } */ @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * Set of buckets. Ranges must be non-overlapping. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\BucketingConfig\Bucket> */ public function getBuckets() { @@ -61,7 +61,7 @@ public function getBuckets() * Set of buckets. Ranges must be non-overlapping. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1; - * @param array<\Google\Cloud\Dlp\V2\BucketingConfig\Bucket>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\BucketingConfig\Bucket[] $var * @return $this */ public function setBuckets($var) diff --git a/Dlp/src/V2/BucketingConfig/Bucket.php b/Dlp/src/V2/BucketingConfig/Bucket.php index 7773fd7fc0f2..a3be310a60f4 100644 --- a/Dlp/src/V2/BucketingConfig/Bucket.php +++ b/Dlp/src/V2/BucketingConfig/Bucket.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\BucketingConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Bucket is represented as a range, along with replacement values. @@ -167,4 +167,3 @@ public function setReplacementValue($var) } - diff --git a/Dlp/src/V2/ByteContentItem.php b/Dlp/src/V2/ByteContentItem.php index afd0d936d3f5..5971e92376ab 100644 --- a/Dlp/src/V2/ByteContentItem.php +++ b/Dlp/src/V2/ByteContentItem.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Container for bytes to inspect or redact. diff --git a/Dlp/src/V2/ByteContentItem/BytesType.php b/Dlp/src/V2/ByteContentItem/BytesType.php index 5c3ef0a406ee..859e1ca88f98 100644 --- a/Dlp/src/V2/ByteContentItem/BytesType.php +++ b/Dlp/src/V2/ByteContentItem/BytesType.php @@ -168,4 +168,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/CancelDlpJobRequest.php b/Dlp/src/V2/CancelDlpJobRequest.php index d9285b185051..3fe3c1e3e85e 100644 --- a/Dlp/src/V2/CancelDlpJobRequest.php +++ b/Dlp/src/V2/CancelDlpJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for canceling a DLP job. diff --git a/Dlp/src/V2/CharacterMaskConfig.php b/Dlp/src/V2/CharacterMaskConfig.php index 82eaa69cab08..2ebacb51edce 100644 --- a/Dlp/src/V2/CharacterMaskConfig.php +++ b/Dlp/src/V2/CharacterMaskConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Partially mask a string by replacing a given number of characters with a @@ -100,7 +100,7 @@ class CharacterMaskConfig extends \Google\Protobuf\Internal\Message * input string `1234-5678-9012-3456` is masked as `00000000000000-3456`. * If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order` * is `true`, then the string `12345` is masked as `12***`. - * @type array<\Google\Cloud\Dlp\V2\CharsToIgnore>|\Google\Protobuf\Internal\RepeatedField $characters_to_ignore + * @type \Google\Cloud\Dlp\V2\CharsToIgnore[] $characters_to_ignore * When masking a string, items in this list will be skipped when replacing * characters. For example, if the input string is `555-555-5555` and you * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP @@ -237,7 +237,7 @@ public function setReverseOrder($var) * returns `***-**5-5555`. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\CharsToIgnore> */ public function getCharactersToIgnore() { @@ -251,7 +251,7 @@ public function getCharactersToIgnore() * returns `***-**5-5555`. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; - * @param array<\Google\Cloud\Dlp\V2\CharsToIgnore>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\CharsToIgnore[] $var * @return $this */ public function setCharactersToIgnore($var) diff --git a/Dlp/src/V2/CharsToIgnore.php b/Dlp/src/V2/CharsToIgnore.php index 810e5f7da92f..31f0593c1326 100644 --- a/Dlp/src/V2/CharsToIgnore.php +++ b/Dlp/src/V2/CharsToIgnore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Characters to skip when doing deidentification of a value. These will be left diff --git a/Dlp/src/V2/CharsToIgnore/CommonCharsToIgnore.php b/Dlp/src/V2/CharsToIgnore/CommonCharsToIgnore.php index 800f30774822..875056364b4e 100644 --- a/Dlp/src/V2/CharsToIgnore/CommonCharsToIgnore.php +++ b/Dlp/src/V2/CharsToIgnore/CommonCharsToIgnore.php @@ -38,7 +38,7 @@ class CommonCharsToIgnore */ const ALPHA_LOWER_CASE = 3; /** - * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ + * US Punctuation, one of !"#$%&'()*+,-./:;<=>?\@[\]^_`{|}~ * * Generated from protobuf enum PUNCTUATION = 4; */ @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/CloudSqlDiscoveryTarget.php b/Dlp/src/V2/CloudSqlDiscoveryTarget.php index 64cf2263cd10..f38345058c33 100644 --- a/Dlp/src/V2/CloudSqlDiscoveryTarget.php +++ b/Dlp/src/V2/CloudSqlDiscoveryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Target used to match against for discovery with Cloud SQL tables. diff --git a/Dlp/src/V2/CloudSqlIamCredential.php b/Dlp/src/V2/CloudSqlIamCredential.php index bd753580e0b9..d648d88db6d5 100644 --- a/Dlp/src/V2/CloudSqlIamCredential.php +++ b/Dlp/src/V2/CloudSqlIamCredential.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Use IAM authentication to connect. This requires the Cloud SQL IAM feature diff --git a/Dlp/src/V2/CloudSqlProperties.php b/Dlp/src/V2/CloudSqlProperties.php index 26d0d5cd57ce..355617dcdf7b 100644 --- a/Dlp/src/V2/CloudSqlProperties.php +++ b/Dlp/src/V2/CloudSqlProperties.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud SQL connection properties. diff --git a/Dlp/src/V2/CloudSqlProperties/DatabaseEngine.php b/Dlp/src/V2/CloudSqlProperties/DatabaseEngine.php index e7ec16c72fe8..26f4502fcff5 100644 --- a/Dlp/src/V2/CloudSqlProperties/DatabaseEngine.php +++ b/Dlp/src/V2/CloudSqlProperties/DatabaseEngine.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/CloudStorageDiscoveryTarget.php b/Dlp/src/V2/CloudStorageDiscoveryTarget.php index 8c40707d3a0d..b45cac4a310d 100644 --- a/Dlp/src/V2/CloudStorageDiscoveryTarget.php +++ b/Dlp/src/V2/CloudStorageDiscoveryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Target used to match against for discovery with Cloud Storage buckets. diff --git a/Dlp/src/V2/CloudStorageFileSet.php b/Dlp/src/V2/CloudStorageFileSet.php index 39377fbb5684..385cd1443702 100644 --- a/Dlp/src/V2/CloudStorageFileSet.php +++ b/Dlp/src/V2/CloudStorageFileSet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message representing a set of files in Cloud Storage. diff --git a/Dlp/src/V2/CloudStorageOptions.php b/Dlp/src/V2/CloudStorageOptions.php index b68860969e30..c6d8ee1231d8 100644 --- a/Dlp/src/V2/CloudStorageOptions.php +++ b/Dlp/src/V2/CloudStorageOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options defining a file or a set of files within a Cloud Storage @@ -99,7 +99,7 @@ class CloudStorageOptions extends \Google\Protobuf\Internal\Message * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). - * @type array|\Google\Protobuf\Internal\RepeatedField $file_types + * @type int[] $file_types * List of file type groups to include in the scan. * If empty, all files are scanned and available data format processors * are applied. In addition, the binary content of the selected files @@ -244,7 +244,7 @@ public function setBytesLimitPerFilePercent($var) * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileType file_types = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFileTypes() { @@ -261,7 +261,7 @@ public function getFileTypes() * Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileType file_types = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setFileTypes($var) diff --git a/Dlp/src/V2/CloudStorageOptions/FileSet.php b/Dlp/src/V2/CloudStorageOptions/FileSet.php index 2a479f591a86..d02877418694 100644 --- a/Dlp/src/V2/CloudStorageOptions/FileSet.php +++ b/Dlp/src/V2/CloudStorageOptions/FileSet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CloudStorageOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Set of files to scan. @@ -21,8 +21,8 @@ class FileSet extends \Google\Protobuf\Internal\Message * If the url ends in a trailing slash, the bucket or directory represented * by the url will be scanned non-recursively (content in sub-directories * will not be scanned). This means that `gs://mybucket/` is equivalent to - * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to - * `gs://mybucket/directory/*`. + * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to + * `gs://mybucket/directory/*`. * Exactly one of `url` or `regex_file_set` must be set. * * Generated from protobuf field string url = 1; @@ -48,8 +48,8 @@ class FileSet extends \Google\Protobuf\Internal\Message * If the url ends in a trailing slash, the bucket or directory represented * by the url will be scanned non-recursively (content in sub-directories * will not be scanned). This means that `gs://mybucket/` is equivalent to - * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to - * `gs://mybucket/directory/*`. + * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to + * `gs://mybucket/directory/*`. * Exactly one of `url` or `regex_file_set` must be set. * @type \Google\Cloud\Dlp\V2\CloudStorageRegexFileSet $regex_file_set * The regex-filtered set of files to scan. Exactly one of `url` or @@ -67,8 +67,8 @@ public function __construct($data = NULL) { * If the url ends in a trailing slash, the bucket or directory represented * by the url will be scanned non-recursively (content in sub-directories * will not be scanned). This means that `gs://mybucket/` is equivalent to - * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to - * `gs://mybucket/directory/*`. + * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to + * `gs://mybucket/directory/*`. * Exactly one of `url` or `regex_file_set` must be set. * * Generated from protobuf field string url = 1; @@ -85,8 +85,8 @@ public function getUrl() * If the url ends in a trailing slash, the bucket or directory represented * by the url will be scanned non-recursively (content in sub-directories * will not be scanned). This means that `gs://mybucket/` is equivalent to - * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to - * `gs://mybucket/directory/*`. + * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to + * `gs://mybucket/directory/*`. * Exactly one of `url` or `regex_file_set` must be set. * * Generated from protobuf field string url = 1; @@ -141,4 +141,3 @@ public function setRegexFileSet($var) } - diff --git a/Dlp/src/V2/CloudStorageOptions/SampleMethod.php b/Dlp/src/V2/CloudStorageOptions/SampleMethod.php index d325ba2d8435..cda362c7e367 100644 --- a/Dlp/src/V2/CloudStorageOptions/SampleMethod.php +++ b/Dlp/src/V2/CloudStorageOptions/SampleMethod.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/CloudStoragePath.php b/Dlp/src/V2/CloudStoragePath.php index af52b7c78587..b012744d2707 100644 --- a/Dlp/src/V2/CloudStoragePath.php +++ b/Dlp/src/V2/CloudStoragePath.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message representing a single file or path in Cloud Storage. diff --git a/Dlp/src/V2/CloudStorageRegex.php b/Dlp/src/V2/CloudStorageRegex.php index 4efbbfde819e..0f585f42e294 100644 --- a/Dlp/src/V2/CloudStorageRegex.php +++ b/Dlp/src/V2/CloudStorageRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A pattern to match against one or more file stores. At least one diff --git a/Dlp/src/V2/CloudStorageRegexFileSet.php b/Dlp/src/V2/CloudStorageRegexFileSet.php index 73325c4e9ca7..8fa4c8ffc20d 100644 --- a/Dlp/src/V2/CloudStorageRegexFileSet.php +++ b/Dlp/src/V2/CloudStorageRegexFileSet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message representing a set of files in a Cloud Storage bucket. Regular @@ -79,7 +79,7 @@ class CloudStorageRegexFileSet extends \Google\Protobuf\Internal\Message * * @type string $bucket_name * The name of a Cloud Storage bucket. Required. - * @type array|\Google\Protobuf\Internal\RepeatedField $include_regex + * @type string[] $include_regex * A list of regular expressions matching file paths to include. All files in * the bucket that match at least one of these regular expressions will be * included in the set of files, except for those that also match an item in @@ -88,7 +88,7 @@ class CloudStorageRegexFileSet extends \Google\Protobuf\Internal\Message * Regular expressions use RE2 * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found * under the google/re2 repository on GitHub. - * @type array|\Google\Protobuf\Internal\RepeatedField $exclude_regex + * @type string[] $exclude_regex * A list of regular expressions matching file paths to exclude. All files in * the bucket that match at least one of these regular expressions will be * excluded from the scan. @@ -139,7 +139,7 @@ public function setBucketName($var) * under the google/re2 repository on GitHub. * * Generated from protobuf field repeated string include_regex = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIncludeRegex() { @@ -157,7 +157,7 @@ public function getIncludeRegex() * under the google/re2 repository on GitHub. * * Generated from protobuf field repeated string include_regex = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIncludeRegex($var) @@ -177,7 +177,7 @@ public function setIncludeRegex($var) * under the google/re2 repository on GitHub. * * Generated from protobuf field repeated string exclude_regex = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExcludeRegex() { @@ -193,7 +193,7 @@ public function getExcludeRegex() * under the google/re2 repository on GitHub. * * Generated from protobuf field repeated string exclude_regex = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExcludeRegex($var) diff --git a/Dlp/src/V2/CloudStorageResourceReference.php b/Dlp/src/V2/CloudStorageResourceReference.php index afe46c913ba6..01dc419436f4 100644 --- a/Dlp/src/V2/CloudStorageResourceReference.php +++ b/Dlp/src/V2/CloudStorageResourceReference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identifies a single Cloud Storage bucket. diff --git a/Dlp/src/V2/Color.php b/Dlp/src/V2/Color.php index 4685448260e1..2e54159db64e 100644 --- a/Dlp/src/V2/Color.php +++ b/Dlp/src/V2/Color.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a color in the RGB color space. diff --git a/Dlp/src/V2/ColumnDataProfile.php b/Dlp/src/V2/ColumnDataProfile.php index 31666dd0d547..c5cb44960571 100644 --- a/Dlp/src/V2/ColumnDataProfile.php +++ b/Dlp/src/V2/ColumnDataProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The profile for a scanned column within a table. @@ -183,7 +183,7 @@ class ColumnDataProfile extends \Google\Protobuf\Internal\Message * If it's been determined this column can be identified as a single type, * this will be set. Otherwise the column either has unidentifiable content * or mixed types. - * @type array<\Google\Cloud\Dlp\V2\OtherInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $other_matches + * @type \Google\Cloud\Dlp\V2\OtherInfoTypeSummary[] $other_matches * Other types found within this column. List will be unordered. * @type int $estimated_null_percentage * Approximate percentage of entries being null in the column. @@ -633,7 +633,7 @@ public function setColumnInfoType($var) * Other types found within this column. List will be unordered. * * Generated from protobuf field repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\OtherInfoTypeSummary> */ public function getOtherMatches() { @@ -644,7 +644,7 @@ public function getOtherMatches() * Other types found within this column. List will be unordered. * * Generated from protobuf field repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_matches = 10; - * @param array<\Google\Cloud\Dlp\V2\OtherInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\OtherInfoTypeSummary[] $var * @return $this */ public function setOtherMatches($var) diff --git a/Dlp/src/V2/ColumnDataProfile/ColumnDataType.php b/Dlp/src/V2/ColumnDataProfile/ColumnDataType.php index a27eddffe0ce..3d9a60ec79c1 100644 --- a/Dlp/src/V2/ColumnDataProfile/ColumnDataType.php +++ b/Dlp/src/V2/ColumnDataProfile/ColumnDataType.php @@ -172,4 +172,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/ColumnDataProfile/ColumnPolicyState.php b/Dlp/src/V2/ColumnDataProfile/ColumnPolicyState.php index d39157911aa0..b68e10b4fa28 100644 --- a/Dlp/src/V2/ColumnDataProfile/ColumnPolicyState.php +++ b/Dlp/src/V2/ColumnDataProfile/ColumnPolicyState.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/ColumnDataProfile/State.php b/Dlp/src/V2/ColumnDataProfile/State.php index a692f694fd66..3be19c1c6bb2 100644 --- a/Dlp/src/V2/ColumnDataProfile/State.php +++ b/Dlp/src/V2/ColumnDataProfile/State.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/Connection.php b/Dlp/src/V2/Connection.php index 69ade4920e57..30ef40719f85 100644 --- a/Dlp/src/V2/Connection.php +++ b/Dlp/src/V2/Connection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A data connection to allow the DLP API to profile data in locations that @@ -49,7 +49,7 @@ class Connection extends \Google\Protobuf\Internal\Message * `projects/{project}/locations/{location}/connections/{name}`. * @type int $state * Required. The connection's state in its lifecycle. - * @type array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\Dlp\V2\Error[] $errors * Output only. Set if status == ERROR, to provide additional details. Will * store the last 10 errors sorted with the most recent first. * @type \Google\Cloud\Dlp\V2\CloudSqlProperties $cloud_sql @@ -120,7 +120,7 @@ public function setState($var) * store the last 10 errors sorted with the most recent first. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() { @@ -132,7 +132,7 @@ public function getErrors() * store the last 10 errors sorted with the most recent first. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ public function setErrors($var) diff --git a/Dlp/src/V2/Container.php b/Dlp/src/V2/Container.php index 2c70c94a5360..8df32079291c 100644 --- a/Dlp/src/V2/Container.php +++ b/Dlp/src/V2/Container.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a container that may contain DLP findings. diff --git a/Dlp/src/V2/ContentItem.php b/Dlp/src/V2/ContentItem.php index 272e11b07211..f75a15b6efcc 100644 --- a/Dlp/src/V2/ContentItem.php +++ b/Dlp/src/V2/ContentItem.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Type of content to inspect. diff --git a/Dlp/src/V2/ContentLocation.php b/Dlp/src/V2/ContentLocation.php index 24ecf1d49145..faa125d4a0ac 100644 --- a/Dlp/src/V2/ContentLocation.php +++ b/Dlp/src/V2/ContentLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Precise location of the finding within a document, record, image, or metadata diff --git a/Dlp/src/V2/CreateConnectionRequest.php b/Dlp/src/V2/CreateConnectionRequest.php index 1ccdbf99e85c..5ea388269fd3 100644 --- a/Dlp/src/V2/CreateConnectionRequest.php +++ b/Dlp/src/V2/CreateConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateConnection. diff --git a/Dlp/src/V2/CreateDeidentifyTemplateRequest.php b/Dlp/src/V2/CreateDeidentifyTemplateRequest.php index 5a0b59dc29be..d1818024b004 100644 --- a/Dlp/src/V2/CreateDeidentifyTemplateRequest.php +++ b/Dlp/src/V2/CreateDeidentifyTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateDeidentifyTemplate. diff --git a/Dlp/src/V2/CreateDiscoveryConfigRequest.php b/Dlp/src/V2/CreateDiscoveryConfigRequest.php index 295e25056a4f..8aa1707eddc2 100644 --- a/Dlp/src/V2/CreateDiscoveryConfigRequest.php +++ b/Dlp/src/V2/CreateDiscoveryConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateDiscoveryConfig. diff --git a/Dlp/src/V2/CreateDlpJobRequest.php b/Dlp/src/V2/CreateDlpJobRequest.php index 2ebdcf89fd98..4213921e762a 100644 --- a/Dlp/src/V2/CreateDlpJobRequest.php +++ b/Dlp/src/V2/CreateDlpJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateDlpJobRequest. Used to initiate long running diff --git a/Dlp/src/V2/CreateInspectTemplateRequest.php b/Dlp/src/V2/CreateInspectTemplateRequest.php index a6afcc647fa6..e14fdfdd9a87 100644 --- a/Dlp/src/V2/CreateInspectTemplateRequest.php +++ b/Dlp/src/V2/CreateInspectTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateInspectTemplate. diff --git a/Dlp/src/V2/CreateJobTriggerRequest.php b/Dlp/src/V2/CreateJobTriggerRequest.php index adfae7262776..fd79719e7dfd 100644 --- a/Dlp/src/V2/CreateJobTriggerRequest.php +++ b/Dlp/src/V2/CreateJobTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateJobTrigger. diff --git a/Dlp/src/V2/CreateStoredInfoTypeRequest.php b/Dlp/src/V2/CreateStoredInfoTypeRequest.php index e222f3014b2c..c8c4308219c4 100644 --- a/Dlp/src/V2/CreateStoredInfoTypeRequest.php +++ b/Dlp/src/V2/CreateStoredInfoTypeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateStoredInfoType. diff --git a/Dlp/src/V2/CryptoDeterministicConfig.php b/Dlp/src/V2/CryptoDeterministicConfig.php index fc425a4a7ee1..728308302b55 100644 --- a/Dlp/src/V2/CryptoDeterministicConfig.php +++ b/Dlp/src/V2/CryptoDeterministicConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Pseudonymization method that generates deterministic encryption for the given diff --git a/Dlp/src/V2/CryptoHashConfig.php b/Dlp/src/V2/CryptoHashConfig.php index 3b749b878b35..c410f70295ce 100644 --- a/Dlp/src/V2/CryptoHashConfig.php +++ b/Dlp/src/V2/CryptoHashConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Pseudonymization method that generates surrogates via cryptographic hashing. diff --git a/Dlp/src/V2/CryptoKey.php b/Dlp/src/V2/CryptoKey.php index 403e1b4170a0..0752367d6957 100644 --- a/Dlp/src/V2/CryptoKey.php +++ b/Dlp/src/V2/CryptoKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This is a data encryption key (DEK) (as opposed to diff --git a/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php b/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php index 230fe4ce0b9f..7f2f74ab2ec4 100644 --- a/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php +++ b/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Replaces an identifier with a surrogate using Format Preserving Encryption @@ -115,7 +115,7 @@ class CryptoReplaceFfxFpeConfig extends \Google\Protobuf\Internal\Message * This must be encoded as ASCII. * The order of characters does not matter. * The full list of allowed characters is: - * ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/`` + * ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!\@#$%^&*()_-+={[}]|\:;"'<,>.?/`` * @type int $radix * The native way to select the alphabet. Must be in the range [2, 95]. * @type \Google\Cloud\Dlp\V2\InfoType $surrogate_info_type @@ -286,7 +286,7 @@ public function setCommonAlphabet($var) * This must be encoded as ASCII. * The order of characters does not matter. * The full list of allowed characters is: - * ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/`` + * ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!\@#$%^&*()_-+={[}]|\:;"'<,>.?/`` * * Generated from protobuf field string custom_alphabet = 5; * @return string @@ -310,7 +310,7 @@ public function hasCustomAlphabet() * This must be encoded as ASCII. * The order of characters does not matter. * The full list of allowed characters is: - * ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/`` + * ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!\@#$%^&*()_-+={[}]|\:;"'<,>.?/`` * * Generated from protobuf field string custom_alphabet = 5; * @param string $var diff --git a/Dlp/src/V2/CryptoReplaceFfxFpeConfig/FfxCommonNativeAlphabet.php b/Dlp/src/V2/CryptoReplaceFfxFpeConfig/FfxCommonNativeAlphabet.php index 2e1d66695ce7..a9b4fa1d30d4 100644 --- a/Dlp/src/V2/CryptoReplaceFfxFpeConfig/FfxCommonNativeAlphabet.php +++ b/Dlp/src/V2/CryptoReplaceFfxFpeConfig/FfxCommonNativeAlphabet.php @@ -75,4 +75,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/CustomInfoType.php b/Dlp/src/V2/CustomInfoType.php index 741a2b367937..535d19b2070e 100644 --- a/Dlp/src/V2/CustomInfoType.php +++ b/Dlp/src/V2/CustomInfoType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Custom information type provided by the user. Used to find domain-specific @@ -89,7 +89,7 @@ class CustomInfoType extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Dlp\V2\StoredType $stored_type * Load an existing `StoredInfoType` resource for use in * `InspectDataSource`. Not currently supported in `InspectContent`. - * @type array<\Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule>|\Google\Protobuf\Internal\RepeatedField $detection_rules + * @type \Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule[] $detection_rules * Set of detection rules to apply to all findings of this CustomInfoType. * Rules are applied in order that they are specified. Not supported for the * `surrogate_type` CustomInfoType. @@ -319,7 +319,7 @@ public function setStoredType($var) * `surrogate_type` CustomInfoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule> */ public function getDetectionRules() { @@ -332,7 +332,7 @@ public function getDetectionRules() * `surrogate_type` CustomInfoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType.DetectionRule detection_rules = 7; - * @param array<\Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule[] $var * @return $this */ public function setDetectionRules($var) diff --git a/Dlp/src/V2/CustomInfoType/DetectionRule.php b/Dlp/src/V2/CustomInfoType/DetectionRule.php index cc9faf876ad1..37c5475d10ad 100644 --- a/Dlp/src/V2/CustomInfoType/DetectionRule.php +++ b/Dlp/src/V2/CustomInfoType/DetectionRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deprecated; use `InspectionRuleSet` instead. Rule for modifying a @@ -76,4 +76,3 @@ public function getType() } - diff --git a/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php b/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php index e1da707683e3..0bb673156ee8 100644 --- a/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php +++ b/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The rule that adjusts the likelihood of findings within a certain @@ -208,4 +208,3 @@ public function setLikelihoodAdjustment($var) } - diff --git a/Dlp/src/V2/CustomInfoType/DetectionRule/LikelihoodAdjustment.php b/Dlp/src/V2/CustomInfoType/DetectionRule/LikelihoodAdjustment.php index e3aa5d658033..3a5cc4333e37 100644 --- a/Dlp/src/V2/CustomInfoType/DetectionRule/LikelihoodAdjustment.php +++ b/Dlp/src/V2/CustomInfoType/DetectionRule/LikelihoodAdjustment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for specifying an adjustment to the likelihood of a finding as @@ -128,4 +128,3 @@ public function getAdjustment() } - diff --git a/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php b/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php index f9f2f3fe9e5e..a2d5a74e9b97 100644 --- a/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php +++ b/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for specifying a window around a finding to apply a detection @@ -116,4 +116,3 @@ public function setWindowAfter($var) } - diff --git a/Dlp/src/V2/CustomInfoType/Dictionary.php b/Dlp/src/V2/CustomInfoType/Dictionary.php index 249dbd49de5a..693ddd78145b 100644 --- a/Dlp/src/V2/CustomInfoType/Dictionary.php +++ b/Dlp/src/V2/CustomInfoType/Dictionary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Custom information type based on a dictionary of words or phrases. This can @@ -129,4 +129,3 @@ public function getSource() } - diff --git a/Dlp/src/V2/CustomInfoType/Dictionary/WordList.php b/Dlp/src/V2/CustomInfoType/Dictionary/WordList.php index 9de6f129e13d..1308ccc39e0b 100644 --- a/Dlp/src/V2/CustomInfoType/Dictionary/WordList.php +++ b/Dlp/src/V2/CustomInfoType/Dictionary/WordList.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType\Dictionary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message defining a list of words or phrases to search for in the data. @@ -30,7 +30,7 @@ class WordList extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $words + * @type string[] $words * Words or phrases defining the dictionary. The dictionary must contain * at least one phrase and every phrase must contain at least 2 characters * that are letters or digits. [required] @@ -47,7 +47,7 @@ public function __construct($data = NULL) { * that are letters or digits. [required] * * Generated from protobuf field repeated string words = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getWords() { @@ -60,7 +60,7 @@ public function getWords() * that are letters or digits. [required] * * Generated from protobuf field repeated string words = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setWords($var) @@ -73,4 +73,3 @@ public function setWords($var) } - diff --git a/Dlp/src/V2/CustomInfoType/ExclusionType.php b/Dlp/src/V2/CustomInfoType/ExclusionType.php index f9b3ea6a8b7f..3a282d202a6a 100644 --- a/Dlp/src/V2/CustomInfoType/ExclusionType.php +++ b/Dlp/src/V2/CustomInfoType/ExclusionType.php @@ -53,4 +53,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/CustomInfoType/Regex.php b/Dlp/src/V2/CustomInfoType/Regex.php index b8229f9e7f6e..d93830d1e34a 100644 --- a/Dlp/src/V2/CustomInfoType/Regex.php +++ b/Dlp/src/V2/CustomInfoType/Regex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message defining a custom regular expression. @@ -41,7 +41,7 @@ class Regex extends \Google\Protobuf\Internal\Message * Pattern defining the regular expression. Its syntax * (https://github.com/google/re2/wiki/Syntax) can be found under the * google/re2 repository on GitHub. - * @type array|\Google\Protobuf\Internal\RepeatedField $group_indexes + * @type int[] $group_indexes * The index of the submatch to extract as findings. When not * specified, the entire match is returned. No more than 3 may be included. * } @@ -86,7 +86,7 @@ public function setPattern($var) * specified, the entire match is returned. No more than 3 may be included. * * Generated from protobuf field repeated int32 group_indexes = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getGroupIndexes() { @@ -98,7 +98,7 @@ public function getGroupIndexes() * specified, the entire match is returned. No more than 3 may be included. * * Generated from protobuf field repeated int32 group_indexes = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setGroupIndexes($var) @@ -111,4 +111,3 @@ public function setGroupIndexes($var) } - diff --git a/Dlp/src/V2/CustomInfoType/SurrogateType.php b/Dlp/src/V2/CustomInfoType/SurrogateType.php index 4f6e18615461..1fbfd3da5b32 100644 --- a/Dlp/src/V2/CustomInfoType/SurrogateType.php +++ b/Dlp/src/V2/CustomInfoType/SurrogateType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\CustomInfoType; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for detecting output from deidentification transformations @@ -38,4 +38,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/DataProfileAction.php b/Dlp/src/V2/DataProfileAction.php index b9fcfcfb3fe8..d4bf0dbaf212 100644 --- a/Dlp/src/V2/DataProfileAction.php +++ b/Dlp/src/V2/DataProfileAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A task to execute when a data profile has been generated. diff --git a/Dlp/src/V2/DataProfileAction/EventType.php b/Dlp/src/V2/DataProfileAction/EventType.php index 090e15fe0301..f2bc860254d4 100644 --- a/Dlp/src/V2/DataProfileAction/EventType.php +++ b/Dlp/src/V2/DataProfileAction/EventType.php @@ -75,4 +75,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DataProfileAction/Export.php b/Dlp/src/V2/DataProfileAction/Export.php index 361128f109bd..8669571dff0c 100644 --- a/Dlp/src/V2/DataProfileAction/Export.php +++ b/Dlp/src/V2/DataProfileAction/Export.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * If set, the detailed data profiles will be persisted to the location @@ -240,4 +240,3 @@ public function setSampleFindingsTable($var) } - diff --git a/Dlp/src/V2/DataProfileAction/PubSubNotification.php b/Dlp/src/V2/DataProfileAction/PubSubNotification.php index 3dd4035c0c0a..8b2078f4fb12 100644 --- a/Dlp/src/V2/DataProfileAction/PubSubNotification.php +++ b/Dlp/src/V2/DataProfileAction/PubSubNotification.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Send a Pub/Sub message into the given Pub/Sub topic to connect other @@ -199,4 +199,3 @@ public function setDetailOfMessage($var) } - diff --git a/Dlp/src/V2/DataProfileAction/PubSubNotification/DetailLevel.php b/Dlp/src/V2/DataProfileAction/PubSubNotification/DetailLevel.php index 753a4f7331d0..f92fba77b873 100644 --- a/Dlp/src/V2/DataProfileAction/PubSubNotification/DetailLevel.php +++ b/Dlp/src/V2/DataProfileAction/PubSubNotification/DetailLevel.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DataProfileAction/PublishToChronicle.php b/Dlp/src/V2/DataProfileAction/PublishToChronicle.php index da58bcf23d7d..8e3085810a2a 100644 --- a/Dlp/src/V2/DataProfileAction/PublishToChronicle.php +++ b/Dlp/src/V2/DataProfileAction/PublishToChronicle.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message expressing intention to publish to Google Security Operations. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php b/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php index 6e976264e06e..011f5f0f676f 100644 --- a/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php +++ b/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Create Dataplex Universal Catalog aspects for profiled resources with the @@ -87,4 +87,3 @@ public function setLowerDataRiskToLow($var) } - diff --git a/Dlp/src/V2/DataProfileAction/PublishToSecurityCommandCenter.php b/Dlp/src/V2/DataProfileAction/PublishToSecurityCommandCenter.php index d8957f3f3558..b7ebfb007258 100644 --- a/Dlp/src/V2/DataProfileAction/PublishToSecurityCommandCenter.php +++ b/Dlp/src/V2/DataProfileAction/PublishToSecurityCommandCenter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * If set, a summary finding will be created or updated in Security Command @@ -32,4 +32,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/DataProfileAction/TagResources.php b/Dlp/src/V2/DataProfileAction/TagResources.php index 17b877e03083..9c6c3633d382 100644 --- a/Dlp/src/V2/DataProfileAction/TagResources.php +++ b/Dlp/src/V2/DataProfileAction/TagResources.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * If set, attaches the [tags] @@ -57,9 +57,9 @@ class TagResources extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\DataProfileAction\TagResources\TagCondition>|\Google\Protobuf\Internal\RepeatedField $tag_conditions + * @type \Google\Cloud\Dlp\V2\DataProfileAction\TagResources\TagCondition[] $tag_conditions * The tags to associate with different conditions. - * @type array|\Google\Protobuf\Internal\RepeatedField $profile_generations_to_tag + * @type int[] $profile_generations_to_tag * The profile generations for which the tag should be attached to * resources. If you attach a tag to only new profiles, then if the * sensitivity score of a profile subsequently changes, its tag doesn't @@ -86,7 +86,7 @@ public function __construct($data = NULL) { * The tags to associate with different conditions. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DataProfileAction\TagResources\TagCondition> */ public function getTagConditions() { @@ -97,7 +97,7 @@ public function getTagConditions() * The tags to associate with different conditions. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition tag_conditions = 1; - * @param array<\Google\Cloud\Dlp\V2\DataProfileAction\TagResources\TagCondition>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DataProfileAction\TagResources\TagCondition[] $var * @return $this */ public function setTagConditions($var) @@ -117,7 +117,7 @@ public function setTagConditions($var) * include both `PROFILE_GENERATION_NEW` and `PROFILE_GENERATION_UPDATE`. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ProfileGeneration profile_generations_to_tag = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getProfileGenerationsToTag() { @@ -133,7 +133,7 @@ public function getProfileGenerationsToTag() * include both `PROFILE_GENERATION_NEW` and `PROFILE_GENERATION_UPDATE`. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ProfileGeneration profile_generations_to_tag = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setProfileGenerationsToTag($var) @@ -186,4 +186,3 @@ public function setLowerDataRiskToLow($var) } - diff --git a/Dlp/src/V2/DataProfileAction/TagResources/TagCondition.php b/Dlp/src/V2/DataProfileAction/TagResources/TagCondition.php index bfa895653f43..a718a955c11a 100644 --- a/Dlp/src/V2/DataProfileAction/TagResources/TagCondition.php +++ b/Dlp/src/V2/DataProfileAction/TagResources/TagCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction\TagResources; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The tag to attach to profiles matching the condition. At most one @@ -121,4 +121,3 @@ public function getType() } - diff --git a/Dlp/src/V2/DataProfileAction/TagResources/TagValue.php b/Dlp/src/V2/DataProfileAction/TagResources/TagValue.php index 9723d6ff54f5..525bbe9a7852 100644 --- a/Dlp/src/V2/DataProfileAction/TagResources/TagValue.php +++ b/Dlp/src/V2/DataProfileAction/TagResources/TagValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfileAction\TagResources; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A value of a tag. @@ -82,4 +82,3 @@ public function getFormat() } - diff --git a/Dlp/src/V2/DataProfileBigQueryRowSchema.php b/Dlp/src/V2/DataProfileBigQueryRowSchema.php index df23f68ea6d0..bd8d244749c1 100644 --- a/Dlp/src/V2/DataProfileBigQueryRowSchema.php +++ b/Dlp/src/V2/DataProfileBigQueryRowSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The schema of data to be saved to the BigQuery table when the diff --git a/Dlp/src/V2/DataProfileConfigSnapshot.php b/Dlp/src/V2/DataProfileConfigSnapshot.php index 949fb552d9f5..a81c221cafca 100644 --- a/Dlp/src/V2/DataProfileConfigSnapshot.php +++ b/Dlp/src/V2/DataProfileConfigSnapshot.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Snapshot of the configurations used to generate the profile. diff --git a/Dlp/src/V2/DataProfileFinding.php b/Dlp/src/V2/DataProfileFinding.php index 904b4534a762..6f7a99076514 100644 --- a/Dlp/src/V2/DataProfileFinding.php +++ b/Dlp/src/V2/DataProfileFinding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details about a piece of potentially sensitive information that was detected diff --git a/Dlp/src/V2/DataProfileFindingLocation.php b/Dlp/src/V2/DataProfileFindingLocation.php index 49b113c44e5d..5fe456381489 100644 --- a/Dlp/src/V2/DataProfileFindingLocation.php +++ b/Dlp/src/V2/DataProfileFindingLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of a data profile finding within a resource. diff --git a/Dlp/src/V2/DataProfileFindingRecordLocation.php b/Dlp/src/V2/DataProfileFindingRecordLocation.php index 582c19f128fa..76b0ce7a99da 100644 --- a/Dlp/src/V2/DataProfileFindingRecordLocation.php +++ b/Dlp/src/V2/DataProfileFindingRecordLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of a finding within a resource that produces a table data profile. diff --git a/Dlp/src/V2/DataProfileJobConfig.php b/Dlp/src/V2/DataProfileJobConfig.php index 60b0f014f075..1a3ae20f7743 100644 --- a/Dlp/src/V2/DataProfileJobConfig.php +++ b/Dlp/src/V2/DataProfileJobConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for setting up a job to scan resources for profile generation. @@ -79,7 +79,7 @@ class DataProfileJobConfig extends \Google\Protobuf\Internal\Message * that are profiled, and the DLP API must be enabled. * @type \Google\Cloud\Dlp\V2\OtherCloudDiscoveryStartingLocation $other_cloud_starting_location * Must be set only when scanning other clouds. - * @type array|\Google\Protobuf\Internal\RepeatedField $inspect_templates + * @type string[] $inspect_templates * Detection logic for profile generation. * Not all template features are used by profiles. FindingLimits, * include_quote and exclude_info_types have no impact on @@ -93,7 +93,7 @@ class DataProfileJobConfig extends \Google\Protobuf\Internal\Message * scanned. * For more information, see * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. - * @type array<\Google\Cloud\Dlp\V2\DataProfileAction>|\Google\Protobuf\Internal\RepeatedField $data_profile_actions + * @type \Google\Cloud\Dlp\V2\DataProfileAction[] $data_profile_actions * Actions to execute at the completion of the job. * } */ @@ -220,7 +220,7 @@ public function setOtherCloudStartingLocation($var) * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getInspectTemplates() { @@ -243,7 +243,7 @@ public function getInspectTemplates() * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setInspectTemplates($var) @@ -258,7 +258,7 @@ public function setInspectTemplates($var) * Actions to execute at the completion of the job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DataProfileAction> */ public function getDataProfileActions() { @@ -269,7 +269,7 @@ public function getDataProfileActions() * Actions to execute at the completion of the job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; - * @param array<\Google\Cloud\Dlp\V2\DataProfileAction>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DataProfileAction[] $var * @return $this */ public function setDataProfileActions($var) diff --git a/Dlp/src/V2/DataProfileLocation.php b/Dlp/src/V2/DataProfileLocation.php index f288e5db84af..028ada3f3168 100644 --- a/Dlp/src/V2/DataProfileLocation.php +++ b/Dlp/src/V2/DataProfileLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The data that will be profiled. diff --git a/Dlp/src/V2/DataProfilePubSubCondition.php b/Dlp/src/V2/DataProfilePubSubCondition.php index c5858b4bb75d..ea8e925d2f09 100644 --- a/Dlp/src/V2/DataProfilePubSubCondition.php +++ b/Dlp/src/V2/DataProfilePubSubCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A condition for determining whether a Pub/Sub should be triggered. diff --git a/Dlp/src/V2/DataProfilePubSubCondition/ProfileScoreBucket.php b/Dlp/src/V2/DataProfilePubSubCondition/ProfileScoreBucket.php index 669241d8dd08..eefb05eb30ec 100644 --- a/Dlp/src/V2/DataProfilePubSubCondition/ProfileScoreBucket.php +++ b/Dlp/src/V2/DataProfilePubSubCondition/ProfileScoreBucket.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php b/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php index 2d8145534137..1e33f6e03d20 100644 --- a/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php +++ b/Dlp/src/V2/DataProfilePubSubCondition/PubSubCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfilePubSubCondition; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A condition consisting of a value. @@ -106,4 +106,3 @@ public function getValue() } - diff --git a/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions.php b/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions.php index 0d7c586e3cf8..6d5002224d54 100644 --- a/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions.php +++ b/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DataProfilePubSubCondition; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An expression, consisting of an operator and conditions. @@ -36,7 +36,7 @@ class PubSubExpressions extends \Google\Protobuf\Internal\Message * * @type int $logical_operator * The operator to apply to the collection of conditions. - * @type array<\Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubCondition>|\Google\Protobuf\Internal\RepeatedField $conditions + * @type \Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubCondition[] $conditions * Conditions to apply to the expression. * } */ @@ -75,7 +75,7 @@ public function setLogicalOperator($var) * Conditions to apply to the expression. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubCondition> */ public function getConditions() { @@ -86,7 +86,7 @@ public function getConditions() * Conditions to apply to the expression. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * @param array<\Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubCondition>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DataProfilePubSubCondition\PubSubCondition[] $var * @return $this */ public function setConditions($var) @@ -99,4 +99,3 @@ public function setConditions($var) } - diff --git a/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions/PubSubLogicalOperator.php b/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions/PubSubLogicalOperator.php index 383d4b02b78b..fa2c8e0248d1 100644 --- a/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions/PubSubLogicalOperator.php +++ b/Dlp/src/V2/DataProfilePubSubCondition/PubSubExpressions/PubSubLogicalOperator.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DataProfilePubSubMessage.php b/Dlp/src/V2/DataProfilePubSubMessage.php index 7d64eb76ab81..96e2f2976e4f 100644 --- a/Dlp/src/V2/DataProfilePubSubMessage.php +++ b/Dlp/src/V2/DataProfilePubSubMessage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Pub/Sub topic message for a DataProfileAction.PubSubNotification event. diff --git a/Dlp/src/V2/DataRiskLevel.php b/Dlp/src/V2/DataRiskLevel.php index 5736ca6f76a3..a7ae54004c05 100644 --- a/Dlp/src/V2/DataRiskLevel.php +++ b/Dlp/src/V2/DataRiskLevel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Score is a summary of all elements in the data profile. diff --git a/Dlp/src/V2/DataRiskLevel/DataRiskLevelScore.php b/Dlp/src/V2/DataRiskLevel/DataRiskLevelScore.php index 71b3ce47f2a8..f997465b5460 100644 --- a/Dlp/src/V2/DataRiskLevel/DataRiskLevelScore.php +++ b/Dlp/src/V2/DataRiskLevel/DataRiskLevelScore.php @@ -79,4 +79,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DataSourceType.php b/Dlp/src/V2/DataSourceType.php index 37bfb9f57821..7b5188e4eddb 100644 --- a/Dlp/src/V2/DataSourceType.php +++ b/Dlp/src/V2/DataSourceType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message used to identify the type of resource being profiled. diff --git a/Dlp/src/V2/DatabaseResourceCollection.php b/Dlp/src/V2/DatabaseResourceCollection.php index 61a1ce7130dd..7f217523160f 100644 --- a/Dlp/src/V2/DatabaseResourceCollection.php +++ b/Dlp/src/V2/DatabaseResourceCollection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Match database resources using regex filters. Examples of database diff --git a/Dlp/src/V2/DatabaseResourceReference.php b/Dlp/src/V2/DatabaseResourceReference.php index e04211fa322d..00e861dc8f1a 100644 --- a/Dlp/src/V2/DatabaseResourceReference.php +++ b/Dlp/src/V2/DatabaseResourceReference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identifies a single database resource, like a table within a database. diff --git a/Dlp/src/V2/DatabaseResourceRegex.php b/Dlp/src/V2/DatabaseResourceRegex.php index 87663fec9fd7..fd1f5b4e053d 100644 --- a/Dlp/src/V2/DatabaseResourceRegex.php +++ b/Dlp/src/V2/DatabaseResourceRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A pattern to match against one or more database resources. At least one diff --git a/Dlp/src/V2/DatabaseResourceRegexes.php b/Dlp/src/V2/DatabaseResourceRegexes.php index c9a5d6122541..b302ddb6f166 100644 --- a/Dlp/src/V2/DatabaseResourceRegexes.php +++ b/Dlp/src/V2/DatabaseResourceRegexes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of regular expressions to determine what database resources to @@ -32,7 +32,7 @@ class DatabaseResourceRegexes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\DatabaseResourceRegex>|\Google\Protobuf\Internal\RepeatedField $patterns + * @type \Google\Cloud\Dlp\V2\DatabaseResourceRegex[] $patterns * A group of regular expression patterns to match against one or more * database resources. * Maximum of 100 entries. The sum of all regular expression's length can't @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DatabaseResourceRegex> */ public function getPatterns() { @@ -65,7 +65,7 @@ public function getPatterns() * exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DatabaseResourceRegex patterns = 1; - * @param array<\Google\Cloud\Dlp\V2\DatabaseResourceRegex>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DatabaseResourceRegex[] $var * @return $this */ public function setPatterns($var) diff --git a/Dlp/src/V2/DatastoreKey.php b/Dlp/src/V2/DatastoreKey.php index a4eec6118bf7..6f278ce38458 100644 --- a/Dlp/src/V2/DatastoreKey.php +++ b/Dlp/src/V2/DatastoreKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Record key for a finding in Cloud Datastore. diff --git a/Dlp/src/V2/DatastoreOptions.php b/Dlp/src/V2/DatastoreOptions.php index 2bcb48315e54..f6b5af24bcca 100644 --- a/Dlp/src/V2/DatastoreOptions.php +++ b/Dlp/src/V2/DatastoreOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options defining a data set within Google Cloud Datastore. diff --git a/Dlp/src/V2/DateShiftConfig.php b/Dlp/src/V2/DateShiftConfig.php index 710be7fdb1a7..188c45c4069d 100644 --- a/Dlp/src/V2/DateShiftConfig.php +++ b/Dlp/src/V2/DateShiftConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Shifts dates by random number of days, with option to be consistent for the diff --git a/Dlp/src/V2/DateTime.php b/Dlp/src/V2/DateTime.php index da1a586cf1a2..637d6bca9f84 100644 --- a/Dlp/src/V2/DateTime.php +++ b/Dlp/src/V2/DateTime.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for a date time object. diff --git a/Dlp/src/V2/DateTime/TimeZone.php b/Dlp/src/V2/DateTime/TimeZone.php index fb048434b69f..3d1ac87f375c 100644 --- a/Dlp/src/V2/DateTime/TimeZone.php +++ b/Dlp/src/V2/DateTime/TimeZone.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DateTime; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Time zone of the date time object. @@ -69,4 +69,3 @@ public function setOffsetMinutes($var) } - diff --git a/Dlp/src/V2/DeidentifyConfig.php b/Dlp/src/V2/DeidentifyConfig.php index 0ffdb2d9697d..2c0ecec153a9 100644 --- a/Dlp/src/V2/DeidentifyConfig.php +++ b/Dlp/src/V2/DeidentifyConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration that controls how the data will change. diff --git a/Dlp/src/V2/DeidentifyContentRequest.php b/Dlp/src/V2/DeidentifyContentRequest.php index ea80b28b68f4..89fa92f66c1c 100644 --- a/Dlp/src/V2/DeidentifyContentRequest.php +++ b/Dlp/src/V2/DeidentifyContentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to de-identify a ContentItem. diff --git a/Dlp/src/V2/DeidentifyContentResponse.php b/Dlp/src/V2/DeidentifyContentResponse.php index dd41fd9c0f4d..74c7ff5478db 100644 --- a/Dlp/src/V2/DeidentifyContentResponse.php +++ b/Dlp/src/V2/DeidentifyContentResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Results of de-identifying a ContentItem. diff --git a/Dlp/src/V2/DeidentifyDataSourceDetails.php b/Dlp/src/V2/DeidentifyDataSourceDetails.php index 7df95b625939..535d155ea665 100644 --- a/Dlp/src/V2/DeidentifyDataSourceDetails.php +++ b/Dlp/src/V2/DeidentifyDataSourceDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The results of a [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action diff --git a/Dlp/src/V2/DeidentifyDataSourceDetails/RequestedDeidentifyOptions.php b/Dlp/src/V2/DeidentifyDataSourceDetails/RequestedDeidentifyOptions.php index d73a1fe21b95..c952ce01d9ba 100644 --- a/Dlp/src/V2/DeidentifyDataSourceDetails/RequestedDeidentifyOptions.php +++ b/Dlp/src/V2/DeidentifyDataSourceDetails/RequestedDeidentifyOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DeidentifyDataSourceDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * De-identification options. @@ -179,4 +179,3 @@ public function setSnapshotImageRedactTemplate($var) } - diff --git a/Dlp/src/V2/DeidentifyDataSourceStats.php b/Dlp/src/V2/DeidentifyDataSourceStats.php index 59a55b5aa27b..e38c21b34cf3 100644 --- a/Dlp/src/V2/DeidentifyDataSourceStats.php +++ b/Dlp/src/V2/DeidentifyDataSourceStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Summary of what was modified during a transformation. diff --git a/Dlp/src/V2/DeidentifyTemplate.php b/Dlp/src/V2/DeidentifyTemplate.php index ed0862cbcb2b..627ae3405038 100644 --- a/Dlp/src/V2/DeidentifyTemplate.php +++ b/Dlp/src/V2/DeidentifyTemplate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DeidentifyTemplates contains instructions on how to de-identify content. diff --git a/Dlp/src/V2/DeleteConnectionRequest.php b/Dlp/src/V2/DeleteConnectionRequest.php index bb91b2b567db..2896d85a7f80 100644 --- a/Dlp/src/V2/DeleteConnectionRequest.php +++ b/Dlp/src/V2/DeleteConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteConnection. diff --git a/Dlp/src/V2/DeleteDeidentifyTemplateRequest.php b/Dlp/src/V2/DeleteDeidentifyTemplateRequest.php index 0b3e5e031c0a..dda435e03c7b 100644 --- a/Dlp/src/V2/DeleteDeidentifyTemplateRequest.php +++ b/Dlp/src/V2/DeleteDeidentifyTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteDeidentifyTemplate. diff --git a/Dlp/src/V2/DeleteDiscoveryConfigRequest.php b/Dlp/src/V2/DeleteDiscoveryConfigRequest.php index 6a20b7235350..e4d498a20b9a 100644 --- a/Dlp/src/V2/DeleteDiscoveryConfigRequest.php +++ b/Dlp/src/V2/DeleteDiscoveryConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteDiscoveryConfig. diff --git a/Dlp/src/V2/DeleteDlpJobRequest.php b/Dlp/src/V2/DeleteDlpJobRequest.php index 973c1c27b837..985db26de861 100644 --- a/Dlp/src/V2/DeleteDlpJobRequest.php +++ b/Dlp/src/V2/DeleteDlpJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for deleting a DLP job. diff --git a/Dlp/src/V2/DeleteFileStoreDataProfileRequest.php b/Dlp/src/V2/DeleteFileStoreDataProfileRequest.php index a6d5959728a2..42e56865dde5 100644 --- a/Dlp/src/V2/DeleteFileStoreDataProfileRequest.php +++ b/Dlp/src/V2/DeleteFileStoreDataProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteFileStoreProfile. diff --git a/Dlp/src/V2/DeleteInspectTemplateRequest.php b/Dlp/src/V2/DeleteInspectTemplateRequest.php index 247a31ff2442..c2fdcf815e99 100644 --- a/Dlp/src/V2/DeleteInspectTemplateRequest.php +++ b/Dlp/src/V2/DeleteInspectTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteInspectTemplate. diff --git a/Dlp/src/V2/DeleteJobTriggerRequest.php b/Dlp/src/V2/DeleteJobTriggerRequest.php index a5b16ef7a905..cc74d0a0dc36 100644 --- a/Dlp/src/V2/DeleteJobTriggerRequest.php +++ b/Dlp/src/V2/DeleteJobTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteJobTrigger. diff --git a/Dlp/src/V2/DeleteStoredInfoTypeRequest.php b/Dlp/src/V2/DeleteStoredInfoTypeRequest.php index d8d4c68e7530..f5539488908b 100644 --- a/Dlp/src/V2/DeleteStoredInfoTypeRequest.php +++ b/Dlp/src/V2/DeleteStoredInfoTypeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteStoredInfoType. diff --git a/Dlp/src/V2/DeleteTableDataProfileRequest.php b/Dlp/src/V2/DeleteTableDataProfileRequest.php index e270dbd6466f..214eb53f0022 100644 --- a/Dlp/src/V2/DeleteTableDataProfileRequest.php +++ b/Dlp/src/V2/DeleteTableDataProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteTableProfile. diff --git a/Dlp/src/V2/Disabled.php b/Dlp/src/V2/Disabled.php index 41edd890b7f6..29b9fa81c491 100644 --- a/Dlp/src/V2/Disabled.php +++ b/Dlp/src/V2/Disabled.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Do not profile the tables. diff --git a/Dlp/src/V2/DiscoveryBigQueryConditions.php b/Dlp/src/V2/DiscoveryBigQueryConditions.php index 79aa5b244deb..1e0f7dc6ea58 100644 --- a/Dlp/src/V2/DiscoveryBigQueryConditions.php +++ b/Dlp/src/V2/DiscoveryBigQueryConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Requirements that must be true before a table is scanned in discovery for the diff --git a/Dlp/src/V2/DiscoveryBigQueryConditions/OrConditions.php b/Dlp/src/V2/DiscoveryBigQueryConditions/OrConditions.php index 9c1f07485b0b..81ebe465331c 100644 --- a/Dlp/src/V2/DiscoveryBigQueryConditions/OrConditions.php +++ b/Dlp/src/V2/DiscoveryBigQueryConditions/OrConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DiscoveryBigQueryConditions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * There is an OR relationship between these attributes. They are used to @@ -118,4 +118,3 @@ public function setMinAge($var) } - diff --git a/Dlp/src/V2/DiscoveryBigQueryFilter.php b/Dlp/src/V2/DiscoveryBigQueryFilter.php index a87ee0ec1d3b..43de277bfef8 100644 --- a/Dlp/src/V2/DiscoveryBigQueryFilter.php +++ b/Dlp/src/V2/DiscoveryBigQueryFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Determines what tables will have profiles generated within an organization diff --git a/Dlp/src/V2/DiscoveryBigQueryFilter/AllOtherBigQueryTables.php b/Dlp/src/V2/DiscoveryBigQueryFilter/AllOtherBigQueryTables.php index 03ef19b70869..4adc7bba6ccf 100644 --- a/Dlp/src/V2/DiscoveryBigQueryFilter/AllOtherBigQueryTables.php +++ b/Dlp/src/V2/DiscoveryBigQueryFilter/AllOtherBigQueryTables.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DiscoveryBigQueryFilter; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Catch-all for all other tables not specified by other filters. Should @@ -33,4 +33,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/DiscoveryCloudSqlConditions.php b/Dlp/src/V2/DiscoveryCloudSqlConditions.php index 0697e79227ac..96c0b9dd3b49 100644 --- a/Dlp/src/V2/DiscoveryCloudSqlConditions.php +++ b/Dlp/src/V2/DiscoveryCloudSqlConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Requirements that must be true before a table is profiled for the @@ -38,10 +38,10 @@ class DiscoveryCloudSqlConditions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $database_engines + * @type int[] $database_engines * Optional. Database engines that should be profiled. * Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. - * @type array|\Google\Protobuf\Internal\RepeatedField $types + * @type int[] $types * Data profiles will only be generated for the database resource types * specified in this field. * If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDatabaseEngines() { @@ -69,7 +69,7 @@ public function getDatabaseEngines() * Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngine database_engines = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setDatabaseEngines($var) @@ -86,7 +86,7 @@ public function setDatabaseEngines($var) * If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTypes() { @@ -99,7 +99,7 @@ public function getTypes() * If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES]. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType types = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTypes($var) diff --git a/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseEngine.php b/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseEngine.php index 9e70334e8c02..f111e0d5a90c 100644 --- a/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseEngine.php +++ b/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseEngine.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseResourceType.php b/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseResourceType.php index fb2543b02beb..dc91b62c837a 100644 --- a/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseResourceType.php +++ b/Dlp/src/V2/DiscoveryCloudSqlConditions/DatabaseResourceType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DiscoveryCloudSqlFilter.php b/Dlp/src/V2/DiscoveryCloudSqlFilter.php index c2d34c2f8649..6123f8644c35 100644 --- a/Dlp/src/V2/DiscoveryCloudSqlFilter.php +++ b/Dlp/src/V2/DiscoveryCloudSqlFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Determines what tables will have profiles generated within an organization diff --git a/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence.php b/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence.php index 9e4bf852b7e2..6cf5d214c32a 100644 --- a/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence.php +++ b/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * How often existing tables should have their profiles refreshed. diff --git a/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence.php b/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence.php index b08e8e101a53..4124a9a1b255 100644 --- a/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence.php +++ b/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DiscoveryCloudSqlGenerationCadence; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * How frequently to modify the profile when the table's schema is modified. @@ -36,7 +36,7 @@ class SchemaModifiedCadence extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $types + * @type int[] $types * The types of schema modifications to consider. * Defaults to NEW_COLUMNS. * @type int $frequency @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * Defaults to NEW_COLUMNS. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTypes() { @@ -66,7 +66,7 @@ public function getTypes() * Defaults to NEW_COLUMNS. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTypes($var) @@ -107,4 +107,3 @@ public function setFrequency($var) } - diff --git a/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence/CloudSqlSchemaModification.php b/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence/CloudSqlSchemaModification.php index 34b7981ec3c1..d7faecdf8aca 100644 --- a/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence/CloudSqlSchemaModification.php +++ b/Dlp/src/V2/DiscoveryCloudSqlGenerationCadence/SchemaModifiedCadence/CloudSqlSchemaModification.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DiscoveryCloudStorageConditions.php b/Dlp/src/V2/DiscoveryCloudStorageConditions.php index e007296d9e23..7d913394158a 100644 --- a/Dlp/src/V2/DiscoveryCloudStorageConditions.php +++ b/Dlp/src/V2/DiscoveryCloudStorageConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Requirements that must be true before a Cloud Storage bucket or object is @@ -41,13 +41,13 @@ class DiscoveryCloudStorageConditions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $included_object_attributes + * @type int[] $included_object_attributes * Required. Only objects with the specified attributes will be scanned. If an * object has one of the specified attributes but is inside an excluded * bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A * profile will be created even if no objects match the * included_object_attributes. - * @type array|\Google\Protobuf\Internal\RepeatedField $included_bucket_attributes + * @type int[] $included_bucket_attributes * Required. Only objects with the specified attributes will be scanned. * Defaults to [ALL_SUPPORTED_BUCKETS] if unset. * } @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * included_object_attributes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute included_object_attributes = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIncludedObjectAttributes() { @@ -80,7 +80,7 @@ public function getIncludedObjectAttributes() * included_object_attributes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute included_object_attributes = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setIncludedObjectAttributes($var) @@ -96,7 +96,7 @@ public function setIncludedObjectAttributes($var) * Defaults to [ALL_SUPPORTED_BUCKETS] if unset. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute included_bucket_attributes = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIncludedBucketAttributes() { @@ -108,7 +108,7 @@ public function getIncludedBucketAttributes() * Defaults to [ALL_SUPPORTED_BUCKETS] if unset. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttribute included_bucket_attributes = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setIncludedBucketAttributes($var) diff --git a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php index d345bc7be13c..b964ca9ca8be 100644 --- a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php +++ b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php @@ -71,4 +71,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php index e0fa3349c2fd..b973469865b4 100644 --- a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php +++ b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php @@ -107,4 +107,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DiscoveryCloudStorageFilter.php b/Dlp/src/V2/DiscoveryCloudStorageFilter.php index ca30fd02329c..1bdc66a39922 100644 --- a/Dlp/src/V2/DiscoveryCloudStorageFilter.php +++ b/Dlp/src/V2/DiscoveryCloudStorageFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Determines which buckets will have profiles generated within an organization diff --git a/Dlp/src/V2/DiscoveryCloudStorageGenerationCadence.php b/Dlp/src/V2/DiscoveryCloudStorageGenerationCadence.php index c3330c4d2c94..8826077e2016 100644 --- a/Dlp/src/V2/DiscoveryCloudStorageGenerationCadence.php +++ b/Dlp/src/V2/DiscoveryCloudStorageGenerationCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * How often existing buckets should have their profiles refreshed. diff --git a/Dlp/src/V2/DiscoveryConfig.php b/Dlp/src/V2/DiscoveryConfig.php index 36d70d04bb6c..9d25f99eba2f 100644 --- a/Dlp/src/V2/DiscoveryConfig.php +++ b/Dlp/src/V2/DiscoveryConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for discovery to scan resources for profile generation. @@ -134,7 +134,7 @@ class DiscoveryConfig extends \Google\Protobuf\Internal\Message * Only set when the parent is an org. * @type \Google\Cloud\Dlp\V2\OtherCloudDiscoveryStartingLocation $other_cloud_starting_location * Must be set only when scanning other clouds. - * @type array|\Google\Protobuf\Internal\RepeatedField $inspect_templates + * @type string[] $inspect_templates * Detection logic for profile generation. * Not all template features are used by Discovery. FindingLimits, * include_quote and exclude_info_types have no impact on @@ -148,11 +148,11 @@ class DiscoveryConfig extends \Google\Protobuf\Internal\Message * scanned. * For more information, see * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. - * @type array<\Google\Cloud\Dlp\V2\DataProfileAction>|\Google\Protobuf\Internal\RepeatedField $actions + * @type \Google\Cloud\Dlp\V2\DataProfileAction[] $actions * Actions to execute at the completion of scanning. - * @type array<\Google\Cloud\Dlp\V2\DiscoveryTarget>|\Google\Protobuf\Internal\RepeatedField $targets + * @type \Google\Cloud\Dlp\V2\DiscoveryTarget[] $targets * Target to match against for determining what to scan and how frequently. - * @type array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\Dlp\V2\Error[] $errors * Output only. A stream of errors encountered when the config was activated. * Repeated errors may result in the config automatically being paused. Output * only field. Will return the last 100 errors. Whenever the config is @@ -320,7 +320,7 @@ public function setOtherCloudStartingLocation($var) * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getInspectTemplates() { @@ -343,7 +343,7 @@ public function getInspectTemplates() * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setInspectTemplates($var) @@ -358,7 +358,7 @@ public function setInspectTemplates($var) * Actions to execute at the completion of scanning. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfileAction actions = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DataProfileAction> */ public function getActions() { @@ -369,7 +369,7 @@ public function getActions() * Actions to execute at the completion of scanning. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DataProfileAction actions = 4; - * @param array<\Google\Cloud\Dlp\V2\DataProfileAction>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DataProfileAction[] $var * @return $this */ public function setActions($var) @@ -384,7 +384,7 @@ public function setActions($var) * Target to match against for determining what to scan and how frequently. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DiscoveryTarget> */ public function getTargets() { @@ -395,7 +395,7 @@ public function getTargets() * Target to match against for determining what to scan and how frequently. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5; - * @param array<\Google\Cloud\Dlp\V2\DiscoveryTarget>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DiscoveryTarget[] $var * @return $this */ public function setTargets($var) @@ -413,7 +413,7 @@ public function setTargets($var) * modified this list will be cleared. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() { @@ -427,7 +427,7 @@ public function getErrors() * modified this list will be cleared. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ public function setErrors($var) diff --git a/Dlp/src/V2/DiscoveryConfig/OrgConfig.php b/Dlp/src/V2/DiscoveryConfig/OrgConfig.php index bae37c0d3678..d89b7620a4b2 100644 --- a/Dlp/src/V2/DiscoveryConfig/OrgConfig.php +++ b/Dlp/src/V2/DiscoveryConfig/OrgConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\DiscoveryConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Project and scan location information. Only set when the parent is an org. @@ -117,4 +117,3 @@ public function setProjectId($var) } - diff --git a/Dlp/src/V2/DiscoveryConfig/Status.php b/Dlp/src/V2/DiscoveryConfig/Status.php index d7755ca6cade..143cec63fe99 100644 --- a/Dlp/src/V2/DiscoveryConfig/Status.php +++ b/Dlp/src/V2/DiscoveryConfig/Status.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DiscoveryFileStoreConditions.php b/Dlp/src/V2/DiscoveryFileStoreConditions.php index eb161f68031a..540d4d424c17 100644 --- a/Dlp/src/V2/DiscoveryFileStoreConditions.php +++ b/Dlp/src/V2/DiscoveryFileStoreConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Requirements that must be true before a file store is scanned in discovery diff --git a/Dlp/src/V2/DiscoveryGenerationCadence.php b/Dlp/src/V2/DiscoveryGenerationCadence.php index 097c38ea0791..fc8d373c1089 100644 --- a/Dlp/src/V2/DiscoveryGenerationCadence.php +++ b/Dlp/src/V2/DiscoveryGenerationCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * What must take place for a profile to be updated and how diff --git a/Dlp/src/V2/DiscoveryInspectTemplateModifiedCadence.php b/Dlp/src/V2/DiscoveryInspectTemplateModifiedCadence.php index 51022f9d6f28..c946ec1d8291 100644 --- a/Dlp/src/V2/DiscoveryInspectTemplateModifiedCadence.php +++ b/Dlp/src/V2/DiscoveryInspectTemplateModifiedCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The cadence at which to update data profiles when the inspection rules diff --git a/Dlp/src/V2/DiscoveryOtherCloudConditions.php b/Dlp/src/V2/DiscoveryOtherCloudConditions.php index ce1ab5ced5b3..97818465b4f9 100644 --- a/Dlp/src/V2/DiscoveryOtherCloudConditions.php +++ b/Dlp/src/V2/DiscoveryOtherCloudConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Requirements that must be true before a resource is profiled for the first diff --git a/Dlp/src/V2/DiscoveryOtherCloudFilter.php b/Dlp/src/V2/DiscoveryOtherCloudFilter.php index b5c32eb8ac64..0d5a69fd792d 100644 --- a/Dlp/src/V2/DiscoveryOtherCloudFilter.php +++ b/Dlp/src/V2/DiscoveryOtherCloudFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Determines which resources from the other cloud will have profiles generated. diff --git a/Dlp/src/V2/DiscoveryOtherCloudGenerationCadence.php b/Dlp/src/V2/DiscoveryOtherCloudGenerationCadence.php index 6f51ca458ed7..ddb252883134 100644 --- a/Dlp/src/V2/DiscoveryOtherCloudGenerationCadence.php +++ b/Dlp/src/V2/DiscoveryOtherCloudGenerationCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * How often existing resources should have their profiles refreshed. diff --git a/Dlp/src/V2/DiscoverySchemaModifiedCadence.php b/Dlp/src/V2/DiscoverySchemaModifiedCadence.php index 0fa1784d3daf..76859e84b2d7 100644 --- a/Dlp/src/V2/DiscoverySchemaModifiedCadence.php +++ b/Dlp/src/V2/DiscoverySchemaModifiedCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The cadence at which to update data profiles when a schema is modified. @@ -37,7 +37,7 @@ class DiscoverySchemaModifiedCadence extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $types + * @type int[] $types * The type of events to consider when deciding if the table's schema * has been modified and should have the profile updated. Defaults to * NEW_COLUMNS. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * NEW_COLUMNS. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTypes() { @@ -70,7 +70,7 @@ public function getTypes() * NEW_COLUMNS. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQuerySchemaModification types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTypes($var) diff --git a/Dlp/src/V2/DiscoveryStartingLocation.php b/Dlp/src/V2/DiscoveryStartingLocation.php index a4dea43d8df0..42c48b52c042 100644 --- a/Dlp/src/V2/DiscoveryStartingLocation.php +++ b/Dlp/src/V2/DiscoveryStartingLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The location to begin a discovery scan. Denotes an organization ID or folder diff --git a/Dlp/src/V2/DiscoveryTableModifiedCadence.php b/Dlp/src/V2/DiscoveryTableModifiedCadence.php index 41c4460b6233..4311065aab85 100644 --- a/Dlp/src/V2/DiscoveryTableModifiedCadence.php +++ b/Dlp/src/V2/DiscoveryTableModifiedCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The cadence at which to update data profiles when a table is modified. @@ -37,7 +37,7 @@ class DiscoveryTableModifiedCadence extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $types + * @type int[] $types * The type of events to consider when deciding if the table has been * modified and should have the profile updated. Defaults to * MODIFIED_TIMESTAMP. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * MODIFIED_TIMESTAMP. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTypes() { @@ -70,7 +70,7 @@ public function getTypes() * MODIFIED_TIMESTAMP. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BigQueryTableModification types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTypes($var) diff --git a/Dlp/src/V2/DiscoveryTarget.php b/Dlp/src/V2/DiscoveryTarget.php index 136e95ecdf38..655db31a3139 100644 --- a/Dlp/src/V2/DiscoveryTarget.php +++ b/Dlp/src/V2/DiscoveryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Target used to match against for Discovery. diff --git a/Dlp/src/V2/DiscoveryVertexDatasetConditions.php b/Dlp/src/V2/DiscoveryVertexDatasetConditions.php index 17f92055989b..98ea83a4a0d4 100644 --- a/Dlp/src/V2/DiscoveryVertexDatasetConditions.php +++ b/Dlp/src/V2/DiscoveryVertexDatasetConditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Requirements that must be true before a dataset is profiled for the diff --git a/Dlp/src/V2/DiscoveryVertexDatasetFilter.php b/Dlp/src/V2/DiscoveryVertexDatasetFilter.php index e69b57555424..bfed65d02416 100644 --- a/Dlp/src/V2/DiscoveryVertexDatasetFilter.php +++ b/Dlp/src/V2/DiscoveryVertexDatasetFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Determines what datasets will have profiles generated within an organization diff --git a/Dlp/src/V2/DiscoveryVertexDatasetGenerationCadence.php b/Dlp/src/V2/DiscoveryVertexDatasetGenerationCadence.php index ad620b78d008..fae45ec8c974 100644 --- a/Dlp/src/V2/DiscoveryVertexDatasetGenerationCadence.php +++ b/Dlp/src/V2/DiscoveryVertexDatasetGenerationCadence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * How often existing datasets should have their profiles refreshed. diff --git a/Dlp/src/V2/DlpJob.php b/Dlp/src/V2/DlpJob.php index 9bd92b2beccb..94b9b9ad6653 100644 --- a/Dlp/src/V2/DlpJob.php +++ b/Dlp/src/V2/DlpJob.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Combines all of the information about a DLP job. @@ -105,9 +105,9 @@ class DlpJob extends \Google\Protobuf\Internal\Message * @type string $job_trigger_name * If created by a job trigger, the resource name of the trigger that * instantiated the job. - * @type array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\Dlp\V2\Error[] $errors * A stream of errors encountered running the job. - * @type array<\Google\Cloud\Dlp\V2\ActionDetails>|\Google\Protobuf\Internal\RepeatedField $action_details + * @type \Google\Cloud\Dlp\V2\ActionDetails[] $action_details * Events that should occur after the job has completed. * } */ @@ -432,7 +432,7 @@ public function setJobTriggerName($var) * A stream of errors encountered running the job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() { @@ -443,7 +443,7 @@ public function getErrors() * A stream of errors encountered running the job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11; - * @param array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ public function setErrors($var) @@ -458,7 +458,7 @@ public function setErrors($var) * Events that should occur after the job has completed. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\ActionDetails> */ public function getActionDetails() { @@ -469,7 +469,7 @@ public function getActionDetails() * Events that should occur after the job has completed. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12; - * @param array<\Google\Cloud\Dlp\V2\ActionDetails>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\ActionDetails[] $var * @return $this */ public function setActionDetails($var) diff --git a/Dlp/src/V2/DlpJob/JobState.php b/Dlp/src/V2/DlpJob/JobState.php index 87455ab9895b..069f4f896d3e 100644 --- a/Dlp/src/V2/DlpJob/JobState.php +++ b/Dlp/src/V2/DlpJob/JobState.php @@ -91,4 +91,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/DocumentLocation.php b/Dlp/src/V2/DocumentLocation.php index 1abf21ab6a0b..1e77bafe9ea3 100644 --- a/Dlp/src/V2/DocumentLocation.php +++ b/Dlp/src/V2/DocumentLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of a finding within a document. diff --git a/Dlp/src/V2/Domain.php b/Dlp/src/V2/Domain.php index 21a3390044cc..0d79d99e3b33 100644 --- a/Dlp/src/V2/Domain.php +++ b/Dlp/src/V2/Domain.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A domain represents a thematic category that a data profile can fall under. @@ -36,7 +36,7 @@ class Domain extends \Google\Protobuf\Internal\Message * * @type int $category * A domain category that this profile is related to. - * @type array|\Google\Protobuf\Internal\RepeatedField $signals + * @type int[] $signals * The collection of signals that influenced selection of the category. * } */ @@ -75,7 +75,7 @@ public function setCategory($var) * The collection of signals that influenced selection of the category. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Domain.Signal signals = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSignals() { @@ -86,7 +86,7 @@ public function getSignals() * The collection of signals that influenced selection of the category. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Domain.Signal signals = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSignals($var) diff --git a/Dlp/src/V2/Domain/Category.php b/Dlp/src/V2/Domain/Category.php index f95767525d56..f59c6bea1366 100644 --- a/Dlp/src/V2/Domain/Category.php +++ b/Dlp/src/V2/Domain/Category.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/Domain/Signal.php b/Dlp/src/V2/Domain/Signal.php index 2348ed2f5692..fde9703ca83c 100644 --- a/Dlp/src/V2/Domain/Signal.php +++ b/Dlp/src/V2/Domain/Signal.php @@ -93,4 +93,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/EntityId.php b/Dlp/src/V2/EntityId.php index 5600e90f2b91..6b426cfdb1c8 100644 --- a/Dlp/src/V2/EntityId.php +++ b/Dlp/src/V2/EntityId.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An entity in a dataset is a field or set of fields that correspond to a diff --git a/Dlp/src/V2/Error.php b/Dlp/src/V2/Error.php index c4187c6b1a9b..1ff418cf4ff2 100644 --- a/Dlp/src/V2/Error.php +++ b/Dlp/src/V2/Error.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details information about an error encountered during job execution or @@ -44,7 +44,7 @@ class Error extends \Google\Protobuf\Internal\Message * * @type \Google\Rpc\Status $details * Detailed error codes and messages. - * @type array<\Google\Protobuf\Timestamp>|\Google\Protobuf\Internal\RepeatedField $timestamps + * @type \Google\Protobuf\Timestamp[] $timestamps * The times the error occurred. List includes the oldest timestamp and the * last 9 timestamps. * @type int $extra_info @@ -97,7 +97,7 @@ public function setDetails($var) * last 9 timestamps. * * Generated from protobuf field repeated .google.protobuf.Timestamp timestamps = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Timestamp> */ public function getTimestamps() { @@ -109,7 +109,7 @@ public function getTimestamps() * last 9 timestamps. * * Generated from protobuf field repeated .google.protobuf.Timestamp timestamps = 2; - * @param array<\Google\Protobuf\Timestamp>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Timestamp[] $var * @return $this */ public function setTimestamps($var) diff --git a/Dlp/src/V2/Error/ErrorExtraInfo.php b/Dlp/src/V2/Error/ErrorExtraInfo.php index 1dc1cf300541..727edfbea8f6 100644 --- a/Dlp/src/V2/Error/ErrorExtraInfo.php +++ b/Dlp/src/V2/Error/ErrorExtraInfo.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/ExcludeByHotword.php b/Dlp/src/V2/ExcludeByHotword.php index b36a1ee82195..05e0f9fdce5d 100644 --- a/Dlp/src/V2/ExcludeByHotword.php +++ b/Dlp/src/V2/ExcludeByHotword.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The rule to exclude findings based on a hotword. For record inspection of diff --git a/Dlp/src/V2/ExcludeInfoTypes.php b/Dlp/src/V2/ExcludeInfoTypes.php index bf9b02b680a5..295ad4aae151 100644 --- a/Dlp/src/V2/ExcludeInfoTypes.php +++ b/Dlp/src/V2/ExcludeInfoTypes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List of excluded infoTypes. @@ -22,7 +22,7 @@ class ExcludeInfoTypes extends \Google\Protobuf\Internal\Message * `exclusion_rule` containing `exclude_info_types.info_types` with * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap * with EMAIL_ADDRESS finding. - * That leads to "555-222-2222@example.org" to generate only a single + * That leads to "555-222-2222\@example.org" to generate only a single * finding, namely email address. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -35,14 +35,14 @@ class ExcludeInfoTypes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $info_types + * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * InfoType list in ExclusionRule rule drops a finding when it overlaps or * contained within with a finding of an infoType from this list. For * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and * `exclusion_rule` containing `exclude_info_types.info_types` with * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap * with EMAIL_ADDRESS finding. - * That leads to "555-222-2222@example.org" to generate only a single + * That leads to "555-222-2222\@example.org" to generate only a single * finding, namely email address. * } */ @@ -58,11 +58,11 @@ public function __construct($data = NULL) { * `exclusion_rule` containing `exclude_info_types.info_types` with * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap * with EMAIL_ADDRESS finding. - * That leads to "555-222-2222@example.org" to generate only a single + * That leads to "555-222-2222\@example.org" to generate only a single * finding, namely email address. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoType> */ public function getInfoTypes() { @@ -76,11 +76,11 @@ public function getInfoTypes() * `exclusion_rule` containing `exclude_info_types.info_types` with * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap * with EMAIL_ADDRESS finding. - * That leads to "555-222-2222@example.org" to generate only a single + * That leads to "555-222-2222\@example.org" to generate only a single * finding, namely email address. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @param array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoType[] $var * @return $this */ public function setInfoTypes($var) diff --git a/Dlp/src/V2/ExclusionRule.php b/Dlp/src/V2/ExclusionRule.php index c238c2b9417d..a6c35be0af37 100644 --- a/Dlp/src/V2/ExclusionRule.php +++ b/Dlp/src/V2/ExclusionRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The rule that specifies conditions when findings of infoTypes specified in diff --git a/Dlp/src/V2/FieldId.php b/Dlp/src/V2/FieldId.php index 2cdfe5bc25cf..bb4628f46efa 100644 --- a/Dlp/src/V2/FieldId.php +++ b/Dlp/src/V2/FieldId.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * General identifier of a data field in a storage service. diff --git a/Dlp/src/V2/FieldTransformation.php b/Dlp/src/V2/FieldTransformation.php index 3f7a9a39e9e2..4a60eb679b4f 100644 --- a/Dlp/src/V2/FieldTransformation.php +++ b/Dlp/src/V2/FieldTransformation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The transformation to apply to the field. @@ -44,7 +44,7 @@ class FieldTransformation extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\Dlp\V2\FieldId[] $fields * Required. Input field(s) to apply the transformation to. * When you have columns that reference their position within a list, * omit the index from the FieldId. FieldId name matching ignores the index. @@ -76,7 +76,7 @@ public function __construct($data = NULL) { * For example, instead of "contact.nums[0].type", use "contact.nums.type". * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getFields() { @@ -90,7 +90,7 @@ public function getFields() * For example, instead of "contact.nums[0].type", use "contact.nums.type". * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setFields($var) diff --git a/Dlp/src/V2/FileClusterSummary.php b/Dlp/src/V2/FileClusterSummary.php index 361dbf343431..52b324fb9fdf 100644 --- a/Dlp/src/V2/FileClusterSummary.php +++ b/Dlp/src/V2/FileClusterSummary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The file cluster summary. @@ -80,7 +80,7 @@ class FileClusterSummary extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\FileClusterType $file_cluster_type * The file cluster type. - * @type array<\Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $file_store_info_type_summaries + * @type \Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary[] $file_store_info_type_summaries * InfoTypes detected in this cluster. * @type \Google\Cloud\Dlp\V2\SensitivityScore $sensitivity_score * The sensitivity score of this cluster. The score will be SENSITIVITY_LOW @@ -88,14 +88,14 @@ class FileClusterSummary extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Dlp\V2\DataRiskLevel $data_risk_level * The data risk level of this cluster. RISK_LOW if nothing has been * scanned. - * @type array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\Dlp\V2\Error[] $errors * A list of errors detected while scanning this cluster. The list is * truncated to 10 per cluster. - * @type array<\Google\Cloud\Dlp\V2\FileExtensionInfo>|\Google\Protobuf\Internal\RepeatedField $file_extensions_scanned + * @type \Google\Cloud\Dlp\V2\FileExtensionInfo[] $file_extensions_scanned * A sample of file types scanned in this cluster. Empty if no files were * scanned. File extensions can be derived from the file name or the file * content. - * @type array<\Google\Cloud\Dlp\V2\FileExtensionInfo>|\Google\Protobuf\Internal\RepeatedField $file_extensions_seen + * @type \Google\Cloud\Dlp\V2\FileExtensionInfo[] $file_extensions_seen * A sample of file types seen in this cluster. Empty if no files were seen. * File extensions can be derived from the file name or the file content. * @type bool $no_files_exist @@ -149,7 +149,7 @@ public function setFileClusterType($var) * InfoTypes detected in this cluster. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary> */ public function getFileStoreInfoTypeSummaries() { @@ -160,7 +160,7 @@ public function getFileStoreInfoTypeSummaries() * InfoTypes detected in this cluster. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 2; - * @param array<\Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary[] $var * @return $this */ public function setFileStoreInfoTypeSummaries($var) @@ -252,7 +252,7 @@ public function setDataRiskLevel($var) * truncated to 10 per cluster. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() { @@ -264,7 +264,7 @@ public function getErrors() * truncated to 10 per cluster. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6; - * @param array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ public function setErrors($var) @@ -281,7 +281,7 @@ public function setErrors($var) * content. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_scanned = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileExtensionInfo> */ public function getFileExtensionsScanned() { @@ -294,7 +294,7 @@ public function getFileExtensionsScanned() * content. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_scanned = 7; - * @param array<\Google\Cloud\Dlp\V2\FileExtensionInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FileExtensionInfo[] $var * @return $this */ public function setFileExtensionsScanned($var) @@ -310,7 +310,7 @@ public function setFileExtensionsScanned($var) * File extensions can be derived from the file name or the file content. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_seen = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileExtensionInfo> */ public function getFileExtensionsSeen() { @@ -322,7 +322,7 @@ public function getFileExtensionsSeen() * File extensions can be derived from the file name or the file content. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileExtensionInfo file_extensions_seen = 8; - * @param array<\Google\Cloud\Dlp\V2\FileExtensionInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FileExtensionInfo[] $var * @return $this */ public function setFileExtensionsSeen($var) diff --git a/Dlp/src/V2/FileClusterType.php b/Dlp/src/V2/FileClusterType.php index fe211b77bb92..efa4e6d367b2 100644 --- a/Dlp/src/V2/FileClusterType.php +++ b/Dlp/src/V2/FileClusterType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message used to identify file cluster type being profiled. diff --git a/Dlp/src/V2/FileClusterType/Cluster.php b/Dlp/src/V2/FileClusterType/Cluster.php index a13722e1a998..5dc8f9d8e7ea 100644 --- a/Dlp/src/V2/FileClusterType/Cluster.php +++ b/Dlp/src/V2/FileClusterType/Cluster.php @@ -116,4 +116,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/FileExtensionInfo.php b/Dlp/src/V2/FileExtensionInfo.php index a791e879275e..54ffb06382e9 100644 --- a/Dlp/src/V2/FileExtensionInfo.php +++ b/Dlp/src/V2/FileExtensionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information regarding the discovered file extension. diff --git a/Dlp/src/V2/FileStoreCollection.php b/Dlp/src/V2/FileStoreCollection.php index c0c4276e843b..85ac83d96d2f 100644 --- a/Dlp/src/V2/FileStoreCollection.php +++ b/Dlp/src/V2/FileStoreCollection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Match file stores (e.g. buckets) using filters. diff --git a/Dlp/src/V2/FileStoreDataProfile.php b/Dlp/src/V2/FileStoreDataProfile.php index f9dd8eeb1a05..a6d6fde184db 100644 --- a/Dlp/src/V2/FileStoreDataProfile.php +++ b/Dlp/src/V2/FileStoreDataProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The profile for a file store. @@ -226,7 +226,7 @@ class FileStoreDataProfile extends \Google\Protobuf\Internal\Message * https://cloud.google.com/storage/docs/locations#available-locations * * Amazon S3: * https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints - * @type array|\Google\Protobuf\Internal\RepeatedField $data_storage_locations + * @type string[] $data_storage_locations * For resources that have multiple storage locations, these are those * regions. For Cloud Storage this is the list of regions chosen for * dual-region storage. `file_store_location` will normally be the @@ -266,7 +266,7 @@ class FileStoreDataProfile extends \Google\Protobuf\Internal\Message * The time the file store was first created. * @type \Google\Protobuf\Timestamp $last_modified_time * The time the file store was last modified. - * @type array<\Google\Cloud\Dlp\V2\FileClusterSummary>|\Google\Protobuf\Internal\RepeatedField $file_cluster_summaries + * @type \Google\Cloud\Dlp\V2\FileClusterSummary[] $file_cluster_summaries * FileClusterSummary per each cluster. * @type array|\Google\Protobuf\Internal\MapField $resource_attributes * Attributes of the resource being profiled. @@ -276,19 +276,19 @@ class FileStoreDataProfile extends \Google\Protobuf\Internal\Message * - false: the resource is encrypted with a provider-managed key. * @type array|\Google\Protobuf\Internal\MapField $resource_labels * The labels applied to the resource at the time the profile was generated. - * @type array<\Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $file_store_info_type_summaries + * @type \Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary[] $file_store_info_type_summaries * InfoTypes detected in this file store. * @type \Google\Cloud\Dlp\V2\BigQueryTable $sample_findings_table * The BigQuery table to which the sample findings are written. * @type bool $file_store_is_empty * The file store does not have any files. If the profiling operation failed, * this is false. - * @type array<\Google\Cloud\Dlp\V2\Tag>|\Google\Protobuf\Internal\RepeatedField $tags + * @type \Google\Cloud\Dlp\V2\Tag[] $tags * The tags attached to the resource, including any tags attached during * profiling. - * @type array<\Google\Cloud\Dlp\V2\RelatedResource>|\Google\Protobuf\Internal\RepeatedField $related_resources + * @type \Google\Cloud\Dlp\V2\RelatedResource[] $related_resources * Resources related to this profile. - * @type array<\Google\Cloud\Dlp\V2\Domain>|\Google\Protobuf\Internal\RepeatedField $domains + * @type \Google\Cloud\Dlp\V2\Domain[] $domains * Domains associated with the profile. * } */ @@ -456,7 +456,7 @@ public function setFileStoreLocation($var) * profile. * * Generated from protobuf field repeated string data_storage_locations = 19; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDataStorageLocations() { @@ -472,7 +472,7 @@ public function getDataStorageLocations() * profile. * * Generated from protobuf field repeated string data_storage_locations = 19; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDataStorageLocations($var) @@ -887,7 +887,7 @@ public function setLastModifiedTime($var) * FileClusterSummary per each cluster. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileClusterSummary> */ public function getFileClusterSummaries() { @@ -898,7 +898,7 @@ public function getFileClusterSummaries() * FileClusterSummary per each cluster. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileClusterSummary file_cluster_summaries = 16; - * @param array<\Google\Cloud\Dlp\V2\FileClusterSummary>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FileClusterSummary[] $var * @return $this */ public function setFileClusterSummaries($var) @@ -973,7 +973,7 @@ public function setResourceLabels($var) * InfoTypes detected in this file store. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary> */ public function getFileStoreInfoTypeSummaries() { @@ -984,7 +984,7 @@ public function getFileStoreInfoTypeSummaries() * InfoTypes detected in this file store. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreInfoTypeSummary file_store_info_type_summaries = 21; - * @param array<\Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FileStoreInfoTypeSummary[] $var * @return $this */ public function setFileStoreInfoTypeSummaries($var) @@ -1064,7 +1064,7 @@ public function setFileStoreIsEmpty($var) * profiling. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Tag tags = 25; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Tag> */ public function getTags() { @@ -1076,7 +1076,7 @@ public function getTags() * profiling. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Tag tags = 25; - * @param array<\Google\Cloud\Dlp\V2\Tag>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Tag[] $var * @return $this */ public function setTags($var) @@ -1091,7 +1091,7 @@ public function setTags($var) * Resources related to this profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\RelatedResource> */ public function getRelatedResources() { @@ -1102,7 +1102,7 @@ public function getRelatedResources() * Resources related to this profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RelatedResource related_resources = 26; - * @param array<\Google\Cloud\Dlp\V2\RelatedResource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\RelatedResource[] $var * @return $this */ public function setRelatedResources($var) @@ -1117,7 +1117,7 @@ public function setRelatedResources($var) * Domains associated with the profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Domain domains = 27; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Domain> */ public function getDomains() { @@ -1128,7 +1128,7 @@ public function getDomains() * Domains associated with the profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Domain domains = 27; - * @param array<\Google\Cloud\Dlp\V2\Domain>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Domain[] $var * @return $this */ public function setDomains($var) diff --git a/Dlp/src/V2/FileStoreDataProfile/State.php b/Dlp/src/V2/FileStoreDataProfile/State.php index 9ecdcec0ee53..d4daac73c392 100644 --- a/Dlp/src/V2/FileStoreDataProfile/State.php +++ b/Dlp/src/V2/FileStoreDataProfile/State.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/FileStoreInfoTypeSummary.php b/Dlp/src/V2/FileStoreInfoTypeSummary.php index e1f2bed088e2..839dc72ac511 100644 --- a/Dlp/src/V2/FileStoreInfoTypeSummary.php +++ b/Dlp/src/V2/FileStoreInfoTypeSummary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information regarding the discovered InfoType. diff --git a/Dlp/src/V2/FileStoreRegex.php b/Dlp/src/V2/FileStoreRegex.php index eb74f484ebd0..94a76625848c 100644 --- a/Dlp/src/V2/FileStoreRegex.php +++ b/Dlp/src/V2/FileStoreRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A pattern to match against one or more file stores. diff --git a/Dlp/src/V2/FileStoreRegexes.php b/Dlp/src/V2/FileStoreRegexes.php index 5e076d524b46..40b5e3bd5091 100644 --- a/Dlp/src/V2/FileStoreRegexes.php +++ b/Dlp/src/V2/FileStoreRegexes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of regular expressions to determine what file store to match @@ -31,7 +31,7 @@ class FileStoreRegexes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FileStoreRegex>|\Google\Protobuf\Internal\RepeatedField $patterns + * @type \Google\Cloud\Dlp\V2\FileStoreRegex[] $patterns * Required. The group of regular expression patterns to match against one or * more file stores. Maximum of 100 entries. The sum of all regular * expression's length can't exceed 10 KiB. @@ -48,7 +48,7 @@ public function __construct($data = NULL) { * expression's length can't exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileStoreRegex> */ public function getPatterns() { @@ -61,7 +61,7 @@ public function getPatterns() * expression's length can't exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\FileStoreRegex>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FileStoreRegex[] $var * @return $this */ public function setPatterns($var) diff --git a/Dlp/src/V2/Finding.php b/Dlp/src/V2/Finding.php index 96e95ce3b7da..56cd7de44e3d 100644 --- a/Dlp/src/V2/Finding.php +++ b/Dlp/src/V2/Finding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a piece of potentially sensitive content. diff --git a/Dlp/src/V2/FinishDlpJobRequest.php b/Dlp/src/V2/FinishDlpJobRequest.php index 278e8faf1fe8..daf2d73ba3ea 100644 --- a/Dlp/src/V2/FinishDlpJobRequest.php +++ b/Dlp/src/V2/FinishDlpJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for finishing a DLP hybrid job. diff --git a/Dlp/src/V2/FixedSizeBucketingConfig.php b/Dlp/src/V2/FixedSizeBucketingConfig.php index e7b42158b828..3b89b6708103 100644 --- a/Dlp/src/V2/FixedSizeBucketingConfig.php +++ b/Dlp/src/V2/FixedSizeBucketingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Buckets values based on fixed size ranges. The diff --git a/Dlp/src/V2/GetColumnDataProfileRequest.php b/Dlp/src/V2/GetColumnDataProfileRequest.php index 06e176a0c4d7..d41efd70e51e 100644 --- a/Dlp/src/V2/GetColumnDataProfileRequest.php +++ b/Dlp/src/V2/GetColumnDataProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to get a column data profile. diff --git a/Dlp/src/V2/GetConnectionRequest.php b/Dlp/src/V2/GetConnectionRequest.php index abceabf3a8bb..97af159f022b 100644 --- a/Dlp/src/V2/GetConnectionRequest.php +++ b/Dlp/src/V2/GetConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetConnection. diff --git a/Dlp/src/V2/GetDeidentifyTemplateRequest.php b/Dlp/src/V2/GetDeidentifyTemplateRequest.php index 33f8f78f48c9..e5b3d4a6920a 100644 --- a/Dlp/src/V2/GetDeidentifyTemplateRequest.php +++ b/Dlp/src/V2/GetDeidentifyTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetDeidentifyTemplate. diff --git a/Dlp/src/V2/GetDiscoveryConfigRequest.php b/Dlp/src/V2/GetDiscoveryConfigRequest.php index 74e5008be7ec..3dcd4d11d37f 100644 --- a/Dlp/src/V2/GetDiscoveryConfigRequest.php +++ b/Dlp/src/V2/GetDiscoveryConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetDiscoveryConfig. diff --git a/Dlp/src/V2/GetDlpJobRequest.php b/Dlp/src/V2/GetDlpJobRequest.php index 956c3b4f9a94..e3d1980991ef 100644 --- a/Dlp/src/V2/GetDlpJobRequest.php +++ b/Dlp/src/V2/GetDlpJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for diff --git a/Dlp/src/V2/GetFileStoreDataProfileRequest.php b/Dlp/src/V2/GetFileStoreDataProfileRequest.php index d0caed251ced..5f031358670c 100644 --- a/Dlp/src/V2/GetFileStoreDataProfileRequest.php +++ b/Dlp/src/V2/GetFileStoreDataProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to get a file store data profile. diff --git a/Dlp/src/V2/GetInspectTemplateRequest.php b/Dlp/src/V2/GetInspectTemplateRequest.php index 14b95682d6cb..b98ec1b68c37 100644 --- a/Dlp/src/V2/GetInspectTemplateRequest.php +++ b/Dlp/src/V2/GetInspectTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetInspectTemplate. diff --git a/Dlp/src/V2/GetJobTriggerRequest.php b/Dlp/src/V2/GetJobTriggerRequest.php index 3b8f6fcddf1a..5d61062304dd 100644 --- a/Dlp/src/V2/GetJobTriggerRequest.php +++ b/Dlp/src/V2/GetJobTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetJobTrigger. diff --git a/Dlp/src/V2/GetProjectDataProfileRequest.php b/Dlp/src/V2/GetProjectDataProfileRequest.php index 853ec07bdbd7..0aed9e2aa1b6 100644 --- a/Dlp/src/V2/GetProjectDataProfileRequest.php +++ b/Dlp/src/V2/GetProjectDataProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to get a project data profile. diff --git a/Dlp/src/V2/GetStoredInfoTypeRequest.php b/Dlp/src/V2/GetStoredInfoTypeRequest.php index c1fc45586b54..9493f904532f 100644 --- a/Dlp/src/V2/GetStoredInfoTypeRequest.php +++ b/Dlp/src/V2/GetStoredInfoTypeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetStoredInfoType. diff --git a/Dlp/src/V2/GetTableDataProfileRequest.php b/Dlp/src/V2/GetTableDataProfileRequest.php index 60adfcef114a..9d7fb622fa5b 100644 --- a/Dlp/src/V2/GetTableDataProfileRequest.php +++ b/Dlp/src/V2/GetTableDataProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to get a table data profile. diff --git a/Dlp/src/V2/HybridContentItem.php b/Dlp/src/V2/HybridContentItem.php index 9aa65f72ffd7..7a84ecffd1cb 100644 --- a/Dlp/src/V2/HybridContentItem.php +++ b/Dlp/src/V2/HybridContentItem.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An individual hybrid item to inspect. Will be stored temporarily during diff --git a/Dlp/src/V2/HybridFindingDetails.php b/Dlp/src/V2/HybridFindingDetails.php index e27434622dd3..72c5d2714e4e 100644 --- a/Dlp/src/V2/HybridFindingDetails.php +++ b/Dlp/src/V2/HybridFindingDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Populate to associate additional data with each finding. diff --git a/Dlp/src/V2/HybridInspectDlpJobRequest.php b/Dlp/src/V2/HybridInspectDlpJobRequest.php index f1ed062cc4e2..6ce3951321ec 100644 --- a/Dlp/src/V2/HybridInspectDlpJobRequest.php +++ b/Dlp/src/V2/HybridInspectDlpJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to search for potentially sensitive info in a custom location. diff --git a/Dlp/src/V2/HybridInspectJobTriggerRequest.php b/Dlp/src/V2/HybridInspectJobTriggerRequest.php index 4bca83aaf179..0f26f95c98e5 100644 --- a/Dlp/src/V2/HybridInspectJobTriggerRequest.php +++ b/Dlp/src/V2/HybridInspectJobTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to search for potentially sensitive info in a custom location. diff --git a/Dlp/src/V2/HybridInspectResponse.php b/Dlp/src/V2/HybridInspectResponse.php index 0589ade65d3c..ba79c75528a9 100644 --- a/Dlp/src/V2/HybridInspectResponse.php +++ b/Dlp/src/V2/HybridInspectResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Quota exceeded errors will be thrown once quota has been met. diff --git a/Dlp/src/V2/HybridInspectStatistics.php b/Dlp/src/V2/HybridInspectStatistics.php index 9533c8b38f28..f5c4b6be8337 100644 --- a/Dlp/src/V2/HybridInspectStatistics.php +++ b/Dlp/src/V2/HybridInspectStatistics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Statistics related to processing hybrid inspect requests. diff --git a/Dlp/src/V2/HybridOptions.php b/Dlp/src/V2/HybridOptions.php index d5167855184a..c95cd147a029 100644 --- a/Dlp/src/V2/HybridOptions.php +++ b/Dlp/src/V2/HybridOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration to control jobs where the content being inspected is outside @@ -65,7 +65,7 @@ class HybridOptions extends \Google\Protobuf\Internal\Message * @type string $description * A short description of where the data is coming from. Will be stored once * in the job. 256 max length. - * @type array|\Google\Protobuf\Internal\RepeatedField $required_finding_label_keys + * @type string[] $required_finding_label_keys * These are labels that each inspection request must include within their * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. @@ -129,7 +129,7 @@ public function setDescription($var) * No more than 10 keys can be required. * * Generated from protobuf field repeated string required_finding_label_keys = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRequiredFindingLabelKeys() { @@ -145,7 +145,7 @@ public function getRequiredFindingLabelKeys() * No more than 10 keys can be required. * * Generated from protobuf field repeated string required_finding_label_keys = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRequiredFindingLabelKeys($var) diff --git a/Dlp/src/V2/ImageLocation.php b/Dlp/src/V2/ImageLocation.php index 60678827e0b5..434d080d67de 100644 --- a/Dlp/src/V2/ImageLocation.php +++ b/Dlp/src/V2/ImageLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of the finding within an image. @@ -28,7 +28,7 @@ class ImageLocation extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\BoundingBox>|\Google\Protobuf\Internal\RepeatedField $bounding_boxes + * @type \Google\Cloud\Dlp\V2\BoundingBox[] $bounding_boxes * Bounding boxes locating the pixels within the image containing the finding. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Bounding boxes locating the pixels within the image containing the finding. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\BoundingBox> */ public function getBoundingBoxes() { @@ -52,7 +52,7 @@ public function getBoundingBoxes() * Bounding boxes locating the pixels within the image containing the finding. * * Generated from protobuf field repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1; - * @param array<\Google\Cloud\Dlp\V2\BoundingBox>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\BoundingBox[] $var * @return $this */ public function setBoundingBoxes($var) diff --git a/Dlp/src/V2/ImageTransformations.php b/Dlp/src/V2/ImageTransformations.php index 816899665ead..a3cf7209d6fb 100644 --- a/Dlp/src/V2/ImageTransformations.php +++ b/Dlp/src/V2/ImageTransformations.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A type of transformation that is applied over images. @@ -28,7 +28,7 @@ class ImageTransformations extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation>|\Google\Protobuf\Internal\RepeatedField $transforms + * @type \Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation[] $transforms * List of transforms to make. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * List of transforms to make. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation> */ public function getTransforms() { @@ -52,7 +52,7 @@ public function getTransforms() * List of transforms to make. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; - * @param array<\Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation[] $var * @return $this */ public function setTransforms($var) diff --git a/Dlp/src/V2/ImageTransformations/ImageTransformation.php b/Dlp/src/V2/ImageTransformations/ImageTransformation.php index c284bc3bb599..9f4d62ec5879 100644 --- a/Dlp/src/V2/ImageTransformations/ImageTransformation.php +++ b/Dlp/src/V2/ImageTransformations/ImageTransformation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ImageTransformations; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for determining how redaction of images should occur. @@ -196,4 +196,3 @@ public function getTarget() } - diff --git a/Dlp/src/V2/ImageTransformations/ImageTransformation/AllInfoTypes.php b/Dlp/src/V2/ImageTransformations/ImageTransformation/AllInfoTypes.php index b0a3094bbbee..2e5db4af91e2 100644 --- a/Dlp/src/V2/ImageTransformations/ImageTransformation/AllInfoTypes.php +++ b/Dlp/src/V2/ImageTransformations/ImageTransformation/AllInfoTypes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Apply transformation to all findings. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/ImageTransformations/ImageTransformation/AllText.php b/Dlp/src/V2/ImageTransformations/ImageTransformation/AllText.php index a42c1321a126..341ff5aaa6f3 100644 --- a/Dlp/src/V2/ImageTransformations/ImageTransformation/AllText.php +++ b/Dlp/src/V2/ImageTransformations/ImageTransformation/AllText.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Apply to all text. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/ImageTransformations/ImageTransformation/SelectedInfoTypes.php b/Dlp/src/V2/ImageTransformations/ImageTransformation/SelectedInfoTypes.php index 4369c22113c0..2c59bc1e9bcb 100644 --- a/Dlp/src/V2/ImageTransformations/ImageTransformation/SelectedInfoTypes.php +++ b/Dlp/src/V2/ImageTransformations/ImageTransformation/SelectedInfoTypes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ImageTransformations\ImageTransformation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Apply transformation to the selected info_types. @@ -29,7 +29,7 @@ class SelectedInfoTypes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $info_types + * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * Required. InfoTypes to apply the transformation to. Required. Provided * InfoType must be unique within the ImageTransformations message. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * InfoType must be unique within the ImageTransformations message. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoType> */ public function getInfoTypes() { @@ -56,7 +56,7 @@ public function getInfoTypes() * InfoType must be unique within the ImageTransformations message. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoType[] $var * @return $this */ public function setInfoTypes($var) @@ -69,4 +69,3 @@ public function setInfoTypes($var) } - diff --git a/Dlp/src/V2/InfoType.php b/Dlp/src/V2/InfoType.php index 7d1307eecacd..eae50fcd3a2d 100644 --- a/Dlp/src/V2/InfoType.php +++ b/Dlp/src/V2/InfoType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Type of information detected by the API. diff --git a/Dlp/src/V2/InfoTypeCategory.php b/Dlp/src/V2/InfoTypeCategory.php index c1579ef0baed..bcc094a2381f 100644 --- a/Dlp/src/V2/InfoTypeCategory.php +++ b/Dlp/src/V2/InfoTypeCategory.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Classification of infoTypes to organize them according to geographic diff --git a/Dlp/src/V2/InfoTypeCategory/IndustryCategory.php b/Dlp/src/V2/InfoTypeCategory/IndustryCategory.php index c8a296431538..d4d1a59601bf 100644 --- a/Dlp/src/V2/InfoTypeCategory/IndustryCategory.php +++ b/Dlp/src/V2/InfoTypeCategory/IndustryCategory.php @@ -67,4 +67,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/InfoTypeCategory/LocationCategory.php b/Dlp/src/V2/InfoTypeCategory/LocationCategory.php index 9641e79d2858..e1ab9fd06e88 100644 --- a/Dlp/src/V2/InfoTypeCategory/LocationCategory.php +++ b/Dlp/src/V2/InfoTypeCategory/LocationCategory.php @@ -415,4 +415,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/InfoTypeCategory/TypeCategory.php b/Dlp/src/V2/InfoTypeCategory/TypeCategory.php index 2a1b5010451b..f1bf5652db54 100644 --- a/Dlp/src/V2/InfoTypeCategory/TypeCategory.php +++ b/Dlp/src/V2/InfoTypeCategory/TypeCategory.php @@ -106,4 +106,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/InfoTypeDescription.php b/Dlp/src/V2/InfoTypeDescription.php index 11cd9b97034e..bf42cbb68804 100644 --- a/Dlp/src/V2/InfoTypeDescription.php +++ b/Dlp/src/V2/InfoTypeDescription.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * InfoType description. @@ -91,7 +91,7 @@ class InfoTypeDescription extends \Google\Protobuf\Internal\Message * Internal name of the infoType. * @type string $display_name * Human readable form of the infoType name. - * @type array|\Google\Protobuf\Internal\RepeatedField $supported_by + * @type int[] $supported_by * Which parts of the API supports this InfoType. * @type string $description * Description of the infotype. Translated when language is provided in the @@ -100,13 +100,13 @@ class InfoTypeDescription extends \Google\Protobuf\Internal\Message * Locations at which this feature can be used. May change over time. * @type string $example * A sample that is a true positive for this infoType. - * @type array<\Google\Cloud\Dlp\V2\VersionDescription>|\Google\Protobuf\Internal\RepeatedField $versions + * @type \Google\Cloud\Dlp\V2\VersionDescription[] $versions * A list of available versions for the infotype. - * @type array<\Google\Cloud\Dlp\V2\InfoTypeCategory>|\Google\Protobuf\Internal\RepeatedField $categories + * @type \Google\Cloud\Dlp\V2\InfoTypeCategory[] $categories * The category of the infoType. * @type \Google\Cloud\Dlp\V2\SensitivityScore $sensitivity_score * The default sensitivity of the infoType. - * @type array|\Google\Protobuf\Internal\RepeatedField $specific_info_types + * @type string[] $specific_info_types * If this field is set, this infoType is a general infoType and these * specific infoTypes are contained within it. * General infoTypes are infoTypes that encompass multiple specific infoTypes. @@ -175,7 +175,7 @@ public function setDisplayName($var) * Which parts of the API supports this InfoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSupportedBy() { @@ -186,7 +186,7 @@ public function getSupportedBy() * Which parts of the API supports this InfoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSupportedBy($var) @@ -291,7 +291,7 @@ public function setExample($var) * A list of available versions for the infotype. * * Generated from protobuf field repeated .google.privacy.dlp.v2.VersionDescription versions = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\VersionDescription> */ public function getVersions() { @@ -302,7 +302,7 @@ public function getVersions() * A list of available versions for the infotype. * * Generated from protobuf field repeated .google.privacy.dlp.v2.VersionDescription versions = 9; - * @param array<\Google\Cloud\Dlp\V2\VersionDescription>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\VersionDescription[] $var * @return $this */ public function setVersions($var) @@ -317,7 +317,7 @@ public function setVersions($var) * The category of the infoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoTypeCategory> */ public function getCategories() { @@ -328,7 +328,7 @@ public function getCategories() * The category of the infoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; - * @param array<\Google\Cloud\Dlp\V2\InfoTypeCategory>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoTypeCategory[] $var * @return $this */ public function setCategories($var) @@ -383,7 +383,7 @@ public function setSensitivityScore($var) * field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS". * * Generated from protobuf field repeated string specific_info_types = 12; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSpecificInfoTypes() { @@ -398,7 +398,7 @@ public function getSpecificInfoTypes() * field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS". * * Generated from protobuf field repeated string specific_info_types = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSpecificInfoTypes($var) diff --git a/Dlp/src/V2/InfoTypeStats.php b/Dlp/src/V2/InfoTypeStats.php index d597096908b4..7b49cdfb6a77 100644 --- a/Dlp/src/V2/InfoTypeStats.php +++ b/Dlp/src/V2/InfoTypeStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Statistics regarding a specific InfoType. diff --git a/Dlp/src/V2/InfoTypeSummary.php b/Dlp/src/V2/InfoTypeSummary.php index 3ac56b19c91f..e32d358bb1f7 100644 --- a/Dlp/src/V2/InfoTypeSummary.php +++ b/Dlp/src/V2/InfoTypeSummary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The infoType details for this column. diff --git a/Dlp/src/V2/InfoTypeTransformations.php b/Dlp/src/V2/InfoTypeTransformations.php index c35f65c972d4..785baf9262c6 100644 --- a/Dlp/src/V2/InfoTypeTransformations.php +++ b/Dlp/src/V2/InfoTypeTransformations.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A type of transformation that will scan unstructured text and @@ -32,7 +32,7 @@ class InfoTypeTransformations extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation>|\Google\Protobuf\Internal\RepeatedField $transformations + * @type \Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation[] $transformations * Required. Transformation for each infoType. Cannot specify more than one * for a given infoType. * } @@ -47,7 +47,7 @@ public function __construct($data = NULL) { * for a given infoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation> */ public function getTransformations() { @@ -59,7 +59,7 @@ public function getTransformations() * for a given infoType. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoTypeTransformations\InfoTypeTransformation[] $var * @return $this */ public function setTransformations($var) diff --git a/Dlp/src/V2/InfoTypeTransformations/InfoTypeTransformation.php b/Dlp/src/V2/InfoTypeTransformations/InfoTypeTransformation.php index db19f37e72cd..04421d169dd5 100644 --- a/Dlp/src/V2/InfoTypeTransformations/InfoTypeTransformation.php +++ b/Dlp/src/V2/InfoTypeTransformations/InfoTypeTransformation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\InfoTypeTransformations; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A transformation to apply to text that is identified as a specific @@ -37,7 +37,7 @@ class InfoTypeTransformation extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $info_types + * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * InfoTypes to apply the transformation to. An empty list will cause * this transformation to apply to all findings that correspond to * infoTypes that were requested in `InspectConfig`. @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * infoTypes that were requested in `InspectConfig`. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoType> */ public function getInfoTypes() { @@ -69,7 +69,7 @@ public function getInfoTypes() * infoTypes that were requested in `InspectConfig`. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @param array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoType[] $var * @return $this */ public function setInfoTypes($var) @@ -118,4 +118,3 @@ public function setPrimitiveTransformation($var) } - diff --git a/Dlp/src/V2/InspectConfig.php b/Dlp/src/V2/InspectConfig.php index a715717d009f..108839d760b3 100644 --- a/Dlp/src/V2/InspectConfig.php +++ b/Dlp/src/V2/InspectConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration description of the scanning process. @@ -114,7 +114,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $info_types + * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * Restricts what info_types to look for. The values must correspond to * InfoType values returned by ListInfoTypes or listed at * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. @@ -131,7 +131,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message * results and the lowest chance of a false positive. For more information, * see [Match * likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood). - * @type array<\Google\Cloud\Dlp\V2\InspectConfig\InfoTypeLikelihood>|\Google\Protobuf\Internal\RepeatedField $min_likelihood_per_info_type + * @type \Google\Cloud\Dlp\V2\InspectConfig\InfoTypeLikelihood[] $min_likelihood_per_info_type * Minimum likelihood per infotype. For each infotype, a user can specify a * minimum likelihood. The system only returns a finding if its likelihood is * above this threshold. If this field is not set, the system uses the @@ -158,13 +158,13 @@ class InspectConfig extends \Google\Protobuf\Internal\Message * @type bool $exclude_info_types * When true, excludes type information of the findings. * This is not used for data profiling. - * @type array<\Google\Cloud\Dlp\V2\CustomInfoType>|\Google\Protobuf\Internal\RepeatedField $custom_info_types + * @type \Google\Cloud\Dlp\V2\CustomInfoType[] $custom_info_types * CustomInfoTypes provided by the user. See * https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes * to learn more. - * @type array|\Google\Protobuf\Internal\RepeatedField $content_options + * @type int[] $content_options * Deprecated and unused. - * @type array<\Google\Cloud\Dlp\V2\InspectionRuleSet>|\Google\Protobuf\Internal\RepeatedField $rule_set + * @type \Google\Cloud\Dlp\V2\InspectionRuleSet[] $rule_set * Set of rules to apply to the findings for this InspectConfig. * Exclusion rules, contained in the set are executed in the end, other * rules are executed in the order they are specified for each info type. @@ -187,7 +187,7 @@ public function __construct($data = NULL) { * otherwise a default list will be used, which may change over time. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoType> */ public function getInfoTypes() { @@ -206,7 +206,7 @@ public function getInfoTypes() * otherwise a default list will be used, which may change over time. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @param array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoType[] $var * @return $this */ public function setInfoTypes($var) @@ -260,7 +260,7 @@ public function setMinLikelihood($var) * InspectConfig min_likelihood. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InspectConfig\InfoTypeLikelihood> */ public function getMinLikelihoodPerInfoType() { @@ -274,7 +274,7 @@ public function getMinLikelihoodPerInfoType() * InspectConfig min_likelihood. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood min_likelihood_per_info_type = 11; - * @param array<\Google\Cloud\Dlp\V2\InspectConfig\InfoTypeLikelihood>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InspectConfig\InfoTypeLikelihood[] $var * @return $this */ public function setMinLikelihoodPerInfoType($var) @@ -411,7 +411,7 @@ public function setExcludeInfoTypes($var) * to learn more. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\CustomInfoType> */ public function getCustomInfoTypes() { @@ -424,7 +424,7 @@ public function getCustomInfoTypes() * to learn more. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; - * @param array<\Google\Cloud\Dlp\V2\CustomInfoType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\CustomInfoType[] $var * @return $this */ public function setCustomInfoTypes($var) @@ -439,7 +439,7 @@ public function setCustomInfoTypes($var) * Deprecated and unused. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContentOptions() { @@ -450,7 +450,7 @@ public function getContentOptions() * Deprecated and unused. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentOption content_options = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setContentOptions($var) @@ -467,7 +467,7 @@ public function setContentOptions($var) * rules are executed in the order they are specified for each info type. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InspectionRuleSet> */ public function getRuleSet() { @@ -480,7 +480,7 @@ public function getRuleSet() * rules are executed in the order they are specified for each info type. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectionRuleSet rule_set = 10; - * @param array<\Google\Cloud\Dlp\V2\InspectionRuleSet>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InspectionRuleSet[] $var * @return $this */ public function setRuleSet($var) diff --git a/Dlp/src/V2/InspectConfig/FindingLimits.php b/Dlp/src/V2/InspectConfig/FindingLimits.php index 33bf286b674e..ebb1ffccff90 100644 --- a/Dlp/src/V2/InspectConfig/FindingLimits.php +++ b/Dlp/src/V2/InspectConfig/FindingLimits.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\InspectConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration to control the number of findings returned for inspection. @@ -80,7 +80,7 @@ class FindingLimits extends \Google\Protobuf\Internal\Message * inspection ends gradually, not abruptly. Therefore, the actual number of * findings that Cloud DLP returns can be multiple times higher than this * value. - * @type array<\Google\Cloud\Dlp\V2\InspectConfig\FindingLimits\InfoTypeLimit>|\Google\Protobuf\Internal\RepeatedField $max_findings_per_info_type + * @type \Google\Cloud\Dlp\V2\InspectConfig\FindingLimits\InfoTypeLimit[] $max_findings_per_info_type * Configuration of findings limit given for specified infoTypes. * } */ @@ -175,7 +175,7 @@ public function setMaxFindingsPerRequest($var) * Configuration of findings limit given for specified infoTypes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InspectConfig\FindingLimits\InfoTypeLimit> */ public function getMaxFindingsPerInfoType() { @@ -186,7 +186,7 @@ public function getMaxFindingsPerInfoType() * Configuration of findings limit given for specified infoTypes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit max_findings_per_info_type = 3; - * @param array<\Google\Cloud\Dlp\V2\InspectConfig\FindingLimits\InfoTypeLimit>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InspectConfig\FindingLimits\InfoTypeLimit[] $var * @return $this */ public function setMaxFindingsPerInfoType($var) @@ -199,4 +199,3 @@ public function setMaxFindingsPerInfoType($var) } - diff --git a/Dlp/src/V2/InspectConfig/FindingLimits/InfoTypeLimit.php b/Dlp/src/V2/InspectConfig/FindingLimits/InfoTypeLimit.php index 2efbc2768892..4349f38de931 100644 --- a/Dlp/src/V2/InspectConfig/FindingLimits/InfoTypeLimit.php +++ b/Dlp/src/V2/InspectConfig/FindingLimits/InfoTypeLimit.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\InspectConfig\FindingLimits; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Max findings configuration per infoType, per content item or long @@ -122,4 +122,3 @@ public function setMaxFindings($var) } - diff --git a/Dlp/src/V2/InspectConfig/InfoTypeLikelihood.php b/Dlp/src/V2/InspectConfig/InfoTypeLikelihood.php index ccc1548e7a86..71e9f1caa1cc 100644 --- a/Dlp/src/V2/InspectConfig/InfoTypeLikelihood.php +++ b/Dlp/src/V2/InspectConfig/InfoTypeLikelihood.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\InspectConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for setting a minimum likelihood per infotype. Used to @@ -125,4 +125,3 @@ public function setMinLikelihood($var) } - diff --git a/Dlp/src/V2/InspectContentRequest.php b/Dlp/src/V2/InspectContentRequest.php index 3f162eeb36e0..01aef2fd1287 100644 --- a/Dlp/src/V2/InspectContentRequest.php +++ b/Dlp/src/V2/InspectContentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to search for potentially sensitive info in a ContentItem. diff --git a/Dlp/src/V2/InspectContentResponse.php b/Dlp/src/V2/InspectContentResponse.php index 1bb36f9c611f..024e0e2dd5dd 100644 --- a/Dlp/src/V2/InspectContentResponse.php +++ b/Dlp/src/V2/InspectContentResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Results of inspecting an item. diff --git a/Dlp/src/V2/InspectDataSourceDetails.php b/Dlp/src/V2/InspectDataSourceDetails.php index 4c234301fb6e..3584411c48ec 100644 --- a/Dlp/src/V2/InspectDataSourceDetails.php +++ b/Dlp/src/V2/InspectDataSourceDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The results of an inspect DataSource job. diff --git a/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php b/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php index e08acc28e322..5c42f0049879 100644 --- a/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php +++ b/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\InspectDataSourceDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Snapshot of the inspection configuration. @@ -123,4 +123,3 @@ public function setJobConfig($var) } - diff --git a/Dlp/src/V2/InspectDataSourceDetails/Result.php b/Dlp/src/V2/InspectDataSourceDetails/Result.php index 34f863f4d814..f4df1c64a02d 100644 --- a/Dlp/src/V2/InspectDataSourceDetails/Result.php +++ b/Dlp/src/V2/InspectDataSourceDetails/Result.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\InspectDataSourceDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * All Result fields are updated while the job is processing. @@ -58,7 +58,7 @@ class Result extends \Google\Protobuf\Internal\Message * Total size in bytes that were processed. * @type int|string $total_estimated_bytes * Estimate of the number of bytes to process. - * @type array<\Google\Cloud\Dlp\V2\InfoTypeStats>|\Google\Protobuf\Internal\RepeatedField $info_type_stats + * @type \Google\Cloud\Dlp\V2\InfoTypeStats[] $info_type_stats * Statistics of how many instances of each info type were found during * inspect job. * @type int|string $num_rows_processed @@ -130,7 +130,7 @@ public function setTotalEstimatedBytes($var) * inspect job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoTypeStats> */ public function getInfoTypeStats() { @@ -142,7 +142,7 @@ public function getInfoTypeStats() * inspect job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeStats info_type_stats = 3; - * @param array<\Google\Cloud\Dlp\V2\InfoTypeStats>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoTypeStats[] $var * @return $this */ public function setInfoTypeStats($var) @@ -219,4 +219,3 @@ public function setHybridStats($var) } - diff --git a/Dlp/src/V2/InspectJobConfig.php b/Dlp/src/V2/InspectJobConfig.php index 3163d015f708..e43d5a4c785f 100644 --- a/Dlp/src/V2/InspectJobConfig.php +++ b/Dlp/src/V2/InspectJobConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Controls what and how to inspect for findings. @@ -56,7 +56,7 @@ class InspectJobConfig extends \Google\Protobuf\Internal\Message * If provided, will be used as the default for all values in InspectConfig. * `inspect_config` will be merged into the values persisted as part of the * template. - * @type array<\Google\Cloud\Dlp\V2\Action>|\Google\Protobuf\Internal\RepeatedField $actions + * @type \Google\Cloud\Dlp\V2\Action[] $actions * Actions to execute at the completion of the job. * } */ @@ -171,7 +171,7 @@ public function setInspectTemplateName($var) * Actions to execute at the completion of the job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Action actions = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Action> */ public function getActions() { @@ -182,7 +182,7 @@ public function getActions() * Actions to execute at the completion of the job. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Action actions = 4; - * @param array<\Google\Cloud\Dlp\V2\Action>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Action[] $var * @return $this */ public function setActions($var) diff --git a/Dlp/src/V2/InspectResult.php b/Dlp/src/V2/InspectResult.php index b929d0e4e696..3369666563f0 100644 --- a/Dlp/src/V2/InspectResult.php +++ b/Dlp/src/V2/InspectResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * All the findings for a single scanned item. @@ -39,7 +39,7 @@ class InspectResult extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Finding>|\Google\Protobuf\Internal\RepeatedField $findings + * @type \Google\Cloud\Dlp\V2\Finding[] $findings * List of findings for an item. * @type bool $findings_truncated * If true, then this item might have more findings than were returned, @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * List of findings for an item. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Finding findings = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Finding> */ public function getFindings() { @@ -70,7 +70,7 @@ public function getFindings() * List of findings for an item. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Finding findings = 1; - * @param array<\Google\Cloud\Dlp\V2\Finding>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Finding[] $var * @return $this */ public function setFindings($var) diff --git a/Dlp/src/V2/InspectTemplate.php b/Dlp/src/V2/InspectTemplate.php index 9dec2b293b5f..0abb529e309c 100644 --- a/Dlp/src/V2/InspectTemplate.php +++ b/Dlp/src/V2/InspectTemplate.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The inspectTemplate contains a configuration (set of types of sensitive data diff --git a/Dlp/src/V2/InspectionRule.php b/Dlp/src/V2/InspectionRule.php index a1854d0497c6..b1559f2fb65a 100644 --- a/Dlp/src/V2/InspectionRule.php +++ b/Dlp/src/V2/InspectionRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single inspection rule to be applied to infoTypes, specified in diff --git a/Dlp/src/V2/InspectionRuleSet.php b/Dlp/src/V2/InspectionRuleSet.php index 5ee0f98dd54b..91bbef517e18 100644 --- a/Dlp/src/V2/InspectionRuleSet.php +++ b/Dlp/src/V2/InspectionRuleSet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rule set for modifying a set of infoTypes to alter behavior under certain @@ -35,9 +35,9 @@ class InspectionRuleSet extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $info_types + * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * List of infoTypes this rule set is applied to. - * @type array<\Google\Cloud\Dlp\V2\InspectionRule>|\Google\Protobuf\Internal\RepeatedField $rules + * @type \Google\Cloud\Dlp\V2\InspectionRule[] $rules * Set of rules to be applied to infoTypes. The rules are applied in order. * } */ @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * List of infoTypes this rule set is applied to. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoType> */ public function getInfoTypes() { @@ -61,7 +61,7 @@ public function getInfoTypes() * List of infoTypes this rule set is applied to. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoType info_types = 1; - * @param array<\Google\Cloud\Dlp\V2\InfoType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoType[] $var * @return $this */ public function setInfoTypes($var) @@ -76,7 +76,7 @@ public function setInfoTypes($var) * Set of rules to be applied to infoTypes. The rules are applied in order. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectionRule rules = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InspectionRule> */ public function getRules() { @@ -87,7 +87,7 @@ public function getRules() * Set of rules to be applied to infoTypes. The rules are applied in order. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectionRule rules = 2; - * @param array<\Google\Cloud\Dlp\V2\InspectionRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InspectionRule[] $var * @return $this */ public function setRules($var) diff --git a/Dlp/src/V2/JobTrigger.php b/Dlp/src/V2/JobTrigger.php index d09ba0071108..de723336c34c 100644 --- a/Dlp/src/V2/JobTrigger.php +++ b/Dlp/src/V2/JobTrigger.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains a configuration to make API calls on a repeating basis. @@ -97,11 +97,11 @@ class JobTrigger extends \Google\Protobuf\Internal\Message * User provided description (max 256 chars) * @type \Google\Cloud\Dlp\V2\InspectJobConfig $inspect_job * For inspect jobs, a snapshot of the configuration. - * @type array<\Google\Cloud\Dlp\V2\JobTrigger\Trigger>|\Google\Protobuf\Internal\RepeatedField $triggers + * @type \Google\Cloud\Dlp\V2\JobTrigger\Trigger[] $triggers * A list of triggers which will be OR'ed together. Only one in the list * needs to trigger for a job to be started. The list may contain only * a single Schedule trigger and must have at least one object. - * @type array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\Dlp\V2\Error[] $errors * Output only. A stream of errors encountered when the trigger was activated. * Repeated errors may result in the JobTrigger automatically being paused. * Will return the last 100 errors. Whenever the JobTrigger is modified @@ -240,7 +240,7 @@ public function setInspectJob($var) * a single Schedule trigger and must have at least one object. * * Generated from protobuf field repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\JobTrigger\Trigger> */ public function getTriggers() { @@ -253,7 +253,7 @@ public function getTriggers() * a single Schedule trigger and must have at least one object. * * Generated from protobuf field repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5; - * @param array<\Google\Cloud\Dlp\V2\JobTrigger\Trigger>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\JobTrigger\Trigger[] $var * @return $this */ public function setTriggers($var) @@ -271,7 +271,7 @@ public function setTriggers($var) * this list will be cleared. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() { @@ -285,7 +285,7 @@ public function getErrors() * this list will be cleared. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ public function setErrors($var) diff --git a/Dlp/src/V2/JobTrigger/Status.php b/Dlp/src/V2/JobTrigger/Status.php index fc23f61cd651..92ccd8bad2ca 100644 --- a/Dlp/src/V2/JobTrigger/Status.php +++ b/Dlp/src/V2/JobTrigger/Status.php @@ -69,4 +69,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/JobTrigger/Trigger.php b/Dlp/src/V2/JobTrigger/Trigger.php index 09a69e853e00..0e0783a00d6a 100644 --- a/Dlp/src/V2/JobTrigger/Trigger.php +++ b/Dlp/src/V2/JobTrigger/Trigger.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\JobTrigger; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * What event needs to occur for a new job to be started. @@ -106,4 +106,3 @@ public function getTrigger() } - diff --git a/Dlp/src/V2/Key.php b/Dlp/src/V2/Key.php index e21d17e612db..bf72efd727ad 100644 --- a/Dlp/src/V2/Key.php +++ b/Dlp/src/V2/Key.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A unique identifier for a Datastore entity. @@ -50,7 +50,7 @@ class Key extends \Google\Protobuf\Internal\Message * Entities are partitioned into subsets, currently identified by a project * ID and namespace ID. * Queries are scoped to a single partition. - * @type array<\Google\Cloud\Dlp\V2\Key\PathElement>|\Google\Protobuf\Internal\RepeatedField $path + * @type \Google\Cloud\Dlp\V2\Key\PathElement[] $path * The entity path. * An entity path consists of one or more elements composed of a kind and a * string or numerical identifier, which identify entities. The first @@ -117,7 +117,7 @@ public function setPartitionId($var) * A path can never be empty, and a path can have at most 100 elements. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Key.PathElement path = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Key\PathElement> */ public function getPath() { @@ -135,7 +135,7 @@ public function getPath() * A path can never be empty, and a path can have at most 100 elements. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Key.PathElement path = 2; - * @param array<\Google\Cloud\Dlp\V2\Key\PathElement>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Key\PathElement[] $var * @return $this */ public function setPath($var) diff --git a/Dlp/src/V2/Key/PathElement.php b/Dlp/src/V2/Key/PathElement.php index 44eb1d51b339..04e329570047 100644 --- a/Dlp/src/V2/Key/PathElement.php +++ b/Dlp/src/V2/Key/PathElement.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Key; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A (kind, ID/name) pair used to construct a key path. @@ -169,4 +169,3 @@ public function getIdType() } - diff --git a/Dlp/src/V2/KindExpression.php b/Dlp/src/V2/KindExpression.php index 76d319fa474f..a4b579f423f6 100644 --- a/Dlp/src/V2/KindExpression.php +++ b/Dlp/src/V2/KindExpression.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of a Datastore kind. diff --git a/Dlp/src/V2/KmsWrappedCryptoKey.php b/Dlp/src/V2/KmsWrappedCryptoKey.php index 19894467aa2e..c4c3a214c8fa 100644 --- a/Dlp/src/V2/KmsWrappedCryptoKey.php +++ b/Dlp/src/V2/KmsWrappedCryptoKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Include to use an existing data crypto key wrapped by KMS. diff --git a/Dlp/src/V2/LargeCustomDictionaryConfig.php b/Dlp/src/V2/LargeCustomDictionaryConfig.php index 01eb8bd279ee..879cca85822d 100644 --- a/Dlp/src/V2/LargeCustomDictionaryConfig.php +++ b/Dlp/src/V2/LargeCustomDictionaryConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for a custom dictionary created from a data source of any size diff --git a/Dlp/src/V2/LargeCustomDictionaryStats.php b/Dlp/src/V2/LargeCustomDictionaryStats.php index 3e6a9284724e..6b0fbf5c861c 100644 --- a/Dlp/src/V2/LargeCustomDictionaryStats.php +++ b/Dlp/src/V2/LargeCustomDictionaryStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Summary statistics of a custom dictionary. diff --git a/Dlp/src/V2/Likelihood.php b/Dlp/src/V2/Likelihood.php index bcc9e96e6120..9f064b078f50 100644 --- a/Dlp/src/V2/Likelihood.php +++ b/Dlp/src/V2/Likelihood.php @@ -11,8 +11,8 @@ * satisfies the criteria to match a particular infoType. * Likelihood is calculated based on the number of signals a * finding has that implies that the finding matches the infoType. For - * example, a string that has an '@' and a '.com' is more likely to be a - * match for an email address than a string that only has an '@'. + * example, a string that has an '\@' and a '.com' is more likely to be a + * match for an email address than a string that only has an '\@'. * In general, the highest likelihood level has the strongest signals that * indicate a match. That is, a finding with a high likelihood has a low chance * of being a false positive. diff --git a/Dlp/src/V2/ListColumnDataProfilesRequest.php b/Dlp/src/V2/ListColumnDataProfilesRequest.php index 916609879e34..d32335b6b6c0 100644 --- a/Dlp/src/V2/ListColumnDataProfilesRequest.php +++ b/Dlp/src/V2/ListColumnDataProfilesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list the profiles generated for a given organization or project. diff --git a/Dlp/src/V2/ListColumnDataProfilesResponse.php b/Dlp/src/V2/ListColumnDataProfilesResponse.php index 81fea408c64d..c2fb4d91833f 100644 --- a/Dlp/src/V2/ListColumnDataProfilesResponse.php +++ b/Dlp/src/V2/ListColumnDataProfilesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List of profiles generated for a given organization or project. @@ -34,7 +34,7 @@ class ListColumnDataProfilesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\ColumnDataProfile>|\Google\Protobuf\Internal\RepeatedField $column_data_profiles + * @type \Google\Cloud\Dlp\V2\ColumnDataProfile[] $column_data_profiles * List of data profiles. * @type string $next_page_token * The next page token. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ColumnDataProfile column_data_profiles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\ColumnDataProfile> */ public function getColumnDataProfiles() { @@ -60,7 +60,7 @@ public function getColumnDataProfiles() * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ColumnDataProfile column_data_profiles = 1; - * @param array<\Google\Cloud\Dlp\V2\ColumnDataProfile>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\ColumnDataProfile[] $var * @return $this */ public function setColumnDataProfiles($var) diff --git a/Dlp/src/V2/ListConnectionsRequest.php b/Dlp/src/V2/ListConnectionsRequest.php index 859504b412a1..fe556f4be6d4 100644 --- a/Dlp/src/V2/ListConnectionsRequest.php +++ b/Dlp/src/V2/ListConnectionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListConnections. diff --git a/Dlp/src/V2/ListConnectionsResponse.php b/Dlp/src/V2/ListConnectionsResponse.php index a16148048980..1079f61d2fa2 100644 --- a/Dlp/src/V2/ListConnectionsResponse.php +++ b/Dlp/src/V2/ListConnectionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListConnections. @@ -35,7 +35,7 @@ class ListConnectionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Connection>|\Google\Protobuf\Internal\RepeatedField $connections + * @type \Google\Cloud\Dlp\V2\Connection[] $connections * List of connections. * @type string $next_page_token * Token to retrieve the next page of results. An empty value means there are @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of connections. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Connection connections = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Connection> */ public function getConnections() { @@ -62,7 +62,7 @@ public function getConnections() * List of connections. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Connection connections = 1; - * @param array<\Google\Cloud\Dlp\V2\Connection>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Connection[] $var * @return $this */ public function setConnections($var) diff --git a/Dlp/src/V2/ListDeidentifyTemplatesRequest.php b/Dlp/src/V2/ListDeidentifyTemplatesRequest.php index ea7874cf52be..1aa04e29cd88 100644 --- a/Dlp/src/V2/ListDeidentifyTemplatesRequest.php +++ b/Dlp/src/V2/ListDeidentifyTemplatesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListDeidentifyTemplates. diff --git a/Dlp/src/V2/ListDeidentifyTemplatesResponse.php b/Dlp/src/V2/ListDeidentifyTemplatesResponse.php index 078648be7417..9658d3643e65 100644 --- a/Dlp/src/V2/ListDeidentifyTemplatesResponse.php +++ b/Dlp/src/V2/ListDeidentifyTemplatesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListDeidentifyTemplates. @@ -36,7 +36,7 @@ class ListDeidentifyTemplatesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\DeidentifyTemplate>|\Google\Protobuf\Internal\RepeatedField $deidentify_templates + * @type \Google\Cloud\Dlp\V2\DeidentifyTemplate[] $deidentify_templates * List of deidentify templates, up to page_size in * ListDeidentifyTemplatesRequest. * @type string $next_page_token @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * ListDeidentifyTemplatesRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DeidentifyTemplate> */ public function getDeidentifyTemplates() { @@ -66,7 +66,7 @@ public function getDeidentifyTemplates() * ListDeidentifyTemplatesRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1; - * @param array<\Google\Cloud\Dlp\V2\DeidentifyTemplate>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DeidentifyTemplate[] $var * @return $this */ public function setDeidentifyTemplates($var) diff --git a/Dlp/src/V2/ListDiscoveryConfigsRequest.php b/Dlp/src/V2/ListDiscoveryConfigsRequest.php index d9c51a1b2b3b..daad7f9fe2d6 100644 --- a/Dlp/src/V2/ListDiscoveryConfigsRequest.php +++ b/Dlp/src/V2/ListDiscoveryConfigsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListDiscoveryConfigs. diff --git a/Dlp/src/V2/ListDiscoveryConfigsResponse.php b/Dlp/src/V2/ListDiscoveryConfigsResponse.php index 118594acf0b4..e354cb2657fe 100644 --- a/Dlp/src/V2/ListDiscoveryConfigsResponse.php +++ b/Dlp/src/V2/ListDiscoveryConfigsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListDiscoveryConfigs. @@ -35,7 +35,7 @@ class ListDiscoveryConfigsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\DiscoveryConfig>|\Google\Protobuf\Internal\RepeatedField $discovery_configs + * @type \Google\Cloud\Dlp\V2\DiscoveryConfig[] $discovery_configs * List of configs, up to page_size in ListDiscoveryConfigsRequest. * @type string $next_page_token * If the next page is available then this value is the next page token to be @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of configs, up to page_size in ListDiscoveryConfigsRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DiscoveryConfig> */ public function getDiscoveryConfigs() { @@ -62,7 +62,7 @@ public function getDiscoveryConfigs() * List of configs, up to page_size in ListDiscoveryConfigsRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1; - * @param array<\Google\Cloud\Dlp\V2\DiscoveryConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DiscoveryConfig[] $var * @return $this */ public function setDiscoveryConfigs($var) diff --git a/Dlp/src/V2/ListDlpJobsRequest.php b/Dlp/src/V2/ListDlpJobsRequest.php index 8cfc2a77a603..8c7680e036ee 100644 --- a/Dlp/src/V2/ListDlpJobsRequest.php +++ b/Dlp/src/V2/ListDlpJobsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for listing DLP jobs. diff --git a/Dlp/src/V2/ListDlpJobsResponse.php b/Dlp/src/V2/ListDlpJobsResponse.php index 62d9df6c8efb..f5d7a556a866 100644 --- a/Dlp/src/V2/ListDlpJobsResponse.php +++ b/Dlp/src/V2/ListDlpJobsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response message for listing DLP jobs. @@ -34,7 +34,7 @@ class ListDlpJobsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\DlpJob>|\Google\Protobuf\Internal\RepeatedField $jobs + * @type \Google\Cloud\Dlp\V2\DlpJob[] $jobs * A list of DlpJobs 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 DlpJobs that matches the specified filter in the request. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DlpJob jobs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\DlpJob> */ public function getJobs() { @@ -60,7 +60,7 @@ public function getJobs() * A list of DlpJobs that matches the specified filter in the request. * * Generated from protobuf field repeated .google.privacy.dlp.v2.DlpJob jobs = 1; - * @param array<\Google\Cloud\Dlp\V2\DlpJob>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\DlpJob[] $var * @return $this */ public function setJobs($var) diff --git a/Dlp/src/V2/ListFileStoreDataProfilesRequest.php b/Dlp/src/V2/ListFileStoreDataProfilesRequest.php index 18d41e2f7f5c..71099bd16d2a 100644 --- a/Dlp/src/V2/ListFileStoreDataProfilesRequest.php +++ b/Dlp/src/V2/ListFileStoreDataProfilesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list the file store profiles generated for a given organization or diff --git a/Dlp/src/V2/ListFileStoreDataProfilesResponse.php b/Dlp/src/V2/ListFileStoreDataProfilesResponse.php index 2aa436616369..1b5719f5930a 100644 --- a/Dlp/src/V2/ListFileStoreDataProfilesResponse.php +++ b/Dlp/src/V2/ListFileStoreDataProfilesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List of file store data profiles generated for a given organization or @@ -35,7 +35,7 @@ class ListFileStoreDataProfilesResponse extends \Google\Protobuf\Internal\Messag * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FileStoreDataProfile>|\Google\Protobuf\Internal\RepeatedField $file_store_data_profiles + * @type \Google\Cloud\Dlp\V2\FileStoreDataProfile[] $file_store_data_profiles * List of data profiles. * @type string $next_page_token * The next page token. @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileStoreDataProfile> */ public function getFileStoreDataProfiles() { @@ -61,7 +61,7 @@ public function getFileStoreDataProfiles() * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1; - * @param array<\Google\Cloud\Dlp\V2\FileStoreDataProfile>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FileStoreDataProfile[] $var * @return $this */ public function setFileStoreDataProfiles($var) diff --git a/Dlp/src/V2/ListInfoTypesRequest.php b/Dlp/src/V2/ListInfoTypesRequest.php index 84e5afb8fbf6..58798ceac798 100644 --- a/Dlp/src/V2/ListInfoTypesRequest.php +++ b/Dlp/src/V2/ListInfoTypesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the list of infoTypes. diff --git a/Dlp/src/V2/ListInfoTypesResponse.php b/Dlp/src/V2/ListInfoTypesResponse.php index 38951fc4c7e2..0b152efe8d50 100644 --- a/Dlp/src/V2/ListInfoTypesResponse.php +++ b/Dlp/src/V2/ListInfoTypesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response to the ListInfoTypes request. @@ -28,7 +28,7 @@ class ListInfoTypesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InfoTypeDescription>|\Google\Protobuf\Internal\RepeatedField $info_types + * @type \Google\Cloud\Dlp\V2\InfoTypeDescription[] $info_types * Set of sensitive infoTypes. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Set of sensitive infoTypes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoTypeDescription> */ public function getInfoTypes() { @@ -52,7 +52,7 @@ public function getInfoTypes() * Set of sensitive infoTypes. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1; - * @param array<\Google\Cloud\Dlp\V2\InfoTypeDescription>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoTypeDescription[] $var * @return $this */ public function setInfoTypes($var) diff --git a/Dlp/src/V2/ListInspectTemplatesRequest.php b/Dlp/src/V2/ListInspectTemplatesRequest.php index a4630415c6ca..564f71a69674 100644 --- a/Dlp/src/V2/ListInspectTemplatesRequest.php +++ b/Dlp/src/V2/ListInspectTemplatesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListInspectTemplates. diff --git a/Dlp/src/V2/ListInspectTemplatesResponse.php b/Dlp/src/V2/ListInspectTemplatesResponse.php index 8d00e0dab910..eaee73fe1770 100644 --- a/Dlp/src/V2/ListInspectTemplatesResponse.php +++ b/Dlp/src/V2/ListInspectTemplatesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListInspectTemplates. @@ -35,7 +35,7 @@ class ListInspectTemplatesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\InspectTemplate>|\Google\Protobuf\Internal\RepeatedField $inspect_templates + * @type \Google\Cloud\Dlp\V2\InspectTemplate[] $inspect_templates * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. * @type string $next_page_token * If the next page is available then the next page token to be used in the @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InspectTemplate> */ public function getInspectTemplates() { @@ -62,7 +62,7 @@ public function getInspectTemplates() * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1; - * @param array<\Google\Cloud\Dlp\V2\InspectTemplate>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InspectTemplate[] $var * @return $this */ public function setInspectTemplates($var) diff --git a/Dlp/src/V2/ListJobTriggersRequest.php b/Dlp/src/V2/ListJobTriggersRequest.php index 87723397327f..6992b36bba7a 100644 --- a/Dlp/src/V2/ListJobTriggersRequest.php +++ b/Dlp/src/V2/ListJobTriggersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListJobTriggers. diff --git a/Dlp/src/V2/ListJobTriggersResponse.php b/Dlp/src/V2/ListJobTriggersResponse.php index a271b151b1f8..835380961f88 100644 --- a/Dlp/src/V2/ListJobTriggersResponse.php +++ b/Dlp/src/V2/ListJobTriggersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListJobTriggers. @@ -35,7 +35,7 @@ class ListJobTriggersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\JobTrigger>|\Google\Protobuf\Internal\RepeatedField $job_triggers + * @type \Google\Cloud\Dlp\V2\JobTrigger[] $job_triggers * List of triggeredJobs, up to page_size in ListJobTriggersRequest. * @type string $next_page_token * If the next page is available then this value is the next page token to be @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of triggeredJobs, up to page_size in ListJobTriggersRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\JobTrigger> */ public function getJobTriggers() { @@ -62,7 +62,7 @@ public function getJobTriggers() * List of triggeredJobs, up to page_size in ListJobTriggersRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1; - * @param array<\Google\Cloud\Dlp\V2\JobTrigger>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\JobTrigger[] $var * @return $this */ public function setJobTriggers($var) diff --git a/Dlp/src/V2/ListProjectDataProfilesRequest.php b/Dlp/src/V2/ListProjectDataProfilesRequest.php index 8a96c6c6fcda..19424895f0a4 100644 --- a/Dlp/src/V2/ListProjectDataProfilesRequest.php +++ b/Dlp/src/V2/ListProjectDataProfilesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list the profiles generated for a given organization or project. diff --git a/Dlp/src/V2/ListProjectDataProfilesResponse.php b/Dlp/src/V2/ListProjectDataProfilesResponse.php index 3a2e2dab2e96..9b6a614941c2 100644 --- a/Dlp/src/V2/ListProjectDataProfilesResponse.php +++ b/Dlp/src/V2/ListProjectDataProfilesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List of profiles generated for a given organization or project. @@ -34,7 +34,7 @@ class ListProjectDataProfilesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\ProjectDataProfile>|\Google\Protobuf\Internal\RepeatedField $project_data_profiles + * @type \Google\Cloud\Dlp\V2\ProjectDataProfile[] $project_data_profiles * List of data profiles. * @type string $next_page_token * The next page token. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\ProjectDataProfile> */ public function getProjectDataProfiles() { @@ -60,7 +60,7 @@ public function getProjectDataProfiles() * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1; - * @param array<\Google\Cloud\Dlp\V2\ProjectDataProfile>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\ProjectDataProfile[] $var * @return $this */ public function setProjectDataProfiles($var) diff --git a/Dlp/src/V2/ListStoredInfoTypesRequest.php b/Dlp/src/V2/ListStoredInfoTypesRequest.php index de49bd2bb073..a3980c1c2404 100644 --- a/Dlp/src/V2/ListStoredInfoTypesRequest.php +++ b/Dlp/src/V2/ListStoredInfoTypesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListStoredInfoTypes. diff --git a/Dlp/src/V2/ListStoredInfoTypesResponse.php b/Dlp/src/V2/ListStoredInfoTypesResponse.php index 83a7019de840..b39e6027aa3e 100644 --- a/Dlp/src/V2/ListStoredInfoTypesResponse.php +++ b/Dlp/src/V2/ListStoredInfoTypesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListStoredInfoTypes. @@ -35,7 +35,7 @@ class ListStoredInfoTypesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\StoredInfoType>|\Google\Protobuf\Internal\RepeatedField $stored_info_types + * @type \Google\Cloud\Dlp\V2\StoredInfoType[] $stored_info_types * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest. * @type string $next_page_token * If the next page is available then the next page token to be used @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\StoredInfoType> */ public function getStoredInfoTypes() { @@ -62,7 +62,7 @@ public function getStoredInfoTypes() * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StoredInfoType stored_info_types = 1; - * @param array<\Google\Cloud\Dlp\V2\StoredInfoType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\StoredInfoType[] $var * @return $this */ public function setStoredInfoTypes($var) diff --git a/Dlp/src/V2/ListTableDataProfilesRequest.php b/Dlp/src/V2/ListTableDataProfilesRequest.php index 14ebc36ff8e3..8c470f32e6ba 100644 --- a/Dlp/src/V2/ListTableDataProfilesRequest.php +++ b/Dlp/src/V2/ListTableDataProfilesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to list the profiles generated for a given organization or project. diff --git a/Dlp/src/V2/ListTableDataProfilesResponse.php b/Dlp/src/V2/ListTableDataProfilesResponse.php index a6b2694c12a0..9729219525c2 100644 --- a/Dlp/src/V2/ListTableDataProfilesResponse.php +++ b/Dlp/src/V2/ListTableDataProfilesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * List of profiles generated for a given organization or project. @@ -34,7 +34,7 @@ class ListTableDataProfilesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\TableDataProfile>|\Google\Protobuf\Internal\RepeatedField $table_data_profiles + * @type \Google\Cloud\Dlp\V2\TableDataProfile[] $table_data_profiles * List of data profiles. * @type string $next_page_token * The next page token. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TableDataProfile table_data_profiles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\TableDataProfile> */ public function getTableDataProfiles() { @@ -60,7 +60,7 @@ public function getTableDataProfiles() * List of data profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TableDataProfile table_data_profiles = 1; - * @param array<\Google\Cloud\Dlp\V2\TableDataProfile>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\TableDataProfile[] $var * @return $this */ public function setTableDataProfiles($var) diff --git a/Dlp/src/V2/Location.php b/Dlp/src/V2/Location.php index c67c38368c6d..f487ed0ecc74 100644 --- a/Dlp/src/V2/Location.php +++ b/Dlp/src/V2/Location.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the location of the finding. @@ -63,7 +63,7 @@ class Location extends \Google\Protobuf\Internal\Message * Unicode character offsets delimiting the finding. * These are relative to the finding's containing element. * Provided when the content is text. - * @type array<\Google\Cloud\Dlp\V2\ContentLocation>|\Google\Protobuf\Internal\RepeatedField $content_locations + * @type \Google\Cloud\Dlp\V2\ContentLocation[] $content_locations * List of nested objects pointing to the precise location of the finding * within the file or record. * @type \Google\Cloud\Dlp\V2\Container $container @@ -164,7 +164,7 @@ public function setCodepointRange($var) * within the file or record. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\ContentLocation> */ public function getContentLocations() { @@ -176,7 +176,7 @@ public function getContentLocations() * within the file or record. * * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7; - * @param array<\Google\Cloud\Dlp\V2\ContentLocation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\ContentLocation[] $var * @return $this */ public function setContentLocations($var) diff --git a/Dlp/src/V2/LocationSupport.php b/Dlp/src/V2/LocationSupport.php index 94f4535ed8b2..651e5f4aaac8 100644 --- a/Dlp/src/V2/LocationSupport.php +++ b/Dlp/src/V2/LocationSupport.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Locations at which a feature can be used. @@ -38,7 +38,7 @@ class LocationSupport extends \Google\Protobuf\Internal\Message * * @type int $regionalization_scope * The current scope for location on this feature. This may expand over time. - * @type array|\Google\Protobuf\Internal\RepeatedField $locations + * @type string[] $locations * Specific locations where the feature may be used. * Examples: us-central1, us, asia, global * If scope is ANY_LOCATION, no regions will be listed. @@ -81,7 +81,7 @@ public function setRegionalizationScope($var) * If scope is ANY_LOCATION, no regions will be listed. * * Generated from protobuf field repeated string locations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLocations() { @@ -94,7 +94,7 @@ public function getLocations() * If scope is ANY_LOCATION, no regions will be listed. * * Generated from protobuf field repeated string locations = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLocations($var) diff --git a/Dlp/src/V2/LocationSupport/RegionalizationScope.php b/Dlp/src/V2/LocationSupport/RegionalizationScope.php index 6ca06406e3c0..384cf404a06c 100644 --- a/Dlp/src/V2/LocationSupport/RegionalizationScope.php +++ b/Dlp/src/V2/LocationSupport/RegionalizationScope.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/Manual.php b/Dlp/src/V2/Manual.php index dbc05788c5db..885487152c04 100644 --- a/Dlp/src/V2/Manual.php +++ b/Dlp/src/V2/Manual.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Job trigger option for hybrid jobs. Jobs must be manually created diff --git a/Dlp/src/V2/MetadataLocation.php b/Dlp/src/V2/MetadataLocation.php index ff36bc6835ea..f1a344ae390f 100644 --- a/Dlp/src/V2/MetadataLocation.php +++ b/Dlp/src/V2/MetadataLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata Location diff --git a/Dlp/src/V2/OtherCloudDiscoveryStartingLocation.php b/Dlp/src/V2/OtherCloudDiscoveryStartingLocation.php index c6122596abab..a05c00ee19ba 100644 --- a/Dlp/src/V2/OtherCloudDiscoveryStartingLocation.php +++ b/Dlp/src/V2/OtherCloudDiscoveryStartingLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The other cloud starting location for discovery. diff --git a/Dlp/src/V2/OtherCloudDiscoveryStartingLocation/AwsDiscoveryStartingLocation.php b/Dlp/src/V2/OtherCloudDiscoveryStartingLocation/AwsDiscoveryStartingLocation.php index 03f114c455d3..893aa4b137ca 100644 --- a/Dlp/src/V2/OtherCloudDiscoveryStartingLocation/AwsDiscoveryStartingLocation.php +++ b/Dlp/src/V2/OtherCloudDiscoveryStartingLocation/AwsDiscoveryStartingLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\OtherCloudDiscoveryStartingLocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The AWS starting location for discovery. @@ -118,4 +118,3 @@ public function getScope() } - diff --git a/Dlp/src/V2/OtherCloudDiscoveryTarget.php b/Dlp/src/V2/OtherCloudDiscoveryTarget.php index 596114d5641e..8e82622922b5 100644 --- a/Dlp/src/V2/OtherCloudDiscoveryTarget.php +++ b/Dlp/src/V2/OtherCloudDiscoveryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Target used to match against for discovery of resources from other clouds. diff --git a/Dlp/src/V2/OtherCloudResourceCollection.php b/Dlp/src/V2/OtherCloudResourceCollection.php index f8269811066b..d8fbf11aebb5 100644 --- a/Dlp/src/V2/OtherCloudResourceCollection.php +++ b/Dlp/src/V2/OtherCloudResourceCollection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Match resources using regex filters. diff --git a/Dlp/src/V2/OtherCloudResourceRegex.php b/Dlp/src/V2/OtherCloudResourceRegex.php index 3a1c993d1b7f..93024201f072 100644 --- a/Dlp/src/V2/OtherCloudResourceRegex.php +++ b/Dlp/src/V2/OtherCloudResourceRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A pattern to match against one or more resources. At least one pattern must diff --git a/Dlp/src/V2/OtherCloudResourceRegexes.php b/Dlp/src/V2/OtherCloudResourceRegexes.php index 912bbce1d39f..b87170293ebd 100644 --- a/Dlp/src/V2/OtherCloudResourceRegexes.php +++ b/Dlp/src/V2/OtherCloudResourceRegexes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of regular expressions to determine what resources to match @@ -32,7 +32,7 @@ class OtherCloudResourceRegexes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\OtherCloudResourceRegex>|\Google\Protobuf\Internal\RepeatedField $patterns + * @type \Google\Cloud\Dlp\V2\OtherCloudResourceRegex[] $patterns * A group of regular expression patterns to match against one or more * resources. * Maximum of 100 entries. The sum of all regular expression's length can't @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\OtherCloudResourceRegex> */ public function getPatterns() { @@ -65,7 +65,7 @@ public function getPatterns() * exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1; - * @param array<\Google\Cloud\Dlp\V2\OtherCloudResourceRegex>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\OtherCloudResourceRegex[] $var * @return $this */ public function setPatterns($var) diff --git a/Dlp/src/V2/OtherCloudSingleResourceReference.php b/Dlp/src/V2/OtherCloudSingleResourceReference.php index 8e3751c2fa4e..8fa4e0e062a6 100644 --- a/Dlp/src/V2/OtherCloudSingleResourceReference.php +++ b/Dlp/src/V2/OtherCloudSingleResourceReference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identifies a single resource, like a single Amazon S3 bucket. diff --git a/Dlp/src/V2/OtherInfoTypeSummary.php b/Dlp/src/V2/OtherInfoTypeSummary.php index ea7528a8112b..221e371249db 100644 --- a/Dlp/src/V2/OtherInfoTypeSummary.php +++ b/Dlp/src/V2/OtherInfoTypeSummary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Infotype details for other infoTypes found within a column. diff --git a/Dlp/src/V2/OutputStorageConfig.php b/Dlp/src/V2/OutputStorageConfig.php index 7a0b5e268b7b..5fc1d4a1d785 100644 --- a/Dlp/src/V2/OutputStorageConfig.php +++ b/Dlp/src/V2/OutputStorageConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud repository for storing output. diff --git a/Dlp/src/V2/OutputStorageConfig/OutputSchema.php b/Dlp/src/V2/OutputStorageConfig/OutputSchema.php index 1d1e6ea482d9..334f12b74344 100644 --- a/Dlp/src/V2/OutputStorageConfig/OutputSchema.php +++ b/Dlp/src/V2/OutputStorageConfig/OutputSchema.php @@ -82,4 +82,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/PartitionId.php b/Dlp/src/V2/PartitionId.php index 1f8527860eb1..cf292beaad9b 100644 --- a/Dlp/src/V2/PartitionId.php +++ b/Dlp/src/V2/PartitionId.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Datastore partition ID. diff --git a/Dlp/src/V2/PrimitiveTransformation.php b/Dlp/src/V2/PrimitiveTransformation.php index 10437b26f23f..348a6e392b62 100644 --- a/Dlp/src/V2/PrimitiveTransformation.php +++ b/Dlp/src/V2/PrimitiveTransformation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A rule for transforming a value. diff --git a/Dlp/src/V2/PrivacyMetric.php b/Dlp/src/V2/PrivacyMetric.php index 8b9475f69955..fe2781849587 100644 --- a/Dlp/src/V2/PrivacyMetric.php +++ b/Dlp/src/V2/PrivacyMetric.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Privacy metric to compute for reidentification risk analysis. diff --git a/Dlp/src/V2/PrivacyMetric/CategoricalStatsConfig.php b/Dlp/src/V2/PrivacyMetric/CategoricalStatsConfig.php index ee0e0df0cb22..734b9433784a 100644 --- a/Dlp/src/V2/PrivacyMetric/CategoricalStatsConfig.php +++ b/Dlp/src/V2/PrivacyMetric/CategoricalStatsConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Compute numerical stats over an individual column, including @@ -88,4 +88,3 @@ public function setField($var) } - diff --git a/Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php b/Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php index 57d26bb9be13..5e3ead953eb9 100644 --- a/Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php +++ b/Dlp/src/V2/PrivacyMetric/DeltaPresenceEstimationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * δ-presence metric, used to estimate how likely it is for an attacker to @@ -48,14 +48,14 @@ class DeltaPresenceEstimationConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\QuasiId>|\Google\Protobuf\Internal\RepeatedField $quasi_ids + * @type \Google\Cloud\Dlp\V2\QuasiId[] $quasi_ids * Required. Fields considered to be quasi-identifiers. No two fields can * have the same tag. * @type string $region_code * ISO 3166-1 alpha-2 region code to use in the statistical modeling. * Set if no column is tagged with a region-specific InfoType (like * US_ZIP_5) or a region code. - * @type array<\Google\Cloud\Dlp\V2\StatisticalTable>|\Google\Protobuf\Internal\RepeatedField $auxiliary_tables + * @type \Google\Cloud\Dlp\V2\StatisticalTable[] $auxiliary_tables * Several auxiliary tables can be used in the analysis. Each custom_tag * used to tag a quasi-identifiers field must appear in exactly one * field of one auxiliary table. @@ -71,7 +71,7 @@ public function __construct($data = NULL) { * have the same tag. * * Generated from protobuf field repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\QuasiId> */ public function getQuasiIds() { @@ -83,7 +83,7 @@ public function getQuasiIds() * have the same tag. * * Generated from protobuf field repeated .google.privacy.dlp.v2.QuasiId quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\QuasiId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\QuasiId[] $var * @return $this */ public function setQuasiIds($var) @@ -130,7 +130,7 @@ public function setRegionCode($var) * field of one auxiliary table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\StatisticalTable> */ public function getAuxiliaryTables() { @@ -143,7 +143,7 @@ public function getAuxiliaryTables() * field of one auxiliary table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StatisticalTable auxiliary_tables = 3; - * @param array<\Google\Cloud\Dlp\V2\StatisticalTable>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\StatisticalTable[] $var * @return $this */ public function setAuxiliaryTables($var) @@ -156,4 +156,3 @@ public function setAuxiliaryTables($var) } - diff --git a/Dlp/src/V2/PrivacyMetric/KAnonymityConfig.php b/Dlp/src/V2/PrivacyMetric/KAnonymityConfig.php index d5c92a7057a1..6e4353dc0d91 100644 --- a/Dlp/src/V2/PrivacyMetric/KAnonymityConfig.php +++ b/Dlp/src/V2/PrivacyMetric/KAnonymityConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * k-anonymity metric, used for analysis of reidentification risk. @@ -46,7 +46,7 @@ class KAnonymityConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $quasi_ids + * @type \Google\Cloud\Dlp\V2\FieldId[] $quasi_ids * Set of fields to compute k-anonymity over. When multiple fields are * specified, they are considered a single composite key. Structs and * repeated data types are not supported; however, nested fields are @@ -77,7 +77,7 @@ public function __construct($data = NULL) { * a repeated field. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getQuasiIds() { @@ -92,7 +92,7 @@ public function getQuasiIds() * a repeated field. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setQuasiIds($var) @@ -157,4 +157,3 @@ public function setEntityId($var) } - diff --git a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig.php b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig.php index 43fd35e94847..13ad669fa370 100644 --- a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig.php +++ b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Reidentifiability metric. This corresponds to a risk model similar to what @@ -50,14 +50,14 @@ class KMapEstimationConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\TaggedField>|\Google\Protobuf\Internal\RepeatedField $quasi_ids + * @type \Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\TaggedField[] $quasi_ids * Required. Fields considered to be quasi-identifiers. No two columns can * have the same tag. * @type string $region_code * ISO 3166-1 alpha-2 region code to use in the statistical modeling. * Set if no column is tagged with a region-specific InfoType (like * US_ZIP_5) or a region code. - * @type array<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable>|\Google\Protobuf\Internal\RepeatedField $auxiliary_tables + * @type \Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable[] $auxiliary_tables * Several auxiliary tables can be used in the analysis. Each custom_tag * used to tag a quasi-identifiers column must appear in exactly one column * of one auxiliary table. @@ -73,7 +73,7 @@ public function __construct($data = NULL) { * have the same tag. * * Generated from protobuf field repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\TaggedField> */ public function getQuasiIds() { @@ -85,7 +85,7 @@ public function getQuasiIds() * have the same tag. * * Generated from protobuf field repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\TaggedField>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\TaggedField[] $var * @return $this */ public function setQuasiIds($var) @@ -132,7 +132,7 @@ public function setRegionCode($var) * of one auxiliary table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable> */ public function getAuxiliaryTables() { @@ -145,7 +145,7 @@ public function getAuxiliaryTables() * of one auxiliary table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable auxiliary_tables = 3; - * @param array<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable[] $var * @return $this */ public function setAuxiliaryTables($var) @@ -158,4 +158,3 @@ public function setAuxiliaryTables($var) } - diff --git a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable.php b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable.php index 28f970fdda3d..65534e5b754c 100644 --- a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable.php +++ b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An auxiliary table contains statistical information on the relative @@ -49,7 +49,7 @@ class AuxiliaryTable extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\BigQueryTable $table * Required. Auxiliary table location. - * @type array<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable\QuasiIdField>|\Google\Protobuf\Internal\RepeatedField $quasi_ids + * @type \Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable\QuasiIdField[] $quasi_ids * Required. Quasi-identifier columns. * @type \Google\Cloud\Dlp\V2\FieldId $relative_frequency * Required. The relative frequency column must contain a floating-point @@ -101,7 +101,7 @@ public function setTable($var) * Required. Quasi-identifier columns. * * Generated from protobuf field repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable\QuasiIdField> */ public function getQuasiIds() { @@ -112,7 +112,7 @@ public function getQuasiIds() * Required. Quasi-identifier columns. * * Generated from protobuf field repeated .google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable\QuasiIdField>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable\QuasiIdField[] $var * @return $this */ public function setQuasiIds($var) @@ -163,4 +163,3 @@ public function setRelativeFrequency($var) } - diff --git a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable/QuasiIdField.php b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable/QuasiIdField.php index db0fd67b14d6..88a9b4f71af7 100644 --- a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable/QuasiIdField.php +++ b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/AuxiliaryTable/QuasiIdField.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig\AuxiliaryTable; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A quasi-identifier column has a custom_tag, used to know which column @@ -110,4 +110,3 @@ public function setCustomTag($var) } - diff --git a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/TaggedField.php b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/TaggedField.php index 7a8ec263626a..76f06e94f265 100644 --- a/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/TaggedField.php +++ b/Dlp/src/V2/PrivacyMetric/KMapEstimationConfig/TaggedField.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric\KMapEstimationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A column with a semantic tag attached. @@ -204,4 +204,3 @@ public function getTag() } - diff --git a/Dlp/src/V2/PrivacyMetric/LDiversityConfig.php b/Dlp/src/V2/PrivacyMetric/LDiversityConfig.php index df2132a8fd78..3d6ee61112cd 100644 --- a/Dlp/src/V2/PrivacyMetric/LDiversityConfig.php +++ b/Dlp/src/V2/PrivacyMetric/LDiversityConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * l-diversity metric, used for analysis of reidentification risk. @@ -36,7 +36,7 @@ class LDiversityConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $quasi_ids + * @type \Google\Cloud\Dlp\V2\FieldId[] $quasi_ids * Set of quasi-identifiers indicating how equivalence classes are * defined for the l-diversity computation. When multiple fields are * specified, they are considered a single composite key. @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * specified, they are considered a single composite key. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getQuasiIds() { @@ -68,7 +68,7 @@ public function getQuasiIds() * specified, they are considered a single composite key. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId quasi_ids = 1; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setQuasiIds($var) @@ -117,4 +117,3 @@ public function setSensitiveAttribute($var) } - diff --git a/Dlp/src/V2/PrivacyMetric/NumericalStatsConfig.php b/Dlp/src/V2/PrivacyMetric/NumericalStatsConfig.php index def3601d03be..446b795d6619 100644 --- a/Dlp/src/V2/PrivacyMetric/NumericalStatsConfig.php +++ b/Dlp/src/V2/PrivacyMetric/NumericalStatsConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\PrivacyMetric; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Compute numerical stats over an individual column, including @@ -80,4 +80,3 @@ public function setField($var) } - diff --git a/Dlp/src/V2/ProcessingLocation.php b/Dlp/src/V2/ProcessingLocation.php index 0dfe812c5f7b..01d4b548dee4 100644 --- a/Dlp/src/V2/ProcessingLocation.php +++ b/Dlp/src/V2/ProcessingLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configure processing location for discovery and inspection. For example, diff --git a/Dlp/src/V2/ProcessingLocation/DocumentFallbackLocation.php b/Dlp/src/V2/ProcessingLocation/DocumentFallbackLocation.php index 9bea305f66d9..1a4ec8afa555 100644 --- a/Dlp/src/V2/ProcessingLocation/DocumentFallbackLocation.php +++ b/Dlp/src/V2/ProcessingLocation/DocumentFallbackLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ProcessingLocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configure document processing to fall back to any of the following @@ -125,4 +125,3 @@ public function setGlobalProcessing($var) } - diff --git a/Dlp/src/V2/ProcessingLocation/GlobalProcessing.php b/Dlp/src/V2/ProcessingLocation/GlobalProcessing.php index 9a1e565f001f..c038a87a9c36 100644 --- a/Dlp/src/V2/ProcessingLocation/GlobalProcessing.php +++ b/Dlp/src/V2/ProcessingLocation/GlobalProcessing.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ProcessingLocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Processing occurs in the global region. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/ProcessingLocation/ImageFallbackLocation.php b/Dlp/src/V2/ProcessingLocation/ImageFallbackLocation.php index 79bd278c294d..5cf7489f75f3 100644 --- a/Dlp/src/V2/ProcessingLocation/ImageFallbackLocation.php +++ b/Dlp/src/V2/ProcessingLocation/ImageFallbackLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ProcessingLocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configure image processing to fall back to any of the following processing @@ -125,4 +125,3 @@ public function setGlobalProcessing($var) } - diff --git a/Dlp/src/V2/ProcessingLocation/MultiRegionProcessing.php b/Dlp/src/V2/ProcessingLocation/MultiRegionProcessing.php index 4243fa0eebc1..58bc8210ce03 100644 --- a/Dlp/src/V2/ProcessingLocation/MultiRegionProcessing.php +++ b/Dlp/src/V2/ProcessingLocation/MultiRegionProcessing.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\ProcessingLocation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Processing occurs in a multi-region that contains the current region @@ -32,4 +32,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/ProfileStatus.php b/Dlp/src/V2/ProfileStatus.php index efc705b0d043..3f3fb88a51ba 100644 --- a/Dlp/src/V2/ProfileStatus.php +++ b/Dlp/src/V2/ProfileStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Success or errors for the profile generation. diff --git a/Dlp/src/V2/ProjectDataProfile.php b/Dlp/src/V2/ProjectDataProfile.php index 515e53827d29..b5134d8b5b4c 100644 --- a/Dlp/src/V2/ProjectDataProfile.php +++ b/Dlp/src/V2/ProjectDataProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An aggregated profile for this project, based on the resources profiled diff --git a/Dlp/src/V2/QuasiId.php b/Dlp/src/V2/QuasiId.php index d582e510ddf5..4c710e04001b 100644 --- a/Dlp/src/V2/QuasiId.php +++ b/Dlp/src/V2/QuasiId.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A column with a semantic tag attached. diff --git a/Dlp/src/V2/QuoteInfo.php b/Dlp/src/V2/QuoteInfo.php index f33288a3dbcc..4db881152c2b 100644 --- a/Dlp/src/V2/QuoteInfo.php +++ b/Dlp/src/V2/QuoteInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for infoType-dependent details parsed from quote. diff --git a/Dlp/src/V2/Range.php b/Dlp/src/V2/Range.php index c7f695bcb24f..bd2b530c27d9 100644 --- a/Dlp/src/V2/Range.php +++ b/Dlp/src/V2/Range.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Generic half-open interval [start, end) diff --git a/Dlp/src/V2/RecordCondition.php b/Dlp/src/V2/RecordCondition.php index 8d4ffb088b55..737e51d6915a 100644 --- a/Dlp/src/V2/RecordCondition.php +++ b/Dlp/src/V2/RecordCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A condition for determining whether a transformation should be applied to diff --git a/Dlp/src/V2/RecordCondition/Condition.php b/Dlp/src/V2/RecordCondition/Condition.php index 1b2e48d75d2c..432321d0d7db 100644 --- a/Dlp/src/V2/RecordCondition/Condition.php +++ b/Dlp/src/V2/RecordCondition/Condition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\RecordCondition; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The field type of `value` and `field` do not need to match to be @@ -169,4 +169,3 @@ public function setValue($var) } - diff --git a/Dlp/src/V2/RecordCondition/Conditions.php b/Dlp/src/V2/RecordCondition/Conditions.php index 83d2d803b032..03ed948e0526 100644 --- a/Dlp/src/V2/RecordCondition/Conditions.php +++ b/Dlp/src/V2/RecordCondition/Conditions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\RecordCondition; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of conditions. @@ -28,7 +28,7 @@ class Conditions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\RecordCondition\Condition>|\Google\Protobuf\Internal\RepeatedField $conditions + * @type \Google\Cloud\Dlp\V2\RecordCondition\Condition[] $conditions * A collection of conditions. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * A collection of conditions. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\RecordCondition\Condition> */ public function getConditions() { @@ -52,7 +52,7 @@ public function getConditions() * A collection of conditions. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RecordCondition.Condition conditions = 1; - * @param array<\Google\Cloud\Dlp\V2\RecordCondition\Condition>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\RecordCondition\Condition[] $var * @return $this */ public function setConditions($var) @@ -65,4 +65,3 @@ public function setConditions($var) } - diff --git a/Dlp/src/V2/RecordCondition/Expressions.php b/Dlp/src/V2/RecordCondition/Expressions.php index 7d4161ed49eb..fe3353f5e09f 100644 --- a/Dlp/src/V2/RecordCondition/Expressions.php +++ b/Dlp/src/V2/RecordCondition/Expressions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\RecordCondition; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An expression, consisting of an operator and conditions. @@ -111,4 +111,3 @@ public function getType() } - diff --git a/Dlp/src/V2/RecordCondition/Expressions/LogicalOperator.php b/Dlp/src/V2/RecordCondition/Expressions/LogicalOperator.php index 611baeb402e8..2903e2afa727 100644 --- a/Dlp/src/V2/RecordCondition/Expressions/LogicalOperator.php +++ b/Dlp/src/V2/RecordCondition/Expressions/LogicalOperator.php @@ -56,4 +56,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/RecordKey.php b/Dlp/src/V2/RecordKey.php index 12d649962d53..faeb7eca393e 100644 --- a/Dlp/src/V2/RecordKey.php +++ b/Dlp/src/V2/RecordKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for a unique key indicating a record that contains a finding. @@ -34,7 +34,7 @@ class RecordKey extends \Google\Protobuf\Internal\Message * BigQuery key * @type \Google\Cloud\Dlp\V2\BigQueryKey $big_query_key * Datastore key - * @type array|\Google\Protobuf\Internal\RepeatedField $id_values + * @type string[] $id_values * Values of identifying columns in the given row. Order of values matches * the order of `identifying_fields` specified in the scanning request. * } @@ -111,7 +111,7 @@ public function setBigQueryKey($var) * the order of `identifying_fields` specified in the scanning request. * * Generated from protobuf field repeated string id_values = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIdValues() { @@ -123,7 +123,7 @@ public function getIdValues() * the order of `identifying_fields` specified in the scanning request. * * Generated from protobuf field repeated string id_values = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIdValues($var) diff --git a/Dlp/src/V2/RecordLocation.php b/Dlp/src/V2/RecordLocation.php index 08d3831c17e8..5f886759b5d0 100644 --- a/Dlp/src/V2/RecordLocation.php +++ b/Dlp/src/V2/RecordLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of a finding within a row or record. diff --git a/Dlp/src/V2/RecordSuppression.php b/Dlp/src/V2/RecordSuppression.php index 3a6d09b1bbce..9d81a933412a 100644 --- a/Dlp/src/V2/RecordSuppression.php +++ b/Dlp/src/V2/RecordSuppression.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration to suppress records whose suppression conditions evaluate to diff --git a/Dlp/src/V2/RecordTransformation.php b/Dlp/src/V2/RecordTransformation.php index e802da478496..cc8c7c49a02f 100644 --- a/Dlp/src/V2/RecordTransformation.php +++ b/Dlp/src/V2/RecordTransformation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The field in a record to transform. diff --git a/Dlp/src/V2/RecordTransformations.php b/Dlp/src/V2/RecordTransformations.php index 33498ce84dd7..da2e598373c4 100644 --- a/Dlp/src/V2/RecordTransformations.php +++ b/Dlp/src/V2/RecordTransformations.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A type of transformation that is applied over structured data such as a @@ -36,9 +36,9 @@ class RecordTransformations extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FieldTransformation>|\Google\Protobuf\Internal\RepeatedField $field_transformations + * @type \Google\Cloud\Dlp\V2\FieldTransformation[] $field_transformations * Transform the record by applying various field transformations. - * @type array<\Google\Cloud\Dlp\V2\RecordSuppression>|\Google\Protobuf\Internal\RepeatedField $record_suppressions + * @type \Google\Cloud\Dlp\V2\RecordSuppression[] $record_suppressions * Configuration defining which records get suppressed entirely. Records that * match any suppression rule are omitted from the output. * } @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * Transform the record by applying various field transformations. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldTransformation> */ public function getFieldTransformations() { @@ -63,7 +63,7 @@ public function getFieldTransformations() * Transform the record by applying various field transformations. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 1; - * @param array<\Google\Cloud\Dlp\V2\FieldTransformation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldTransformation[] $var * @return $this */ public function setFieldTransformations($var) @@ -79,7 +79,7 @@ public function setFieldTransformations($var) * match any suppression rule are omitted from the output. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\RecordSuppression> */ public function getRecordSuppressions() { @@ -91,7 +91,7 @@ public function getRecordSuppressions() * match any suppression rule are omitted from the output. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RecordSuppression record_suppressions = 2; - * @param array<\Google\Cloud\Dlp\V2\RecordSuppression>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\RecordSuppression[] $var * @return $this */ public function setRecordSuppressions($var) diff --git a/Dlp/src/V2/RedactConfig.php b/Dlp/src/V2/RedactConfig.php index 79729a849f20..b1728ecfad9c 100644 --- a/Dlp/src/V2/RedactConfig.php +++ b/Dlp/src/V2/RedactConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Redact a given value. For example, if used with an `InfoTypeTransformation` diff --git a/Dlp/src/V2/RedactImageRequest.php b/Dlp/src/V2/RedactImageRequest.php index b474b8d563d7..f4e5eab91866 100644 --- a/Dlp/src/V2/RedactImageRequest.php +++ b/Dlp/src/V2/RedactImageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to search for potentially sensitive info in an image and redact it @@ -111,7 +111,7 @@ class RedactImageRequest extends \Google\Protobuf\Internal\Message * Deprecated. This field has no effect. * @type \Google\Cloud\Dlp\V2\InspectConfig $inspect_config * Configuration for the inspector. - * @type array<\Google\Cloud\Dlp\V2\RedactImageRequest\ImageRedactionConfig>|\Google\Protobuf\Internal\RepeatedField $image_redaction_configs + * @type \Google\Cloud\Dlp\V2\RedactImageRequest\ImageRedactionConfig[] $image_redaction_configs * The configuration for specifying what content to redact from images. * @type bool $include_findings * Whether the response should include findings along with the redacted @@ -254,7 +254,7 @@ public function setInspectConfig($var) * The configuration for specifying what content to redact from images. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\RedactImageRequest\ImageRedactionConfig> */ public function getImageRedactionConfigs() { @@ -265,7 +265,7 @@ public function getImageRedactionConfigs() * The configuration for specifying what content to redact from images. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5; - * @param array<\Google\Cloud\Dlp\V2\RedactImageRequest\ImageRedactionConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\RedactImageRequest\ImageRedactionConfig[] $var * @return $this */ public function setImageRedactionConfigs($var) diff --git a/Dlp/src/V2/RedactImageRequest/ImageRedactionConfig.php b/Dlp/src/V2/RedactImageRequest/ImageRedactionConfig.php index fd832972755b..06427390ec46 100644 --- a/Dlp/src/V2/RedactImageRequest/ImageRedactionConfig.php +++ b/Dlp/src/V2/RedactImageRequest/ImageRedactionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\RedactImageRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for determining how redaction of images should occur. @@ -166,4 +166,3 @@ public function getTarget() } - diff --git a/Dlp/src/V2/RedactImageResponse.php b/Dlp/src/V2/RedactImageResponse.php index 2f749551986a..e0af8a6a5c10 100644 --- a/Dlp/src/V2/RedactImageResponse.php +++ b/Dlp/src/V2/RedactImageResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Results of redacting an image. diff --git a/Dlp/src/V2/ReidentifyContentRequest.php b/Dlp/src/V2/ReidentifyContentRequest.php index 59fccfa4ab61..25ba1bf00915 100644 --- a/Dlp/src/V2/ReidentifyContentRequest.php +++ b/Dlp/src/V2/ReidentifyContentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to re-identify an item. diff --git a/Dlp/src/V2/ReidentifyContentResponse.php b/Dlp/src/V2/ReidentifyContentResponse.php index 645c5eb06117..dd6e31f8b72b 100644 --- a/Dlp/src/V2/ReidentifyContentResponse.php +++ b/Dlp/src/V2/ReidentifyContentResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Results of re-identifying an item. diff --git a/Dlp/src/V2/RelatedResource.php b/Dlp/src/V2/RelatedResource.php index 873cb6284cc3..abd778f96970 100644 --- a/Dlp/src/V2/RelatedResource.php +++ b/Dlp/src/V2/RelatedResource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A related resource. diff --git a/Dlp/src/V2/ReplaceDictionaryConfig.php b/Dlp/src/V2/ReplaceDictionaryConfig.php index 334777891ff9..c5e13ffc80c0 100644 --- a/Dlp/src/V2/ReplaceDictionaryConfig.php +++ b/Dlp/src/V2/ReplaceDictionaryConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Replace each input value with a value randomly selected from the dictionary. diff --git a/Dlp/src/V2/ReplaceValueConfig.php b/Dlp/src/V2/ReplaceValueConfig.php index 6b6b0f7a06d1..12324fc7e0c8 100644 --- a/Dlp/src/V2/ReplaceValueConfig.php +++ b/Dlp/src/V2/ReplaceValueConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Replace each input value with a given `Value`. diff --git a/Dlp/src/V2/ReplaceWithInfoTypeConfig.php b/Dlp/src/V2/ReplaceWithInfoTypeConfig.php index 5896285166fe..3318bae37d6b 100644 --- a/Dlp/src/V2/ReplaceWithInfoTypeConfig.php +++ b/Dlp/src/V2/ReplaceWithInfoTypeConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Replace each matching finding with the name of the info_type. diff --git a/Dlp/src/V2/RiskAnalysisJobConfig.php b/Dlp/src/V2/RiskAnalysisJobConfig.php index d188958519c0..4746a18d6e76 100644 --- a/Dlp/src/V2/RiskAnalysisJobConfig.php +++ b/Dlp/src/V2/RiskAnalysisJobConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for a risk analysis job. See @@ -47,7 +47,7 @@ class RiskAnalysisJobConfig extends \Google\Protobuf\Internal\Message * Privacy metric to compute. * @type \Google\Cloud\Dlp\V2\BigQueryTable $source_table * Input dataset to compute metrics over. - * @type array<\Google\Cloud\Dlp\V2\Action>|\Google\Protobuf\Internal\RepeatedField $actions + * @type \Google\Cloud\Dlp\V2\Action[] $actions * Actions to execute at the completion of the job. Are executed in the order * provided. * } @@ -134,7 +134,7 @@ public function setSourceTable($var) * provided. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Action actions = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Action> */ public function getActions() { @@ -146,7 +146,7 @@ public function getActions() * provided. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Action actions = 3; - * @param array<\Google\Cloud\Dlp\V2\Action>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Action[] $var * @return $this */ public function setActions($var) diff --git a/Dlp/src/V2/SaveToGcsFindingsOutput.php b/Dlp/src/V2/SaveToGcsFindingsOutput.php index 073f56c4c2a4..3028ff76468c 100644 --- a/Dlp/src/V2/SaveToGcsFindingsOutput.php +++ b/Dlp/src/V2/SaveToGcsFindingsOutput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Collection of findings saved to a Cloud Storage bucket. This is used as the @@ -30,7 +30,7 @@ class SaveToGcsFindingsOutput extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Finding>|\Google\Protobuf\Internal\RepeatedField $findings + * @type \Google\Cloud\Dlp\V2\Finding[] $findings * List of findings. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * List of findings. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Finding findings = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Finding> */ public function getFindings() { @@ -54,7 +54,7 @@ public function getFindings() * List of findings. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Finding findings = 1; - * @param array<\Google\Cloud\Dlp\V2\Finding>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Finding[] $var * @return $this */ public function setFindings($var) diff --git a/Dlp/src/V2/Schedule.php b/Dlp/src/V2/Schedule.php index f7fe89d24dac..2b80dfc75371 100644 --- a/Dlp/src/V2/Schedule.php +++ b/Dlp/src/V2/Schedule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Schedule for inspect job triggers. diff --git a/Dlp/src/V2/SearchConnectionsRequest.php b/Dlp/src/V2/SearchConnectionsRequest.php index 69dd11825ffe..8a228725ccee 100644 --- a/Dlp/src/V2/SearchConnectionsRequest.php +++ b/Dlp/src/V2/SearchConnectionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for SearchConnections. diff --git a/Dlp/src/V2/SearchConnectionsResponse.php b/Dlp/src/V2/SearchConnectionsResponse.php index 291026d1abed..9a3ea4392006 100644 --- a/Dlp/src/V2/SearchConnectionsResponse.php +++ b/Dlp/src/V2/SearchConnectionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for SearchConnections. @@ -37,7 +37,7 @@ class SearchConnectionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Connection>|\Google\Protobuf\Internal\RepeatedField $connections + * @type \Google\Cloud\Dlp\V2\Connection[] $connections * List of connections that match the search query. Note that only a subset * of the fields will be populated, and only "name" is guaranteed to be set. * For full details of a Connection, call GetConnection with the name. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * For full details of a Connection, call GetConnection with the name. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Connection connections = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Connection> */ public function getConnections() { @@ -70,7 +70,7 @@ public function getConnections() * For full details of a Connection, call GetConnection with the name. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Connection connections = 1; - * @param array<\Google\Cloud\Dlp\V2\Connection>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Connection[] $var * @return $this */ public function setConnections($var) diff --git a/Dlp/src/V2/SecretManagerCredential.php b/Dlp/src/V2/SecretManagerCredential.php index 280526b8b2ab..8608b56efa4d 100644 --- a/Dlp/src/V2/SecretManagerCredential.php +++ b/Dlp/src/V2/SecretManagerCredential.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A credential consisting of a username and password, where the password is diff --git a/Dlp/src/V2/SecretsDiscoveryTarget.php b/Dlp/src/V2/SecretsDiscoveryTarget.php index 1e5a804a0f78..a0b04b9cb5be 100644 --- a/Dlp/src/V2/SecretsDiscoveryTarget.php +++ b/Dlp/src/V2/SecretsDiscoveryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Discovery target for credentials and secrets in cloud resource metadata. diff --git a/Dlp/src/V2/SensitivityScore.php b/Dlp/src/V2/SensitivityScore.php index 90daf36c4bf9..4ad270c188ea 100644 --- a/Dlp/src/V2/SensitivityScore.php +++ b/Dlp/src/V2/SensitivityScore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Score is calculated from of all elements in the data profile. diff --git a/Dlp/src/V2/SensitivityScore/SensitivityScoreLevel.php b/Dlp/src/V2/SensitivityScore/SensitivityScoreLevel.php index b3bfc5a6b29d..d083a3f822cd 100644 --- a/Dlp/src/V2/SensitivityScore/SensitivityScoreLevel.php +++ b/Dlp/src/V2/SensitivityScore/SensitivityScoreLevel.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/StatisticalTable.php b/Dlp/src/V2/StatisticalTable.php index 533649a094e9..28400dcc1ebc 100644 --- a/Dlp/src/V2/StatisticalTable.php +++ b/Dlp/src/V2/StatisticalTable.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An auxiliary table containing statistical information on the relative @@ -49,7 +49,7 @@ class StatisticalTable extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\BigQueryTable $table * Required. Auxiliary table location. - * @type array<\Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField>|\Google\Protobuf\Internal\RepeatedField $quasi_ids + * @type \Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField[] $quasi_ids * Required. Quasi-identifier columns. * @type \Google\Cloud\Dlp\V2\FieldId $relative_frequency * Required. The relative frequency column must contain a floating-point @@ -101,7 +101,7 @@ public function setTable($var) * Required. Quasi-identifier columns. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField> */ public function getQuasiIds() { @@ -112,7 +112,7 @@ public function getQuasiIds() * Required. Quasi-identifier columns. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\StatisticalTable\QuasiIdentifierField[] $var * @return $this */ public function setQuasiIds($var) diff --git a/Dlp/src/V2/StatisticalTable/QuasiIdentifierField.php b/Dlp/src/V2/StatisticalTable/QuasiIdentifierField.php index 179ec4488f7e..ba6fc14985bc 100644 --- a/Dlp/src/V2/StatisticalTable/QuasiIdentifierField.php +++ b/Dlp/src/V2/StatisticalTable/QuasiIdentifierField.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\StatisticalTable; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A quasi-identifier column has a custom_tag, used to know which column @@ -118,4 +118,3 @@ public function setCustomTag($var) } - diff --git a/Dlp/src/V2/StorageConfig.php b/Dlp/src/V2/StorageConfig.php index 630d3b44dda2..77bd19469027 100644 --- a/Dlp/src/V2/StorageConfig.php +++ b/Dlp/src/V2/StorageConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Shared message indicating Cloud storage type. diff --git a/Dlp/src/V2/StorageConfig/TimespanConfig.php b/Dlp/src/V2/StorageConfig/TimespanConfig.php index 585bdffb21de..f7ad5dbec8e8 100644 --- a/Dlp/src/V2/StorageConfig/TimespanConfig.php +++ b/Dlp/src/V2/StorageConfig/TimespanConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\StorageConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of the timespan of the items to include in scanning. @@ -354,4 +354,3 @@ public function setEnableAutoPopulationOfTimespanConfig($var) } - diff --git a/Dlp/src/V2/StorageMetadataLabel.php b/Dlp/src/V2/StorageMetadataLabel.php index e982b805e95c..9452bb91c0e1 100644 --- a/Dlp/src/V2/StorageMetadataLabel.php +++ b/Dlp/src/V2/StorageMetadataLabel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Storage metadata label to indicate which metadata entry contains findings. diff --git a/Dlp/src/V2/StoredInfoType.php b/Dlp/src/V2/StoredInfoType.php index 156e6335b473..345ce57dc641 100644 --- a/Dlp/src/V2/StoredInfoType.php +++ b/Dlp/src/V2/StoredInfoType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * StoredInfoType resource message that contains information about the current @@ -46,7 +46,7 @@ class StoredInfoType extends \Google\Protobuf\Internal\Message * Resource name. * @type \Google\Cloud\Dlp\V2\StoredInfoTypeVersion $current_version * Current version of the stored info type. - * @type array<\Google\Cloud\Dlp\V2\StoredInfoTypeVersion>|\Google\Protobuf\Internal\RepeatedField $pending_versions + * @type \Google\Cloud\Dlp\V2\StoredInfoTypeVersion[] $pending_versions * Pending versions of the stored info type. Empty if no versions are * pending. * } @@ -123,7 +123,7 @@ public function setCurrentVersion($var) * pending. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\StoredInfoTypeVersion> */ public function getPendingVersions() { @@ -135,7 +135,7 @@ public function getPendingVersions() * pending. * * Generated from protobuf field repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3; - * @param array<\Google\Cloud\Dlp\V2\StoredInfoTypeVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\StoredInfoTypeVersion[] $var * @return $this */ public function setPendingVersions($var) diff --git a/Dlp/src/V2/StoredInfoTypeConfig.php b/Dlp/src/V2/StoredInfoTypeConfig.php index ac6a4b96e563..8a0b7ce62852 100644 --- a/Dlp/src/V2/StoredInfoTypeConfig.php +++ b/Dlp/src/V2/StoredInfoTypeConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for stored infoTypes. All fields and subfield are provided diff --git a/Dlp/src/V2/StoredInfoTypeStats.php b/Dlp/src/V2/StoredInfoTypeStats.php index b6c9b0b25919..042b470e56a1 100644 --- a/Dlp/src/V2/StoredInfoTypeStats.php +++ b/Dlp/src/V2/StoredInfoTypeStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Statistics for a StoredInfoType. diff --git a/Dlp/src/V2/StoredInfoTypeVersion.php b/Dlp/src/V2/StoredInfoTypeVersion.php index a9ad81826cb3..16ab591e8a43 100644 --- a/Dlp/src/V2/StoredInfoTypeVersion.php +++ b/Dlp/src/V2/StoredInfoTypeVersion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Version of a StoredInfoType, including the configuration used to build it, @@ -73,7 +73,7 @@ class StoredInfoTypeVersion extends \Google\Protobuf\Internal\Message * @type int $state * Stored info type version state. Read-only, updated by the system * during dictionary creation. - * @type array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Cloud\Dlp\V2\Error[] $errors * Errors that occurred when creating this storedInfoType version, or * anomalies detected in the storedInfoType data that render it unusable. Only * the five most recent errors will be displayed, with the most recent error @@ -210,7 +210,7 @@ public function setState($var) * not the source of the error. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() { @@ -231,7 +231,7 @@ public function getErrors() * not the source of the error. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4; - * @param array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ public function setErrors($var) diff --git a/Dlp/src/V2/StoredType.php b/Dlp/src/V2/StoredType.php index e240578bf676..9d39458f9e1e 100644 --- a/Dlp/src/V2/StoredType.php +++ b/Dlp/src/V2/StoredType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A reference to a StoredInfoType to use with scanning. diff --git a/Dlp/src/V2/Table.php b/Dlp/src/V2/Table.php index 3fda5434774a..5e614f34e5a5 100644 --- a/Dlp/src/V2/Table.php +++ b/Dlp/src/V2/Table.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See @@ -36,9 +36,9 @@ class Table extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $headers + * @type \Google\Cloud\Dlp\V2\FieldId[] $headers * Headers of the table. - * @type array<\Google\Cloud\Dlp\V2\Table\Row>|\Google\Protobuf\Internal\RepeatedField $rows + * @type \Google\Cloud\Dlp\V2\Table\Row[] $rows * Rows of the table. * } */ @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * Headers of the table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId headers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getHeaders() { @@ -62,7 +62,7 @@ public function getHeaders() * Headers of the table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId headers = 1; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setHeaders($var) @@ -77,7 +77,7 @@ public function setHeaders($var) * Rows of the table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Table.Row rows = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Table\Row> */ public function getRows() { @@ -88,7 +88,7 @@ public function getRows() * Rows of the table. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Table.Row rows = 2; - * @param array<\Google\Cloud\Dlp\V2\Table\Row>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Table\Row[] $var * @return $this */ public function setRows($var) diff --git a/Dlp/src/V2/Table/Row.php b/Dlp/src/V2/Table/Row.php index 1b8f194f4c61..bca93c1b016f 100644 --- a/Dlp/src/V2/Table/Row.php +++ b/Dlp/src/V2/Table/Row.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\Table; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Values of the row. @@ -28,7 +28,7 @@ class Row extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Cloud\Dlp\V2\Value[] $values * Individual cells. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Individual cells. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Value> */ public function getValues() { @@ -52,7 +52,7 @@ public function getValues() * Individual cells. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Value values = 1; - * @param array<\Google\Cloud\Dlp\V2\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Value[] $var * @return $this */ public function setValues($var) @@ -65,4 +65,3 @@ public function setValues($var) } - diff --git a/Dlp/src/V2/TableDataProfile.php b/Dlp/src/V2/TableDataProfile.php index 71a67e690a70..80ee291fcd14 100644 --- a/Dlp/src/V2/TableDataProfile.php +++ b/Dlp/src/V2/TableDataProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The profile for a scanned table. @@ -241,9 +241,9 @@ class TableDataProfile extends \Google\Protobuf\Internal\Message * The sensitivity score of this table. * @type \Google\Cloud\Dlp\V2\DataRiskLevel $data_risk_level * The data risk level of this table. - * @type array<\Google\Cloud\Dlp\V2\InfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $predicted_info_types + * @type \Google\Cloud\Dlp\V2\InfoTypeSummary[] $predicted_info_types * The infoTypes predicted from this table's data. - * @type array<\Google\Cloud\Dlp\V2\OtherInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $other_info_types + * @type \Google\Cloud\Dlp\V2\OtherInfoTypeSummary[] $other_info_types * Other infoTypes found in this table's data. * @type \Google\Cloud\Dlp\V2\DataProfileConfigSnapshot $config_snapshot * The snapshot of the configurations used to generate the profile. @@ -272,13 +272,13 @@ class TableDataProfile extends \Google\Protobuf\Internal\Message * The time at which the table was created. * @type \Google\Cloud\Dlp\V2\BigQueryTable $sample_findings_table * The BigQuery table to which the sample findings are written. - * @type array<\Google\Cloud\Dlp\V2\Tag>|\Google\Protobuf\Internal\RepeatedField $tags + * @type \Google\Cloud\Dlp\V2\Tag[] $tags * The tags attached to the table, including any tags attached during * profiling. Because tags are attached to Cloud SQL instances rather than * Cloud SQL tables, this field is empty for Cloud SQL table profiles. - * @type array<\Google\Cloud\Dlp\V2\RelatedResource>|\Google\Protobuf\Internal\RepeatedField $related_resources + * @type \Google\Cloud\Dlp\V2\RelatedResource[] $related_resources * Resources related to this profile. - * @type array<\Google\Cloud\Dlp\V2\Domain>|\Google\Protobuf\Internal\RepeatedField $domains + * @type \Google\Cloud\Dlp\V2\Domain[] $domains * Domains associated with the profile. * } */ @@ -655,7 +655,7 @@ public function setDataRiskLevel($var) * The infoTypes predicted from this table's data. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\InfoTypeSummary> */ public function getPredictedInfoTypes() { @@ -666,7 +666,7 @@ public function getPredictedInfoTypes() * The infoTypes predicted from this table's data. * * Generated from protobuf field repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; - * @param array<\Google\Cloud\Dlp\V2\InfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\InfoTypeSummary[] $var * @return $this */ public function setPredictedInfoTypes($var) @@ -681,7 +681,7 @@ public function setPredictedInfoTypes($var) * Other infoTypes found in this table's data. * * Generated from protobuf field repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\OtherInfoTypeSummary> */ public function getOtherInfoTypes() { @@ -692,7 +692,7 @@ public function getOtherInfoTypes() * Other infoTypes found in this table's data. * * Generated from protobuf field repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; - * @param array<\Google\Cloud\Dlp\V2\OtherInfoTypeSummary>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\OtherInfoTypeSummary[] $var * @return $this */ public function setOtherInfoTypes($var) @@ -1109,7 +1109,7 @@ public function setSampleFindingsTable($var) * Cloud SQL tables, this field is empty for Cloud SQL table profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Tag tags = 39; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Tag> */ public function getTags() { @@ -1122,7 +1122,7 @@ public function getTags() * Cloud SQL tables, this field is empty for Cloud SQL table profiles. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Tag tags = 39; - * @param array<\Google\Cloud\Dlp\V2\Tag>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Tag[] $var * @return $this */ public function setTags($var) @@ -1137,7 +1137,7 @@ public function setTags($var) * Resources related to this profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RelatedResource related_resources = 41; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\RelatedResource> */ public function getRelatedResources() { @@ -1148,7 +1148,7 @@ public function getRelatedResources() * Resources related to this profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.RelatedResource related_resources = 41; - * @param array<\Google\Cloud\Dlp\V2\RelatedResource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\RelatedResource[] $var * @return $this */ public function setRelatedResources($var) @@ -1163,7 +1163,7 @@ public function setRelatedResources($var) * Domains associated with the profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Domain domains = 47; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\Domain> */ public function getDomains() { @@ -1174,7 +1174,7 @@ public function getDomains() * Domains associated with the profile. * * Generated from protobuf field repeated .google.privacy.dlp.v2.Domain domains = 47; - * @param array<\Google\Cloud\Dlp\V2\Domain>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\Domain[] $var * @return $this */ public function setDomains($var) diff --git a/Dlp/src/V2/TableDataProfile/State.php b/Dlp/src/V2/TableDataProfile/State.php index c3a22b7c34d1..d47c01ccea78 100644 --- a/Dlp/src/V2/TableDataProfile/State.php +++ b/Dlp/src/V2/TableDataProfile/State.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/TableLocation.php b/Dlp/src/V2/TableLocation.php index 16a8dbadb8fb..ed538853a8bf 100644 --- a/Dlp/src/V2/TableLocation.php +++ b/Dlp/src/V2/TableLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of a finding within a table. diff --git a/Dlp/src/V2/TableOptions.php b/Dlp/src/V2/TableOptions.php index 46fbb8dc8f82..1ee57fdc04f2 100644 --- a/Dlp/src/V2/TableOptions.php +++ b/Dlp/src/V2/TableOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Instructions regarding the table content being inspected. @@ -31,7 +31,7 @@ class TableOptions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $identifying_fields + * @type \Google\Cloud\Dlp\V2\FieldId[] $identifying_fields * The columns that are the primary keys for table objects included in * ContentItem. A copy of this cell's value will stored alongside alongside * each finding so that the finding can be traced to the specific row it came @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * from. No more than 3 may be provided. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldId> */ public function getIdentifyingFields() { @@ -64,7 +64,7 @@ public function getIdentifyingFields() * from. No more than 3 may be provided. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldId identifying_fields = 1; - * @param array<\Google\Cloud\Dlp\V2\FieldId>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldId[] $var * @return $this */ public function setIdentifyingFields($var) diff --git a/Dlp/src/V2/TableReference.php b/Dlp/src/V2/TableReference.php index 329cb37cb10a..4f34329456b7 100644 --- a/Dlp/src/V2/TableReference.php +++ b/Dlp/src/V2/TableReference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message defining the location of a BigQuery table with the projectId inferred diff --git a/Dlp/src/V2/Tag.php b/Dlp/src/V2/Tag.php index 5a5109403f08..6e393ad44917 100644 --- a/Dlp/src/V2/Tag.php +++ b/Dlp/src/V2/Tag.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A tag associated with a resource. diff --git a/Dlp/src/V2/TagFilter.php b/Dlp/src/V2/TagFilter.php index 079d1f15be5e..b52d8c85932d 100644 --- a/Dlp/src/V2/TagFilter.php +++ b/Dlp/src/V2/TagFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single tag to filter against. diff --git a/Dlp/src/V2/TagFilters.php b/Dlp/src/V2/TagFilters.php index 4d9a52fe63e9..1210f6ef6d99 100644 --- a/Dlp/src/V2/TagFilters.php +++ b/Dlp/src/V2/TagFilters.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Tags to match against for filtering. @@ -29,7 +29,7 @@ class TagFilters extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\TagFilter>|\Google\Protobuf\Internal\RepeatedField $tag_filters + * @type \Google\Cloud\Dlp\V2\TagFilter[] $tag_filters * Required. A resource must match ALL of the specified tag filters to be * included in the collection. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * included in the collection. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TagFilter tag_filters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\TagFilter> */ public function getTagFilters() { @@ -56,7 +56,7 @@ public function getTagFilters() * included in the collection. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TagFilter tag_filters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\TagFilter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\TagFilter[] $var * @return $this */ public function setTagFilters($var) diff --git a/Dlp/src/V2/TimePartConfig.php b/Dlp/src/V2/TimePartConfig.php index 56ef5ac5f19b..5d036fbccce8 100644 --- a/Dlp/src/V2/TimePartConfig.php +++ b/Dlp/src/V2/TimePartConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a diff --git a/Dlp/src/V2/TimePartConfig/TimePart.php b/Dlp/src/V2/TimePartConfig/TimePart.php index 39103ebb36bc..d8fdd5150ae8 100644 --- a/Dlp/src/V2/TimePartConfig/TimePart.php +++ b/Dlp/src/V2/TimePartConfig/TimePart.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/TransformationConfig.php b/Dlp/src/V2/TransformationConfig.php index ba44342662ed..c7238f4595ae 100644 --- a/Dlp/src/V2/TransformationConfig.php +++ b/Dlp/src/V2/TransformationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * User specified templates and configs for how to deidentify structured, diff --git a/Dlp/src/V2/TransformationDescription.php b/Dlp/src/V2/TransformationDescription.php index 1f75fa66768f..df91b2cf66ba 100644 --- a/Dlp/src/V2/TransformationDescription.php +++ b/Dlp/src/V2/TransformationDescription.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A flattened description of a `PrimitiveTransformation` or diff --git a/Dlp/src/V2/TransformationDetails.php b/Dlp/src/V2/TransformationDetails.php index 4dd1b7730d8a..fca4faf82d7b 100644 --- a/Dlp/src/V2/TransformationDetails.php +++ b/Dlp/src/V2/TransformationDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details about a single transformation. This object contains a description of @@ -75,7 +75,7 @@ class TransformationDetails extends \Google\Protobuf\Internal\Message * @type string $container_name * The top level name of the container where the transformation is located * (this will be the source file name or table name). - * @type array<\Google\Cloud\Dlp\V2\TransformationDescription>|\Google\Protobuf\Internal\RepeatedField $transformation + * @type \Google\Cloud\Dlp\V2\TransformationDescription[] $transformation * Description of transformation. This would only contain more than one * element if there were multiple matching transformations and which one to * apply was ambiguous. Not set for states that contain no transformation, @@ -160,7 +160,7 @@ public function setContainerName($var) * TransformationResultStateType.METADATA_UNRETRIEVABLE. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\TransformationDescription> */ public function getTransformation() { @@ -175,7 +175,7 @@ public function getTransformation() * TransformationResultStateType.METADATA_UNRETRIEVABLE. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; - * @param array<\Google\Cloud\Dlp\V2\TransformationDescription>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\TransformationDescription[] $var * @return $this */ public function setTransformation($var) diff --git a/Dlp/src/V2/TransformationDetailsStorageConfig.php b/Dlp/src/V2/TransformationDetailsStorageConfig.php index 24bf69f6a45b..a21742d00fe7 100644 --- a/Dlp/src/V2/TransformationDetailsStorageConfig.php +++ b/Dlp/src/V2/TransformationDetailsStorageConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config for storing transformation details. diff --git a/Dlp/src/V2/TransformationErrorHandling.php b/Dlp/src/V2/TransformationErrorHandling.php index 59e5328ad8ef..86a8d47b692b 100644 --- a/Dlp/src/V2/TransformationErrorHandling.php +++ b/Dlp/src/V2/TransformationErrorHandling.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * How to handle transformation errors during de-identification. A diff --git a/Dlp/src/V2/TransformationErrorHandling/LeaveUntransformed.php b/Dlp/src/V2/TransformationErrorHandling/LeaveUntransformed.php index 0066f41418d4..dad2acd72683 100644 --- a/Dlp/src/V2/TransformationErrorHandling/LeaveUntransformed.php +++ b/Dlp/src/V2/TransformationErrorHandling/LeaveUntransformed.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\TransformationErrorHandling; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Skips the data without modifying it if the requested transformation would @@ -34,4 +34,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/TransformationErrorHandling/ThrowError.php b/Dlp/src/V2/TransformationErrorHandling/ThrowError.php index b3d9c0530df2..f54bcafe0bab 100644 --- a/Dlp/src/V2/TransformationErrorHandling/ThrowError.php +++ b/Dlp/src/V2/TransformationErrorHandling/ThrowError.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\TransformationErrorHandling; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Throw an error and fail the request when a transformation error occurs. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/Dlp/src/V2/TransformationLocation.php b/Dlp/src/V2/TransformationLocation.php index 458b4a9e22ad..39c8168f3431 100644 --- a/Dlp/src/V2/TransformationLocation.php +++ b/Dlp/src/V2/TransformationLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies the location of a transformation. diff --git a/Dlp/src/V2/TransformationOverview.php b/Dlp/src/V2/TransformationOverview.php index 74a2de1d0589..d5d296fb51fe 100644 --- a/Dlp/src/V2/TransformationOverview.php +++ b/Dlp/src/V2/TransformationOverview.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Overview of the modifications that occurred. @@ -36,7 +36,7 @@ class TransformationOverview extends \Google\Protobuf\Internal\Message * * @type int|string $transformed_bytes * Total size in bytes that were transformed in some way. - * @type array<\Google\Cloud\Dlp\V2\TransformationSummary>|\Google\Protobuf\Internal\RepeatedField $transformation_summaries + * @type \Google\Cloud\Dlp\V2\TransformationSummary[] $transformation_summaries * Transformations applied to the dataset. * } */ @@ -75,7 +75,7 @@ public function setTransformedBytes($var) * Transformations applied to the dataset. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\TransformationSummary> */ public function getTransformationSummaries() { @@ -86,7 +86,7 @@ public function getTransformationSummaries() * Transformations applied to the dataset. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TransformationSummary transformation_summaries = 3; - * @param array<\Google\Cloud\Dlp\V2\TransformationSummary>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\TransformationSummary[] $var * @return $this */ public function setTransformationSummaries($var) diff --git a/Dlp/src/V2/TransformationResultStatus.php b/Dlp/src/V2/TransformationResultStatus.php index 28eb9e5aa675..3f11d37edf5f 100644 --- a/Dlp/src/V2/TransformationResultStatus.php +++ b/Dlp/src/V2/TransformationResultStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The outcome of a transformation. diff --git a/Dlp/src/V2/TransformationSummary.php b/Dlp/src/V2/TransformationSummary.php index 04cfa3e5e049..d936981eb41d 100644 --- a/Dlp/src/V2/TransformationSummary.php +++ b/Dlp/src/V2/TransformationSummary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Summary of a single transformation. @@ -74,13 +74,13 @@ class TransformationSummary extends \Google\Protobuf\Internal\Message * Set if the transformation was limited to a specific FieldId. * @type \Google\Cloud\Dlp\V2\PrimitiveTransformation $transformation * The specific transformation these stats apply to. - * @type array<\Google\Cloud\Dlp\V2\FieldTransformation>|\Google\Protobuf\Internal\RepeatedField $field_transformations + * @type \Google\Cloud\Dlp\V2\FieldTransformation[] $field_transformations * The field transformation that was applied. * If multiple field transformations are requested for a single field, * this list will contain all of them; otherwise, only one is supplied. * @type \Google\Cloud\Dlp\V2\RecordSuppression $record_suppress * The specific suppression option these stats apply to. - * @type array<\Google\Cloud\Dlp\V2\TransformationSummary\SummaryResult>|\Google\Protobuf\Internal\RepeatedField $results + * @type \Google\Cloud\Dlp\V2\TransformationSummary\SummaryResult[] $results * Collection of all transformations that took place or had an error. * @type int|string $transformed_bytes * Total size in bytes that were transformed in some way. @@ -205,7 +205,7 @@ public function setTransformation($var) * this list will contain all of them; otherwise, only one is supplied. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\FieldTransformation> */ public function getFieldTransformations() { @@ -218,7 +218,7 @@ public function getFieldTransformations() * this list will contain all of them; otherwise, only one is supplied. * * Generated from protobuf field repeated .google.privacy.dlp.v2.FieldTransformation field_transformations = 5; - * @param array<\Google\Cloud\Dlp\V2\FieldTransformation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\FieldTransformation[] $var * @return $this */ public function setFieldTransformations($var) @@ -269,7 +269,7 @@ public function setRecordSuppress($var) * Collection of all transformations that took place or had an error. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\TransformationSummary\SummaryResult> */ public function getResults() { @@ -280,7 +280,7 @@ public function getResults() * Collection of all transformations that took place or had an error. * * Generated from protobuf field repeated .google.privacy.dlp.v2.TransformationSummary.SummaryResult results = 4; - * @param array<\Google\Cloud\Dlp\V2\TransformationSummary\SummaryResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\TransformationSummary\SummaryResult[] $var * @return $this */ public function setResults($var) diff --git a/Dlp/src/V2/TransformationSummary/SummaryResult.php b/Dlp/src/V2/TransformationSummary/SummaryResult.php index 102773c33127..05ac48f17192 100644 --- a/Dlp/src/V2/TransformationSummary/SummaryResult.php +++ b/Dlp/src/V2/TransformationSummary/SummaryResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2\TransformationSummary; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection that informs the user the number of times a particular @@ -138,4 +138,3 @@ public function setDetails($var) } - diff --git a/Dlp/src/V2/TransformationSummary/TransformationResultCode.php b/Dlp/src/V2/TransformationSummary/TransformationResultCode.php index 05afa9dd6018..854a4ad49a38 100644 --- a/Dlp/src/V2/TransformationSummary/TransformationResultCode.php +++ b/Dlp/src/V2/TransformationSummary/TransformationResultCode.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dlp/src/V2/TransientCryptoKey.php b/Dlp/src/V2/TransientCryptoKey.php index d489aa9fe140..6a508d57129c 100644 --- a/Dlp/src/V2/TransientCryptoKey.php +++ b/Dlp/src/V2/TransientCryptoKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Use this to have a random data crypto key generated. diff --git a/Dlp/src/V2/UnwrappedCryptoKey.php b/Dlp/src/V2/UnwrappedCryptoKey.php index 5fc83b85b802..29f528b8ab3b 100644 --- a/Dlp/src/V2/UnwrappedCryptoKey.php +++ b/Dlp/src/V2/UnwrappedCryptoKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Using raw keys is prone to security risks due to accidentally diff --git a/Dlp/src/V2/UpdateConnectionRequest.php b/Dlp/src/V2/UpdateConnectionRequest.php index 71462dea509e..47e5822d9ed0 100644 --- a/Dlp/src/V2/UpdateConnectionRequest.php +++ b/Dlp/src/V2/UpdateConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateConnection. diff --git a/Dlp/src/V2/UpdateDeidentifyTemplateRequest.php b/Dlp/src/V2/UpdateDeidentifyTemplateRequest.php index 5a3369b76e63..3214f002f473 100644 --- a/Dlp/src/V2/UpdateDeidentifyTemplateRequest.php +++ b/Dlp/src/V2/UpdateDeidentifyTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateDeidentifyTemplate. diff --git a/Dlp/src/V2/UpdateDiscoveryConfigRequest.php b/Dlp/src/V2/UpdateDiscoveryConfigRequest.php index 90b9eda83aa7..b76f2c16ca48 100644 --- a/Dlp/src/V2/UpdateDiscoveryConfigRequest.php +++ b/Dlp/src/V2/UpdateDiscoveryConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateDiscoveryConfig. diff --git a/Dlp/src/V2/UpdateInspectTemplateRequest.php b/Dlp/src/V2/UpdateInspectTemplateRequest.php index 9333298d1856..ff8577e4ca2a 100644 --- a/Dlp/src/V2/UpdateInspectTemplateRequest.php +++ b/Dlp/src/V2/UpdateInspectTemplateRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateInspectTemplate. diff --git a/Dlp/src/V2/UpdateJobTriggerRequest.php b/Dlp/src/V2/UpdateJobTriggerRequest.php index faa41ba7a46a..575f4bb02f70 100644 --- a/Dlp/src/V2/UpdateJobTriggerRequest.php +++ b/Dlp/src/V2/UpdateJobTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateJobTrigger. diff --git a/Dlp/src/V2/UpdateStoredInfoTypeRequest.php b/Dlp/src/V2/UpdateStoredInfoTypeRequest.php index 65cf0b18fe2b..8ff747aade1a 100644 --- a/Dlp/src/V2/UpdateStoredInfoTypeRequest.php +++ b/Dlp/src/V2/UpdateStoredInfoTypeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateStoredInfoType. diff --git a/Dlp/src/V2/Value.php b/Dlp/src/V2/Value.php index d32ec7e852e8..1218c67d098c 100644 --- a/Dlp/src/V2/Value.php +++ b/Dlp/src/V2/Value.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Set of primitive values supported by the system. diff --git a/Dlp/src/V2/ValueFrequency.php b/Dlp/src/V2/ValueFrequency.php index 577cbb1ecedf..4afe4711c700 100644 --- a/Dlp/src/V2/ValueFrequency.php +++ b/Dlp/src/V2/ValueFrequency.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A value of a field, including its frequency. diff --git a/Dlp/src/V2/VersionDescription.php b/Dlp/src/V2/VersionDescription.php index af4ade2c2724..5e6528eae58a 100644 --- a/Dlp/src/V2/VersionDescription.php +++ b/Dlp/src/V2/VersionDescription.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details about each available version for an infotype. diff --git a/Dlp/src/V2/VertexDatasetCollection.php b/Dlp/src/V2/VertexDatasetCollection.php index 9b2bb7884b21..ff5915cb14b1 100644 --- a/Dlp/src/V2/VertexDatasetCollection.php +++ b/Dlp/src/V2/VertexDatasetCollection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Match dataset resources using regex filters. diff --git a/Dlp/src/V2/VertexDatasetDiscoveryTarget.php b/Dlp/src/V2/VertexDatasetDiscoveryTarget.php index 80d87f4fe4c6..bf7a2ef37114 100644 --- a/Dlp/src/V2/VertexDatasetDiscoveryTarget.php +++ b/Dlp/src/V2/VertexDatasetDiscoveryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Target used to match against for discovery with Vertex AI datasets. diff --git a/Dlp/src/V2/VertexDatasetRegex.php b/Dlp/src/V2/VertexDatasetRegex.php index d2babe9898ce..1d12b2278af2 100644 --- a/Dlp/src/V2/VertexDatasetRegex.php +++ b/Dlp/src/V2/VertexDatasetRegex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A pattern to match against one or more dataset resources. diff --git a/Dlp/src/V2/VertexDatasetRegexes.php b/Dlp/src/V2/VertexDatasetRegexes.php index de1510a5d49a..9e7f476e858b 100644 --- a/Dlp/src/V2/VertexDatasetRegexes.php +++ b/Dlp/src/V2/VertexDatasetRegexes.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of regular expressions to determine what datasets to match @@ -31,7 +31,7 @@ class VertexDatasetRegexes extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Dlp\V2\VertexDatasetRegex>|\Google\Protobuf\Internal\RepeatedField $patterns + * @type \Google\Cloud\Dlp\V2\VertexDatasetRegex[] $patterns * Required. The group of regular expression patterns to match against one or * more datasets. Maximum of 100 entries. The sum of the lengths of all * regular expressions can't exceed 10 KiB. @@ -48,7 +48,7 @@ public function __construct($data = NULL) { * regular expressions can't exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.VertexDatasetRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Dlp\V2\VertexDatasetRegex> */ public function getPatterns() { @@ -61,7 +61,7 @@ public function getPatterns() * regular expressions can't exceed 10 KiB. * * Generated from protobuf field repeated .google.privacy.dlp.v2.VertexDatasetRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Dlp\V2\VertexDatasetRegex>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Dlp\V2\VertexDatasetRegex[] $var * @return $this */ public function setPatterns($var) diff --git a/Dlp/src/V2/VertexDatasetResourceReference.php b/Dlp/src/V2/VertexDatasetResourceReference.php index 5f0b09f4563a..6d831f52ab71 100644 --- a/Dlp/src/V2/VertexDatasetResourceReference.php +++ b/Dlp/src/V2/VertexDatasetResourceReference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identifies a single Vertex AI resource. Only datasets are diff --git a/Dms/metadata/V1/Clouddms.php b/Dms/metadata/V1/Clouddms.php index 4d002644fd54..03fc4264be01 100644 Binary files a/Dms/metadata/V1/Clouddms.php and b/Dms/metadata/V1/Clouddms.php differ diff --git a/Dms/metadata/V1/ClouddmsResources.php b/Dms/metadata/V1/ClouddmsResources.php index 616812ad148d..e9b34ab4ebab 100644 Binary files a/Dms/metadata/V1/ClouddmsResources.php and b/Dms/metadata/V1/ClouddmsResources.php differ diff --git a/Dms/metadata/V1/ConversionworkspaceResources.php b/Dms/metadata/V1/ConversionworkspaceResources.php index e7f2969c1ffc..643859348740 100644 Binary files a/Dms/metadata/V1/ConversionworkspaceResources.php and b/Dms/metadata/V1/ConversionworkspaceResources.php differ diff --git a/Dms/src/V1/AlloyDbConnectionProfile.php b/Dms/src/V1/AlloyDbConnectionProfile.php index 99f46bc7a6a7..f925131a5d61 100644 --- a/Dms/src/V1/AlloyDbConnectionProfile.php +++ b/Dms/src/V1/AlloyDbConnectionProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies required connection parameters, and the parameters diff --git a/Dms/src/V1/AlloyDbSettings.php b/Dms/src/V1/AlloyDbSettings.php index 3b45778053b8..56a229c242a4 100644 --- a/Dms/src/V1/AlloyDbSettings.php +++ b/Dms/src/V1/AlloyDbSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for creating an AlloyDB cluster. diff --git a/Dms/src/V1/AlloyDbSettings/EncryptionConfig.php b/Dms/src/V1/AlloyDbSettings/EncryptionConfig.php index d4e1a79708f6..57af4c7b5cba 100644 --- a/Dms/src/V1/AlloyDbSettings/EncryptionConfig.php +++ b/Dms/src/V1/AlloyDbSettings/EncryptionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\AlloyDbSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * EncryptionConfig describes the encryption config of a cluster that is @@ -74,4 +74,3 @@ public function setKmsKeyName($var) } - diff --git a/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings.php b/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings.php index cded65b81e2f..02aa27133b8a 100644 --- a/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings.php +++ b/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\AlloyDbSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for the cluster's primary instance @@ -235,4 +235,3 @@ public function setPrivateIp($var) } - diff --git a/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings/MachineConfig.php b/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings/MachineConfig.php index aa96e0df43da..0d005851e5e7 100644 --- a/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings/MachineConfig.php +++ b/Dms/src/V1/AlloyDbSettings/PrimaryInstanceSettings/MachineConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\AlloyDbSettings\PrimaryInstanceSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * MachineConfig describes the configuration of a machine. @@ -65,4 +65,3 @@ public function setCpuCount($var) } - diff --git a/Dms/src/V1/AlloyDbSettings/UserPassword.php b/Dms/src/V1/AlloyDbSettings/UserPassword.php index 55d7687aac62..010067ed10b1 100644 --- a/Dms/src/V1/AlloyDbSettings/UserPassword.php +++ b/Dms/src/V1/AlloyDbSettings/UserPassword.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\AlloyDbSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The username/password for a database user. Used for specifying initial @@ -134,4 +134,3 @@ public function setPasswordSet($var) } - diff --git a/Dms/src/V1/ApplyConversionWorkspaceRequest.php b/Dms/src/V1/ApplyConversionWorkspaceRequest.php index 5a30540d4999..68e6a54878f8 100644 --- a/Dms/src/V1/ApplyConversionWorkspaceRequest.php +++ b/Dms/src/V1/ApplyConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'ApplyConversionWorkspace' request. diff --git a/Dms/src/V1/ApplyHash.php b/Dms/src/V1/ApplyHash.php index 656f14d5ae0f..d1497817ff1f 100644 --- a/Dms/src/V1/ApplyHash.php +++ b/Dms/src/V1/ApplyHash.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Apply a hash function on the value. diff --git a/Dms/src/V1/AssignSpecificValue.php b/Dms/src/V1/AssignSpecificValue.php index 7d8419dd8cc6..480be5ff2271 100644 --- a/Dms/src/V1/AssignSpecificValue.php +++ b/Dms/src/V1/AssignSpecificValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Set to a specific value (value is converted to fit the target data type) diff --git a/Dms/src/V1/BackgroundJobLogEntry.php b/Dms/src/V1/BackgroundJobLogEntry.php index 01d05ded0328..15cf1130665d 100644 --- a/Dms/src/V1/BackgroundJobLogEntry.php +++ b/Dms/src/V1/BackgroundJobLogEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Execution log of a background job. diff --git a/Dms/src/V1/BackgroundJobLogEntry/ApplyJobDetails.php b/Dms/src/V1/BackgroundJobLogEntry/ApplyJobDetails.php index 5da1879db98e..a7ca46eab3c1 100644 --- a/Dms/src/V1/BackgroundJobLogEntry/ApplyJobDetails.php +++ b/Dms/src/V1/BackgroundJobLogEntry/ApplyJobDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\BackgroundJobLogEntry; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details regarding an Apply background job. @@ -99,4 +99,3 @@ public function setFilter($var) } - diff --git a/Dms/src/V1/BackgroundJobLogEntry/ConvertJobDetails.php b/Dms/src/V1/BackgroundJobLogEntry/ConvertJobDetails.php index b49a67f72493..36dfa4ba073c 100644 --- a/Dms/src/V1/BackgroundJobLogEntry/ConvertJobDetails.php +++ b/Dms/src/V1/BackgroundJobLogEntry/ConvertJobDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\BackgroundJobLogEntry; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details regarding a Convert background job. @@ -65,4 +65,3 @@ public function setFilter($var) } - diff --git a/Dms/src/V1/BackgroundJobLogEntry/ImportRulesJobDetails.php b/Dms/src/V1/BackgroundJobLogEntry/ImportRulesJobDetails.php index d70f043486f2..db463f21d947 100644 --- a/Dms/src/V1/BackgroundJobLogEntry/ImportRulesJobDetails.php +++ b/Dms/src/V1/BackgroundJobLogEntry/ImportRulesJobDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\BackgroundJobLogEntry; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details regarding an Import Rules background job. @@ -34,7 +34,7 @@ class ImportRulesJobDetails extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $files + * @type string[] $files * Output only. File names used for the import rules job. * @type int $file_format * Output only. The requested file format. @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * Output only. File names used for the import rules job. * * Generated from protobuf field repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFiles() { @@ -60,7 +60,7 @@ public function getFiles() * Output only. File names used for the import rules job. * * Generated from protobuf field repeated string files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFiles($var) @@ -99,4 +99,3 @@ public function setFileFormat($var) } - diff --git a/Dms/src/V1/BackgroundJobLogEntry/JobCompletionState.php b/Dms/src/V1/BackgroundJobLogEntry/JobCompletionState.php index e9a55ba4ac1c..6e57b02253ed 100644 --- a/Dms/src/V1/BackgroundJobLogEntry/JobCompletionState.php +++ b/Dms/src/V1/BackgroundJobLogEntry/JobCompletionState.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/BackgroundJobLogEntry/SeedJobDetails.php b/Dms/src/V1/BackgroundJobLogEntry/SeedJobDetails.php index a8a9afb5a31c..29ac2a2a9f87 100644 --- a/Dms/src/V1/BackgroundJobLogEntry/SeedJobDetails.php +++ b/Dms/src/V1/BackgroundJobLogEntry/SeedJobDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\BackgroundJobLogEntry; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details regarding a Seed background job. @@ -65,4 +65,3 @@ public function setConnectionProfile($var) } - diff --git a/Dms/src/V1/CloudSqlConnectionProfile.php b/Dms/src/V1/CloudSqlConnectionProfile.php index e44deeb2e895..c4a50f76c5ec 100644 --- a/Dms/src/V1/CloudSqlConnectionProfile.php +++ b/Dms/src/V1/CloudSqlConnectionProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies required connection parameters, and, optionally, the parameters diff --git a/Dms/src/V1/CloudSqlSettings.php b/Dms/src/V1/CloudSqlSettings.php index 373267b469a0..b5269ab27362 100644 --- a/Dms/src/V1/CloudSqlSettings.php +++ b/Dms/src/V1/CloudSqlSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Settings for creating a Cloud SQL database instance. diff --git a/Dms/src/V1/CloudSqlSettings/Edition.php b/Dms/src/V1/CloudSqlSettings/Edition.php index 49adceda3fd5..7bfe47eb8b21 100644 --- a/Dms/src/V1/CloudSqlSettings/Edition.php +++ b/Dms/src/V1/CloudSqlSettings/Edition.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/CloudSqlSettings/SqlActivationPolicy.php b/Dms/src/V1/CloudSqlSettings/SqlActivationPolicy.php index b77af108eced..d77a1b78fdbd 100644 --- a/Dms/src/V1/CloudSqlSettings/SqlActivationPolicy.php +++ b/Dms/src/V1/CloudSqlSettings/SqlActivationPolicy.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/CloudSqlSettings/SqlAvailabilityType.php b/Dms/src/V1/CloudSqlSettings/SqlAvailabilityType.php index c9c773021400..708a816fb180 100644 --- a/Dms/src/V1/CloudSqlSettings/SqlAvailabilityType.php +++ b/Dms/src/V1/CloudSqlSettings/SqlAvailabilityType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/CloudSqlSettings/SqlDataDiskType.php b/Dms/src/V1/CloudSqlSettings/SqlDataDiskType.php index e26b822d0e86..765f3c92b402 100644 --- a/Dms/src/V1/CloudSqlSettings/SqlDataDiskType.php +++ b/Dms/src/V1/CloudSqlSettings/SqlDataDiskType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/CloudSqlSettings/SqlDatabaseVersion.php b/Dms/src/V1/CloudSqlSettings/SqlDatabaseVersion.php index 917be6a4b2a5..897339553ff3 100644 --- a/Dms/src/V1/CloudSqlSettings/SqlDatabaseVersion.php +++ b/Dms/src/V1/CloudSqlSettings/SqlDatabaseVersion.php @@ -115,4 +115,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/ColumnEntity.php b/Dms/src/V1/ColumnEntity.php index 2a56ea90f0ee..42753c6df97c 100644 --- a/Dms/src/V1/ColumnEntity.php +++ b/Dms/src/V1/ColumnEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Column is not used as an independent entity, it is retrieved as part of a @@ -160,7 +160,7 @@ class ColumnEntity extends \Google\Protobuf\Internal\Message * Is the column a UDT. * @type \Google\Protobuf\Struct $custom_features * Custom engine specific features. - * @type array|\Google\Protobuf\Internal\RepeatedField $set_values + * @type string[] $set_values * Specifies the list of values allowed in the column. * Only used for set data type. * @type string $comment @@ -555,7 +555,7 @@ public function setCustomFeatures($var) * Only used for set data type. * * Generated from protobuf field repeated string set_values = 15; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSetValues() { @@ -567,7 +567,7 @@ public function getSetValues() * Only used for set data type. * * Generated from protobuf field repeated string set_values = 15; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSetValues($var) diff --git a/Dms/src/V1/CommitConversionWorkspaceRequest.php b/Dms/src/V1/CommitConversionWorkspaceRequest.php index 5facbdca1246..2ded8b355cd6 100644 --- a/Dms/src/V1/CommitConversionWorkspaceRequest.php +++ b/Dms/src/V1/CommitConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'CommitConversionWorkspace' request. diff --git a/Dms/src/V1/ConditionalColumnSetValue.php b/Dms/src/V1/ConditionalColumnSetValue.php index 63139802cf40..966d18b912e5 100644 --- a/Dms/src/V1/ConditionalColumnSetValue.php +++ b/Dms/src/V1/ConditionalColumnSetValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type ConditionalColumnSetValue. diff --git a/Dms/src/V1/ConnectionProfile.php b/Dms/src/V1/ConnectionProfile.php index f834caa8f4c5..42255f63754c 100644 --- a/Dms/src/V1/ConnectionProfile.php +++ b/Dms/src/V1/ConnectionProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A connection profile definition. diff --git a/Dms/src/V1/ConnectionProfile/State.php b/Dms/src/V1/ConnectionProfile/State.php index 398e13b31ae4..6cf5eb63f469 100644 --- a/Dms/src/V1/ConnectionProfile/State.php +++ b/Dms/src/V1/ConnectionProfile/State.php @@ -94,4 +94,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/ConstraintEntity.php b/Dms/src/V1/ConstraintEntity.php index a4ed414f62f2..48ab6f636952 100644 --- a/Dms/src/V1/ConstraintEntity.php +++ b/Dms/src/V1/ConstraintEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Constraint is not used as an independent entity, it is retrieved @@ -79,12 +79,12 @@ class ConstraintEntity extends \Google\Protobuf\Internal\Message * @type string $type * Type of constraint, for example unique, primary key, foreign key (currently * only primary key is supported). - * @type array|\Google\Protobuf\Internal\RepeatedField $table_columns + * @type string[] $table_columns * Table columns used as part of the Constraint, for example primary key * constraint should list the columns which constitutes the key. * @type \Google\Protobuf\Struct $custom_features * Custom engine specific features. - * @type array|\Google\Protobuf\Internal\RepeatedField $reference_columns + * @type string[] $reference_columns * Reference columns which may be associated with the constraint. For example, * if the constraint is a FOREIGN_KEY, this represents the list of full names * of referenced columns by the foreign key. @@ -163,7 +163,7 @@ public function setType($var) * constraint should list the columns which constitutes the key. * * Generated from protobuf field repeated string table_columns = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTableColumns() { @@ -175,7 +175,7 @@ public function getTableColumns() * constraint should list the columns which constitutes the key. * * Generated from protobuf field repeated string table_columns = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTableColumns($var) @@ -228,7 +228,7 @@ public function setCustomFeatures($var) * of referenced columns by the foreign key. * * Generated from protobuf field repeated string reference_columns = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReferenceColumns() { @@ -241,7 +241,7 @@ public function getReferenceColumns() * of referenced columns by the foreign key. * * Generated from protobuf field repeated string reference_columns = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReferenceColumns($var) diff --git a/Dms/src/V1/ConversionWorkspace.php b/Dms/src/V1/ConversionWorkspace.php index 3d1564edf41c..58f2d8a90069 100644 --- a/Dms/src/V1/ConversionWorkspace.php +++ b/Dms/src/V1/ConversionWorkspace.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The main conversion workspace resource entity. diff --git a/Dms/src/V1/ConversionWorkspaceInfo.php b/Dms/src/V1/ConversionWorkspaceInfo.php index bd8ce661a178..1928a1cc1ea0 100644 --- a/Dms/src/V1/ConversionWorkspaceInfo.php +++ b/Dms/src/V1/ConversionWorkspaceInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A conversion workspace's version. diff --git a/Dms/src/V1/ConvertConversionWorkspaceRequest.php b/Dms/src/V1/ConvertConversionWorkspaceRequest.php index 2626d58d565d..de89806466b2 100644 --- a/Dms/src/V1/ConvertConversionWorkspaceRequest.php +++ b/Dms/src/V1/ConvertConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'ConvertConversionWorkspace' request. diff --git a/Dms/src/V1/ConvertRowIdToColumn.php b/Dms/src/V1/ConvertRowIdToColumn.php index 20653db324e9..b1acfb822e21 100644 --- a/Dms/src/V1/ConvertRowIdToColumn.php +++ b/Dms/src/V1/ConvertRowIdToColumn.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type ConvertROWIDToColumn. diff --git a/Dms/src/V1/CreateConnectionProfileRequest.php b/Dms/src/V1/CreateConnectionProfileRequest.php index a30091a5f1fc..27ac99f7ca32 100644 --- a/Dms/src/V1/CreateConnectionProfileRequest.php +++ b/Dms/src/V1/CreateConnectionProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'CreateConnectionProfile' request. diff --git a/Dms/src/V1/CreateConversionWorkspaceRequest.php b/Dms/src/V1/CreateConversionWorkspaceRequest.php index cc63bb4eadc2..a8a2dfd8b9d8 100644 --- a/Dms/src/V1/CreateConversionWorkspaceRequest.php +++ b/Dms/src/V1/CreateConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to create a new Conversion Workspace diff --git a/Dms/src/V1/CreateMappingRuleRequest.php b/Dms/src/V1/CreateMappingRuleRequest.php index 4b1f3f6d1021..7c5ce98503c2 100644 --- a/Dms/src/V1/CreateMappingRuleRequest.php +++ b/Dms/src/V1/CreateMappingRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'CreateMappingRule' command. diff --git a/Dms/src/V1/CreateMigrationJobRequest.php b/Dms/src/V1/CreateMigrationJobRequest.php index d3cb5ac3c98b..ffd921247fba 100644 --- a/Dms/src/V1/CreateMigrationJobRequest.php +++ b/Dms/src/V1/CreateMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to create a new Database Migration Service migration job diff --git a/Dms/src/V1/CreatePrivateConnectionRequest.php b/Dms/src/V1/CreatePrivateConnectionRequest.php index a0675ee6edf7..c2bdf7419a6f 100644 --- a/Dms/src/V1/CreatePrivateConnectionRequest.php +++ b/Dms/src/V1/CreatePrivateConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to create a new private connection in the specified project diff --git a/Dms/src/V1/DatabaseEngineInfo.php b/Dms/src/V1/DatabaseEngineInfo.php index 916da1edd6e6..df6d0dd10e37 100644 --- a/Dms/src/V1/DatabaseEngineInfo.php +++ b/Dms/src/V1/DatabaseEngineInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The type and version of a source or destination database. diff --git a/Dms/src/V1/DatabaseEntity.php b/Dms/src/V1/DatabaseEntity.php index daeaf8281155..60346b2779c5 100644 --- a/Dms/src/V1/DatabaseEntity.php +++ b/Dms/src/V1/DatabaseEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The base entity type for all the database related entities. @@ -82,18 +82,18 @@ class DatabaseEntity extends \Google\Protobuf\Internal\Message * The type of tree the entity belongs to. * @type int $entity_type * The type of the database entity (table, view, index, ...). - * @type array<\Google\Cloud\CloudDms\V1\EntityMapping>|\Google\Protobuf\Internal\RepeatedField $mappings + * @type \Google\Cloud\CloudDms\V1\EntityMapping[] $mappings * Details about entity mappings. * For source tree entities, this holds the draft entities which were * generated by the mapping rules. * For draft tree entities, this holds the source entities which were * converted to form the draft entity. * Destination entities will have no mapping details. - * @type array<\Google\Cloud\CloudDms\V1\EntityDdl>|\Google\Protobuf\Internal\RepeatedField $entity_ddl + * @type \Google\Cloud\CloudDms\V1\EntityDdl[] $entity_ddl * Details about the entity DDL script. Multiple DDL scripts are provided for * child entities such as a table entity will have one DDL for the table with * additional DDLs for each index, constraint and such. - * @type array<\Google\Cloud\CloudDms\V1\EntityIssue>|\Google\Protobuf\Internal\RepeatedField $issues + * @type \Google\Cloud\CloudDms\V1\EntityIssue[] $issues * Details about the various issues found for the entity. * @type \Google\Cloud\CloudDms\V1\DatabaseInstanceEntity $database * Database. @@ -237,7 +237,7 @@ public function setEntityType($var) * Destination entities will have no mapping details. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\EntityMapping> */ public function getMappings() { @@ -253,7 +253,7 @@ public function getMappings() * Destination entities will have no mapping details. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5; - * @param array<\Google\Cloud\CloudDms\V1\EntityMapping>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\EntityMapping[] $var * @return $this */ public function setMappings($var) @@ -270,7 +270,7 @@ public function setMappings($var) * additional DDLs for each index, constraint and such. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\EntityDdl> */ public function getEntityDdl() { @@ -283,7 +283,7 @@ public function getEntityDdl() * additional DDLs for each index, constraint and such. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6; - * @param array<\Google\Cloud\CloudDms\V1\EntityDdl>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\EntityDdl[] $var * @return $this */ public function setEntityDdl($var) @@ -298,7 +298,7 @@ public function setEntityDdl($var) * Details about the various issues found for the entity. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityIssue issues = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\EntityIssue> */ public function getIssues() { @@ -309,7 +309,7 @@ public function getIssues() * Details about the various issues found for the entity. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityIssue issues = 7; - * @param array<\Google\Cloud\CloudDms\V1\EntityIssue>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\EntityIssue[] $var * @return $this */ public function setIssues($var) diff --git a/Dms/src/V1/DatabaseEntity/TreeType.php b/Dms/src/V1/DatabaseEntity/TreeType.php index e4dee89ccf3f..9dda3e81e62d 100644 --- a/Dms/src/V1/DatabaseEntity/TreeType.php +++ b/Dms/src/V1/DatabaseEntity/TreeType.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/DatabaseInstanceEntity.php b/Dms/src/V1/DatabaseInstanceEntity.php index d1b8dc7263c0..abd9c5bc0b78 100644 --- a/Dms/src/V1/DatabaseInstanceEntity.php +++ b/Dms/src/V1/DatabaseInstanceEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DatabaseInstance acts as a parent entity to other database entities. diff --git a/Dms/src/V1/DatabaseType.php b/Dms/src/V1/DatabaseType.php index 3680d49c6141..058c904b8cd9 100644 --- a/Dms/src/V1/DatabaseType.php +++ b/Dms/src/V1/DatabaseType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message defining the database engine and provider. diff --git a/Dms/src/V1/DeleteConnectionProfileRequest.php b/Dms/src/V1/DeleteConnectionProfileRequest.php index 5508513ffa3a..dd8d20ee8428 100644 --- a/Dms/src/V1/DeleteConnectionProfileRequest.php +++ b/Dms/src/V1/DeleteConnectionProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'DeleteConnectionProfile' request. diff --git a/Dms/src/V1/DeleteConversionWorkspaceRequest.php b/Dms/src/V1/DeleteConversionWorkspaceRequest.php index 8a5b009b9d61..bbda5bc524c6 100644 --- a/Dms/src/V1/DeleteConversionWorkspaceRequest.php +++ b/Dms/src/V1/DeleteConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'DeleteConversionWorkspace' request. diff --git a/Dms/src/V1/DeleteMappingRuleRequest.php b/Dms/src/V1/DeleteMappingRuleRequest.php index 8ffc37ca6d27..5d0f5adee733 100644 --- a/Dms/src/V1/DeleteMappingRuleRequest.php +++ b/Dms/src/V1/DeleteMappingRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'DeleteMappingRule' request. diff --git a/Dms/src/V1/DeleteMigrationJobRequest.php b/Dms/src/V1/DeleteMigrationJobRequest.php index e62675ed847b..505a57bf9d2d 100644 --- a/Dms/src/V1/DeleteMigrationJobRequest.php +++ b/Dms/src/V1/DeleteMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'DeleteMigrationJob' request. diff --git a/Dms/src/V1/DeletePrivateConnectionRequest.php b/Dms/src/V1/DeletePrivateConnectionRequest.php index 34bfd97c2db1..4d159528f75b 100644 --- a/Dms/src/V1/DeletePrivateConnectionRequest.php +++ b/Dms/src/V1/DeletePrivateConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\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 private connection. diff --git a/Dms/src/V1/DescribeConversionWorkspaceRevisionsRequest.php b/Dms/src/V1/DescribeConversionWorkspaceRevisionsRequest.php index 9ecfae7b6d9d..eea766e7cdfe 100644 --- a/Dms/src/V1/DescribeConversionWorkspaceRevisionsRequest.php +++ b/Dms/src/V1/DescribeConversionWorkspaceRevisionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'DescribeConversionWorkspaceRevisions' request. diff --git a/Dms/src/V1/DescribeConversionWorkspaceRevisionsResponse.php b/Dms/src/V1/DescribeConversionWorkspaceRevisionsResponse.php index 0f8d8e90a129..d6660b012ada 100644 --- a/Dms/src/V1/DescribeConversionWorkspaceRevisionsResponse.php +++ b/Dms/src/V1/DescribeConversionWorkspaceRevisionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'DescribeConversionWorkspaceRevisions' request. @@ -28,7 +28,7 @@ class DescribeConversionWorkspaceRevisionsResponse extends \Google\Protobuf\Inte * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\ConversionWorkspace>|\Google\Protobuf\Internal\RepeatedField $revisions + * @type \Google\Cloud\CloudDms\V1\ConversionWorkspace[] $revisions * The list of conversion workspace revisions. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The list of conversion workspace revisions. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConversionWorkspace revisions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\ConversionWorkspace> */ public function getRevisions() { @@ -52,7 +52,7 @@ public function getRevisions() * The list of conversion workspace revisions. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConversionWorkspace revisions = 1; - * @param array<\Google\Cloud\CloudDms\V1\ConversionWorkspace>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\ConversionWorkspace[] $var * @return $this */ public function setRevisions($var) diff --git a/Dms/src/V1/DescribeDatabaseEntitiesRequest.php b/Dms/src/V1/DescribeDatabaseEntitiesRequest.php index d70dc0c804c3..3fffc4d2f621 100644 --- a/Dms/src/V1/DescribeDatabaseEntitiesRequest.php +++ b/Dms/src/V1/DescribeDatabaseEntitiesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'DescribeDatabaseEntities' request. diff --git a/Dms/src/V1/DescribeDatabaseEntitiesRequest/DBTreeType.php b/Dms/src/V1/DescribeDatabaseEntitiesRequest/DBTreeType.php index 7df36750ea69..cc8a0f04ed6e 100644 --- a/Dms/src/V1/DescribeDatabaseEntitiesRequest/DBTreeType.php +++ b/Dms/src/V1/DescribeDatabaseEntitiesRequest/DBTreeType.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/DescribeDatabaseEntitiesResponse.php b/Dms/src/V1/DescribeDatabaseEntitiesResponse.php index 837134030a05..684b67738856 100644 --- a/Dms/src/V1/DescribeDatabaseEntitiesResponse.php +++ b/Dms/src/V1/DescribeDatabaseEntitiesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'DescribeDatabaseEntities' request. @@ -35,7 +35,7 @@ class DescribeDatabaseEntitiesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\DatabaseEntity>|\Google\Protobuf\Internal\RepeatedField $database_entities + * @type \Google\Cloud\CloudDms\V1\DatabaseEntity[] $database_entities * The list of database entities for the conversion workspace. * @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 database entities for the conversion workspace. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\DatabaseEntity> */ public function getDatabaseEntities() { @@ -62,7 +62,7 @@ public function getDatabaseEntities() * The list of database entities for the conversion workspace. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.DatabaseEntity database_entities = 1; - * @param array<\Google\Cloud\CloudDms\V1\DatabaseEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\DatabaseEntity[] $var * @return $this */ public function setDatabaseEntities($var) diff --git a/Dms/src/V1/DoubleComparisonFilter.php b/Dms/src/V1/DoubleComparisonFilter.php index 395982c2ce8f..d4caa834e9c3 100644 --- a/Dms/src/V1/DoubleComparisonFilter.php +++ b/Dms/src/V1/DoubleComparisonFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Filter based on relation between source diff --git a/Dms/src/V1/EntityDdl.php b/Dms/src/V1/EntityDdl.php index e6bf0006e5ab..fd689db5ad7e 100644 --- a/Dms/src/V1/EntityDdl.php +++ b/Dms/src/V1/EntityDdl.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single DDL statement for a specific entity @@ -60,7 +60,7 @@ class EntityDdl extends \Google\Protobuf\Internal\Message * The actual ddl code. * @type int $entity_type * The entity type (if the DDL is for a sub entity). - * @type array|\Google\Protobuf\Internal\RepeatedField $issue_id + * @type string[] $issue_id * EntityIssues found for this ddl. * } */ @@ -177,7 +177,7 @@ public function setEntityType($var) * EntityIssues found for this ddl. * * Generated from protobuf field repeated string issue_id = 100; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIssueId() { @@ -188,7 +188,7 @@ public function getIssueId() * EntityIssues found for this ddl. * * Generated from protobuf field repeated string issue_id = 100; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIssueId($var) diff --git a/Dms/src/V1/EntityIssue.php b/Dms/src/V1/EntityIssue.php index af570982c5f3..665fce736d06 100644 --- a/Dms/src/V1/EntityIssue.php +++ b/Dms/src/V1/EntityIssue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Issue related to the entity. diff --git a/Dms/src/V1/EntityIssue/IssueSeverity.php b/Dms/src/V1/EntityIssue/IssueSeverity.php index dc3db89d5935..7604777f67b4 100644 --- a/Dms/src/V1/EntityIssue/IssueSeverity.php +++ b/Dms/src/V1/EntityIssue/IssueSeverity.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/EntityIssue/IssueType.php b/Dms/src/V1/EntityIssue/IssueType.php index edc6e9f965e2..0684b72c9f9c 100644 --- a/Dms/src/V1/EntityIssue/IssueType.php +++ b/Dms/src/V1/EntityIssue/IssueType.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/EntityIssue/Position.php b/Dms/src/V1/EntityIssue/Position.php index c632834ced2d..c968e39a382f 100644 --- a/Dms/src/V1/EntityIssue/Position.php +++ b/Dms/src/V1/EntityIssue/Position.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\EntityIssue; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Issue position. @@ -167,4 +167,3 @@ public function setLength($var) } - diff --git a/Dms/src/V1/EntityMapping.php b/Dms/src/V1/EntityMapping.php index 93a107245cf6..05d2651385d8 100644 --- a/Dms/src/V1/EntityMapping.php +++ b/Dms/src/V1/EntityMapping.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details of the mappings of a database entity. @@ -72,7 +72,7 @@ class EntityMapping extends \Google\Protobuf\Internal\Message * Type of source entity. * @type int $draft_type * Type of draft entity. - * @type array<\Google\Cloud\CloudDms\V1\EntityMappingLogEntry>|\Google\Protobuf\Internal\RepeatedField $mapping_log + * @type \Google\Cloud\CloudDms\V1\EntityMappingLogEntry[] $mapping_log * Entity mapping log entries. * Multiple rules can be effective and contribute changes to a converted * entity, such as a rule can handle the entity name, another rule can handle @@ -205,7 +205,7 @@ public function setDraftType($var) * logged along with the reason preventing them to do so. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\EntityMappingLogEntry> */ public function getMappingLog() { @@ -220,7 +220,7 @@ public function getMappingLog() * logged along with the reason preventing them to do so. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.EntityMappingLogEntry mapping_log = 3; - * @param array<\Google\Cloud\CloudDms\V1\EntityMappingLogEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\EntityMappingLogEntry[] $var * @return $this */ public function setMappingLog($var) diff --git a/Dms/src/V1/EntityMappingLogEntry.php b/Dms/src/V1/EntityMappingLogEntry.php index a3d520b13a82..cb241434dd76 100644 --- a/Dms/src/V1/EntityMappingLogEntry.php +++ b/Dms/src/V1/EntityMappingLogEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single record of a rule which was used for a mapping. diff --git a/Dms/src/V1/EntityMove.php b/Dms/src/V1/EntityMove.php index 6541ec8aa272..fb67ee62bcb3 100644 --- a/Dms/src/V1/EntityMove.php +++ b/Dms/src/V1/EntityMove.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type EntityMove. diff --git a/Dms/src/V1/FetchStaticIpsRequest.php b/Dms/src/V1/FetchStaticIpsRequest.php index a2b818dfa649..5e2c50da4d71 100644 --- a/Dms/src/V1/FetchStaticIpsRequest.php +++ b/Dms/src/V1/FetchStaticIpsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'FetchStaticIps' request. @@ -17,7 +17,7 @@ class FetchStaticIpsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The resource name for the location for which static IPs should be - * returned. Must be in the format `projects/*/locations/*`. + * returned. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -58,7 +58,7 @@ public static function build(string $name): self * * @type string $name * Required. The resource name for the location for which static IPs should be - * returned. Must be in the format `projects/*/locations/*`. + * returned. Must be in the format `projects/{@*}locations/*`. * @type int $page_size * Maximum number of IPs to return. * @type string $page_token @@ -72,7 +72,7 @@ public function __construct($data = NULL) { /** * Required. The resource name for the location for which static IPs should be - * returned. Must be in the format `projects/*/locations/*`. + * returned. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -84,7 +84,7 @@ public function getName() /** * Required. The resource name for the location for which static IPs should be - * returned. Must be in the format `projects/*/locations/*`. + * returned. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Dms/src/V1/FetchStaticIpsResponse.php b/Dms/src/V1/FetchStaticIpsResponse.php index 42862263c849..ef2605b6e21a 100644 --- a/Dms/src/V1/FetchStaticIpsResponse.php +++ b/Dms/src/V1/FetchStaticIpsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for a 'FetchStaticIps' request. @@ -35,7 +35,7 @@ class FetchStaticIpsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $static_ips + * @type string[] $static_ips * List of static IPs. * @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) { * List of static IPs. * * Generated from protobuf field repeated string static_ips = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getStaticIps() { @@ -62,7 +62,7 @@ public function getStaticIps() * List of static IPs. * * Generated from protobuf field repeated string static_ips = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setStaticIps($var) diff --git a/Dms/src/V1/FilterTableColumns.php b/Dms/src/V1/FilterTableColumns.php index 4d1c2e8ea992..9000189b1922 100644 --- a/Dms/src/V1/FilterTableColumns.php +++ b/Dms/src/V1/FilterTableColumns.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type FilterTableColumns. @@ -39,9 +39,9 @@ class FilterTableColumns extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $include_columns + * @type string[] $include_columns * Optional. List of columns to be included for a particular table. - * @type array|\Google\Protobuf\Internal\RepeatedField $exclude_columns + * @type string[] $exclude_columns * Optional. List of columns to be excluded for a particular table. * } */ @@ -54,7 +54,7 @@ public function __construct($data = NULL) { * Optional. List of columns to be included for a particular table. * * Generated from protobuf field repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIncludeColumns() { @@ -65,7 +65,7 @@ public function getIncludeColumns() * Optional. List of columns to be included for a particular table. * * Generated from protobuf field repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIncludeColumns($var) @@ -80,7 +80,7 @@ public function setIncludeColumns($var) * Optional. List of columns to be excluded for a particular table. * * Generated from protobuf field repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getExcludeColumns() { @@ -91,7 +91,7 @@ public function getExcludeColumns() * Optional. List of columns to be excluded for a particular table. * * Generated from protobuf field repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setExcludeColumns($var) diff --git a/Dms/src/V1/ForwardSshTunnelConnectivity.php b/Dms/src/V1/ForwardSshTunnelConnectivity.php index d16597685de0..cfd633698855 100644 --- a/Dms/src/V1/ForwardSshTunnelConnectivity.php +++ b/Dms/src/V1/ForwardSshTunnelConnectivity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Forward SSH Tunnel connectivity. diff --git a/Dms/src/V1/FunctionEntity.php b/Dms/src/V1/FunctionEntity.php index 5021029ef395..feba3818d336 100644 --- a/Dms/src/V1/FunctionEntity.php +++ b/Dms/src/V1/FunctionEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Function's parent is a schema. diff --git a/Dms/src/V1/GenerateSshScriptRequest.php b/Dms/src/V1/GenerateSshScriptRequest.php index aa98f9ad72e9..16d5b2bf3951 100644 --- a/Dms/src/V1/GenerateSshScriptRequest.php +++ b/Dms/src/V1/GenerateSshScriptRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'GenerateSshScript' request. diff --git a/Dms/src/V1/GenerateTcpProxyScriptRequest.php b/Dms/src/V1/GenerateTcpProxyScriptRequest.php index d972498955bc..c04db06db67e 100644 --- a/Dms/src/V1/GenerateTcpProxyScriptRequest.php +++ b/Dms/src/V1/GenerateTcpProxyScriptRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'GenerateTcpProxyScript' request. diff --git a/Dms/src/V1/GetConnectionProfileRequest.php b/Dms/src/V1/GetConnectionProfileRequest.php index aa85d7175131..1a908896872b 100644 --- a/Dms/src/V1/GetConnectionProfileRequest.php +++ b/Dms/src/V1/GetConnectionProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'GetConnectionProfile' request. diff --git a/Dms/src/V1/GetConversionWorkspaceRequest.php b/Dms/src/V1/GetConversionWorkspaceRequest.php index 7fc21537e5a1..1fac317ce39e 100644 --- a/Dms/src/V1/GetConversionWorkspaceRequest.php +++ b/Dms/src/V1/GetConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'GetConversionWorkspace' request. diff --git a/Dms/src/V1/GetMappingRuleRequest.php b/Dms/src/V1/GetMappingRuleRequest.php index 9c53c17e6471..4e107880f467 100644 --- a/Dms/src/V1/GetMappingRuleRequest.php +++ b/Dms/src/V1/GetMappingRuleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'GetMappingRule' request. @@ -21,7 +21,7 @@ class GetMappingRuleRequest extends \Google\Protobuf\Internal\Message * In order to retrieve a previous revision of the mapping rule, also provide * the revision ID. * Example: - * conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 + * conversionWorkspace/123/mappingRules/rule123\@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -59,7 +59,7 @@ public static function build(string $name): self * In order to retrieve a previous revision of the mapping rule, also provide * the revision ID. * Example: - * conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 + * conversionWorkspace/123/mappingRules/rule123\@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 * } */ public function __construct($data = NULL) { @@ -73,7 +73,7 @@ public function __construct($data = NULL) { * In order to retrieve a previous revision of the mapping rule, also provide * the revision ID. * Example: - * conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 + * conversionWorkspace/123/mappingRules/rule123\@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -89,7 +89,7 @@ public function getName() * In order to retrieve a previous revision of the mapping rule, also provide * the revision ID. * Example: - * conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 + * conversionWorkspace/123/mappingRules/rule123\@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Dms/src/V1/GetMigrationJobRequest.php b/Dms/src/V1/GetMigrationJobRequest.php index 96d6287b7d56..30a84a360338 100644 --- a/Dms/src/V1/GetMigrationJobRequest.php +++ b/Dms/src/V1/GetMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'GetMigrationJob' request. diff --git a/Dms/src/V1/GetPrivateConnectionRequest.php b/Dms/src/V1/GetPrivateConnectionRequest.php index 18cba2337233..53101d640cbb 100644 --- a/Dms/src/V1/GetPrivateConnectionRequest.php +++ b/Dms/src/V1/GetPrivateConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to get a private connection resource. diff --git a/Dms/src/V1/ImportMappingRulesRequest.php b/Dms/src/V1/ImportMappingRulesRequest.php index 5801e1f227d2..5c9e2b73f508 100644 --- a/Dms/src/V1/ImportMappingRulesRequest.php +++ b/Dms/src/V1/ImportMappingRulesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'ImportMappingRules' request. @@ -55,7 +55,7 @@ class ImportMappingRulesRequest extends \Google\Protobuf\Internal\Message * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. * @type int $rules_format * Required. The format of the rules content file. - * @type array<\Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile>|\Google\Protobuf\Internal\RepeatedField $rules_files + * @type \Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile[] $rules_files * Required. One or more rules files. * @type bool $auto_commit * Required. Should the conversion workspace be committed automatically after @@ -127,7 +127,7 @@ public function setRulesFormat($var) * Required. One or more rules files. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile> */ public function getRulesFiles() { @@ -138,7 +138,7 @@ public function getRulesFiles() * Required. One or more rules files. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\ImportMappingRulesRequest\RulesFile[] $var * @return $this */ public function setRulesFiles($var) diff --git a/Dms/src/V1/ImportMappingRulesRequest/RulesFile.php b/Dms/src/V1/ImportMappingRulesRequest/RulesFile.php index da8fc9505e80..294087327039 100644 --- a/Dms/src/V1/ImportMappingRulesRequest/RulesFile.php +++ b/Dms/src/V1/ImportMappingRulesRequest/RulesFile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\ImportMappingRulesRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details of a single rules file. @@ -107,4 +107,3 @@ public function setRulesContent($var) } - diff --git a/Dms/src/V1/IndexEntity.php b/Dms/src/V1/IndexEntity.php index e57fa2563468..97da431cbe8c 100644 --- a/Dms/src/V1/IndexEntity.php +++ b/Dms/src/V1/IndexEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Index is not used as an independent entity, it is retrieved as part of a @@ -58,7 +58,7 @@ class IndexEntity extends \Google\Protobuf\Internal\Message * The name of the index. * @type string $type * Type of index, for example B-TREE. - * @type array|\Google\Protobuf\Internal\RepeatedField $table_columns + * @type string[] $table_columns * Table columns used as part of the Index, for example B-TREE index should * list the columns which constitutes the index. * @type bool $unique @@ -129,7 +129,7 @@ public function setType($var) * list the columns which constitutes the index. * * Generated from protobuf field repeated string table_columns = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTableColumns() { @@ -141,7 +141,7 @@ public function getTableColumns() * list the columns which constitutes the index. * * Generated from protobuf field repeated string table_columns = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTableColumns($var) diff --git a/Dms/src/V1/IntComparisonFilter.php b/Dms/src/V1/IntComparisonFilter.php index 90cca3605608..ad17e63bdac4 100644 --- a/Dms/src/V1/IntComparisonFilter.php +++ b/Dms/src/V1/IntComparisonFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Filter based on relation between source value and compare value of type diff --git a/Dms/src/V1/ListConnectionProfilesRequest.php b/Dms/src/V1/ListConnectionProfilesRequest.php index 129b7894d2f9..7a464adb436e 100644 --- a/Dms/src/V1/ListConnectionProfilesRequest.php +++ b/Dms/src/V1/ListConnectionProfilesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'ListConnectionProfiles' request. diff --git a/Dms/src/V1/ListConnectionProfilesResponse.php b/Dms/src/V1/ListConnectionProfilesResponse.php index 6e2ce3a68ecc..04fe13b27da8 100644 --- a/Dms/src/V1/ListConnectionProfilesResponse.php +++ b/Dms/src/V1/ListConnectionProfilesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'ListConnectionProfiles' request. @@ -41,12 +41,12 @@ class ListConnectionProfilesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\ConnectionProfile>|\Google\Protobuf\Internal\RepeatedField $connection_profiles + * @type \Google\Cloud\CloudDms\V1\ConnectionProfile[] $connection_profiles * The response list of connection profiles. * @type string $next_page_token * A token which can be sent as `page_token` to retrieve the next page. * If this field is omitted, there are no subsequent pages. - * @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) { * The response list of connection profiles. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\ConnectionProfile> */ public function getConnectionProfiles() { @@ -70,7 +70,7 @@ public function getConnectionProfiles() * The response list of connection profiles. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConnectionProfile connection_profiles = 1; - * @param array<\Google\Cloud\CloudDms\V1\ConnectionProfile>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\ConnectionProfile[] $var * @return $this */ public function setConnectionProfiles($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/Dms/src/V1/ListConversionWorkspacesRequest.php b/Dms/src/V1/ListConversionWorkspacesRequest.php index 5658f4636425..c74761cc5f9b 100644 --- a/Dms/src/V1/ListConversionWorkspacesRequest.php +++ b/Dms/src/V1/ListConversionWorkspacesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Retrieve a list of all conversion workspaces in a given project and location. diff --git a/Dms/src/V1/ListConversionWorkspacesResponse.php b/Dms/src/V1/ListConversionWorkspacesResponse.php index 1f507d38f97e..e22b826f3ed8 100644 --- a/Dms/src/V1/ListConversionWorkspacesResponse.php +++ b/Dms/src/V1/ListConversionWorkspacesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'ListConversionWorkspaces' request. @@ -41,12 +41,12 @@ class ListConversionWorkspacesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\ConversionWorkspace>|\Google\Protobuf\Internal\RepeatedField $conversion_workspaces + * @type \Google\Cloud\CloudDms\V1\ConversionWorkspace[] $conversion_workspaces * The list of conversion workspace objects. * @type string $next_page_token * A token which can be sent as `page_token` to retrieve the next page. * If this field is omitted, there are no subsequent pages. - * @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) { * The list of conversion workspace objects. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\ConversionWorkspace> */ public function getConversionWorkspaces() { @@ -70,7 +70,7 @@ public function getConversionWorkspaces() * The list of conversion workspace objects. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConversionWorkspace conversion_workspaces = 1; - * @param array<\Google\Cloud\CloudDms\V1\ConversionWorkspace>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\ConversionWorkspace[] $var * @return $this */ public function setConversionWorkspaces($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/Dms/src/V1/ListMappingRulesRequest.php b/Dms/src/V1/ListMappingRulesRequest.php index 65ab2fa9d1c6..3f5154a42214 100644 --- a/Dms/src/V1/ListMappingRulesRequest.php +++ b/Dms/src/V1/ListMappingRulesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Retrieve a list of all mapping rules in a given conversion workspace. diff --git a/Dms/src/V1/ListMappingRulesResponse.php b/Dms/src/V1/ListMappingRulesResponse.php index 970fd8c8578a..ddd779d38412 100644 --- a/Dms/src/V1/ListMappingRulesResponse.php +++ b/Dms/src/V1/ListMappingRulesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'ListMappingRulesRequest' request. @@ -35,7 +35,7 @@ class ListMappingRulesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\MappingRule>|\Google\Protobuf\Internal\RepeatedField $mapping_rules + * @type \Google\Cloud\CloudDms\V1\MappingRule[] $mapping_rules * The list of conversion workspace mapping 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 list of conversion workspace mapping rules. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\MappingRule> */ public function getMappingRules() { @@ -62,7 +62,7 @@ public function getMappingRules() * The list of conversion workspace mapping rules. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.MappingRule mapping_rules = 1; - * @param array<\Google\Cloud\CloudDms\V1\MappingRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\MappingRule[] $var * @return $this */ public function setMappingRules($var) diff --git a/Dms/src/V1/ListMigrationJobsRequest.php b/Dms/src/V1/ListMigrationJobsRequest.php index 84b342d686ba..dfcd601a2e36 100644 --- a/Dms/src/V1/ListMigrationJobsRequest.php +++ b/Dms/src/V1/ListMigrationJobsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Retrieves a list of all migration jobs in a given project and location. diff --git a/Dms/src/V1/ListMigrationJobsResponse.php b/Dms/src/V1/ListMigrationJobsResponse.php index 18a1ed93f77b..b9c84ed665a5 100644 --- a/Dms/src/V1/ListMigrationJobsResponse.php +++ b/Dms/src/V1/ListMigrationJobsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'ListMigrationJobs' request. @@ -41,12 +41,12 @@ class ListMigrationJobsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\MigrationJob>|\Google\Protobuf\Internal\RepeatedField $migration_jobs + * @type \Google\Cloud\CloudDms\V1\MigrationJob[] $migration_jobs * The list of migration jobs objects. * @type string $next_page_token * A token which can be sent as `page_token` to retrieve the next page. * If this field is omitted, there are no subsequent pages. - * @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) { * The list of migration jobs objects. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\MigrationJob> */ public function getMigrationJobs() { @@ -70,7 +70,7 @@ public function getMigrationJobs() * The list of migration jobs objects. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.MigrationJob migration_jobs = 1; - * @param array<\Google\Cloud\CloudDms\V1\MigrationJob>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\MigrationJob[] $var * @return $this */ public function setMigrationJobs($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/Dms/src/V1/ListPrivateConnectionsRequest.php b/Dms/src/V1/ListPrivateConnectionsRequest.php index b1ff9cc01a51..d0be3aedc18c 100644 --- a/Dms/src/V1/ListPrivateConnectionsRequest.php +++ b/Dms/src/V1/ListPrivateConnectionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\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 list of private connections in a given project diff --git a/Dms/src/V1/ListPrivateConnectionsResponse.php b/Dms/src/V1/ListPrivateConnectionsResponse.php index 8631c97ed0b1..c51755be57f0 100644 --- a/Dms/src/V1/ListPrivateConnectionsResponse.php +++ b/Dms/src/V1/ListPrivateConnectionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'ListPrivateConnections' request. @@ -41,12 +41,12 @@ class ListPrivateConnectionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\PrivateConnection>|\Google\Protobuf\Internal\RepeatedField $private_connections + * @type \Google\Cloud\CloudDms\V1\PrivateConnection[] $private_connections * List of private connections. * @type string $next_page_token * A token which can be sent as `page_token` to retrieve the next page. * If this field is omitted, there are no subsequent pages. - * @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 private connections. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.PrivateConnection private_connections = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\PrivateConnection> */ public function getPrivateConnections() { @@ -70,7 +70,7 @@ public function getPrivateConnections() * List of private connections. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.PrivateConnection private_connections = 1; - * @param array<\Google\Cloud\CloudDms\V1\PrivateConnection>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\PrivateConnection[] $var * @return $this */ public function setPrivateConnections($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/Dms/src/V1/MappingRule.php b/Dms/src/V1/MappingRule.php index ff315cf24417..1d78a3badc75 100644 --- a/Dms/src/V1/MappingRule.php +++ b/Dms/src/V1/MappingRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Definition of a transformation that is to be applied to a group of entities diff --git a/Dms/src/V1/MappingRule/State.php b/Dms/src/V1/MappingRule/State.php index aa8b15928139..56bb1645d027 100644 --- a/Dms/src/V1/MappingRule/State.php +++ b/Dms/src/V1/MappingRule/State.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/MappingRuleFilter.php b/Dms/src/V1/MappingRuleFilter.php index fdffdd682d5f..9561e0114b48 100644 --- a/Dms/src/V1/MappingRuleFilter.php +++ b/Dms/src/V1/MappingRuleFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A filter defining the entities that a mapping rule should be applied to. @@ -79,7 +79,7 @@ class MappingRuleFilter extends \Google\Protobuf\Internal\Message * @type string $entity_name_contains * Optional. The rule should be applied to entities whose non-qualified name * contains the given string. - * @type array|\Google\Protobuf\Internal\RepeatedField $entities + * @type string[] $entities * Optional. The rule should be applied to specific entities defined by their * fully qualified names. * } @@ -214,7 +214,7 @@ public function setEntityNameContains($var) * fully qualified names. * * Generated from protobuf field repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getEntities() { @@ -226,7 +226,7 @@ public function getEntities() * fully qualified names. * * Generated from protobuf field repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setEntities($var) diff --git a/Dms/src/V1/MaterializedViewEntity.php b/Dms/src/V1/MaterializedViewEntity.php index 9699528d1d6d..0f7a027d75e1 100644 --- a/Dms/src/V1/MaterializedViewEntity.php +++ b/Dms/src/V1/MaterializedViewEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * MaterializedView's parent is a schema. diff --git a/Dms/src/V1/MigrationJob.php b/Dms/src/V1/MigrationJob.php index 559cec668c13..62e7facff1cc 100644 --- a/Dms/src/V1/MigrationJob.php +++ b/Dms/src/V1/MigrationJob.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a Database Migration Service migration job object. diff --git a/Dms/src/V1/MigrationJob/DumpFlag.php b/Dms/src/V1/MigrationJob/DumpFlag.php index d7e2e231fbd3..3f6f3e152f6c 100644 --- a/Dms/src/V1/MigrationJob/DumpFlag.php +++ b/Dms/src/V1/MigrationJob/DumpFlag.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\MigrationJob; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Dump flag definition. @@ -99,4 +99,3 @@ public function setValue($var) } - diff --git a/Dms/src/V1/MigrationJob/DumpFlags.php b/Dms/src/V1/MigrationJob/DumpFlags.php index f95899a53a01..e99cc62d17a2 100644 --- a/Dms/src/V1/MigrationJob/DumpFlags.php +++ b/Dms/src/V1/MigrationJob/DumpFlags.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\MigrationJob; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Dump flags definition. @@ -28,7 +28,7 @@ class DumpFlags extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\MigrationJob\DumpFlag>|\Google\Protobuf\Internal\RepeatedField $dump_flags + * @type \Google\Cloud\CloudDms\V1\MigrationJob\DumpFlag[] $dump_flags * The flags for the initial dump. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The flags for the initial dump. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.MigrationJob.DumpFlag dump_flags = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\MigrationJob\DumpFlag> */ public function getDumpFlags() { @@ -52,7 +52,7 @@ public function getDumpFlags() * The flags for the initial dump. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.MigrationJob.DumpFlag dump_flags = 1; - * @param array<\Google\Cloud\CloudDms\V1\MigrationJob\DumpFlag>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\MigrationJob\DumpFlag[] $var * @return $this */ public function setDumpFlags($var) @@ -65,4 +65,3 @@ public function setDumpFlags($var) } - diff --git a/Dms/src/V1/MigrationJob/PerformanceConfig.php b/Dms/src/V1/MigrationJob/PerformanceConfig.php index a1fc0275b0d4..b7e71e9e7d6a 100644 --- a/Dms/src/V1/MigrationJob/PerformanceConfig.php +++ b/Dms/src/V1/MigrationJob/PerformanceConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1\MigrationJob; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Performance configuration definition. @@ -65,4 +65,3 @@ public function setDumpParallelLevel($var) } - diff --git a/Dms/src/V1/MigrationJob/PerformanceConfig/DumpParallelLevel.php b/Dms/src/V1/MigrationJob/PerformanceConfig/DumpParallelLevel.php index e69aa3ab0f5c..1a6d88a09522 100644 --- a/Dms/src/V1/MigrationJob/PerformanceConfig/DumpParallelLevel.php +++ b/Dms/src/V1/MigrationJob/PerformanceConfig/DumpParallelLevel.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/MigrationJob/Phase.php b/Dms/src/V1/MigrationJob/Phase.php index 492e5a91ceee..d8be8c3cf802 100644 --- a/Dms/src/V1/MigrationJob/Phase.php +++ b/Dms/src/V1/MigrationJob/Phase.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/MigrationJob/State.php b/Dms/src/V1/MigrationJob/State.php index 94345d50fc22..dab3377877ca 100644 --- a/Dms/src/V1/MigrationJob/State.php +++ b/Dms/src/V1/MigrationJob/State.php @@ -150,4 +150,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/MigrationJob/Type.php b/Dms/src/V1/MigrationJob/Type.php index f19a55a99a85..be325b1d342b 100644 --- a/Dms/src/V1/MigrationJob/Type.php +++ b/Dms/src/V1/MigrationJob/Type.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/MigrationJobVerificationError.php b/Dms/src/V1/MigrationJobVerificationError.php index 37f3d2e87393..70adf597964f 100644 --- a/Dms/src/V1/MigrationJobVerificationError.php +++ b/Dms/src/V1/MigrationJobVerificationError.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Error message of a verification Migration job. diff --git a/Dms/src/V1/MigrationJobVerificationError/ErrorCode.php b/Dms/src/V1/MigrationJobVerificationError/ErrorCode.php index c89af58be5c1..d40337c1a1a5 100644 --- a/Dms/src/V1/MigrationJobVerificationError/ErrorCode.php +++ b/Dms/src/V1/MigrationJobVerificationError/ErrorCode.php @@ -240,4 +240,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/MultiColumnDatatypeChange.php b/Dms/src/V1/MultiColumnDatatypeChange.php index 92416ce4a3cc..7c6e2bc2be9e 100644 --- a/Dms/src/V1/MultiColumnDatatypeChange.php +++ b/Dms/src/V1/MultiColumnDatatypeChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type MultiColumnDatatypeChange. diff --git a/Dms/src/V1/MultiEntityRename.php b/Dms/src/V1/MultiEntityRename.php index 4648b41e7ff7..161d82568793 100644 --- a/Dms/src/V1/MultiEntityRename.php +++ b/Dms/src/V1/MultiEntityRename.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type MultiEntityRename. diff --git a/Dms/src/V1/MySqlConnectionProfile.php b/Dms/src/V1/MySqlConnectionProfile.php index 2a697f4de4c7..4c6b4207c4c2 100644 --- a/Dms/src/V1/MySqlConnectionProfile.php +++ b/Dms/src/V1/MySqlConnectionProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies connection parameters required specifically for MySQL databases. diff --git a/Dms/src/V1/OperationMetadata.php b/Dms/src/V1/OperationMetadata.php index af454a1e7d65..3cf4b5fb5f70 100644 --- a/Dms/src/V1/OperationMetadata.php +++ b/Dms/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\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/Dms/src/V1/OracleConnectionProfile.php b/Dms/src/V1/OracleConnectionProfile.php index d0bfde4ac56d..a004e0840c16 100644 --- a/Dms/src/V1/OracleConnectionProfile.php +++ b/Dms/src/V1/OracleConnectionProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies connection parameters required specifically for Oracle diff --git a/Dms/src/V1/PackageEntity.php b/Dms/src/V1/PackageEntity.php index bd46aed6c8ac..37b82b111736 100644 --- a/Dms/src/V1/PackageEntity.php +++ b/Dms/src/V1/PackageEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Package's parent is a schema. diff --git a/Dms/src/V1/PostgreSqlConnectionProfile.php b/Dms/src/V1/PostgreSqlConnectionProfile.php index 1bea81a9193e..49bb740439ef 100644 --- a/Dms/src/V1/PostgreSqlConnectionProfile.php +++ b/Dms/src/V1/PostgreSqlConnectionProfile.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies connection parameters required specifically for PostgreSQL diff --git a/Dms/src/V1/PrivateConnection.php b/Dms/src/V1/PrivateConnection.php index ba828e9cedf6..b7a55c99c433 100644 --- a/Dms/src/V1/PrivateConnection.php +++ b/Dms/src/V1/PrivateConnection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The PrivateConnection resource is used to establish private connectivity diff --git a/Dms/src/V1/PrivateConnection/State.php b/Dms/src/V1/PrivateConnection/State.php index 54eac22dfd66..0cabaa6d0f03 100644 --- a/Dms/src/V1/PrivateConnection/State.php +++ b/Dms/src/V1/PrivateConnection/State.php @@ -85,4 +85,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/PrivateConnectivity.php b/Dms/src/V1/PrivateConnectivity.php index 83118e357071..98bdfef86d1c 100644 --- a/Dms/src/V1/PrivateConnectivity.php +++ b/Dms/src/V1/PrivateConnectivity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Private Connectivity. diff --git a/Dms/src/V1/PrivateServiceConnectConnectivity.php b/Dms/src/V1/PrivateServiceConnectConnectivity.php index 559fb9442270..1b63292b7485 100644 --- a/Dms/src/V1/PrivateServiceConnectConnectivity.php +++ b/Dms/src/V1/PrivateServiceConnectConnectivity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * [Private Service Connect diff --git a/Dms/src/V1/PromoteMigrationJobRequest.php b/Dms/src/V1/PromoteMigrationJobRequest.php index 79ce30fb44ac..9891852eb117 100644 --- a/Dms/src/V1/PromoteMigrationJobRequest.php +++ b/Dms/src/V1/PromoteMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'PromoteMigrationJob' request. diff --git a/Dms/src/V1/RestartMigrationJobRequest.php b/Dms/src/V1/RestartMigrationJobRequest.php index 2afab9962628..15d5c5efd62f 100644 --- a/Dms/src/V1/RestartMigrationJobRequest.php +++ b/Dms/src/V1/RestartMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'RestartMigrationJob' request. diff --git a/Dms/src/V1/ResumeMigrationJobRequest.php b/Dms/src/V1/ResumeMigrationJobRequest.php index 9b03e9cf4f2f..67f7bd0a3633 100644 --- a/Dms/src/V1/ResumeMigrationJobRequest.php +++ b/Dms/src/V1/ResumeMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'ResumeMigrationJob' request. diff --git a/Dms/src/V1/ReverseSshConnectivity.php b/Dms/src/V1/ReverseSshConnectivity.php index 671c5e8f65f4..a589a0dfb87d 100644 --- a/Dms/src/V1/ReverseSshConnectivity.php +++ b/Dms/src/V1/ReverseSshConnectivity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The details needed to configure a reverse SSH tunnel between the source and diff --git a/Dms/src/V1/RollbackConversionWorkspaceRequest.php b/Dms/src/V1/RollbackConversionWorkspaceRequest.php index 777cb5db0053..6d2aa59e8811 100644 --- a/Dms/src/V1/RollbackConversionWorkspaceRequest.php +++ b/Dms/src/V1/RollbackConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'RollbackConversionWorkspace' request. diff --git a/Dms/src/V1/RoundToScale.php b/Dms/src/V1/RoundToScale.php index c0c579b02cb0..233f3cd7fb3b 100644 --- a/Dms/src/V1/RoundToScale.php +++ b/Dms/src/V1/RoundToScale.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This allows the data to change scale, for example if the source is 2 digits diff --git a/Dms/src/V1/SchemaEntity.php b/Dms/src/V1/SchemaEntity.php index 2db1398af1f2..7a4fabd058df 100644 --- a/Dms/src/V1/SchemaEntity.php +++ b/Dms/src/V1/SchemaEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Schema typically has no parent entity, but can have a parent entity diff --git a/Dms/src/V1/SearchBackgroundJobsRequest.php b/Dms/src/V1/SearchBackgroundJobsRequest.php index 6be9319f1514..e291fe669b8b 100644 --- a/Dms/src/V1/SearchBackgroundJobsRequest.php +++ b/Dms/src/V1/SearchBackgroundJobsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'SearchBackgroundJobs' request. diff --git a/Dms/src/V1/SearchBackgroundJobsResponse.php b/Dms/src/V1/SearchBackgroundJobsResponse.php index 535f2ad7e3db..0387a9e8590f 100644 --- a/Dms/src/V1/SearchBackgroundJobsResponse.php +++ b/Dms/src/V1/SearchBackgroundJobsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'SearchBackgroundJobs' request. @@ -28,7 +28,7 @@ class SearchBackgroundJobsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\BackgroundJobLogEntry>|\Google\Protobuf\Internal\RepeatedField $jobs + * @type \Google\Cloud\CloudDms\V1\BackgroundJobLogEntry[] $jobs * The list of conversion workspace mapping rules. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The list of conversion workspace mapping rules. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.BackgroundJobLogEntry jobs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\BackgroundJobLogEntry> */ public function getJobs() { @@ -52,7 +52,7 @@ public function getJobs() * The list of conversion workspace mapping rules. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.BackgroundJobLogEntry jobs = 1; - * @param array<\Google\Cloud\CloudDms\V1\BackgroundJobLogEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\BackgroundJobLogEntry[] $var * @return $this */ public function setJobs($var) diff --git a/Dms/src/V1/SeedConversionWorkspaceRequest.php b/Dms/src/V1/SeedConversionWorkspaceRequest.php index fddd1daff8da..a730990d2580 100644 --- a/Dms/src/V1/SeedConversionWorkspaceRequest.php +++ b/Dms/src/V1/SeedConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'SeedConversionWorkspace' request. diff --git a/Dms/src/V1/SequenceEntity.php b/Dms/src/V1/SequenceEntity.php index 4d01f802642f..e58c155330de 100644 --- a/Dms/src/V1/SequenceEntity.php +++ b/Dms/src/V1/SequenceEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Sequence's parent is a schema. diff --git a/Dms/src/V1/SetTablePrimaryKey.php b/Dms/src/V1/SetTablePrimaryKey.php index a4ba97bf64ca..f860a03f32aa 100644 --- a/Dms/src/V1/SetTablePrimaryKey.php +++ b/Dms/src/V1/SetTablePrimaryKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type SetTablePrimaryKey. @@ -38,7 +38,7 @@ class SetTablePrimaryKey extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $primary_key_columns + * @type string[] $primary_key_columns * Required. List of column names for the primary key * @type string $primary_key * Optional. Name for the primary key @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * Required. List of column names for the primary key * * Generated from protobuf field repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPrimaryKeyColumns() { @@ -64,7 +64,7 @@ public function getPrimaryKeyColumns() * Required. List of column names for the primary key * * Generated from protobuf field repeated string primary_key_columns = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPrimaryKeyColumns($var) diff --git a/Dms/src/V1/SingleColumnChange.php b/Dms/src/V1/SingleColumnChange.php index 2c76f2562071..2923e7370350 100644 --- a/Dms/src/V1/SingleColumnChange.php +++ b/Dms/src/V1/SingleColumnChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type SingleColumnChange. @@ -147,7 +147,7 @@ class SingleColumnChange extends \Google\Protobuf\Internal\Message * Optional. Is the column a UDT (User-defined Type). * @type \Google\Protobuf\Struct $custom_features * Optional. Custom engine specific features. - * @type array|\Google\Protobuf\Internal\RepeatedField $set_values + * @type string[] $set_values * Optional. Specifies the list of values allowed in the column. * @type string $comment * Optional. Comment associated with the column. @@ -514,7 +514,7 @@ public function setCustomFeatures($var) * Optional. Specifies the list of values allowed in the column. * * Generated from protobuf field repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSetValues() { @@ -525,7 +525,7 @@ public function getSetValues() * Optional. Specifies the list of values allowed in the column. * * Generated from protobuf field repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSetValues($var) diff --git a/Dms/src/V1/SingleEntityRename.php b/Dms/src/V1/SingleEntityRename.php index 6dc3c4092dfe..8766d1c90286 100644 --- a/Dms/src/V1/SingleEntityRename.php +++ b/Dms/src/V1/SingleEntityRename.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type SingleEntityRename. diff --git a/Dms/src/V1/SinglePackageChange.php b/Dms/src/V1/SinglePackageChange.php index af7735877533..29497daeb622 100644 --- a/Dms/src/V1/SinglePackageChange.php +++ b/Dms/src/V1/SinglePackageChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type SinglePackageChange. diff --git a/Dms/src/V1/SourceNumericFilter.php b/Dms/src/V1/SourceNumericFilter.php index d2e473a45590..046ef6a75146 100644 --- a/Dms/src/V1/SourceNumericFilter.php +++ b/Dms/src/V1/SourceNumericFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Filter for fixed point number data types such as NUMERIC/NUMBER diff --git a/Dms/src/V1/SourceSqlChange.php b/Dms/src/V1/SourceSqlChange.php index 0c5c5c21cd10..59e07e6c6f40 100644 --- a/Dms/src/V1/SourceSqlChange.php +++ b/Dms/src/V1/SourceSqlChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to configure rule type SourceSqlChange. diff --git a/Dms/src/V1/SourceTextFilter.php b/Dms/src/V1/SourceTextFilter.php index ed0126ea98a1..052545cf2758 100644 --- a/Dms/src/V1/SourceTextFilter.php +++ b/Dms/src/V1/SourceTextFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Filter for text-based data types like varchar. diff --git a/Dms/src/V1/SqlAclEntry.php b/Dms/src/V1/SqlAclEntry.php index 0cb8a536c2fd..644bc9efc0a0 100644 --- a/Dms/src/V1/SqlAclEntry.php +++ b/Dms/src/V1/SqlAclEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An entry for an Access Control list. diff --git a/Dms/src/V1/SqlIpConfig.php b/Dms/src/V1/SqlIpConfig.php index 52dc2ce60d41..141a14afb865 100644 --- a/Dms/src/V1/SqlIpConfig.php +++ b/Dms/src/V1/SqlIpConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * IP Management configuration. @@ -79,7 +79,7 @@ class SqlIpConfig extends \Google\Protobuf\Internal\Message * for the migration job, this field is not relevant. * @type \Google\Protobuf\BoolValue $require_ssl * Whether SSL connections over IP should be enforced or not. - * @type array<\Google\Cloud\CloudDms\V1\SqlAclEntry>|\Google\Protobuf\Internal\RepeatedField $authorized_networks + * @type \Google\Cloud\CloudDms\V1\SqlAclEntry[] $authorized_networks * The list of external networks that are allowed to connect to the instance * using the IP. See * https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as @@ -292,7 +292,7 @@ public function setRequireSslUnwrapped($var) * 'slash' notation (e.g. `192.168.100.0/24`). * * Generated from protobuf field repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\SqlAclEntry> */ public function getAuthorizedNetworks() { @@ -306,7 +306,7 @@ public function getAuthorizedNetworks() * 'slash' notation (e.g. `192.168.100.0/24`). * * Generated from protobuf field repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4; - * @param array<\Google\Cloud\CloudDms\V1\SqlAclEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\SqlAclEntry[] $var * @return $this */ public function setAuthorizedNetworks($var) diff --git a/Dms/src/V1/SshScript.php b/Dms/src/V1/SshScript.php index 72cc6a31eb25..47e1322a0843 100644 --- a/Dms/src/V1/SshScript.php +++ b/Dms/src/V1/SshScript.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'GenerateSshScript' request. diff --git a/Dms/src/V1/SslConfig.php b/Dms/src/V1/SslConfig.php index a0e2a68a8120..eb2503648f67 100644 --- a/Dms/src/V1/SslConfig.php +++ b/Dms/src/V1/SslConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * SSL configuration information. diff --git a/Dms/src/V1/SslConfig/SslType.php b/Dms/src/V1/SslConfig/SslType.php index 451d1d794f35..abf280ecf595 100644 --- a/Dms/src/V1/SslConfig/SslType.php +++ b/Dms/src/V1/SslConfig/SslType.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/Dms/src/V1/StartMigrationJobRequest.php b/Dms/src/V1/StartMigrationJobRequest.php index 252c30242eb4..abdfcc23200c 100644 --- a/Dms/src/V1/StartMigrationJobRequest.php +++ b/Dms/src/V1/StartMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'StartMigrationJob' request. diff --git a/Dms/src/V1/StaticIpConnectivity.php b/Dms/src/V1/StaticIpConnectivity.php index 0ea1fec93d42..7999798a5d9a 100644 --- a/Dms/src/V1/StaticIpConnectivity.php +++ b/Dms/src/V1/StaticIpConnectivity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The source database will allow incoming connections from the public IP of the diff --git a/Dms/src/V1/StaticServiceIpConnectivity.php b/Dms/src/V1/StaticServiceIpConnectivity.php index ed953a0dfd7a..095af26586a5 100644 --- a/Dms/src/V1/StaticServiceIpConnectivity.php +++ b/Dms/src/V1/StaticServiceIpConnectivity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Static IP address connectivity configured on service project. diff --git a/Dms/src/V1/StopMigrationJobRequest.php b/Dms/src/V1/StopMigrationJobRequest.php index f2ed8e986d80..3c06883f2f26 100644 --- a/Dms/src/V1/StopMigrationJobRequest.php +++ b/Dms/src/V1/StopMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'StopMigrationJob' request. diff --git a/Dms/src/V1/StoredProcedureEntity.php b/Dms/src/V1/StoredProcedureEntity.php index b5f386e5fbc3..e32d4b025e69 100644 --- a/Dms/src/V1/StoredProcedureEntity.php +++ b/Dms/src/V1/StoredProcedureEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Stored procedure's parent is a schema. diff --git a/Dms/src/V1/SynonymEntity.php b/Dms/src/V1/SynonymEntity.php index a419ccfecbc4..659830c9e265 100644 --- a/Dms/src/V1/SynonymEntity.php +++ b/Dms/src/V1/SynonymEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Synonym's parent is a schema. diff --git a/Dms/src/V1/TableEntity.php b/Dms/src/V1/TableEntity.php index 27333c21059a..abb366f70c09 100644 --- a/Dms/src/V1/TableEntity.php +++ b/Dms/src/V1/TableEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Table's parent is a schema. @@ -58,13 +58,13 @@ class TableEntity extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\CloudDms\V1\ColumnEntity>|\Google\Protobuf\Internal\RepeatedField $columns + * @type \Google\Cloud\CloudDms\V1\ColumnEntity[] $columns * Table columns. - * @type array<\Google\Cloud\CloudDms\V1\ConstraintEntity>|\Google\Protobuf\Internal\RepeatedField $constraints + * @type \Google\Cloud\CloudDms\V1\ConstraintEntity[] $constraints * Table constraints. - * @type array<\Google\Cloud\CloudDms\V1\IndexEntity>|\Google\Protobuf\Internal\RepeatedField $indices + * @type \Google\Cloud\CloudDms\V1\IndexEntity[] $indices * Table indices. - * @type array<\Google\Cloud\CloudDms\V1\TriggerEntity>|\Google\Protobuf\Internal\RepeatedField $triggers + * @type \Google\Cloud\CloudDms\V1\TriggerEntity[] $triggers * Table triggers. * @type \Google\Protobuf\Struct $custom_features * Custom engine specific features. @@ -81,7 +81,7 @@ public function __construct($data = NULL) { * Table columns. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ColumnEntity columns = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\ColumnEntity> */ public function getColumns() { @@ -92,7 +92,7 @@ public function getColumns() * Table columns. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ColumnEntity columns = 1; - * @param array<\Google\Cloud\CloudDms\V1\ColumnEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\ColumnEntity[] $var * @return $this */ public function setColumns($var) @@ -107,7 +107,7 @@ public function setColumns($var) * Table constraints. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\ConstraintEntity> */ public function getConstraints() { @@ -118,7 +118,7 @@ public function getConstraints() * Table constraints. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 2; - * @param array<\Google\Cloud\CloudDms\V1\ConstraintEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\ConstraintEntity[] $var * @return $this */ public function setConstraints($var) @@ -133,7 +133,7 @@ public function setConstraints($var) * Table indices. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.IndexEntity indices = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\IndexEntity> */ public function getIndices() { @@ -144,7 +144,7 @@ public function getIndices() * Table indices. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.IndexEntity indices = 3; - * @param array<\Google\Cloud\CloudDms\V1\IndexEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\IndexEntity[] $var * @return $this */ public function setIndices($var) @@ -159,7 +159,7 @@ public function setIndices($var) * Table triggers. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.TriggerEntity triggers = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\TriggerEntity> */ public function getTriggers() { @@ -170,7 +170,7 @@ public function getTriggers() * Table triggers. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.TriggerEntity triggers = 4; - * @param array<\Google\Cloud\CloudDms\V1\TriggerEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\TriggerEntity[] $var * @return $this */ public function setTriggers($var) diff --git a/Dms/src/V1/TcpProxyScript.php b/Dms/src/V1/TcpProxyScript.php index abbbdf60fd0a..0748d79bc2fe 100644 --- a/Dms/src/V1/TcpProxyScript.php +++ b/Dms/src/V1/TcpProxyScript.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for 'GenerateTcpProxyScript' request. diff --git a/Dms/src/V1/TriggerEntity.php b/Dms/src/V1/TriggerEntity.php index 675977b01d6e..e52ed5483e4f 100644 --- a/Dms/src/V1/TriggerEntity.php +++ b/Dms/src/V1/TriggerEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Trigger is not used as an independent entity, it is retrieved as part of a @@ -57,7 +57,7 @@ class TriggerEntity extends \Google\Protobuf\Internal\Message * * @type string $name * The name of the trigger. - * @type array|\Google\Protobuf\Internal\RepeatedField $triggering_events + * @type string[] $triggering_events * The DML, DDL, or database events that fire the trigger, for example * INSERT, UPDATE. * @type string $trigger_type @@ -105,7 +105,7 @@ public function setName($var) * INSERT, UPDATE. * * Generated from protobuf field repeated string triggering_events = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTriggeringEvents() { @@ -117,7 +117,7 @@ public function getTriggeringEvents() * INSERT, UPDATE. * * Generated from protobuf field repeated string triggering_events = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTriggeringEvents($var) diff --git a/Dms/src/V1/UDTEntity.php b/Dms/src/V1/UDTEntity.php index 12e7cacfb5e8..badc0872d108 100644 --- a/Dms/src/V1/UDTEntity.php +++ b/Dms/src/V1/UDTEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * UDT's parent is a schema. diff --git a/Dms/src/V1/UpdateConnectionProfileRequest.php b/Dms/src/V1/UpdateConnectionProfileRequest.php index 1106c8de3524..de5bbca266d9 100644 --- a/Dms/src/V1/UpdateConnectionProfileRequest.php +++ b/Dms/src/V1/UpdateConnectionProfileRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'UpdateConnectionProfile' request. diff --git a/Dms/src/V1/UpdateConversionWorkspaceRequest.php b/Dms/src/V1/UpdateConversionWorkspaceRequest.php index 54adf9dc9abd..793dfa7e5083 100644 --- a/Dms/src/V1/UpdateConversionWorkspaceRequest.php +++ b/Dms/src/V1/UpdateConversionWorkspaceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'UpdateConversionWorkspace' request. diff --git a/Dms/src/V1/UpdateMigrationJobRequest.php b/Dms/src/V1/UpdateMigrationJobRequest.php index ecdc85c837c0..d5c584b8f14a 100644 --- a/Dms/src/V1/UpdateMigrationJobRequest.php +++ b/Dms/src/V1/UpdateMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'UpdateMigrationJob' request. diff --git a/Dms/src/V1/ValueListFilter.php b/Dms/src/V1/ValueListFilter.php index 53b14d2575ad..c1aeda52a613 100644 --- a/Dms/src/V1/ValueListFilter.php +++ b/Dms/src/V1/ValueListFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A list of values to filter by in ConditionalColumnSetValue @@ -45,7 +45,7 @@ class ValueListFilter extends \Google\Protobuf\Internal\Message * @type int $value_present_list * Required. Indicates whether the filter matches rows with values that are * present in the list or those with values not present in it. - * @type array|\Google\Protobuf\Internal\RepeatedField $values + * @type string[] $values * Required. The list to be used to filter by * @type bool $ignore_case * Required. Whether to ignore case when filtering by values. Defaults to @@ -89,7 +89,7 @@ public function setValuePresentList($var) * Required. The list to be used to filter by * * Generated from protobuf field repeated string values = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getValues() { @@ -100,7 +100,7 @@ public function getValues() * Required. The list to be used to filter by * * Generated from protobuf field repeated string values = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setValues($var) diff --git a/Dms/src/V1/ValueTransformation.php b/Dms/src/V1/ValueTransformation.php index b09579497f81..da3d48652571 100644 --- a/Dms/src/V1/ValueTransformation.php +++ b/Dms/src/V1/ValueTransformation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Description of data transformation during migration as part of the diff --git a/Dms/src/V1/VerifyMigrationJobRequest.php b/Dms/src/V1/VerifyMigrationJobRequest.php index 20e265badfec..b27d330a56dc 100644 --- a/Dms/src/V1/VerifyMigrationJobRequest.php +++ b/Dms/src/V1/VerifyMigrationJobRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for 'VerifyMigrationJob' request. diff --git a/Dms/src/V1/ViewEntity.php b/Dms/src/V1/ViewEntity.php index 362151e3a315..91d18e1bebb9 100644 --- a/Dms/src/V1/ViewEntity.php +++ b/Dms/src/V1/ViewEntity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * View's parent is a schema. @@ -44,7 +44,7 @@ class ViewEntity extends \Google\Protobuf\Internal\Message * The SQL code which creates the view. * @type \Google\Protobuf\Struct $custom_features * Custom engine specific features. - * @type array<\Google\Cloud\CloudDms\V1\ConstraintEntity>|\Google\Protobuf\Internal\RepeatedField $constraints + * @type \Google\Cloud\CloudDms\V1\ConstraintEntity[] $constraints * View constraints. * } */ @@ -119,7 +119,7 @@ public function setCustomFeatures($var) * View constraints. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\CloudDms\V1\ConstraintEntity> */ public function getConstraints() { @@ -130,7 +130,7 @@ public function getConstraints() * View constraints. * * Generated from protobuf field repeated .google.cloud.clouddms.v1.ConstraintEntity constraints = 3; - * @param array<\Google\Cloud\CloudDms\V1\ConstraintEntity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\CloudDms\V1\ConstraintEntity[] $var * @return $this */ public function setConstraints($var) diff --git a/Dms/src/V1/VmCreationConfig.php b/Dms/src/V1/VmCreationConfig.php index 60420cb71902..4bda82523a50 100644 --- a/Dms/src/V1/VmCreationConfig.php +++ b/Dms/src/V1/VmCreationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * VM creation configuration message diff --git a/Dms/src/V1/VmSelectionConfig.php b/Dms/src/V1/VmSelectionConfig.php index 656f3ef6ec3e..b42f9d0a0d03 100644 --- a/Dms/src/V1/VmSelectionConfig.php +++ b/Dms/src/V1/VmSelectionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * VM selection configuration message diff --git a/Dms/src/V1/VpcPeeringConfig.php b/Dms/src/V1/VpcPeeringConfig.php index a5596d1b8ef3..dd9baf8eefe1 100644 --- a/Dms/src/V1/VpcPeeringConfig.php +++ b/Dms/src/V1/VpcPeeringConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The VPC peering configuration is used to create VPC peering with the diff --git a/Dms/src/V1/VpcPeeringConnectivity.php b/Dms/src/V1/VpcPeeringConnectivity.php index 8e48bbc4c1e2..46c54af01c07 100644 --- a/Dms/src/V1/VpcPeeringConnectivity.php +++ b/Dms/src/V1/VpcPeeringConnectivity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\CloudDms\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The details of the VPC where the source database is located in Google Cloud. diff --git a/DocumentAi/metadata/V1/Barcode.php b/DocumentAi/metadata/V1/Barcode.php index fc1bf55a7ae2..0d7071556e0c 100644 --- a/DocumentAi/metadata/V1/Barcode.php +++ b/DocumentAi/metadata/V1/Barcode.php @@ -15,14 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -(google/cloud/documentai/v1/barcode.protogoogle.cloud.documentai.v1"B -Barcode -format (  - value_format (  - raw_value ( B -com.google.cloud.documentai.v1B BarcodeProtoPZ>cloud.google.com/go/documentai/apiv1/documentaipb;documentaipbGoogle.Cloud.DocumentAI.V1Google\\Cloud\\DocumentAI\\V1Google::Cloud::DocumentAI::V1bproto3' + "\x0A\xDF\x02\x0A(google/cloud/documentai/v1/barcode.proto\x12\x1Agoogle.cloud.documentai.v1\"B\x0A\x07Barcode\x12\x0E\x0A\x06format\x18\x01 \x01(\x09\x12\x14\x0A\x0Cvalue_format\x18\x02 \x01(\x09\x12\x11\x0A\x09raw_value\x18\x03 \x01(\x09B\xCA\x01\x0A\x1Ecom.google.cloud.documentai.v1B\x0CBarcodeProtoP\x01Z>cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb\xAA\x02\x1AGoogle.Cloud.DocumentAI.V1\xCA\x02\x1AGoogle\\Cloud\\DocumentAI\\V1\xEA\x02\x1DGoogle::Cloud::DocumentAI::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DocumentAi/metadata/V1/Document.php b/DocumentAi/metadata/V1/Document.php index 1417f6be374b..7abee157c3e4 100644 Binary files a/DocumentAi/metadata/V1/Document.php and b/DocumentAi/metadata/V1/Document.php differ diff --git a/DocumentAi/metadata/V1/DocumentIo.php b/DocumentAi/metadata/V1/DocumentIo.php index 0da52cce58e7..e010f4387ccf 100644 Binary files a/DocumentAi/metadata/V1/DocumentIo.php and b/DocumentAi/metadata/V1/DocumentIo.php differ diff --git a/DocumentAi/metadata/V1/DocumentProcessorService.php b/DocumentAi/metadata/V1/DocumentProcessorService.php index 780c7f8e2cc9..b9a0ccf98cc7 100644 Binary files a/DocumentAi/metadata/V1/DocumentProcessorService.php and b/DocumentAi/metadata/V1/DocumentProcessorService.php differ diff --git a/DocumentAi/metadata/V1/DocumentSchema.php b/DocumentAi/metadata/V1/DocumentSchema.php index a13b557edc5d..43e2817c9f4b 100644 Binary files a/DocumentAi/metadata/V1/DocumentSchema.php and b/DocumentAi/metadata/V1/DocumentSchema.php differ diff --git a/DocumentAi/metadata/V1/Evaluation.php b/DocumentAi/metadata/V1/Evaluation.php index dc9ac80d1ee7..792d9db5809b 100644 Binary files a/DocumentAi/metadata/V1/Evaluation.php and b/DocumentAi/metadata/V1/Evaluation.php differ diff --git a/DocumentAi/metadata/V1/Geometry.php b/DocumentAi/metadata/V1/Geometry.php index 2780ed666e20..faf0e564072a 100644 --- a/DocumentAi/metadata/V1/Geometry.php +++ b/DocumentAi/metadata/V1/Geometry.php @@ -15,19 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -)google/cloud/documentai/v1/geometry.protogoogle.cloud.documentai.v1" -Vertex -x ( -y ("( -NormalizedVertex -x ( -y (" - BoundingPoly4 -vertices ( 2".google.cloud.documentai.v1.VertexI -normalized_vertices ( 2,.google.cloud.documentai.v1.NormalizedVertexB -com.google.cloud.documentai.v1B GeometryProtoPZ>cloud.google.com/go/documentai/apiv1/documentaipb;documentaipbGoogle.Cloud.DocumentAI.V1Google\\Cloud\\DocumentAI\\V1Google::Cloud::DocumentAI::V1bproto3' + "\x0A\xF9\x03\x0A)google/cloud/documentai/v1/geometry.proto\x12\x1Agoogle.cloud.documentai.v1\"\x1E\x0A\x06Vertex\x12\x09\x0A\x01x\x18\x01 \x01(\x05\x12\x09\x0A\x01y\x18\x02 \x01(\x05\"(\x0A\x10NormalizedVertex\x12\x09\x0A\x01x\x18\x01 \x01(\x02\x12\x09\x0A\x01y\x18\x02 \x01(\x02\"\x8F\x01\x0A\x0CBoundingPoly\x124\x0A\x08vertices\x18\x01 \x03(\x0B2\".google.cloud.documentai.v1.Vertex\x12I\x0A\x13normalized_vertices\x18\x02 \x03(\x0B2,.google.cloud.documentai.v1.NormalizedVertexB\xCB\x01\x0A\x1Ecom.google.cloud.documentai.v1B\x0DGeometryProtoP\x01Z>cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb\xAA\x02\x1AGoogle.Cloud.DocumentAI.V1\xCA\x02\x1AGoogle\\Cloud\\DocumentAI\\V1\xEA\x02\x1DGoogle::Cloud::DocumentAI::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DocumentAi/metadata/V1/OperationMetadata.php b/DocumentAi/metadata/V1/OperationMetadata.php index 5152d9893a80..ee3d45f728bb 100644 Binary files a/DocumentAi/metadata/V1/OperationMetadata.php and b/DocumentAi/metadata/V1/OperationMetadata.php differ diff --git a/DocumentAi/metadata/V1/Processor.php b/DocumentAi/metadata/V1/Processor.php index 217bed159bfa..3eac7d7ace95 100644 Binary files a/DocumentAi/metadata/V1/Processor.php and b/DocumentAi/metadata/V1/Processor.php differ diff --git a/DocumentAi/metadata/V1/ProcessorType.php b/DocumentAi/metadata/V1/ProcessorType.php index 65a61c15c025..af8cfd769331 100644 --- a/DocumentAi/metadata/V1/ProcessorType.php +++ b/DocumentAi/metadata/V1/ProcessorType.php @@ -17,21 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\LaunchStage::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - -/google/cloud/documentai/v1/processor_type.protogoogle.cloud.documentai.v1google/api/resource.proto" - ProcessorType -name (  -type (  -category ( S -available_locations ( 26.google.cloud.documentai.v1.ProcessorType.LocationInfo -allow_creation (- - launch_stage (2.google.api.LaunchStage -sample_document_uris ( # - LocationInfo - location_id ( :uAr -\'documentai.googleapis.com/ProcessorTypeGprojects/{project}/locations/{location}/processorTypes/{processor_type}B -com.google.cloud.documentai.v1BDocumentAiProcessorTypePZ>cloud.google.com/go/documentai/apiv1/documentaipb;documentaipbGoogle.Cloud.DocumentAI.V1Google\\Cloud\\DocumentAI\\V1Google::Cloud::DocumentAI::V1bproto3' + "\x0A\xDE\x05\x0A/google/cloud/documentai/v1/processor_type.proto\x12\x1Agoogle.cloud.documentai.v1\x1A\x19google/api/resource.proto\"\x93\x03\x0A\x0DProcessorType\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0C\x0A\x04type\x18\x02 \x01(\x09\x12\x10\x0A\x08category\x18\x03 \x01(\x09\x12S\x0A\x13available_locations\x18\x04 \x03(\x0B26.google.cloud.documentai.v1.ProcessorType.LocationInfo\x12\x16\x0A\x0Eallow_creation\x18\x06 \x01(\x08\x12-\x0A\x0Claunch_stage\x18\x08 \x01(\x0E2\x17.google.api.LaunchStage\x12\x1C\x0A\x14sample_document_uris\x18\x09 \x03(\x09\x1A#\x0A\x0CLocationInfo\x12\x13\x0A\x0Blocation_id\x18\x01 \x01(\x09:u\xEAAr\x0A'documentai.googleapis.com/ProcessorType\x12Gprojects/{project}/locations/{location}/processorTypes/{processor_type}B\xD5\x01\x0A\x1Ecom.google.cloud.documentai.v1B\x17DocumentAiProcessorTypeP\x01Z>cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb\xAA\x02\x1AGoogle.Cloud.DocumentAI.V1\xCA\x02\x1AGoogle\\Cloud\\DocumentAI\\V1\xEA\x02\x1DGoogle::Cloud::DocumentAI::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/DocumentAi/src/V1/Barcode.php b/DocumentAi/src/V1/Barcode.php index c07863d95b65..32bd1b42fe8b 100644 --- a/DocumentAi/src/V1/Barcode.php +++ b/DocumentAi/src/V1/Barcode.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encodes the detailed information of a barcode. diff --git a/DocumentAi/src/V1/BatchDocumentsInputConfig.php b/DocumentAi/src/V1/BatchDocumentsInputConfig.php index 087665129f05..99740463f11c 100644 --- a/DocumentAi/src/V1/BatchDocumentsInputConfig.php +++ b/DocumentAi/src/V1/BatchDocumentsInputConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The common config to specify a set of documents used as input. diff --git a/DocumentAi/src/V1/BatchProcessMetadata.php b/DocumentAi/src/V1/BatchProcessMetadata.php index acda6f101347..46b4ab45c885 100644 --- a/DocumentAi/src/V1/BatchProcessMetadata.php +++ b/DocumentAi/src/V1/BatchProcessMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for @@ -63,7 +63,7 @@ class BatchProcessMetadata extends \Google\Protobuf\Internal\Message * The creation time of the operation. * @type \Google\Protobuf\Timestamp $update_time * The last update time of the operation. - * @type array<\Google\Cloud\DocumentAI\V1\BatchProcessMetadata\IndividualProcessStatus>|\Google\Protobuf\Internal\RepeatedField $individual_process_statuses + * @type \Google\Cloud\DocumentAI\V1\BatchProcessMetadata\IndividualProcessStatus[] $individual_process_statuses * The list of response details of each document. * } */ @@ -202,7 +202,7 @@ public function setUpdateTime($var) * The list of response details of each document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\BatchProcessMetadata\IndividualProcessStatus> */ public function getIndividualProcessStatuses() { @@ -213,7 +213,7 @@ public function getIndividualProcessStatuses() * The list of response details of each document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * @param array<\Google\Cloud\DocumentAI\V1\BatchProcessMetadata\IndividualProcessStatus>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\BatchProcessMetadata\IndividualProcessStatus[] $var * @return $this */ public function setIndividualProcessStatuses($var) diff --git a/DocumentAi/src/V1/BatchProcessMetadata/IndividualProcessStatus.php b/DocumentAi/src/V1/BatchProcessMetadata/IndividualProcessStatus.php index c5ed4d05c1b4..31740cc3a034 100644 --- a/DocumentAi/src/V1/BatchProcessMetadata/IndividualProcessStatus.php +++ b/DocumentAi/src/V1/BatchProcessMetadata/IndividualProcessStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\BatchProcessMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The status of a each individual document in the batch process. @@ -203,4 +203,3 @@ public function setHumanReviewStatus($var) } - diff --git a/DocumentAi/src/V1/BatchProcessMetadata/State.php b/DocumentAi/src/V1/BatchProcessMetadata/State.php index 03b2659eca11..25dbecc25b0f 100644 --- a/DocumentAi/src/V1/BatchProcessMetadata/State.php +++ b/DocumentAi/src/V1/BatchProcessMetadata/State.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/BatchProcessRequest.php b/DocumentAi/src/V1/BatchProcessRequest.php index 51031e244a22..f42af43fff8e 100644 --- a/DocumentAi/src/V1/BatchProcessRequest.php +++ b/DocumentAi/src/V1/BatchProcessRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\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/DocumentAi/src/V1/BatchProcessResponse.php b/DocumentAi/src/V1/BatchProcessResponse.php index 57562ab5f73f..6eae1dcbfd12 100644 --- a/DocumentAi/src/V1/BatchProcessResponse.php +++ b/DocumentAi/src/V1/BatchProcessResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\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/DocumentAi/src/V1/BoundingPoly.php b/DocumentAi/src/V1/BoundingPoly.php index 90a2873a1327..43e08dadc2e6 100644 --- a/DocumentAi/src/V1/BoundingPoly.php +++ b/DocumentAi/src/V1/BoundingPoly.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A bounding polygon for the detected image annotation. @@ -34,9 +34,9 @@ class BoundingPoly extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Vertex>|\Google\Protobuf\Internal\RepeatedField $vertices + * @type \Google\Cloud\DocumentAI\V1\Vertex[] $vertices * The bounding polygon vertices. - * @type array<\Google\Cloud\DocumentAI\V1\NormalizedVertex>|\Google\Protobuf\Internal\RepeatedField $normalized_vertices + * @type \Google\Cloud\DocumentAI\V1\NormalizedVertex[] $normalized_vertices * The bounding polygon normalized vertices. * } */ @@ -49,7 +49,7 @@ public function __construct($data = NULL) { * The bounding polygon vertices. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Vertex vertices = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Vertex> */ public function getVertices() { @@ -60,7 +60,7 @@ public function getVertices() * The bounding polygon vertices. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Vertex vertices = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Vertex>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Vertex[] $var * @return $this */ public function setVertices($var) @@ -75,7 +75,7 @@ public function setVertices($var) * The bounding polygon normalized vertices. * * Generated from protobuf field repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\NormalizedVertex> */ public function getNormalizedVertices() { @@ -86,7 +86,7 @@ public function getNormalizedVertices() * The bounding polygon normalized vertices. * * Generated from protobuf field repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; - * @param array<\Google\Cloud\DocumentAI\V1\NormalizedVertex>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\NormalizedVertex[] $var * @return $this */ public function setNormalizedVertices($var) diff --git a/DocumentAi/src/V1/CommonOperationMetadata.php b/DocumentAi/src/V1/CommonOperationMetadata.php index e5406876c1ca..3532199faf3e 100644 --- a/DocumentAi/src/V1/CommonOperationMetadata.php +++ b/DocumentAi/src/V1/CommonOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The common metadata for long running operations. diff --git a/DocumentAi/src/V1/CommonOperationMetadata/State.php b/DocumentAi/src/V1/CommonOperationMetadata/State.php index 8217df1fcd0e..f51928fba0ef 100644 --- a/DocumentAi/src/V1/CommonOperationMetadata/State.php +++ b/DocumentAi/src/V1/CommonOperationMetadata/State.php @@ -80,4 +80,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/CreateProcessorRequest.php b/DocumentAi/src/V1/CreateProcessorRequest.php index 64faa44770ca..8c0ee79bcdbd 100644 --- a/DocumentAi/src/V1/CreateProcessorRequest.php +++ b/DocumentAi/src/V1/CreateProcessorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/DeleteProcessorMetadata.php b/DocumentAi/src/V1/DeleteProcessorMetadata.php index 80124ed069c0..ecdd42263b56 100644 --- a/DocumentAi/src/V1/DeleteProcessorMetadata.php +++ b/DocumentAi/src/V1/DeleteProcessorMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/DeleteProcessorRequest.php b/DocumentAi/src/V1/DeleteProcessorRequest.php index 6cb572b012b4..023d2ffadf01 100644 --- a/DocumentAi/src/V1/DeleteProcessorRequest.php +++ b/DocumentAi/src/V1/DeleteProcessorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/DeleteProcessorVersionMetadata.php b/DocumentAi/src/V1/DeleteProcessorVersionMetadata.php index 4327a21261df..cca5f350d243 100644 --- a/DocumentAi/src/V1/DeleteProcessorVersionMetadata.php +++ b/DocumentAi/src/V1/DeleteProcessorVersionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/DeleteProcessorVersionRequest.php b/DocumentAi/src/V1/DeleteProcessorVersionRequest.php index c1b9fe66983a..a917757074e4 100644 --- a/DocumentAi/src/V1/DeleteProcessorVersionRequest.php +++ b/DocumentAi/src/V1/DeleteProcessorVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/DeployProcessorVersionMetadata.php b/DocumentAi/src/V1/DeployProcessorVersionMetadata.php index 58dbc80516ee..9bb57185bf2f 100644 --- a/DocumentAi/src/V1/DeployProcessorVersionMetadata.php +++ b/DocumentAi/src/V1/DeployProcessorVersionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/DeployProcessorVersionRequest.php b/DocumentAi/src/V1/DeployProcessorVersionRequest.php index 38bd51702394..7cbc465dbc41 100644 --- a/DocumentAi/src/V1/DeployProcessorVersionRequest.php +++ b/DocumentAi/src/V1/DeployProcessorVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/DeployProcessorVersionResponse.php b/DocumentAi/src/V1/DeployProcessorVersionResponse.php index f44a4454de41..4f0a4bb098e2 100644 --- a/DocumentAi/src/V1/DeployProcessorVersionResponse.php +++ b/DocumentAi/src/V1/DeployProcessorVersionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the diff --git a/DocumentAi/src/V1/DisableProcessorMetadata.php b/DocumentAi/src/V1/DisableProcessorMetadata.php index dbecdbea0c9e..fc73e56c1637 100644 --- a/DocumentAi/src/V1/DisableProcessorMetadata.php +++ b/DocumentAi/src/V1/DisableProcessorMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/DisableProcessorRequest.php b/DocumentAi/src/V1/DisableProcessorRequest.php index fcefe5486fe9..5d01aa323d1b 100644 --- a/DocumentAi/src/V1/DisableProcessorRequest.php +++ b/DocumentAi/src/V1/DisableProcessorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/DisableProcessorResponse.php b/DocumentAi/src/V1/DisableProcessorResponse.php index f1f15d776735..278181ba2090 100644 --- a/DocumentAi/src/V1/DisableProcessorResponse.php +++ b/DocumentAi/src/V1/DisableProcessorResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the diff --git a/DocumentAi/src/V1/Document.php b/DocumentAi/src/V1/Document.php index f384d290a1e7..78a7aff4bda4 100644 --- a/DocumentAi/src/V1/Document.php +++ b/DocumentAi/src/V1/Document.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Document represents the canonical document resource in Document AI. It is an @@ -154,18 +154,18 @@ class Document extends \Google\Protobuf\Internal\Message * type)](https://www.iana.org/assignments/media-types/media-types.xhtml). * @type string $text * Optional. UTF-8 encoded text in reading order from the document. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Style>|\Google\Protobuf\Internal\RepeatedField $text_styles + * @type \Google\Cloud\DocumentAI\V1\Document\Style[] $text_styles * Styles for the [Document.text][google.cloud.documentai.v1.Document.text]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page>|\Google\Protobuf\Internal\RepeatedField $pages + * @type \Google\Cloud\DocumentAI\V1\Document\Page[] $pages * Visual page layout for the [Document][google.cloud.documentai.v1.Document]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Entity>|\Google\Protobuf\Internal\RepeatedField $entities + * @type \Google\Cloud\DocumentAI\V1\Document\Entity[] $entities * A list of entities detected on * [Document.text][google.cloud.documentai.v1.Document.text]. For document * shards, entities in this list may cross shard boundaries. - * @type array<\Google\Cloud\DocumentAI\V1\Document\EntityRelation>|\Google\Protobuf\Internal\RepeatedField $entity_relations + * @type \Google\Cloud\DocumentAI\V1\Document\EntityRelation[] $entity_relations * Placeholder. Relationship among * [Document.entities][google.cloud.documentai.v1.Document.entities]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\TextChange>|\Google\Protobuf\Internal\RepeatedField $text_changes + * @type \Google\Cloud\DocumentAI\V1\Document\TextChange[] $text_changes * Placeholder. A list of text corrections made to * [Document.text][google.cloud.documentai.v1.Document.text]. This is usually * used for annotating corrections to OCR mistakes. Text changes for a given @@ -175,7 +175,7 @@ class Document extends \Google\Protobuf\Internal\Message * document. If the document is not sharded, this message is not specified. * @type \Google\Rpc\Status $error * Any error that occurred while processing this document. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Revision>|\Google\Protobuf\Internal\RepeatedField $revisions + * @type \Google\Cloud\DocumentAI\V1\Document\Revision[] $revisions * Placeholder. Revision history of this document. * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout $document_layout * Parsed layout of the document. @@ -184,7 +184,7 @@ class Document extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput $entity_validation_output * The entity validation output for the document. This is the validation * output for `document.entities` field. - * @type array<\Google\Cloud\DocumentAI\V1\Document\EntitiesRevision>|\Google\Protobuf\Internal\RepeatedField $entities_revisions + * @type \Google\Cloud\DocumentAI\V1\Document\EntitiesRevision[] $entities_revisions * A list of entity revisions. The entity revisions are appended to the * document in the processing order. This field can be used for comparing the * entity extraction results at different stages of the processing. @@ -357,7 +357,7 @@ public function setText($var) * Styles for the [Document.text][google.cloud.documentai.v1.Document.text]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Style text_styles = 5 [deprecated = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Style> * @deprecated */ public function getTextStyles() @@ -372,7 +372,7 @@ public function getTextStyles() * Styles for the [Document.text][google.cloud.documentai.v1.Document.text]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Style text_styles = 5 [deprecated = true]; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Style>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Style[] $var * @return $this * @deprecated */ @@ -391,7 +391,7 @@ public function setTextStyles($var) * Visual page layout for the [Document][google.cloud.documentai.v1.Document]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page pages = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page> */ public function getPages() { @@ -402,7 +402,7 @@ public function getPages() * Visual page layout for the [Document][google.cloud.documentai.v1.Document]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page pages = 6; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page[] $var * @return $this */ public function setPages($var) @@ -419,7 +419,7 @@ public function setPages($var) * shards, entities in this list may cross shard boundaries. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Entity entities = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Entity> */ public function getEntities() { @@ -432,7 +432,7 @@ public function getEntities() * shards, entities in this list may cross shard boundaries. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Entity entities = 7; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Entity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Entity[] $var * @return $this */ public function setEntities($var) @@ -448,7 +448,7 @@ public function setEntities($var) * [Document.entities][google.cloud.documentai.v1.Document.entities]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\EntityRelation> */ public function getEntityRelations() { @@ -460,7 +460,7 @@ public function getEntityRelations() * [Document.entities][google.cloud.documentai.v1.Document.entities]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; - * @param array<\Google\Cloud\DocumentAI\V1\Document\EntityRelation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\EntityRelation[] $var * @return $this */ public function setEntityRelations($var) @@ -478,7 +478,7 @@ public function setEntityRelations($var) * revision may not overlap with each other. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\TextChange> */ public function getTextChanges() { @@ -492,7 +492,7 @@ public function getTextChanges() * revision may not overlap with each other. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; - * @param array<\Google\Cloud\DocumentAI\V1\Document\TextChange>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\TextChange[] $var * @return $this */ public function setTextChanges($var) @@ -581,7 +581,7 @@ public function setError($var) * Placeholder. Revision history of this document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Revision revisions = 13; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Revision> */ public function getRevisions() { @@ -592,7 +592,7 @@ public function getRevisions() * Placeholder. Revision history of this document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Revision revisions = 13; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Revision>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Revision[] $var * @return $this */ public function setRevisions($var) @@ -719,7 +719,7 @@ public function setEntityValidationOutput($var) * entity extraction results at different stages of the processing. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.EntitiesRevision entities_revisions = 22; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\EntitiesRevision> */ public function getEntitiesRevisions() { @@ -732,7 +732,7 @@ public function getEntitiesRevisions() * entity extraction results at different stages of the processing. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.EntitiesRevision entities_revisions = 22; - * @param array<\Google\Cloud\DocumentAI\V1\Document\EntitiesRevision>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\EntitiesRevision[] $var * @return $this */ public function setEntitiesRevisions($var) diff --git a/DocumentAi/src/V1/Document/ChunkedDocument.php b/DocumentAi/src/V1/Document/ChunkedDocument.php index 93c66055751f..ba3142b07029 100644 --- a/DocumentAi/src/V1/Document/ChunkedDocument.php +++ b/DocumentAi/src/V1/Document/ChunkedDocument.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the chunks that the document is divided into. @@ -28,7 +28,7 @@ class ChunkedDocument extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk>|\Google\Protobuf\Internal\RepeatedField $chunks + * @type \Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk[] $chunks * List of chunks. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * List of chunks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk chunks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk> */ public function getChunks() { @@ -52,7 +52,7 @@ public function getChunks() * List of chunks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk chunks = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk[] $var * @return $this */ public function setChunks($var) @@ -65,4 +65,3 @@ public function setChunks($var) } - diff --git a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk.php b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk.php index cf8730de540d..b275ec0c1105 100644 --- a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk.php +++ b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\ChunkedDocument; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a chunk. @@ -60,15 +60,15 @@ class Chunk extends \Google\Protobuf\Internal\Message * * @type string $chunk_id * ID of the chunk. - * @type array|\Google\Protobuf\Internal\RepeatedField $source_block_ids + * @type string[] $source_block_ids * Unused. * @type string $content * Text content of the chunk. * @type \Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageSpan $page_span * Page span of the chunk. - * @type array<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageHeader>|\Google\Protobuf\Internal\RepeatedField $page_headers + * @type \Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageHeader[] $page_headers * Page headers associated with the chunk. - * @type array<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageFooter>|\Google\Protobuf\Internal\RepeatedField $page_footers + * @type \Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageFooter[] $page_footers * Page footers associated with the chunk. * } */ @@ -107,7 +107,7 @@ public function setChunkId($var) * Unused. * * Generated from protobuf field repeated string source_block_ids = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSourceBlockIds() { @@ -118,7 +118,7 @@ public function getSourceBlockIds() * Unused. * * Generated from protobuf field repeated string source_block_ids = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSourceBlockIds($var) @@ -195,7 +195,7 @@ public function setPageSpan($var) * Page headers associated with the chunk. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageHeader> */ public function getPageHeaders() { @@ -206,7 +206,7 @@ public function getPageHeaders() * Page headers associated with the chunk. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageHeader page_headers = 5; - * @param array<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageHeader>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageHeader[] $var * @return $this */ public function setPageHeaders($var) @@ -221,7 +221,7 @@ public function setPageHeaders($var) * Page footers associated with the chunk. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageFooter> */ public function getPageFooters() { @@ -232,7 +232,7 @@ public function getPageFooters() * Page footers associated with the chunk. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ChunkPageFooter page_footers = 6; - * @param array<\Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageFooter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk\ChunkPageFooter[] $var * @return $this */ public function setPageFooters($var) @@ -245,4 +245,3 @@ public function setPageFooters($var) } - diff --git a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageFooter.php b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageFooter.php index 3289507d1f48..789640d2ea4a 100644 --- a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageFooter.php +++ b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageFooter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the page footer associated with the chunk. @@ -109,4 +109,3 @@ public function setPageSpan($var) } - diff --git a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageHeader.php b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageHeader.php index dcf2e11b0538..867bbec7fa58 100644 --- a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageHeader.php +++ b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageHeader.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the page header associated with the chunk. @@ -109,4 +109,3 @@ public function setPageSpan($var) } - diff --git a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageSpan.php b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageSpan.php index 9dad2a716fc9..97e30124c284 100644 --- a/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageSpan.php +++ b/DocumentAi/src/V1/Document/ChunkedDocument/Chunk/ChunkPageSpan.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\ChunkedDocument\Chunk; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents where the chunk starts and ends in the document. @@ -99,4 +99,3 @@ public function setPageEnd($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout.php b/DocumentAi/src/V1/Document/DocumentLayout.php index 998131971580..9fd0ec72acae 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout.php +++ b/DocumentAi/src/V1/Document/DocumentLayout.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the parsed layout of a document as a collection of blocks that @@ -29,7 +29,7 @@ class DocumentLayout extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $blocks + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $blocks * List of blocks in the document. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * List of blocks in the document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock> */ public function getBlocks() { @@ -53,7 +53,7 @@ public function getBlocks() * List of blocks in the document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $var * @return $this */ public function setBlocks($var) @@ -66,4 +66,3 @@ public function setBlocks($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock.php index 35c3bd5fd1c3..7b736a0aa077 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a block. A block could be one of the various types (text, @@ -262,4 +262,3 @@ public function getBlock() } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListBlock.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListBlock.php index 75b1145a5ae2..e9bc8f8b92af 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListBlock.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListBlock.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a list type block. @@ -35,7 +35,7 @@ class LayoutListBlock extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutListEntry>|\Google\Protobuf\Internal\RepeatedField $list_entries + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutListEntry[] $list_entries * List entries that constitute a list block. * @type string $type * Type of the list_entries (if exist). Available options are `ordered` @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * List entries that constitute a list block. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry list_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutListEntry> */ public function getListEntries() { @@ -62,7 +62,7 @@ public function getListEntries() * List entries that constitute a list block. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry list_entries = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutListEntry>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutListEntry[] $var * @return $this */ public function setListEntries($var) @@ -103,4 +103,3 @@ public function setType($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListEntry.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListEntry.php index d725f3d9c738..5c7a9af390e9 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListEntry.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutListEntry.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an entry in the list. @@ -29,7 +29,7 @@ class LayoutListEntry extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $blocks + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $blocks * A list entry is a list of blocks. * Repeated blocks support further hierarchies and nested blocks. * } @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * Repeated blocks support further hierarchies and nested blocks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock> */ public function getBlocks() { @@ -56,7 +56,7 @@ public function getBlocks() * Repeated blocks support further hierarchies and nested blocks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $var * @return $this */ public function setBlocks($var) @@ -69,4 +69,3 @@ public function setBlocks($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutPageSpan.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutPageSpan.php index 10e36ca3954d..51aa9b02c19e 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutPageSpan.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutPageSpan.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents where the block starts and ends in the document. @@ -99,4 +99,3 @@ public function setPageEnd($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableBlock.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableBlock.php index 40c7f92b310b..bdfbe8981498 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableBlock.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableBlock.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a table type block. @@ -40,9 +40,9 @@ class LayoutTableBlock extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>|\Google\Protobuf\Internal\RepeatedField $header_rows + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow[] $header_rows * Header rows at the top of the table. - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>|\Google\Protobuf\Internal\RepeatedField $body_rows + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow[] $body_rows * Body rows containing main table content. * @type string $caption * Table caption/title. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * Header rows at the top of the table. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow> */ public function getHeaderRows() { @@ -68,7 +68,7 @@ public function getHeaderRows() * Header rows at the top of the table. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow header_rows = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow[] $var * @return $this */ public function setHeaderRows($var) @@ -83,7 +83,7 @@ public function setHeaderRows($var) * Body rows containing main table content. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow> */ public function getBodyRows() { @@ -94,7 +94,7 @@ public function getBodyRows() * Body rows containing main table content. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow body_rows = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableRow[] $var * @return $this */ public function setBodyRows($var) @@ -133,4 +133,3 @@ public function setCaption($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableCell.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableCell.php index 55ff29e72def..97505547be14 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableCell.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableCell.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a cell in a table row. @@ -41,7 +41,7 @@ class LayoutTableCell extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $blocks + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $blocks * A table cell is a list of blocks. * Repeated blocks support further hierarchies and nested blocks. * @type int $row_span @@ -60,7 +60,7 @@ public function __construct($data = NULL) { * Repeated blocks support further hierarchies and nested blocks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock> */ public function getBlocks() { @@ -72,7 +72,7 @@ public function getBlocks() * Repeated blocks support further hierarchies and nested blocks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $var * @return $this */ public function setBlocks($var) @@ -137,4 +137,3 @@ public function setColSpan($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableRow.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableRow.php index 253239c033bd..24a87501ec66 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableRow.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTableRow.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a row in a table. @@ -28,7 +28,7 @@ class LayoutTableRow extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableCell>|\Google\Protobuf\Internal\RepeatedField $cells + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableCell[] $cells * A table row is a list of table cells. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * A table row is a list of table cells. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell cells = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableCell> */ public function getCells() { @@ -52,7 +52,7 @@ public function getCells() * A table row is a list of table cells. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell cells = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableCell>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock\LayoutTableCell[] $var * @return $this */ public function setCells($var) @@ -65,4 +65,3 @@ public function setCells($var) } - diff --git a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTextBlock.php b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTextBlock.php index e7021964312a..9febff016e5b 100644 --- a/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTextBlock.php +++ b/DocumentAi/src/V1/Document/DocumentLayout/DocumentLayoutBlock/LayoutTextBlock.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a text type block. @@ -49,7 +49,7 @@ class LayoutTextBlock extends \Google\Protobuf\Internal\Message * Type of the text in the block. Available options are: `paragraph`, * `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, * `heading-5`, `header`, `footer`. - * @type array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $blocks + * @type \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $blocks * A text block could further have child blocks. * Repeated blocks support further hierarchies and nested blocks. * } @@ -120,7 +120,7 @@ public function setType($var) * Repeated blocks support further hierarchies and nested blocks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock> */ public function getBlocks() { @@ -132,7 +132,7 @@ public function getBlocks() * Repeated blocks support further hierarchies and nested blocks. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock blocks = 3; - * @param array<\Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\DocumentLayout\DocumentLayoutBlock[] $var * @return $this */ public function setBlocks($var) @@ -145,4 +145,3 @@ public function setBlocks($var) } - diff --git a/DocumentAi/src/V1/Document/EntitiesRevision.php b/DocumentAi/src/V1/Document/EntitiesRevision.php index cff5a988ab96..da63e9598c67 100644 --- a/DocumentAi/src/V1/Document/EntitiesRevision.php +++ b/DocumentAi/src/V1/Document/EntitiesRevision.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Entity revision. @@ -42,7 +42,7 @@ class EntitiesRevision extends \Google\Protobuf\Internal\Message * * @type string $revision_id * The revision id. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Entity>|\Google\Protobuf\Internal\RepeatedField $entities + * @type \Google\Cloud\DocumentAI\V1\Document\Entity[] $entities * The entities in this revision. * @type \Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput $entity_validation_output * The entity validation output for this revision. @@ -83,7 +83,7 @@ public function setRevisionId($var) * The entities in this revision. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Entity entities = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Entity> */ public function getEntities() { @@ -94,7 +94,7 @@ public function getEntities() * The entities in this revision. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Entity entities = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Entity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Entity[] $var * @return $this */ public function setEntities($var) @@ -143,4 +143,3 @@ public function setEntityValidationOutput($var) } - diff --git a/DocumentAi/src/V1/Document/Entity.php b/DocumentAi/src/V1/Document/Entity.php index f3dfc3dad211..976c3e388b69 100644 --- a/DocumentAi/src/V1/Document/Entity.php +++ b/DocumentAi/src/V1/Document/Entity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An entity that could be a phrase in the text or a property that belongs to @@ -128,7 +128,7 @@ class Entity extends \Google\Protobuf\Internal\Message * not be converted or the type (e.g. address) is not supported for certain * parsers. This field is also only populated for certain supported document * types. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Entity>|\Google\Protobuf\Internal\RepeatedField $properties + * @type \Google\Cloud\DocumentAI\V1\Document\Entity[] $properties * Optional. Entities can be nested to form a hierarchical data structure * representing the content in the document. * @type \Google\Cloud\DocumentAI\V1\Document\Provenance $provenance @@ -402,7 +402,7 @@ public function setNormalizedValue($var) * representing the content in the document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Entity> */ public function getProperties() { @@ -414,7 +414,7 @@ public function getProperties() * representing the content in the document. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Entity properties = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Entity>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Entity[] $var * @return $this */ public function setProperties($var) @@ -517,4 +517,3 @@ public function setMethod($var) } - diff --git a/DocumentAi/src/V1/Document/Entity/Method.php b/DocumentAi/src/V1/Document/Entity/Method.php index 054d16f4ac85..2e4723041898 100644 --- a/DocumentAi/src/V1/Document/Entity/Method.php +++ b/DocumentAi/src/V1/Document/Entity/Method.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/Document/Entity/NormalizedValue.php b/DocumentAi/src/V1/Document/Entity/NormalizedValue.php index 2a8f3cad4468..daf84adf42ef 100644 --- a/DocumentAi/src/V1/Document/Entity/NormalizedValue.php +++ b/DocumentAi/src/V1/Document/Entity/NormalizedValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Entity; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Parsed and normalized entity value. @@ -380,4 +380,3 @@ public function getStructuredValue() } - diff --git a/DocumentAi/src/V1/Document/EntityRelation.php b/DocumentAi/src/V1/Document/EntityRelation.php index e4fc836c29b7..93344d0ccd38 100644 --- a/DocumentAi/src/V1/Document/EntityRelation.php +++ b/DocumentAi/src/V1/Document/EntityRelation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Relationship between @@ -134,4 +134,3 @@ public function setRelation($var) } - diff --git a/DocumentAi/src/V1/Document/EntityValidationOutput.php b/DocumentAi/src/V1/Document/EntityValidationOutput.php index cbb59f312fb7..3e33ca02c2d8 100644 --- a/DocumentAi/src/V1/Document/EntityValidationOutput.php +++ b/DocumentAi/src/V1/Document/EntityValidationOutput.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The output of the validation given the document and the validation rules. @@ -35,7 +35,7 @@ class EntityValidationOutput extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput\ValidationResult>|\Google\Protobuf\Internal\RepeatedField $validation_results + * @type \Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput\ValidationResult[] $validation_results * The result of each validation rule. * @type bool $pass_all_rules * The overall result of the validation, true if all applicable rules are @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The result of each validation rule. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult validation_results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput\ValidationResult> */ public function getValidationResults() { @@ -62,7 +62,7 @@ public function getValidationResults() * The result of each validation rule. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult validation_results = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput\ValidationResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput\ValidationResult[] $var * @return $this */ public function setValidationResults($var) @@ -103,4 +103,3 @@ public function setPassAllRules($var) } - diff --git a/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult.php b/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult.php index 96993f314cc8..fad866d5bdd4 100644 --- a/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult.php +++ b/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\EntityValidationOutput; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Validation result for a single validation rule. @@ -171,4 +171,3 @@ public function setValidationDetails($var) } - diff --git a/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult/ValidationResultType.php b/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult/ValidationResultType.php index 7bcef790843e..5d1c7eebdbaf 100644 --- a/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult/ValidationResultType.php +++ b/DocumentAi/src/V1/Document/EntityValidationOutput/ValidationResult/ValidationResultType.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/Document/Page.php b/DocumentAi/src/V1/Document/Page.php index 4fadf643d308..4e7e0a78bef9 100644 --- a/DocumentAi/src/V1/Document/Page.php +++ b/DocumentAi/src/V1/Document/Page.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A page in a [Document][google.cloud.documentai.v1.Document]. @@ -147,37 +147,37 @@ class Page extends \Google\Protobuf\Internal\Message * Rendered image for this page. This image is preprocessed to remove any * skew, rotation, and distortions such that the annotation bounding boxes * can be upright and axis-aligned. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Matrix>|\Google\Protobuf\Internal\RepeatedField $transforms + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Matrix[] $transforms * Transformation matrices that were applied to the original document image * to produce [Page.image][google.cloud.documentai.v1.Document.Page.image]. * @type \Google\Cloud\DocumentAI\V1\Document\Page\Dimension $dimension * Physical dimension of the page. * @type \Google\Cloud\DocumentAI\V1\Document\Page\Layout $layout * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Block>|\Google\Protobuf\Internal\RepeatedField $blocks + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Block[] $blocks * A list of visually detected text blocks on the page. * A block has a set of lines (collected into paragraphs) that have a common * line-spacing and orientation. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Paragraph>|\Google\Protobuf\Internal\RepeatedField $paragraphs + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Paragraph[] $paragraphs * A list of visually detected text paragraphs on the page. * A collection of lines that a human would perceive as a paragraph. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Line>|\Google\Protobuf\Internal\RepeatedField $lines + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Line[] $lines * A list of visually detected text lines on the page. * A collection of tokens that a human would perceive as a line. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Token>|\Google\Protobuf\Internal\RepeatedField $tokens + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Token[] $tokens * A list of visually detected tokens on the page. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\VisualElement>|\Google\Protobuf\Internal\RepeatedField $visual_elements + * @type \Google\Cloud\DocumentAI\V1\Document\Page\VisualElement[] $visual_elements * A list of detected non-text visual elements e.g. checkbox, * signature etc. on the page. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Table>|\Google\Protobuf\Internal\RepeatedField $tables + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Table[] $tables * A list of visually detected tables on the page. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\FormField>|\Google\Protobuf\Internal\RepeatedField $form_fields + * @type \Google\Cloud\DocumentAI\V1\Document\Page\FormField[] $form_fields * A list of visually detected form fields on the page. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Symbol>|\Google\Protobuf\Internal\RepeatedField $symbols + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Symbol[] $symbols * A list of visually detected symbols on the page. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedBarcode>|\Google\Protobuf\Internal\RepeatedField $detected_barcodes + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedBarcode[] $detected_barcodes * A list of detected barcodes. * @type \Google\Cloud\DocumentAI\V1\Document\Page\ImageQualityScores $image_quality_scores * Image quality scores. @@ -269,7 +269,7 @@ public function setImage($var) * to produce [Page.image][google.cloud.documentai.v1.Document.Page.image]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Matrix> */ public function getTransforms() { @@ -281,7 +281,7 @@ public function getTransforms() * to produce [Page.image][google.cloud.documentai.v1.Document.Page.image]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Matrix transforms = 14; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Matrix>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Matrix[] $var * @return $this */ public function setTransforms($var) @@ -368,7 +368,7 @@ public function setLayout($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -379,7 +379,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -396,7 +396,7 @@ public function setDetectedLanguages($var) * line-spacing and orientation. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Block blocks = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Block> */ public function getBlocks() { @@ -409,7 +409,7 @@ public function getBlocks() * line-spacing and orientation. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Block blocks = 5; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Block>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Block[] $var * @return $this */ public function setBlocks($var) @@ -425,7 +425,7 @@ public function setBlocks($var) * A collection of lines that a human would perceive as a paragraph. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Paragraph> */ public function getParagraphs() { @@ -437,7 +437,7 @@ public function getParagraphs() * A collection of lines that a human would perceive as a paragraph. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Paragraph paragraphs = 6; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Paragraph>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Paragraph[] $var * @return $this */ public function setParagraphs($var) @@ -453,7 +453,7 @@ public function setParagraphs($var) * A collection of tokens that a human would perceive as a line. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Line> */ public function getLines() { @@ -465,7 +465,7 @@ public function getLines() * A collection of tokens that a human would perceive as a line. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Line lines = 7; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Line>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Line[] $var * @return $this */ public function setLines($var) @@ -480,7 +480,7 @@ public function setLines($var) * A list of visually detected tokens on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Token> */ public function getTokens() { @@ -491,7 +491,7 @@ public function getTokens() * A list of visually detected tokens on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Token tokens = 8; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Token>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Token[] $var * @return $this */ public function setTokens($var) @@ -507,7 +507,7 @@ public function setTokens($var) * signature etc. on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\VisualElement> */ public function getVisualElements() { @@ -519,7 +519,7 @@ public function getVisualElements() * signature etc. on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.VisualElement visual_elements = 9; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\VisualElement>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\VisualElement[] $var * @return $this */ public function setVisualElements($var) @@ -534,7 +534,7 @@ public function setVisualElements($var) * A list of visually detected tables on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Table> */ public function getTables() { @@ -545,7 +545,7 @@ public function getTables() * A list of visually detected tables on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table tables = 10; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Table>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Table[] $var * @return $this */ public function setTables($var) @@ -560,7 +560,7 @@ public function setTables($var) * A list of visually detected form fields on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\FormField> */ public function getFormFields() { @@ -571,7 +571,7 @@ public function getFormFields() * A list of visually detected form fields on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.FormField form_fields = 11; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\FormField>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\FormField[] $var * @return $this */ public function setFormFields($var) @@ -586,7 +586,7 @@ public function setFormFields($var) * A list of visually detected symbols on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Symbol> */ public function getSymbols() { @@ -597,7 +597,7 @@ public function getSymbols() * A list of visually detected symbols on the page. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Symbol symbols = 12; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Symbol>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Symbol[] $var * @return $this */ public function setSymbols($var) @@ -612,7 +612,7 @@ public function setSymbols($var) * A list of detected barcodes. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedBarcode> */ public function getDetectedBarcodes() { @@ -623,7 +623,7 @@ public function getDetectedBarcodes() * A list of detected barcodes. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedBarcode detected_barcodes = 15; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedBarcode>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedBarcode[] $var * @return $this */ public function setDetectedBarcodes($var) @@ -718,4 +718,3 @@ public function setProvenance($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Block.php b/DocumentAi/src/V1/Document/Page/Block.php index da8a6dc7af98..a405a9a4d030 100644 --- a/DocumentAi/src/V1/Document/Page/Block.php +++ b/DocumentAi/src/V1/Document/Page/Block.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A block has a set of lines (collected into paragraphs) that have a @@ -46,7 +46,7 @@ class Block extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\Page\Layout $layout * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for * [Block][google.cloud.documentai.v1.Document.Page.Block]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * @type \Google\Cloud\DocumentAI\V1\Document\Provenance $provenance * The history of this annotation. @@ -99,7 +99,7 @@ public function setLayout($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -110,7 +110,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -169,4 +169,3 @@ public function setProvenance($var) } - diff --git a/DocumentAi/src/V1/Document/Page/DetectedBarcode.php b/DocumentAi/src/V1/Document/Page/DetectedBarcode.php index 848d311ece2a..5c1d620a7725 100644 --- a/DocumentAi/src/V1/Document/Page/DetectedBarcode.php +++ b/DocumentAi/src/V1/Document/Page/DetectedBarcode.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A detected barcode. @@ -127,4 +127,3 @@ public function setBarcode($var) } - diff --git a/DocumentAi/src/V1/Document/Page/DetectedLanguage.php b/DocumentAi/src/V1/Document/Page/DetectedLanguage.php index 756e0d1cbc91..ac08ad3ba446 100644 --- a/DocumentAi/src/V1/Document/Page/DetectedLanguage.php +++ b/DocumentAi/src/V1/Document/Page/DetectedLanguage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detected language for a structural component. @@ -107,4 +107,3 @@ public function setConfidence($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Dimension.php b/DocumentAi/src/V1/Document/Page/Dimension.php index 3b2bfe644a9a..cd7bddb6bdad 100644 --- a/DocumentAi/src/V1/Document/Page/Dimension.php +++ b/DocumentAi/src/V1/Document/Page/Dimension.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Dimension for the page. @@ -133,4 +133,3 @@ public function setUnit($var) } - diff --git a/DocumentAi/src/V1/Document/Page/FormField.php b/DocumentAi/src/V1/Document/Page/FormField.php index b358ac3c079b..e42a49774992 100644 --- a/DocumentAi/src/V1/Document/Page/FormField.php +++ b/DocumentAi/src/V1/Document/Page/FormField.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A form field detected on the page. @@ -88,9 +88,9 @@ class FormField extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\Page\Layout $field_value * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $name_detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $name_detected_languages * A list of detected languages for name together with confidence. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $value_detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $value_detected_languages * A list of detected languages for value together with confidence. * @type string $value_type * If the value is non-textual, this field represents the type. Current @@ -197,7 +197,7 @@ public function setFieldValue($var) * A list of detected languages for name together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getNameDetectedLanguages() { @@ -208,7 +208,7 @@ public function getNameDetectedLanguages() * A list of detected languages for name together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage name_detected_languages = 3; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setNameDetectedLanguages($var) @@ -223,7 +223,7 @@ public function setNameDetectedLanguages($var) * A list of detected languages for value together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getValueDetectedLanguages() { @@ -234,7 +234,7 @@ public function getValueDetectedLanguages() * A list of detected languages for value together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage value_detected_languages = 4; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setValueDetectedLanguages($var) @@ -377,4 +377,3 @@ public function setProvenance($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Image.php b/DocumentAi/src/V1/Document/Page/Image.php index fbdffb62ecd0..a5e49f2e15d9 100644 --- a/DocumentAi/src/V1/Document/Page/Image.php +++ b/DocumentAi/src/V1/Document/Page/Image.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Rendered image contents for this page. @@ -175,4 +175,3 @@ public function setHeight($var) } - diff --git a/DocumentAi/src/V1/Document/Page/ImageQualityScores.php b/DocumentAi/src/V1/Document/Page/ImageQualityScores.php index 7fcaa54286d8..4023dbbb303c 100644 --- a/DocumentAi/src/V1/Document/Page/ImageQualityScores.php +++ b/DocumentAi/src/V1/Document/Page/ImageQualityScores.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Image quality scores for the page image. @@ -36,7 +36,7 @@ class ImageQualityScores extends \Google\Protobuf\Internal\Message * * @type float $quality_score * The overall quality score. Range `[0, 1]` where `1` is perfect quality. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\ImageQualityScores\DetectedDefect>|\Google\Protobuf\Internal\RepeatedField $detected_defects + * @type \Google\Cloud\DocumentAI\V1\Document\Page\ImageQualityScores\DetectedDefect[] $detected_defects * A list of detected defects. * } */ @@ -75,7 +75,7 @@ public function setQualityScore($var) * A list of detected defects. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\ImageQualityScores\DetectedDefect> */ public function getDetectedDefects() { @@ -86,7 +86,7 @@ public function getDetectedDefects() * A list of detected defects. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.ImageQualityScores.DetectedDefect detected_defects = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\ImageQualityScores\DetectedDefect>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\ImageQualityScores\DetectedDefect[] $var * @return $this */ public function setDetectedDefects($var) @@ -99,4 +99,3 @@ public function setDetectedDefects($var) } - diff --git a/DocumentAi/src/V1/Document/Page/ImageQualityScores/DetectedDefect.php b/DocumentAi/src/V1/Document/Page/ImageQualityScores/DetectedDefect.php index 8ab7a6cf709e..140bbcfb220e 100644 --- a/DocumentAi/src/V1/Document/Page/ImageQualityScores/DetectedDefect.php +++ b/DocumentAi/src/V1/Document/Page/ImageQualityScores/DetectedDefect.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page\ImageQualityScores; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Image Quality Defects @@ -135,4 +135,3 @@ public function setConfidence($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Layout.php b/DocumentAi/src/V1/Document/Page/Layout.php index 4da1aa5fb6a5..00cafd168829 100644 --- a/DocumentAi/src/V1/Document/Page/Layout.php +++ b/DocumentAi/src/V1/Document/Page/Layout.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Visual element describing a layout unit on a page. @@ -215,4 +215,3 @@ public function setOrientation($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Layout/Orientation.php b/DocumentAi/src/V1/Document/Page/Layout/Orientation.php index e144b6d44f0e..2bd4b26107da 100644 --- a/DocumentAi/src/V1/Document/Page/Layout/Orientation.php +++ b/DocumentAi/src/V1/Document/Page/Layout/Orientation.php @@ -76,4 +76,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/Document/Page/Line.php b/DocumentAi/src/V1/Document/Page/Line.php index 2a05b3c537a5..6b72b04f81b7 100644 --- a/DocumentAi/src/V1/Document/Page/Line.php +++ b/DocumentAi/src/V1/Document/Page/Line.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of tokens that a human would perceive as a line. @@ -46,7 +46,7 @@ class Line extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\Page\Layout $layout * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for * [Line][google.cloud.documentai.v1.Document.Page.Line]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * @type \Google\Cloud\DocumentAI\V1\Document\Provenance $provenance * The history of this annotation. @@ -99,7 +99,7 @@ public function setLayout($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -110,7 +110,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -169,4 +169,3 @@ public function setProvenance($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Matrix.php b/DocumentAi/src/V1/Document/Page/Matrix.php index 63bc6946c0d6..6a9d1afb0af2 100644 --- a/DocumentAi/src/V1/Document/Page/Matrix.php +++ b/DocumentAi/src/V1/Document/Page/Matrix.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Representation for transformation matrix, intended to be compatible and @@ -180,4 +180,3 @@ public function setData($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Paragraph.php b/DocumentAi/src/V1/Document/Page/Paragraph.php index df872a9fb860..f5b43941a26c 100644 --- a/DocumentAi/src/V1/Document/Page/Paragraph.php +++ b/DocumentAi/src/V1/Document/Page/Paragraph.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A collection of lines that a human would perceive as a paragraph. @@ -45,7 +45,7 @@ class Paragraph extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\Page\Layout $layout * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * @type \Google\Cloud\DocumentAI\V1\Document\Provenance $provenance * The history of this annotation. @@ -98,7 +98,7 @@ public function setLayout($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -109,7 +109,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -168,4 +168,3 @@ public function setProvenance($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Symbol.php b/DocumentAi/src/V1/Document/Page/Symbol.php index 780b82c1ceb4..2216e83330ca 100644 --- a/DocumentAi/src/V1/Document/Page/Symbol.php +++ b/DocumentAi/src/V1/Document/Page/Symbol.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A detected symbol. @@ -38,7 +38,7 @@ class Symbol extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\Page\Layout $layout * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * } */ @@ -89,7 +89,7 @@ public function setLayout($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -100,7 +100,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -113,4 +113,3 @@ public function setDetectedLanguages($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Table.php b/DocumentAi/src/V1/Document/Page/Table.php index 936ffe862ca6..a15ec94d9e91 100644 --- a/DocumentAi/src/V1/Document/Page/Table.php +++ b/DocumentAi/src/V1/Document/Page/Table.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A table representation similar to HTML table structure. @@ -57,11 +57,11 @@ class Table extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\Page\Layout $layout * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for * [Table][google.cloud.documentai.v1.Document.Page.Table]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>|\Google\Protobuf\Internal\RepeatedField $header_rows + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow[] $header_rows * Header rows of the table. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>|\Google\Protobuf\Internal\RepeatedField $body_rows + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow[] $body_rows * Body rows of the table. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * @type \Google\Cloud\DocumentAI\V1\Document\Provenance $provenance * The history of this table. @@ -114,7 +114,7 @@ public function setLayout($var) * Header rows of the table. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow> */ public function getHeaderRows() { @@ -125,7 +125,7 @@ public function getHeaderRows() * Header rows of the table. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow header_rows = 2; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow[] $var * @return $this */ public function setHeaderRows($var) @@ -140,7 +140,7 @@ public function setHeaderRows($var) * Body rows of the table. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow> */ public function getBodyRows() { @@ -151,7 +151,7 @@ public function getBodyRows() * Body rows of the table. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableRow body_rows = 3; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Table\TableRow[] $var * @return $this */ public function setBodyRows($var) @@ -166,7 +166,7 @@ public function setBodyRows($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -177,7 +177,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -236,4 +236,3 @@ public function setProvenance($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Table/TableCell.php b/DocumentAi/src/V1/Document/Page/Table/TableCell.php index 59027f91e9d3..b595f6f00ec3 100644 --- a/DocumentAi/src/V1/Document/Page/Table/TableCell.php +++ b/DocumentAi/src/V1/Document/Page/Table/TableCell.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page\Table; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A cell representation inside the table. @@ -54,7 +54,7 @@ class TableCell extends \Google\Protobuf\Internal\Message * How many rows this cell spans. * @type int $col_span * How many columns this cell spans. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * } */ @@ -157,7 +157,7 @@ public function setColSpan($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -168,7 +168,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 4; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -181,4 +181,3 @@ public function setDetectedLanguages($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Table/TableRow.php b/DocumentAi/src/V1/Document/Page/Table/TableRow.php index b28c96d723fe..4b978d57ab7e 100644 --- a/DocumentAi/src/V1/Document/Page/Table/TableRow.php +++ b/DocumentAi/src/V1/Document/Page/Table/TableRow.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page\Table; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A row of table cells. @@ -28,7 +28,7 @@ class TableRow extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableCell>|\Google\Protobuf\Internal\RepeatedField $cells + * @type \Google\Cloud\DocumentAI\V1\Document\Page\Table\TableCell[] $cells * Cells that make up this row. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Cells that make up this row. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableCell cells = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableCell> */ public function getCells() { @@ -52,7 +52,7 @@ public function getCells() * Cells that make up this row. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.Table.TableCell cells = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\Table\TableCell>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\Table\TableCell[] $var * @return $this */ public function setCells($var) @@ -65,4 +65,3 @@ public function setCells($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Token.php b/DocumentAi/src/V1/Document/Page/Token.php index 7d62be7a947d..a2c9f5e1d290 100644 --- a/DocumentAi/src/V1/Document/Page/Token.php +++ b/DocumentAi/src/V1/Document/Page/Token.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A detected token. @@ -61,7 +61,7 @@ class Token extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\DocumentAI\V1\Document\Page\Token\DetectedBreak $detected_break * Detected break at the end of a * [Token][google.cloud.documentai.v1.Document.Page.Token]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * @type \Google\Cloud\DocumentAI\V1\Document\Provenance $provenance * The history of this annotation. @@ -154,7 +154,7 @@ public function setDetectedBreak($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -165,7 +165,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 3; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -260,4 +260,3 @@ public function setStyleInfo($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Token/DetectedBreak.php b/DocumentAi/src/V1/Document/Page/Token/DetectedBreak.php index 1b84a718eb2c..f1bb4fb29dc0 100644 --- a/DocumentAi/src/V1/Document/Page/Token/DetectedBreak.php +++ b/DocumentAi/src/V1/Document/Page/Token/DetectedBreak.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page\Token; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detected break at the end of a @@ -66,4 +66,3 @@ public function setType($var) } - diff --git a/DocumentAi/src/V1/Document/Page/Token/DetectedBreak/Type.php b/DocumentAi/src/V1/Document/Page/Token/DetectedBreak/Type.php index e8fdd9876d0f..c536ad1b6e11 100644 --- a/DocumentAi/src/V1/Document/Page/Token/DetectedBreak/Type.php +++ b/DocumentAi/src/V1/Document/Page/Token/DetectedBreak/Type.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/Document/Page/Token/StyleInfo.php b/DocumentAi/src/V1/Document/Page/Token/StyleInfo.php index 340a710ea13f..c3ed9461ebb3 100644 --- a/DocumentAi/src/V1/Document/Page/Token/StyleInfo.php +++ b/DocumentAi/src/V1/Document/Page/Token/StyleInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page\Token; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Font and other text style attributes. @@ -581,4 +581,3 @@ public function setBackgroundColor($var) } - diff --git a/DocumentAi/src/V1/Document/Page/VisualElement.php b/DocumentAi/src/V1/Document/Page/VisualElement.php index 690fc8d94e57..a5e46c248ba4 100644 --- a/DocumentAi/src/V1/Document/Page/VisualElement.php +++ b/DocumentAi/src/V1/Document/Page/VisualElement.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Page; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Detected non-text visual elements e.g. checkbox, signature etc. on the @@ -49,7 +49,7 @@ class VisualElement extends \Google\Protobuf\Internal\Message * @type string $type * Type of the * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement]. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $detected_languages + * @type \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $detected_languages * A list of detected languages together with confidence. * } */ @@ -128,7 +128,7 @@ public function setType($var) * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage> */ public function getDetectedLanguages() { @@ -139,7 +139,7 @@ public function getDetectedLanguages() * A list of detected languages together with confidence. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Page.DetectedLanguage detected_languages = 3; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Page\DetectedLanguage[] $var * @return $this */ public function setDetectedLanguages($var) @@ -152,4 +152,3 @@ public function setDetectedLanguages($var) } - diff --git a/DocumentAi/src/V1/Document/PageAnchor.php b/DocumentAi/src/V1/Document/PageAnchor.php index c6524ec14f53..08c07c1f2a3a 100644 --- a/DocumentAi/src/V1/Document/PageAnchor.php +++ b/DocumentAi/src/V1/Document/PageAnchor.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Referencing the visual context of the entity in the @@ -31,7 +31,7 @@ class PageAnchor extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef>|\Google\Protobuf\Internal\RepeatedField $page_refs + * @type \Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef[] $page_refs * One or more references to visual page elements * } */ @@ -44,7 +44,7 @@ public function __construct($data = NULL) { * One or more references to visual page elements * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.PageAnchor.PageRef page_refs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef> */ public function getPageRefs() { @@ -55,7 +55,7 @@ public function getPageRefs() * One or more references to visual page elements * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.PageAnchor.PageRef page_refs = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef[] $var * @return $this */ public function setPageRefs($var) @@ -68,4 +68,3 @@ public function setPageRefs($var) } - diff --git a/DocumentAi/src/V1/Document/PageAnchor/PageRef.php b/DocumentAi/src/V1/Document/PageAnchor/PageRef.php index 1d4a04ed02c1..240a39c2151e 100644 --- a/DocumentAi/src/V1/Document/PageAnchor/PageRef.php +++ b/DocumentAi/src/V1/Document/PageAnchor/PageRef.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\PageAnchor; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a weak reference to a page element within a document. @@ -262,4 +262,3 @@ public function setConfidence($var) } - diff --git a/DocumentAi/src/V1/Document/PageAnchor/PageRef/LayoutType.php b/DocumentAi/src/V1/Document/PageAnchor/PageRef/LayoutType.php index 221ebd633975..b98beb7e6e5f 100644 --- a/DocumentAi/src/V1/Document/PageAnchor/PageRef/LayoutType.php +++ b/DocumentAi/src/V1/Document/PageAnchor/PageRef/LayoutType.php @@ -107,4 +107,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/Document/Provenance.php b/DocumentAi/src/V1/Document/Provenance.php index 2a28c65b0deb..a8282aca2592 100644 --- a/DocumentAi/src/V1/Document/Provenance.php +++ b/DocumentAi/src/V1/Document/Provenance.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Structure to identify provenance relationships between annotations in @@ -55,7 +55,7 @@ class Provenance extends \Google\Protobuf\Internal\Message * @type int $id * The Id of this operation. Needs to be unique within the scope of the * revision. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Provenance\PBParent>|\Google\Protobuf\Internal\RepeatedField $parents + * @type \Google\Cloud\DocumentAI\V1\Document\Provenance\PBParent[] $parents * References to the original elements that are replaced. * @type int $type * The type of provenance operation. @@ -136,7 +136,7 @@ public function setId($var) * References to the original elements that are replaced. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Provenance\PBParent> */ public function getParents() { @@ -147,7 +147,7 @@ public function getParents() * References to the original elements that are replaced. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Provenance.Parent parents = 3; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Provenance\PBParent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Provenance\PBParent[] $var * @return $this */ public function setParents($var) @@ -186,4 +186,3 @@ public function setType($var) } - diff --git a/DocumentAi/src/V1/Document/Provenance/OperationType.php b/DocumentAi/src/V1/Document/Provenance/OperationType.php index a81a79063460..b9cc53e04cc9 100644 --- a/DocumentAi/src/V1/Document/Provenance/OperationType.php +++ b/DocumentAi/src/V1/Document/Provenance/OperationType.php @@ -100,4 +100,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/Document/Provenance/PBParent.php b/DocumentAi/src/V1/Document/Provenance/PBParent.php index a0c71a689854..b23fffae3132 100644 --- a/DocumentAi/src/V1/Document/Provenance/PBParent.php +++ b/DocumentAi/src/V1/Document/Provenance/PBParent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Provenance; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The parent element the current element is based on. Used for @@ -145,4 +145,3 @@ public function setId($var) } - diff --git a/DocumentAi/src/V1/Document/Revision.php b/DocumentAi/src/V1/Document/Revision.php index 759b76e08eb6..5250430836b3 100644 --- a/DocumentAi/src/V1/Document/Revision.php +++ b/DocumentAi/src/V1/Document/Revision.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains past or forward revisions of this document. @@ -69,11 +69,11 @@ class Revision extends \Google\Protobuf\Internal\Message * @type string $id * Id of the revision, internally generated by doc proto storage. * Unique within the context of the document. - * @type array|\Google\Protobuf\Internal\RepeatedField $parent + * @type int[] $parent * The revisions that this revision is based on. This can include one or * more parent (when documents are merged.) This field represents the * index into the `revisions` field. - * @type array|\Google\Protobuf\Internal\RepeatedField $parent_ids + * @type string[] $parent_ids * The revisions that this revision is based on. Must include all the ids * that have anything to do with this revision - eg. there are * `provenance.parent.revision` fields that index into this field. @@ -189,7 +189,7 @@ public function setId($var) * index into the `revisions` field. * * Generated from protobuf field repeated int32 parent = 2 [deprecated = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField * @deprecated */ public function getParent() @@ -206,7 +206,7 @@ public function getParent() * index into the `revisions` field. * * Generated from protobuf field repeated int32 parent = 2 [deprecated = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this * @deprecated */ @@ -227,7 +227,7 @@ public function setParent($var) * `provenance.parent.revision` fields that index into this field. * * Generated from protobuf field repeated string parent_ids = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getParentIds() { @@ -240,7 +240,7 @@ public function getParentIds() * `provenance.parent.revision` fields that index into this field. * * Generated from protobuf field repeated string parent_ids = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setParentIds($var) @@ -335,4 +335,3 @@ public function getSource() } - diff --git a/DocumentAi/src/V1/Document/Revision/HumanReview.php b/DocumentAi/src/V1/Document/Revision/HumanReview.php index 4a48fe28e2e1..13c139c52393 100644 --- a/DocumentAi/src/V1/Document/Revision/HumanReview.php +++ b/DocumentAi/src/V1/Document/Revision/HumanReview.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Revision; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Human Review information of the document. @@ -103,4 +103,3 @@ public function setStateMessage($var) } - diff --git a/DocumentAi/src/V1/Document/ShardInfo.php b/DocumentAi/src/V1/Document/ShardInfo.php index f8a8c5f2a0bd..1443552475ad 100644 --- a/DocumentAi/src/V1/Document/ShardInfo.php +++ b/DocumentAi/src/V1/Document/ShardInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * For a large document, sharding may be performed to produce several @@ -143,4 +143,3 @@ public function setTextOffset($var) } - diff --git a/DocumentAi/src/V1/Document/Style.php b/DocumentAi/src/V1/Document/Style.php index ca69df092f9c..031f90761f05 100644 --- a/DocumentAi/src/V1/Document/Style.php +++ b/DocumentAi/src/V1/Document/Style.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Annotation for common text style attributes. This adheres to CSS @@ -372,4 +372,3 @@ public function setFontFamily($var) } - diff --git a/DocumentAi/src/V1/Document/Style/FontSize.php b/DocumentAi/src/V1/Document/Style/FontSize.php index 7ce48c409e6b..8fa5998f8092 100644 --- a/DocumentAi/src/V1/Document/Style/FontSize.php +++ b/DocumentAi/src/V1/Document/Style/FontSize.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\Style; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Font size with unit. @@ -103,4 +103,3 @@ public function setUnit($var) } - diff --git a/DocumentAi/src/V1/Document/TextAnchor.php b/DocumentAi/src/V1/Document/TextAnchor.php index 98d2a5a550f0..5e5f6d1d20dc 100644 --- a/DocumentAi/src/V1/Document/TextAnchor.php +++ b/DocumentAi/src/V1/Document/TextAnchor.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Text reference indexing into the @@ -38,7 +38,7 @@ class TextAnchor extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Document\TextAnchor\TextSegment>|\Google\Protobuf\Internal\RepeatedField $text_segments + * @type \Google\Cloud\DocumentAI\V1\Document\TextAnchor\TextSegment[] $text_segments * The text segments from the * [Document.text][google.cloud.documentai.v1.Document.text]. * @type string $content @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * [Document.text][google.cloud.documentai.v1.Document.text]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\TextAnchor\TextSegment> */ public function getTextSegments() { @@ -69,7 +69,7 @@ public function getTextSegments() * [Document.text][google.cloud.documentai.v1.Document.text]. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Document\TextAnchor\TextSegment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\TextAnchor\TextSegment[] $var * @return $this */ public function setTextSegments($var) @@ -112,4 +112,3 @@ public function setContent($var) } - diff --git a/DocumentAi/src/V1/Document/TextAnchor/TextSegment.php b/DocumentAi/src/V1/Document/TextAnchor/TextSegment.php index 065e04aee280..6f536b701cdb 100644 --- a/DocumentAi/src/V1/Document/TextAnchor/TextSegment.php +++ b/DocumentAi/src/V1/Document/TextAnchor/TextSegment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document\TextAnchor; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A text segment in the @@ -119,4 +119,3 @@ public function setEndIndex($var) } - diff --git a/DocumentAi/src/V1/Document/TextChange.php b/DocumentAi/src/V1/Document/TextChange.php index bea7577178b1..6acdd0ea342c 100644 --- a/DocumentAi/src/V1/Document/TextChange.php +++ b/DocumentAi/src/V1/Document/TextChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This message is used for text changes aka. OCR corrections. @@ -55,7 +55,7 @@ class TextChange extends \Google\Protobuf\Internal\Message * before that index. * @type string $changed_text * The text that replaces the text identified in the `text_anchor`. - * @type array<\Google\Cloud\DocumentAI\V1\Document\Provenance>|\Google\Protobuf\Internal\RepeatedField $provenance + * @type \Google\Cloud\DocumentAI\V1\Document\Provenance[] $provenance * The history of this annotation. * } */ @@ -140,7 +140,7 @@ public function setChangedText($var) * The history of this annotation. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Provenance provenance = 3 [deprecated = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Document\Provenance> * @deprecated */ public function getProvenance() @@ -155,7 +155,7 @@ public function getProvenance() * The history of this annotation. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Document.Provenance provenance = 3 [deprecated = true]; - * @param array<\Google\Cloud\DocumentAI\V1\Document\Provenance>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Document\Provenance[] $var * @return $this * @deprecated */ @@ -172,4 +172,3 @@ public function setProvenance($var) } - diff --git a/DocumentAi/src/V1/DocumentOutputConfig.php b/DocumentAi/src/V1/DocumentOutputConfig.php index d7f41a08760d..9ae599503371 100644 --- a/DocumentAi/src/V1/DocumentOutputConfig.php +++ b/DocumentAi/src/V1/DocumentOutputConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config that controls the output of documents. All documents will be written diff --git a/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig.php b/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig.php index 651006968d3a..ff9bac233d44 100644 --- a/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig.php +++ b/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\DocumentOutputConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration used when outputting documents. @@ -161,4 +161,3 @@ public function setShardingConfig($var) } - diff --git a/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig/ShardingConfig.php b/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig/ShardingConfig.php index 4f6e156bb9b8..68e93a8e0c36 100644 --- a/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig/ShardingConfig.php +++ b/DocumentAi/src/V1/DocumentOutputConfig/GcsOutputConfig/ShardingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\DocumentOutputConfig\GcsOutputConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The sharding config for the output document. @@ -99,4 +99,3 @@ public function setPagesOverlap($var) } - diff --git a/DocumentAi/src/V1/DocumentSchema.php b/DocumentAi/src/V1/DocumentSchema.php index 13b434f2f8a4..53969cd163f5 100644 --- a/DocumentAi/src/V1/DocumentSchema.php +++ b/DocumentAi/src/V1/DocumentSchema.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The schema defines the output of the processed document by a processor. @@ -50,7 +50,7 @@ class DocumentSchema extends \Google\Protobuf\Internal\Message * Display name to show to users. * @type string $description * Description of the schema. - * @type array<\Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType>|\Google\Protobuf\Internal\RepeatedField $entity_types + * @type \Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType[] $entity_types * Entity types of the schema. * @type \Google\Cloud\DocumentAI\V1\DocumentSchema\Metadata $metadata * Metadata of the schema. @@ -117,7 +117,7 @@ public function setDescription($var) * Entity types of the schema. * * Generated from protobuf field repeated .google.cloud.documentai.v1.DocumentSchema.EntityType entity_types = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType> */ public function getEntityTypes() { @@ -128,7 +128,7 @@ public function getEntityTypes() * Entity types of the schema. * * Generated from protobuf field repeated .google.cloud.documentai.v1.DocumentSchema.EntityType entity_types = 3; - * @param array<\Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType[] $var * @return $this */ public function setEntityTypes($var) diff --git a/DocumentAi/src/V1/DocumentSchema/EntityType.php b/DocumentAi/src/V1/DocumentSchema/EntityType.php index 6bef66a51366..c81c989ab9be 100644 --- a/DocumentAi/src/V1/DocumentSchema/EntityType.php +++ b/DocumentAi/src/V1/DocumentSchema/EntityType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\DocumentSchema; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * EntityType is the wrapper of a label of the corresponding model with @@ -82,10 +82,10 @@ class EntityType extends \Google\Protobuf\Internal\Message * - The `/` is sometimes used to denote a property of a type. For example * `line_item/amount`. This convention is deprecated, but will still be * honored for backward compatibility. - * @type array|\Google\Protobuf\Internal\RepeatedField $base_types + * @type string[] $base_types * The entity type that this type is derived from. For now, one and only * one should be set. - * @type array<\Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType\Property>|\Google\Protobuf\Internal\RepeatedField $properties + * @type \Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType\Property[] $properties * Description the nested structure, or composition of an entity. * } */ @@ -212,7 +212,7 @@ public function setName($var) * one should be set. * * Generated from protobuf field repeated string base_types = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getBaseTypes() { @@ -224,7 +224,7 @@ public function getBaseTypes() * one should be set. * * Generated from protobuf field repeated string base_types = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setBaseTypes($var) @@ -239,7 +239,7 @@ public function setBaseTypes($var) * Description the nested structure, or composition of an entity. * * Generated from protobuf field repeated .google.cloud.documentai.v1.DocumentSchema.EntityType.Property properties = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType\Property> */ public function getProperties() { @@ -250,7 +250,7 @@ public function getProperties() * Description the nested structure, or composition of an entity. * * Generated from protobuf field repeated .google.cloud.documentai.v1.DocumentSchema.EntityType.Property properties = 6; - * @param array<\Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType\Property>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType\Property[] $var * @return $this */ public function setProperties($var) @@ -271,4 +271,3 @@ public function getValueSource() } - diff --git a/DocumentAi/src/V1/DocumentSchema/EntityType/EnumValues.php b/DocumentAi/src/V1/DocumentSchema/EntityType/EnumValues.php index f9795e84adf0..619a9cdde827 100644 --- a/DocumentAi/src/V1/DocumentSchema/EntityType/EnumValues.php +++ b/DocumentAi/src/V1/DocumentSchema/EntityType/EnumValues.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the a list of enum values. @@ -28,7 +28,7 @@ class EnumValues extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $values + * @type string[] $values * The individual values that this enum values type can include. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The individual values that this enum values type can include. * * Generated from protobuf field repeated string values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getValues() { @@ -52,7 +52,7 @@ public function getValues() * The individual values that this enum values type can include. * * Generated from protobuf field repeated string values = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setValues($var) @@ -65,4 +65,3 @@ public function setValues($var) } - diff --git a/DocumentAi/src/V1/DocumentSchema/EntityType/Property.php b/DocumentAi/src/V1/DocumentSchema/EntityType/Property.php index 563bb1d8617a..0ecbb4dc591a 100644 --- a/DocumentAi/src/V1/DocumentSchema/EntityType/Property.php +++ b/DocumentAi/src/V1/DocumentSchema/EntityType/Property.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\DocumentSchema\EntityType; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines properties that can be part of the entity type. @@ -213,4 +213,3 @@ public function setMethod($var) } - diff --git a/DocumentAi/src/V1/DocumentSchema/EntityType/Property/Method.php b/DocumentAi/src/V1/DocumentSchema/EntityType/Property/Method.php index a7162349e60e..9bcf56e4126d 100644 --- a/DocumentAi/src/V1/DocumentSchema/EntityType/Property/Method.php +++ b/DocumentAi/src/V1/DocumentSchema/EntityType/Property/Method.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/DocumentSchema/EntityType/Property/OccurrenceType.php b/DocumentAi/src/V1/DocumentSchema/EntityType/Property/OccurrenceType.php index 9aef8c22878c..309e464b43ca 100644 --- a/DocumentAi/src/V1/DocumentSchema/EntityType/Property/OccurrenceType.php +++ b/DocumentAi/src/V1/DocumentSchema/EntityType/Property/OccurrenceType.php @@ -83,4 +83,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/DocumentSchema/Metadata.php b/DocumentAi/src/V1/DocumentSchema/Metadata.php index 8b99a8ceff67..15ac6915cb12 100644 --- a/DocumentAi/src/V1/DocumentSchema/Metadata.php +++ b/DocumentAi/src/V1/DocumentSchema/Metadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\DocumentSchema; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for global schema behavior. @@ -187,4 +187,3 @@ public function setSkipNamingValidation($var) } - diff --git a/DocumentAi/src/V1/EnableProcessorMetadata.php b/DocumentAi/src/V1/EnableProcessorMetadata.php index dc3948aaae17..2dcc788db95e 100644 --- a/DocumentAi/src/V1/EnableProcessorMetadata.php +++ b/DocumentAi/src/V1/EnableProcessorMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/EnableProcessorRequest.php b/DocumentAi/src/V1/EnableProcessorRequest.php index 3e3a5c3e66b6..20b1a5c46cfc 100644 --- a/DocumentAi/src/V1/EnableProcessorRequest.php +++ b/DocumentAi/src/V1/EnableProcessorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/EnableProcessorResponse.php b/DocumentAi/src/V1/EnableProcessorResponse.php index 573c89ac5fa2..715cfb6a99c8 100644 --- a/DocumentAi/src/V1/EnableProcessorResponse.php +++ b/DocumentAi/src/V1/EnableProcessorResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the diff --git a/DocumentAi/src/V1/EvaluateProcessorVersionMetadata.php b/DocumentAi/src/V1/EvaluateProcessorVersionMetadata.php index 4ac915145e9d..c25a265c42b8 100644 --- a/DocumentAi/src/V1/EvaluateProcessorVersionMetadata.php +++ b/DocumentAi/src/V1/EvaluateProcessorVersionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata of the diff --git a/DocumentAi/src/V1/EvaluateProcessorVersionRequest.php b/DocumentAi/src/V1/EvaluateProcessorVersionRequest.php index 3cada6bf65f7..bff4cf7bb5ea 100644 --- a/DocumentAi/src/V1/EvaluateProcessorVersionRequest.php +++ b/DocumentAi/src/V1/EvaluateProcessorVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Evaluates the given diff --git a/DocumentAi/src/V1/EvaluateProcessorVersionResponse.php b/DocumentAi/src/V1/EvaluateProcessorVersionResponse.php index df4d38b40cde..fe95e455a867 100644 --- a/DocumentAi/src/V1/EvaluateProcessorVersionResponse.php +++ b/DocumentAi/src/V1/EvaluateProcessorVersionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of the diff --git a/DocumentAi/src/V1/Evaluation.php b/DocumentAi/src/V1/Evaluation.php index 7c1964f147c9..7c1780081451 100644 --- a/DocumentAi/src/V1/Evaluation.php +++ b/DocumentAi/src/V1/Evaluation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An evaluation of a ProcessorVersion's performance. diff --git a/DocumentAi/src/V1/Evaluation/ConfidenceLevelMetrics.php b/DocumentAi/src/V1/Evaluation/ConfidenceLevelMetrics.php index b4c384fe0a68..5094320ac79e 100644 --- a/DocumentAi/src/V1/Evaluation/ConfidenceLevelMetrics.php +++ b/DocumentAi/src/V1/Evaluation/ConfidenceLevelMetrics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Evaluation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Evaluations metrics, at a specific confidence level. @@ -109,4 +109,3 @@ public function setMetrics($var) } - diff --git a/DocumentAi/src/V1/Evaluation/Counters.php b/DocumentAi/src/V1/Evaluation/Counters.php index bea7e6916374..ef1d774664cc 100644 --- a/DocumentAi/src/V1/Evaluation/Counters.php +++ b/DocumentAi/src/V1/Evaluation/Counters.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Evaluation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Evaluation counters for the documents that were used. @@ -175,4 +175,3 @@ public function setEvaluatedDocumentsCount($var) } - diff --git a/DocumentAi/src/V1/Evaluation/Metrics.php b/DocumentAi/src/V1/Evaluation/Metrics.php index bef808619254..f73063ace65e 100644 --- a/DocumentAi/src/V1/Evaluation/Metrics.php +++ b/DocumentAi/src/V1/Evaluation/Metrics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Evaluation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Evaluation metrics, either in aggregate or about a specific entity. @@ -405,4 +405,3 @@ public function setTotalDocumentsCount($var) } - diff --git a/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics.php b/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics.php index 13ff90a89e50..0b9d765c0bdc 100644 --- a/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics.php +++ b/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\Evaluation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metrics across multiple confidence levels. @@ -68,9 +68,9 @@ class MultiConfidenceMetrics extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics>|\Google\Protobuf\Internal\RepeatedField $confidence_level_metrics + * @type \Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics[] $confidence_level_metrics * Metrics across confidence levels with fuzzy matching enabled. - * @type array<\Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics>|\Google\Protobuf\Internal\RepeatedField $confidence_level_metrics_exact + * @type \Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics[] $confidence_level_metrics_exact * Metrics across confidence levels with only exact matching. * @type float $auprc * The calculated area under the precision recall curve (AUPRC), computed by @@ -97,7 +97,7 @@ public function __construct($data = NULL) { * Metrics across confidence levels with fuzzy matching enabled. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics> */ public function getConfidenceLevelMetrics() { @@ -108,7 +108,7 @@ public function getConfidenceLevelMetrics() * Metrics across confidence levels with fuzzy matching enabled. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics[] $var * @return $this */ public function setConfidenceLevelMetrics($var) @@ -123,7 +123,7 @@ public function setConfidenceLevelMetrics($var) * Metrics across confidence levels with only exact matching. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics> */ public function getConfidenceLevelMetricsExact() { @@ -134,7 +134,7 @@ public function getConfidenceLevelMetricsExact() * Metrics across confidence levels with only exact matching. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; - * @param array<\Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Evaluation\ConfidenceLevelMetrics[] $var * @return $this */ public function setConfidenceLevelMetricsExact($var) @@ -285,4 +285,3 @@ public function setMetricsType($var) } - diff --git a/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics/MetricsType.php b/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics/MetricsType.php index 71a5f293b09c..6659a5e63484 100644 --- a/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics/MetricsType.php +++ b/DocumentAi/src/V1/Evaluation/MultiConfidenceMetrics/MetricsType.php @@ -58,4 +58,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/EvaluationReference.php b/DocumentAi/src/V1/EvaluationReference.php index 4e86a056e7f1..3bc0cdaf5c6d 100644 --- a/DocumentAi/src/V1/EvaluationReference.php +++ b/DocumentAi/src/V1/EvaluationReference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Gives a short summary of an evaluation, and links to the evaluation itself. diff --git a/DocumentAi/src/V1/FetchProcessorTypesRequest.php b/DocumentAi/src/V1/FetchProcessorTypesRequest.php index f16e7109954b..a68624fa273e 100644 --- a/DocumentAi/src/V1/FetchProcessorTypesRequest.php +++ b/DocumentAi/src/V1/FetchProcessorTypesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/FetchProcessorTypesResponse.php b/DocumentAi/src/V1/FetchProcessorTypesResponse.php index dd5747eca369..d4c03c7f883a 100644 --- a/DocumentAi/src/V1/FetchProcessorTypesResponse.php +++ b/DocumentAi/src/V1/FetchProcessorTypesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the @@ -30,7 +30,7 @@ class FetchProcessorTypesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\ProcessorType>|\Google\Protobuf\Internal\RepeatedField $processor_types + * @type \Google\Cloud\DocumentAI\V1\ProcessorType[] $processor_types * The list of processor types. * } */ @@ -43,7 +43,7 @@ public function __construct($data = NULL) { * The list of processor types. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorType processor_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\ProcessorType> */ public function getProcessorTypes() { @@ -54,7 +54,7 @@ public function getProcessorTypes() * The list of processor types. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorType processor_types = 1; - * @param array<\Google\Cloud\DocumentAI\V1\ProcessorType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\ProcessorType[] $var * @return $this */ public function setProcessorTypes($var) diff --git a/DocumentAi/src/V1/GcsDocument.php b/DocumentAi/src/V1/GcsDocument.php index 29eb74b4cdad..51c9d985c9cb 100644 --- a/DocumentAi/src/V1/GcsDocument.php +++ b/DocumentAi/src/V1/GcsDocument.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a document stored on Cloud Storage. diff --git a/DocumentAi/src/V1/GcsDocuments.php b/DocumentAi/src/V1/GcsDocuments.php index c23bdc383d2f..48a7face7e67 100644 --- a/DocumentAi/src/V1/GcsDocuments.php +++ b/DocumentAi/src/V1/GcsDocuments.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a set of documents on Cloud Storage. @@ -28,7 +28,7 @@ class GcsDocuments extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\GcsDocument>|\Google\Protobuf\Internal\RepeatedField $documents + * @type \Google\Cloud\DocumentAI\V1\GcsDocument[] $documents * The list of documents. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The list of documents. * * Generated from protobuf field repeated .google.cloud.documentai.v1.GcsDocument documents = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\GcsDocument> */ public function getDocuments() { @@ -52,7 +52,7 @@ public function getDocuments() * The list of documents. * * Generated from protobuf field repeated .google.cloud.documentai.v1.GcsDocument documents = 1; - * @param array<\Google\Cloud\DocumentAI\V1\GcsDocument>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\GcsDocument[] $var * @return $this */ public function setDocuments($var) diff --git a/DocumentAi/src/V1/GcsPrefix.php b/DocumentAi/src/V1/GcsPrefix.php index 47f0c4f619e3..601991e8741f 100644 --- a/DocumentAi/src/V1/GcsPrefix.php +++ b/DocumentAi/src/V1/GcsPrefix.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies all documents on Cloud Storage with a common prefix. diff --git a/DocumentAi/src/V1/GetEvaluationRequest.php b/DocumentAi/src/V1/GetEvaluationRequest.php index 6f2655e51233..c7a36b059c78 100644 --- a/DocumentAi/src/V1/GetEvaluationRequest.php +++ b/DocumentAi/src/V1/GetEvaluationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Retrieves a specific Evaluation. diff --git a/DocumentAi/src/V1/GetProcessorRequest.php b/DocumentAi/src/V1/GetProcessorRequest.php index 400d45124693..23399c1f2f27 100644 --- a/DocumentAi/src/V1/GetProcessorRequest.php +++ b/DocumentAi/src/V1/GetProcessorRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/GetProcessorTypeRequest.php b/DocumentAi/src/V1/GetProcessorTypeRequest.php index 3ff3084db365..ba99d81c0996 100644 --- a/DocumentAi/src/V1/GetProcessorTypeRequest.php +++ b/DocumentAi/src/V1/GetProcessorTypeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/GetProcessorVersionRequest.php b/DocumentAi/src/V1/GetProcessorVersionRequest.php index 626c849fa822..675477af819e 100644 --- a/DocumentAi/src/V1/GetProcessorVersionRequest.php +++ b/DocumentAi/src/V1/GetProcessorVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/HumanReviewStatus.php b/DocumentAi/src/V1/HumanReviewStatus.php index 7c7e15d95aac..f2aece70f16d 100644 --- a/DocumentAi/src/V1/HumanReviewStatus.php +++ b/DocumentAi/src/V1/HumanReviewStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The status of human review on a processed document. diff --git a/DocumentAi/src/V1/HumanReviewStatus/State.php b/DocumentAi/src/V1/HumanReviewStatus/State.php index 2cb38208abcf..3283c2f4b942 100644 --- a/DocumentAi/src/V1/HumanReviewStatus/State.php +++ b/DocumentAi/src/V1/HumanReviewStatus/State.php @@ -77,4 +77,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/ListEvaluationsRequest.php b/DocumentAi/src/V1/ListEvaluationsRequest.php index 807389a4e80c..085fc8d59a99 100644 --- a/DocumentAi/src/V1/ListEvaluationsRequest.php +++ b/DocumentAi/src/V1/ListEvaluationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Retrieves a list of evaluations for a given diff --git a/DocumentAi/src/V1/ListEvaluationsResponse.php b/DocumentAi/src/V1/ListEvaluationsResponse.php index 50718a220119..793f277d20aa 100644 --- a/DocumentAi/src/V1/ListEvaluationsResponse.php +++ b/DocumentAi/src/V1/ListEvaluationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response from `ListEvaluations`. @@ -35,7 +35,7 @@ class ListEvaluationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Evaluation>|\Google\Protobuf\Internal\RepeatedField $evaluations + * @type \Google\Cloud\DocumentAI\V1\Evaluation[] $evaluations * The evaluations requested. * @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 evaluations requested. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Evaluation evaluations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Evaluation> */ public function getEvaluations() { @@ -62,7 +62,7 @@ public function getEvaluations() * The evaluations requested. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Evaluation evaluations = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Evaluation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Evaluation[] $var * @return $this */ public function setEvaluations($var) diff --git a/DocumentAi/src/V1/ListProcessorTypesRequest.php b/DocumentAi/src/V1/ListProcessorTypesRequest.php index 8376d2a3fdbd..85769fb81a83 100644 --- a/DocumentAi/src/V1/ListProcessorTypesRequest.php +++ b/DocumentAi/src/V1/ListProcessorTypesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/ListProcessorTypesResponse.php b/DocumentAi/src/V1/ListProcessorTypesResponse.php index 2ab8fbb8ffa7..dd14156a4cab 100644 --- a/DocumentAi/src/V1/ListProcessorTypesResponse.php +++ b/DocumentAi/src/V1/ListProcessorTypesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the @@ -36,7 +36,7 @@ class ListProcessorTypesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\ProcessorType>|\Google\Protobuf\Internal\RepeatedField $processor_types + * @type \Google\Cloud\DocumentAI\V1\ProcessorType[] $processor_types * The processor types. * @type string $next_page_token * Points to the next page, otherwise empty. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The processor types. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorType processor_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\ProcessorType> */ public function getProcessorTypes() { @@ -62,7 +62,7 @@ public function getProcessorTypes() * The processor types. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorType processor_types = 1; - * @param array<\Google\Cloud\DocumentAI\V1\ProcessorType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\ProcessorType[] $var * @return $this */ public function setProcessorTypes($var) diff --git a/DocumentAi/src/V1/ListProcessorVersionsRequest.php b/DocumentAi/src/V1/ListProcessorVersionsRequest.php index 2eb32ebdb5cd..8fdec0920123 100644 --- a/DocumentAi/src/V1/ListProcessorVersionsRequest.php +++ b/DocumentAi/src/V1/ListProcessorVersionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for list all processor versions belongs to a processor. diff --git a/DocumentAi/src/V1/ListProcessorVersionsResponse.php b/DocumentAi/src/V1/ListProcessorVersionsResponse.php index b5b6b73704e1..9b40f74443cb 100644 --- a/DocumentAi/src/V1/ListProcessorVersionsResponse.php +++ b/DocumentAi/src/V1/ListProcessorVersionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the @@ -36,7 +36,7 @@ class ListProcessorVersionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\ProcessorVersion>|\Google\Protobuf\Internal\RepeatedField $processor_versions + * @type \Google\Cloud\DocumentAI\V1\ProcessorVersion[] $processor_versions * The list of processors. * @type string $next_page_token * Points to the next processor, otherwise empty. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The list of processors. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\ProcessorVersion> */ public function getProcessorVersions() { @@ -62,7 +62,7 @@ public function getProcessorVersions() * The list of processors. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorVersion processor_versions = 1; - * @param array<\Google\Cloud\DocumentAI\V1\ProcessorVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\ProcessorVersion[] $var * @return $this */ public function setProcessorVersions($var) diff --git a/DocumentAi/src/V1/ListProcessorsRequest.php b/DocumentAi/src/V1/ListProcessorsRequest.php index 2b4335b85480..0c658b1c9a10 100644 --- a/DocumentAi/src/V1/ListProcessorsRequest.php +++ b/DocumentAi/src/V1/ListProcessorsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for list all processors belongs to a project. diff --git a/DocumentAi/src/V1/ListProcessorsResponse.php b/DocumentAi/src/V1/ListProcessorsResponse.php index c92d36758eb2..7ae4aca0c019 100644 --- a/DocumentAi/src/V1/ListProcessorsResponse.php +++ b/DocumentAi/src/V1/ListProcessorsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the @@ -36,7 +36,7 @@ class ListProcessorsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\DocumentAI\V1\Processor>|\Google\Protobuf\Internal\RepeatedField $processors + * @type \Google\Cloud\DocumentAI\V1\Processor[] $processors * The list of processors. * @type string $next_page_token * Points to the next processor, otherwise empty. @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * The list of processors. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Processor processors = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\Processor> */ public function getProcessors() { @@ -62,7 +62,7 @@ public function getProcessors() * The list of processors. * * Generated from protobuf field repeated .google.cloud.documentai.v1.Processor processors = 1; - * @param array<\Google\Cloud\DocumentAI\V1\Processor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\Processor[] $var * @return $this */ public function setProcessors($var) diff --git a/DocumentAi/src/V1/NormalizedVertex.php b/DocumentAi/src/V1/NormalizedVertex.php index a283c6a9b7c2..858c6080256a 100644 --- a/DocumentAi/src/V1/NormalizedVertex.php +++ b/DocumentAi/src/V1/NormalizedVertex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A vertex represents a 2D point in the image. diff --git a/DocumentAi/src/V1/OcrConfig.php b/DocumentAi/src/V1/OcrConfig.php index a912409119f8..67d0a0d2536f 100644 --- a/DocumentAi/src/V1/OcrConfig.php +++ b/DocumentAi/src/V1/OcrConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config for Document OCR. @@ -92,7 +92,7 @@ class OcrConfig extends \Google\Protobuf\Internal\Message * Enables intelligent document quality scores after OCR. Can help with * diagnosing why OCR responses are of poor quality for a given input. * Adds additional latency comparable to regular OCR to the process call. - * @type array|\Google\Protobuf\Internal\RepeatedField $advanced_ocr_options + * @type string[] $advanced_ocr_options * A list of advanced OCR options to further fine-tune OCR behavior. Current * valid values are: * - `legacy_layout`: a heuristics layout detection algorithm, which serves as @@ -221,7 +221,7 @@ public function setEnableImageQualityScores($var) * situation. * * Generated from protobuf field repeated string advanced_ocr_options = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAdvancedOcrOptions() { @@ -237,7 +237,7 @@ public function getAdvancedOcrOptions() * situation. * * Generated from protobuf field repeated string advanced_ocr_options = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAdvancedOcrOptions($var) diff --git a/DocumentAi/src/V1/OcrConfig/Hints.php b/DocumentAi/src/V1/OcrConfig/Hints.php index 822ffc193854..919aa6ca9987 100644 --- a/DocumentAi/src/V1/OcrConfig/Hints.php +++ b/DocumentAi/src/V1/OcrConfig/Hints.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\OcrConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Hints for OCR Engine @@ -33,7 +33,7 @@ class Hints extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $language_hints + * @type string[] $language_hints * List of BCP-47 language codes to use for OCR. In most cases, not * specifying it yields the best results since it enables automatic language * detection. For languages based on the Latin alphabet, setting hints is @@ -56,7 +56,7 @@ public function __construct($data = NULL) { * will be a significant hindrance if the hint is wrong). * * Generated from protobuf field repeated string language_hints = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLanguageHints() { @@ -72,7 +72,7 @@ public function getLanguageHints() * will be a significant hindrance if the hint is wrong). * * Generated from protobuf field repeated string language_hints = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLanguageHints($var) @@ -85,4 +85,3 @@ public function setLanguageHints($var) } - diff --git a/DocumentAi/src/V1/OcrConfig/PremiumFeatures.php b/DocumentAi/src/V1/OcrConfig/PremiumFeatures.php index 886a71825848..5e00760eea69 100644 --- a/DocumentAi/src/V1/OcrConfig/PremiumFeatures.php +++ b/DocumentAi/src/V1/OcrConfig/PremiumFeatures.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\OcrConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configurations for premium OCR features. @@ -137,4 +137,3 @@ public function setEnableMathOcr($var) } - diff --git a/DocumentAi/src/V1/ProcessOptions.php b/DocumentAi/src/V1/ProcessOptions.php index 57efd2bf2b73..4a117eef08f7 100644 --- a/DocumentAi/src/V1/ProcessOptions.php +++ b/DocumentAi/src/V1/ProcessOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options for Process API diff --git a/DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php b/DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php index 1e81f1fb76a3..710a5d25c66b 100644 --- a/DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php +++ b/DocumentAi/src/V1/ProcessOptions/IndividualPageSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A list of individual page numbers. @@ -28,7 +28,7 @@ class IndividualPageSelector extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $pages + * @type int[] $pages * Optional. Indices of the pages (starting from 1). * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Optional. Indices of the pages (starting from 1). * * Generated from protobuf field repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPages() { @@ -52,7 +52,7 @@ public function getPages() * Optional. Indices of the pages (starting from 1). * * Generated from protobuf field repeated int32 pages = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setPages($var) @@ -65,4 +65,3 @@ public function setPages($var) } - diff --git a/DocumentAi/src/V1/ProcessOptions/LayoutConfig.php b/DocumentAi/src/V1/ProcessOptions/LayoutConfig.php index 4d2566975ab7..e7e7ee9a2e2a 100644 --- a/DocumentAi/src/V1/ProcessOptions/LayoutConfig.php +++ b/DocumentAi/src/V1/ProcessOptions/LayoutConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Serving config for layout parser processor. @@ -215,4 +215,3 @@ public function setEnableTableAnnotation($var) } - diff --git a/DocumentAi/src/V1/ProcessOptions/LayoutConfig/ChunkingConfig.php b/DocumentAi/src/V1/ProcessOptions/LayoutConfig/ChunkingConfig.php index a4c8d12a3295..31aa8c434a1a 100644 --- a/DocumentAi/src/V1/ProcessOptions/LayoutConfig/ChunkingConfig.php +++ b/DocumentAi/src/V1/ProcessOptions/LayoutConfig/ChunkingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessOptions\LayoutConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Serving config for chunking. @@ -103,4 +103,3 @@ public function setIncludeAncestorHeadings($var) } - diff --git a/DocumentAi/src/V1/ProcessRequest.php b/DocumentAi/src/V1/ProcessRequest.php index fa157c5cd440..5a4f0e8ad9d1 100644 --- a/DocumentAi/src/V1/ProcessRequest.php +++ b/DocumentAi/src/V1/ProcessRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/ProcessResponse.php b/DocumentAi/src/V1/ProcessResponse.php index cb8f9c7b8c36..db0f5d1110bc 100644 --- a/DocumentAi/src/V1/ProcessResponse.php +++ b/DocumentAi/src/V1/ProcessResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the diff --git a/DocumentAi/src/V1/Processor.php b/DocumentAi/src/V1/Processor.php index 63361d451e18..8977e45fd4dd 100644 --- a/DocumentAi/src/V1/Processor.php +++ b/DocumentAi/src/V1/Processor.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The first-class citizen for Document AI. Each processor defines how to @@ -107,7 +107,7 @@ class Processor extends \Google\Protobuf\Internal\Message * Output only. The state of the processor. * @type string $default_processor_version * The default processor version. - * @type array<\Google\Cloud\DocumentAI\V1\ProcessorVersionAlias>|\Google\Protobuf\Internal\RepeatedField $processor_version_aliases + * @type \Google\Cloud\DocumentAI\V1\ProcessorVersionAlias[] $processor_version_aliases * Output only. The processor version aliases. * @type string $process_endpoint * Output only. Immutable. The http endpoint that can be called to invoke @@ -268,7 +268,7 @@ public function setDefaultProcessorVersion($var) * Output only. The processor version aliases. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorVersionAlias processor_version_aliases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\ProcessorVersionAlias> */ public function getProcessorVersionAliases() { @@ -279,7 +279,7 @@ public function getProcessorVersionAliases() * Output only. The processor version aliases. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorVersionAlias processor_version_aliases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\DocumentAI\V1\ProcessorVersionAlias>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\ProcessorVersionAlias[] $var * @return $this */ public function setProcessorVersionAliases($var) diff --git a/DocumentAi/src/V1/Processor/State.php b/DocumentAi/src/V1/Processor/State.php index ce7d2f898aed..35136b77d52e 100644 --- a/DocumentAi/src/V1/Processor/State.php +++ b/DocumentAi/src/V1/Processor/State.php @@ -102,4 +102,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/ProcessorType.php b/DocumentAi/src/V1/ProcessorType.php index 2ee18d7a9f8a..f368f59971c8 100644 --- a/DocumentAi/src/V1/ProcessorType.php +++ b/DocumentAi/src/V1/ProcessorType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A processor type is responsible for performing a certain document @@ -74,14 +74,14 @@ class ProcessorType extends \Google\Protobuf\Internal\Message * The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. * @type string $category * The processor category, used by UI to group processor types. - * @type array<\Google\Cloud\DocumentAI\V1\ProcessorType\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $available_locations + * @type \Google\Cloud\DocumentAI\V1\ProcessorType\LocationInfo[] $available_locations * The locations in which this processor is available. * @type bool $allow_creation * Whether the processor type allows creation. If true, users can create a * processor of this processor type. Otherwise, users need to request access. * @type int $launch_stage * Launch stage of the processor type - * @type array|\Google\Protobuf\Internal\RepeatedField $sample_document_uris + * @type string[] $sample_document_uris * A set of Cloud Storage URIs of sample documents for this processor. * } */ @@ -174,7 +174,7 @@ public function setCategory($var) * The locations in which this processor is available. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorType.LocationInfo available_locations = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\DocumentAI\V1\ProcessorType\LocationInfo> */ public function getAvailableLocations() { @@ -185,7 +185,7 @@ public function getAvailableLocations() * The locations in which this processor is available. * * Generated from protobuf field repeated .google.cloud.documentai.v1.ProcessorType.LocationInfo available_locations = 4; - * @param array<\Google\Cloud\DocumentAI\V1\ProcessorType\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\DocumentAI\V1\ProcessorType\LocationInfo[] $var * @return $this */ public function setAvailableLocations($var) @@ -254,7 +254,7 @@ public function setLaunchStage($var) * A set of Cloud Storage URIs of sample documents for this processor. * * Generated from protobuf field repeated string sample_document_uris = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSampleDocumentUris() { @@ -265,7 +265,7 @@ public function getSampleDocumentUris() * A set of Cloud Storage URIs of sample documents for this processor. * * Generated from protobuf field repeated string sample_document_uris = 9; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSampleDocumentUris($var) diff --git a/DocumentAi/src/V1/ProcessorType/LocationInfo.php b/DocumentAi/src/V1/ProcessorType/LocationInfo.php index db558d098ca9..e4121d9355f7 100644 --- a/DocumentAi/src/V1/ProcessorType/LocationInfo.php +++ b/DocumentAi/src/V1/ProcessorType/LocationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessorType; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The location information about where the processor is available. @@ -69,4 +69,3 @@ public function setLocationId($var) } - diff --git a/DocumentAi/src/V1/ProcessorVersion.php b/DocumentAi/src/V1/ProcessorVersion.php index 260d0a516132..7e80962ea6ae 100644 --- a/DocumentAi/src/V1/ProcessorVersion.php +++ b/DocumentAi/src/V1/ProcessorVersion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A processor version is an implementation of a processor. Each processor diff --git a/DocumentAi/src/V1/ProcessorVersion/DeprecationInfo.php b/DocumentAi/src/V1/ProcessorVersion/DeprecationInfo.php index 492a3493865e..9d8c25b77f55 100644 --- a/DocumentAi/src/V1/ProcessorVersion/DeprecationInfo.php +++ b/DocumentAi/src/V1/ProcessorVersion/DeprecationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessorVersion; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the upcoming deprecation of this processor version. @@ -109,4 +109,3 @@ public function setReplacementProcessorVersion($var) } - diff --git a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo.php b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo.php index a01a78bd2c83..966905e2b44e 100644 --- a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo.php +++ b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessorVersion; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about Generative AI model-based processor versions. @@ -106,4 +106,3 @@ public function getModelInfo() } - diff --git a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo.php b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo.php index 266aeba3ac35..687c118fa648 100644 --- a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo.php +++ b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessorVersion\GenAiModelInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information for a custom Generative AI model created by the user. These @@ -101,4 +101,3 @@ public function setBaseProcessorVersionId($var) } - diff --git a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo/CustomModelType.php b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo/CustomModelType.php index df7b1650cd1c..47560b06581b 100644 --- a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo/CustomModelType.php +++ b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/CustomGenAiModelInfo/CustomModelType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/FoundationGenAiModelInfo.php b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/FoundationGenAiModelInfo.php index 0416340e8f88..812e5a36c072 100644 --- a/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/FoundationGenAiModelInfo.php +++ b/DocumentAi/src/V1/ProcessorVersion/GenAiModelInfo/FoundationGenAiModelInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\ProcessorVersion\GenAiModelInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information for a pretrained Google-managed foundation model. @@ -103,4 +103,3 @@ public function setMinTrainLabeledDocuments($var) } - diff --git a/DocumentAi/src/V1/ProcessorVersion/ModelType.php b/DocumentAi/src/V1/ProcessorVersion/ModelType.php index 2c90867a79f6..d62c7a97b6c6 100644 --- a/DocumentAi/src/V1/ProcessorVersion/ModelType.php +++ b/DocumentAi/src/V1/ProcessorVersion/ModelType.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/ProcessorVersion/State.php b/DocumentAi/src/V1/ProcessorVersion/State.php index 7afc86d41586..c6c4ab8afac6 100644 --- a/DocumentAi/src/V1/ProcessorVersion/State.php +++ b/DocumentAi/src/V1/ProcessorVersion/State.php @@ -101,4 +101,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/ProcessorVersionAlias.php b/DocumentAi/src/V1/ProcessorVersionAlias.php index 704c750728bf..09174062b494 100644 --- a/DocumentAi/src/V1/ProcessorVersionAlias.php +++ b/DocumentAi/src/V1/ProcessorVersionAlias.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains the alias and the aliased resource name of processor version. diff --git a/DocumentAi/src/V1/RawDocument.php b/DocumentAi/src/V1/RawDocument.php index efe1134b293f..37a44014ca10 100644 --- a/DocumentAi/src/V1/RawDocument.php +++ b/DocumentAi/src/V1/RawDocument.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Payload message of raw document content (bytes). diff --git a/DocumentAi/src/V1/ReviewDocumentOperationMetadata.php b/DocumentAi/src/V1/ReviewDocumentOperationMetadata.php index e367e4513d12..d695546d88f1 100644 --- a/DocumentAi/src/V1/ReviewDocumentOperationMetadata.php +++ b/DocumentAi/src/V1/ReviewDocumentOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/ReviewDocumentRequest.php b/DocumentAi/src/V1/ReviewDocumentRequest.php index 9e4a1bf7c987..a7c6debf806d 100644 --- a/DocumentAi/src/V1/ReviewDocumentRequest.php +++ b/DocumentAi/src/V1/ReviewDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/ReviewDocumentRequest/Priority.php b/DocumentAi/src/V1/ReviewDocumentRequest/Priority.php index 02d20708bb2b..4cfade81b71a 100644 --- a/DocumentAi/src/V1/ReviewDocumentRequest/Priority.php +++ b/DocumentAi/src/V1/ReviewDocumentRequest/Priority.php @@ -57,4 +57,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/ReviewDocumentResponse.php b/DocumentAi/src/V1/ReviewDocumentResponse.php index 660f9271b9a6..70f2081d7188 100644 --- a/DocumentAi/src/V1/ReviewDocumentResponse.php +++ b/DocumentAi/src/V1/ReviewDocumentResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the diff --git a/DocumentAi/src/V1/ReviewDocumentResponse/State.php b/DocumentAi/src/V1/ReviewDocumentResponse/State.php index 7284d3d9d700..7ade2c2dbe40 100644 --- a/DocumentAi/src/V1/ReviewDocumentResponse/State.php +++ b/DocumentAi/src/V1/ReviewDocumentResponse/State.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/SetDefaultProcessorVersionMetadata.php b/DocumentAi/src/V1/SetDefaultProcessorVersionMetadata.php index 6830b29e2510..0165f85a42b7 100644 --- a/DocumentAi/src/V1/SetDefaultProcessorVersionMetadata.php +++ b/DocumentAi/src/V1/SetDefaultProcessorVersionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/SetDefaultProcessorVersionRequest.php b/DocumentAi/src/V1/SetDefaultProcessorVersionRequest.php index 3ec67a74150a..4338a9d93477 100644 --- a/DocumentAi/src/V1/SetDefaultProcessorVersionRequest.php +++ b/DocumentAi/src/V1/SetDefaultProcessorVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/SetDefaultProcessorVersionResponse.php b/DocumentAi/src/V1/SetDefaultProcessorVersionResponse.php index 99dada608c4d..642596b1ce81 100644 --- a/DocumentAi/src/V1/SetDefaultProcessorVersionResponse.php +++ b/DocumentAi/src/V1/SetDefaultProcessorVersionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the diff --git a/DocumentAi/src/V1/TrainProcessorVersionMetadata.php b/DocumentAi/src/V1/TrainProcessorVersionMetadata.php index b7ef781099da..9ab3e8e3aef6 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionMetadata.php +++ b/DocumentAi/src/V1/TrainProcessorVersionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata that represents a processor version being created. diff --git a/DocumentAi/src/V1/TrainProcessorVersionMetadata/DatasetValidation.php b/DocumentAi/src/V1/TrainProcessorVersionMetadata/DatasetValidation.php index d6fe265c4b0f..9faed1415e3c 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionMetadata/DatasetValidation.php +++ b/DocumentAi/src/V1/TrainProcessorVersionMetadata/DatasetValidation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\TrainProcessorVersionMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The dataset validation information. @@ -55,11 +55,11 @@ class DatasetValidation extends \Google\Protobuf\Internal\Message * The total number of document errors. * @type int $dataset_error_count * The total number of dataset errors. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $document_errors + * @type \Google\Rpc\Status[] $document_errors * Error information pertaining to specific documents. A maximum of 10 * document errors will be returned. * Any document with errors will not be used throughout training. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $dataset_errors + * @type \Google\Rpc\Status[] $dataset_errors * Error information for the dataset as a whole. A maximum of 10 dataset * errors will be returned. * A single dataset error is terminal for training. @@ -128,7 +128,7 @@ public function setDatasetErrorCount($var) * Any document with errors will not be used throughout training. * * Generated from protobuf field repeated .google.rpc.Status document_errors = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getDocumentErrors() { @@ -141,7 +141,7 @@ public function getDocumentErrors() * Any document with errors will not be used throughout training. * * Generated from protobuf field repeated .google.rpc.Status document_errors = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setDocumentErrors($var) @@ -158,7 +158,7 @@ public function setDocumentErrors($var) * A single dataset error is terminal for training. * * Generated from protobuf field repeated .google.rpc.Status dataset_errors = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getDatasetErrors() { @@ -171,7 +171,7 @@ public function getDatasetErrors() * A single dataset error is terminal for training. * * Generated from protobuf field repeated .google.rpc.Status dataset_errors = 2; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setDatasetErrors($var) @@ -184,4 +184,3 @@ public function setDatasetErrors($var) } - diff --git a/DocumentAi/src/V1/TrainProcessorVersionRequest.php b/DocumentAi/src/V1/TrainProcessorVersionRequest.php index c718cdbac2a7..67b7a5735ca1 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionRequest.php +++ b/DocumentAi/src/V1/TrainProcessorVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php b/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php index c264ca5e9004..f139d14ab13b 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php +++ b/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\TrainProcessorVersionRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to control the training of the Custom Document Extraction (CDE) @@ -66,4 +66,3 @@ public function setTrainingMethod($var) } - diff --git a/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions/TrainingMethod.php b/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions/TrainingMethod.php index 2d8bebd6dd35..fb24b9210ca5 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions/TrainingMethod.php +++ b/DocumentAi/src/V1/TrainProcessorVersionRequest/CustomDocumentExtractionOptions/TrainingMethod.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/DocumentAi/src/V1/TrainProcessorVersionRequest/FoundationModelTuningOptions.php b/DocumentAi/src/V1/TrainProcessorVersionRequest/FoundationModelTuningOptions.php index 134a90da4230..3de51e676c4a 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionRequest/FoundationModelTuningOptions.php +++ b/DocumentAi/src/V1/TrainProcessorVersionRequest/FoundationModelTuningOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\TrainProcessorVersionRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options to control foundation model tuning of the processor. @@ -111,4 +111,3 @@ public function setLearningRateMultiplier($var) } - diff --git a/DocumentAi/src/V1/TrainProcessorVersionRequest/InputData.php b/DocumentAi/src/V1/TrainProcessorVersionRequest/InputData.php index 69d3a4243229..3a05f4d06602 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionRequest/InputData.php +++ b/DocumentAi/src/V1/TrainProcessorVersionRequest/InputData.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1\TrainProcessorVersionRequest; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The input data used to train a new @@ -120,4 +120,3 @@ public function setTestDocuments($var) } - diff --git a/DocumentAi/src/V1/TrainProcessorVersionResponse.php b/DocumentAi/src/V1/TrainProcessorVersionResponse.php index c46c6b822b85..628a57ae7aa4 100644 --- a/DocumentAi/src/V1/TrainProcessorVersionResponse.php +++ b/DocumentAi/src/V1/TrainProcessorVersionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for diff --git a/DocumentAi/src/V1/UndeployProcessorVersionMetadata.php b/DocumentAi/src/V1/UndeployProcessorVersionMetadata.php index 7b046ed6c93b..4195aafdb4c4 100644 --- a/DocumentAi/src/V1/UndeployProcessorVersionMetadata.php +++ b/DocumentAi/src/V1/UndeployProcessorVersionMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The long-running operation metadata for the diff --git a/DocumentAi/src/V1/UndeployProcessorVersionRequest.php b/DocumentAi/src/V1/UndeployProcessorVersionRequest.php index 1c5cb20ed5f8..7bce922ac002 100644 --- a/DocumentAi/src/V1/UndeployProcessorVersionRequest.php +++ b/DocumentAi/src/V1/UndeployProcessorVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the diff --git a/DocumentAi/src/V1/UndeployProcessorVersionResponse.php b/DocumentAi/src/V1/UndeployProcessorVersionResponse.php index e6d592d8b55a..4d2bf8fb8f95 100644 --- a/DocumentAi/src/V1/UndeployProcessorVersionResponse.php +++ b/DocumentAi/src/V1/UndeployProcessorVersionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the diff --git a/DocumentAi/src/V1/Vertex.php b/DocumentAi/src/V1/Vertex.php index d56818347c95..a9387c48fb1d 100644 --- a/DocumentAi/src/V1/Vertex.php +++ b/DocumentAi/src/V1/Vertex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\DocumentAI\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A vertex represents a 2D point in the image. diff --git a/Domains/metadata/V1/Domains.php b/Domains/metadata/V1/Domains.php index 3998d5208c0d..0e228dfa0504 100644 Binary files a/Domains/metadata/V1/Domains.php and b/Domains/metadata/V1/Domains.php differ diff --git a/Domains/src/V1/AuthorizationCode.php b/Domains/src/V1/AuthorizationCode.php index 7616fe36dce6..2def3cc0600b 100644 --- a/Domains/src/V1/AuthorizationCode.php +++ b/Domains/src/V1/AuthorizationCode.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines an authorization code. diff --git a/Domains/src/V1/ConfigureContactSettingsRequest.php b/Domains/src/V1/ConfigureContactSettingsRequest.php index b3b5bf631449..916ca709b42d 100644 --- a/Domains/src/V1/ConfigureContactSettingsRequest.php +++ b/Domains/src/V1/ConfigureContactSettingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ConfigureContactSettings` method. @@ -17,7 +17,7 @@ class ConfigureContactSettingsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the `Registration` whose contact settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -79,14 +79,14 @@ public static function build(string $registration, \Google\Cloud\Domains\V1\Cont * * @type string $registration * Required. The name of the `Registration` whose contact settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * @type \Google\Cloud\Domains\V1\ContactSettings $contact_settings * Fields of the `ContactSettings` to update. * @type \Google\Protobuf\FieldMask $update_mask * Required. The field mask describing which fields to update as a comma-separated list. * For example, if only the registrant contact is being updated, the * `update_mask` is `"registrant_contact"`. - * @type array|\Google\Protobuf\Internal\RepeatedField $contact_notices + * @type int[] $contact_notices * The list of contact notices that the caller acknowledges. The notices * needed here depend on the values specified in `contact_settings`. * @type bool $validate_only @@ -100,7 +100,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` whose contact settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -112,7 +112,7 @@ public function getRegistration() /** * Required. The name of the `Registration` whose contact settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -207,7 +207,7 @@ public function setUpdateMask($var) * needed here depend on the values specified in `contact_settings`. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContactNotices() { @@ -219,7 +219,7 @@ public function getContactNotices() * needed here depend on the values specified in `contact_settings`. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setContactNotices($var) diff --git a/Domains/src/V1/ConfigureDnsSettingsRequest.php b/Domains/src/V1/ConfigureDnsSettingsRequest.php index c28921fb2311..4d13c51409b3 100644 --- a/Domains/src/V1/ConfigureDnsSettingsRequest.php +++ b/Domains/src/V1/ConfigureDnsSettingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ConfigureDnsSettings` method. @@ -17,7 +17,7 @@ class ConfigureDnsSettingsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the `Registration` whose DNS settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -83,7 +83,7 @@ public static function build(string $registration, \Google\Cloud\Domains\V1\DnsS * * @type string $registration * Required. The name of the `Registration` whose DNS settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * @type \Google\Cloud\Domains\V1\DnsSettings $dns_settings * Fields of the `DnsSettings` to update. * @type \Google\Protobuf\FieldMask $update_mask @@ -106,7 +106,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` whose DNS settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -118,7 +118,7 @@ public function getRegistration() /** * Required. The name of the `Registration` whose DNS settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/ConfigureManagementSettingsRequest.php b/Domains/src/V1/ConfigureManagementSettingsRequest.php index a1d274fa9407..571417d139a9 100644 --- a/Domains/src/V1/ConfigureManagementSettingsRequest.php +++ b/Domains/src/V1/ConfigureManagementSettingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ConfigureManagementSettings` method. @@ -17,7 +17,7 @@ class ConfigureManagementSettingsRequest extends \Google\Protobuf\Internal\Messa { /** * Required. The name of the `Registration` whose management settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -66,7 +66,7 @@ public static function build(string $registration, \Google\Cloud\Domains\V1\Mana * * @type string $registration * Required. The name of the `Registration` whose management settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * @type \Google\Cloud\Domains\V1\ManagementSettings $management_settings * Fields of the `ManagementSettings` to update. * @type \Google\Protobuf\FieldMask $update_mask @@ -82,7 +82,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` whose management settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -94,7 +94,7 @@ public function getRegistration() /** * Required. The name of the `Registration` whose management settings are being updated, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/ContactSettings.php b/Domains/src/V1/ContactSettings.php index 48e9d0195913..3cfb5ecd1944 100644 --- a/Domains/src/V1/ContactSettings.php +++ b/Domains/src/V1/ContactSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the contact information associated with a `Registration`. diff --git a/Domains/src/V1/ContactSettings/Contact.php b/Domains/src/V1/ContactSettings/Contact.php index 439f34280555..a190339e4991 100644 --- a/Domains/src/V1/ContactSettings/Contact.php +++ b/Domains/src/V1/ContactSettings/Contact.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1\ContactSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Details required for a contact associated with a `Registration`. @@ -185,4 +185,3 @@ public function setFaxNumber($var) } - diff --git a/Domains/src/V1/DeleteRegistrationRequest.php b/Domains/src/V1/DeleteRegistrationRequest.php index e65aa9d2f7af..d955976382ab 100644 --- a/Domains/src/V1/DeleteRegistrationRequest.php +++ b/Domains/src/V1/DeleteRegistrationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteRegistration` method. @@ -17,7 +17,7 @@ class DeleteRegistrationRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the `Registration` to delete, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * 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 `Registration` to delete, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` to delete, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * 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 `Registration` to delete, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/DnsSettings.php b/Domains/src/V1/DnsSettings.php index b7ea543cd047..df933a3e4699 100644 --- a/Domains/src/V1/DnsSettings.php +++ b/Domains/src/V1/DnsSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the DNS configuration of a `Registration`, including name servers, @@ -35,7 +35,7 @@ class DnsSettings extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Domains\V1\DnsSettings\GoogleDomainsDns $google_domains_dns * The free DNS zone provided by * [Google Domains](https://domains.google/). - * @type array<\Google\Cloud\Domains\V1\DnsSettings\GlueRecord>|\Google\Protobuf\Internal\RepeatedField $glue_records + * @type \Google\Cloud\Domains\V1\DnsSettings\GlueRecord[] $glue_records * The list of glue records for this `Registration`. Commonly empty. * } */ @@ -112,7 +112,7 @@ public function setGoogleDomainsDns($var) * The list of glue records for this `Registration`. Commonly empty. * * Generated from protobuf field repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Domains\V1\DnsSettings\GlueRecord> */ public function getGlueRecords() { @@ -123,7 +123,7 @@ public function getGlueRecords() * The list of glue records for this `Registration`. Commonly empty. * * Generated from protobuf field repeated .google.cloud.domains.v1.DnsSettings.GlueRecord glue_records = 4; - * @param array<\Google\Cloud\Domains\V1\DnsSettings\GlueRecord>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Domains\V1\DnsSettings\GlueRecord[] $var * @return $this */ public function setGlueRecords($var) diff --git a/Domains/src/V1/DnsSettings/CustomDns.php b/Domains/src/V1/DnsSettings/CustomDns.php index 92e4b010d48f..6ff9d8d8aedb 100644 --- a/Domains/src/V1/DnsSettings/CustomDns.php +++ b/Domains/src/V1/DnsSettings/CustomDns.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1\DnsSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for an arbitrary DNS provider. @@ -38,11 +38,11 @@ class CustomDns extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $name_servers + * @type string[] $name_servers * Required. A list of name servers that store the DNS zone for this domain. Each name * server is a domain name, with Unicode domain names expressed in * Punycode format. - * @type array<\Google\Cloud\Domains\V1\DnsSettings\DsRecord>|\Google\Protobuf\Internal\RepeatedField $ds_records + * @type \Google\Cloud\Domains\V1\DnsSettings\DsRecord[] $ds_records * The list of DS records for this domain, which are used to enable DNSSEC. * The domain's DNS provider can provide the values to set here. If this * field is empty, DNSSEC is disabled. @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * Punycode format. * * Generated from protobuf field repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNameServers() { @@ -72,7 +72,7 @@ public function getNameServers() * Punycode format. * * Generated from protobuf field repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNameServers($var) @@ -89,7 +89,7 @@ public function setNameServers($var) * field is empty, DNSSEC is disabled. * * Generated from protobuf field repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Domains\V1\DnsSettings\DsRecord> */ public function getDsRecords() { @@ -102,7 +102,7 @@ public function getDsRecords() * field is empty, DNSSEC is disabled. * * Generated from protobuf field repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2; - * @param array<\Google\Cloud\Domains\V1\DnsSettings\DsRecord>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Domains\V1\DnsSettings\DsRecord[] $var * @return $this */ public function setDsRecords($var) @@ -115,4 +115,3 @@ public function setDsRecords($var) } - diff --git a/Domains/src/V1/DnsSettings/DsRecord.php b/Domains/src/V1/DnsSettings/DsRecord.php index 1d039f776751..f48aff4318a8 100644 --- a/Domains/src/V1/DnsSettings/DsRecord.php +++ b/Domains/src/V1/DnsSettings/DsRecord.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1\DnsSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC @@ -169,4 +169,3 @@ public function setDigest($var) } - diff --git a/Domains/src/V1/DnsSettings/DsRecord/Algorithm.php b/Domains/src/V1/DnsSettings/DsRecord/Algorithm.php index 5a12d3ef6843..43c1ed834a3c 100644 --- a/Domains/src/V1/DnsSettings/DsRecord/Algorithm.php +++ b/Domains/src/V1/DnsSettings/DsRecord/Algorithm.php @@ -165,4 +165,3 @@ public static function value($name) } } - diff --git a/Domains/src/V1/DnsSettings/DsRecord/DigestType.php b/Domains/src/V1/DnsSettings/DsRecord/DigestType.php index aae8d9f96c3d..d602c46c61ea 100644 --- a/Domains/src/V1/DnsSettings/DsRecord/DigestType.php +++ b/Domains/src/V1/DnsSettings/DsRecord/DigestType.php @@ -74,4 +74,3 @@ public static function value($name) } } - diff --git a/Domains/src/V1/DnsSettings/DsState.php b/Domains/src/V1/DnsSettings/DsState.php index 19c7548d3d43..0790f5f6c639 100644 --- a/Domains/src/V1/DnsSettings/DsState.php +++ b/Domains/src/V1/DnsSettings/DsState.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/Domains/src/V1/DnsSettings/GlueRecord.php b/Domains/src/V1/DnsSettings/GlueRecord.php index ab13ec4aefa2..ce3e396e14e1 100644 --- a/Domains/src/V1/DnsSettings/GlueRecord.php +++ b/Domains/src/V1/DnsSettings/GlueRecord.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1\DnsSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a host on your domain that is a DNS name server for your domain @@ -51,11 +51,11 @@ class GlueRecord extends \Google\Protobuf\Internal\Message * * @type string $host_name * Required. Domain name of the host in Punycode format. - * @type array|\Google\Protobuf\Internal\RepeatedField $ipv4_addresses + * @type string[] $ipv4_addresses * List of IPv4 addresses corresponding to this host in the standard decimal * format (e.g. `198.51.100.1`). At least one of `ipv4_address` and * `ipv6_address` must be set. - * @type array|\Google\Protobuf\Internal\RepeatedField $ipv6_addresses + * @type string[] $ipv6_addresses * List of IPv6 addresses corresponding to this host in the standard * hexadecimal format (e.g. `2001:db8::`). At least one of * `ipv4_address` and `ipv6_address` must be set. @@ -98,7 +98,7 @@ public function setHostName($var) * `ipv6_address` must be set. * * Generated from protobuf field repeated string ipv4_addresses = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIpv4Addresses() { @@ -111,7 +111,7 @@ public function getIpv4Addresses() * `ipv6_address` must be set. * * Generated from protobuf field repeated string ipv4_addresses = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIpv4Addresses($var) @@ -128,7 +128,7 @@ public function setIpv4Addresses($var) * `ipv4_address` and `ipv6_address` must be set. * * Generated from protobuf field repeated string ipv6_addresses = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIpv6Addresses() { @@ -141,7 +141,7 @@ public function getIpv6Addresses() * `ipv4_address` and `ipv6_address` must be set. * * Generated from protobuf field repeated string ipv6_addresses = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIpv6Addresses($var) @@ -154,4 +154,3 @@ public function setIpv6Addresses($var) } - diff --git a/Domains/src/V1/DnsSettings/GoogleDomainsDns.php b/Domains/src/V1/DnsSettings/GoogleDomainsDns.php index e1bf1cc8e108..26fe8c26ac2b 100644 --- a/Domains/src/V1/DnsSettings/GoogleDomainsDns.php +++ b/Domains/src/V1/DnsSettings/GoogleDomainsDns.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1\DnsSettings; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for using the free DNS zone provided by Google Domains as a @@ -49,7 +49,7 @@ class GoogleDomainsDns extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $name_servers + * @type string[] $name_servers * Output only. A list of name servers that store the DNS zone for this domain. Each name * server is a domain name, with Unicode domain names expressed in * Punycode format. This field is automatically populated with the name @@ -57,7 +57,7 @@ class GoogleDomainsDns extends \Google\Protobuf\Internal\Message * @type int $ds_state * Required. The state of DS records for this domain. Used to enable or disable * automatic DNSSEC. - * @type array<\Google\Cloud\Domains\V1\DnsSettings\DsRecord>|\Google\Protobuf\Internal\RepeatedField $ds_records + * @type \Google\Cloud\Domains\V1\DnsSettings\DsRecord[] $ds_records * Output only. The list of DS records published for this domain. The list is * automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, * otherwise it remains empty. @@ -75,7 +75,7 @@ public function __construct($data = NULL) { * servers assigned to the Google Domains DNS zone. * * Generated from protobuf field repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNameServers() { @@ -89,7 +89,7 @@ public function getNameServers() * servers assigned to the Google Domains DNS zone. * * Generated from protobuf field repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNameServers($var) @@ -134,7 +134,7 @@ public function setDsState($var) * otherwise it remains empty. * * Generated from protobuf field repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Domains\V1\DnsSettings\DsRecord> */ public function getDsRecords() { @@ -147,7 +147,7 @@ public function getDsRecords() * otherwise it remains empty. * * Generated from protobuf field repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Domains\V1\DnsSettings\DsRecord>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Domains\V1\DnsSettings\DsRecord[] $var * @return $this */ public function setDsRecords($var) @@ -160,4 +160,3 @@ public function setDsRecords($var) } - diff --git a/Domains/src/V1/ExportRegistrationRequest.php b/Domains/src/V1/ExportRegistrationRequest.php index 0069693a79d5..cc5ba900e862 100644 --- a/Domains/src/V1/ExportRegistrationRequest.php +++ b/Domains/src/V1/ExportRegistrationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ExportRegistration` method. @@ -17,7 +17,7 @@ class ExportRegistrationRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the `Registration` to export, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * 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 `Registration` to export, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` to export, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * 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 `Registration` to export, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/GetRegistrationRequest.php b/Domains/src/V1/GetRegistrationRequest.php index 5f9177d359f5..f89c93eb3b26 100644 --- a/Domains/src/V1/GetRegistrationRequest.php +++ b/Domains/src/V1/GetRegistrationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetRegistration` method. @@ -17,7 +17,7 @@ class GetRegistrationRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the `Registration` to get, in the format - * `projects/*/locations/*/registrations/*`. + * `projects/{@*}locations/{@*}registrations/*`. * * 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 `Registration` to get, in the format - * `projects/*/locations/*/registrations/*`. + * `projects/{@*}locations/{@*}registrations/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` to get, in the format - * `projects/*/locations/*/registrations/*`. + * `projects/{@*}locations/{@*}registrations/*`. * * 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 `Registration` to get, in the format - * `projects/*/locations/*/registrations/*`. + * `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/ListRegistrationsRequest.php b/Domains/src/V1/ListRegistrationsRequest.php index e6ab9c843916..45deb07115ae 100644 --- a/Domains/src/V1/ListRegistrationsRequest.php +++ b/Domains/src/V1/ListRegistrationsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListRegistrations` method. @@ -17,7 +17,7 @@ class ListRegistrationsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location from which to list `Registration`s, specified in - * the format `projects/*/locations/*`. + * the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -77,7 +77,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which to list `Registration`s, specified in - * the format `projects/*/locations/*`. + * the format `projects/{@*}locations/*`. * @type int $page_size * Maximum number of results to return. * @type string $page_token @@ -106,7 +106,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which to list `Registration`s, specified in - * the format `projects/*/locations/*`. + * the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -118,7 +118,7 @@ public function getParent() /** * Required. The project and location from which to list `Registration`s, specified in - * the format `projects/*/locations/*`. + * 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/Domains/src/V1/ListRegistrationsResponse.php b/Domains/src/V1/ListRegistrationsResponse.php index 4c81ffab6fc7..c9f51b497083 100644 --- a/Domains/src/V1/ListRegistrationsResponse.php +++ b/Domains/src/V1/ListRegistrationsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListRegistrations` method. @@ -35,7 +35,7 @@ class ListRegistrationsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Domains\V1\Registration>|\Google\Protobuf\Internal\RepeatedField $registrations + * @type \Google\Cloud\Domains\V1\Registration[] $registrations * A list of `Registration`s. * @type string $next_page_token * When present, there are more results to retrieve. Set `page_token` to this @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * A list of `Registration`s. * * Generated from protobuf field repeated .google.cloud.domains.v1.Registration registrations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Domains\V1\Registration> */ public function getRegistrations() { @@ -62,7 +62,7 @@ public function getRegistrations() * A list of `Registration`s. * * Generated from protobuf field repeated .google.cloud.domains.v1.Registration registrations = 1; - * @param array<\Google\Cloud\Domains\V1\Registration>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Domains\V1\Registration[] $var * @return $this */ public function setRegistrations($var) diff --git a/Domains/src/V1/ManagementSettings.php b/Domains/src/V1/ManagementSettings.php index ea125293a534..3586c8915b67 100644 --- a/Domains/src/V1/ManagementSettings.php +++ b/Domains/src/V1/ManagementSettings.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines renewal, billing, and transfer settings for a `Registration`. diff --git a/Domains/src/V1/ManagementSettings/RenewalMethod.php b/Domains/src/V1/ManagementSettings/RenewalMethod.php index ebb0093af8ce..5a59215646e7 100644 --- a/Domains/src/V1/ManagementSettings/RenewalMethod.php +++ b/Domains/src/V1/ManagementSettings/RenewalMethod.php @@ -65,4 +65,3 @@ public static function value($name) } } - diff --git a/Domains/src/V1/OperationMetadata.php b/Domains/src/V1/OperationMetadata.php index 3e25bda1a7bf..ef62b247fe67 100644 --- a/Domains/src/V1/OperationMetadata.php +++ b/Domains/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\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/Domains/src/V1/RegisterDomainRequest.php b/Domains/src/V1/RegisterDomainRequest.php index 0fb96c0927dc..12ff921a09ee 100644 --- a/Domains/src/V1/RegisterDomainRequest.php +++ b/Domains/src/V1/RegisterDomainRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `RegisterDomain` method. @@ -17,7 +17,7 @@ class RegisterDomainRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent resource of the `Registration`. 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) = { */ @@ -89,13 +89,13 @@ public static function build(string $parent, \Google\Cloud\Domains\V1\Registrati * * @type string $parent * Required. The parent resource of the `Registration`. Must be in the - * format `projects/*/locations/*`. + * format `projects/{@*}locations/*`. * @type \Google\Cloud\Domains\V1\Registration $registration * Required. The complete `Registration` resource to be created. - * @type array|\Google\Protobuf\Internal\RepeatedField $domain_notices + * @type int[] $domain_notices * The list of domain notices that you acknowledge. Call * `RetrieveRegisterParameters` to see the notices that need acknowledgement. - * @type array|\Google\Protobuf\Internal\RepeatedField $contact_notices + * @type int[] $contact_notices * The list of contact notices that the caller acknowledges. The notices * needed here depend on the values specified in * `registration.contact_settings`. @@ -116,7 +116,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the `Registration`. 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 @@ -128,7 +128,7 @@ public function getParent() /** * Required. The parent resource of the `Registration`. 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 @@ -183,7 +183,7 @@ public function setRegistration($var) * `RetrieveRegisterParameters` to see the notices that need acknowledgement. * * Generated from protobuf field repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDomainNotices() { @@ -195,7 +195,7 @@ public function getDomainNotices() * `RetrieveRegisterParameters` to see the notices that need acknowledgement. * * Generated from protobuf field repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setDomainNotices($var) @@ -212,7 +212,7 @@ public function setDomainNotices($var) * `registration.contact_settings`. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContactNotices() { @@ -225,7 +225,7 @@ public function getContactNotices() * `registration.contact_settings`. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setContactNotices($var) diff --git a/Domains/src/V1/RegisterParameters.php b/Domains/src/V1/RegisterParameters.php index a9eb264623d4..fcb5365a5e79 100644 --- a/Domains/src/V1/RegisterParameters.php +++ b/Domains/src/V1/RegisterParameters.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Parameters required to register a new domain. @@ -60,9 +60,9 @@ class RegisterParameters extends \Google\Protobuf\Internal\Message * Indicates whether the domain is available for registration. This value is * accurate when obtained by calling `RetrieveRegisterParameters`, but is * approximate when obtained by calling `SearchDomains`. - * @type array|\Google\Protobuf\Internal\RepeatedField $supported_privacy + * @type int[] $supported_privacy * Contact privacy options that the domain supports. - * @type array|\Google\Protobuf\Internal\RepeatedField $domain_notices + * @type int[] $domain_notices * Notices about special properties of the domain. * @type \Google\Type\Money $yearly_price * Price to register or renew the domain for one year. @@ -133,7 +133,7 @@ public function setAvailability($var) * Contact privacy options that the domain supports. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSupportedPrivacy() { @@ -144,7 +144,7 @@ public function getSupportedPrivacy() * Contact privacy options that the domain supports. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSupportedPrivacy($var) @@ -159,7 +159,7 @@ public function setSupportedPrivacy($var) * Notices about special properties of the domain. * * Generated from protobuf field repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDomainNotices() { @@ -170,7 +170,7 @@ public function getDomainNotices() * Notices about special properties of the domain. * * Generated from protobuf field repeated .google.cloud.domains.v1.DomainNotice domain_notices = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setDomainNotices($var) diff --git a/Domains/src/V1/RegisterParameters/Availability.php b/Domains/src/V1/RegisterParameters/Availability.php index 3e2f6cd59de9..020d1735aa5a 100644 --- a/Domains/src/V1/RegisterParameters/Availability.php +++ b/Domains/src/V1/RegisterParameters/Availability.php @@ -76,4 +76,3 @@ public static function value($name) } } - diff --git a/Domains/src/V1/Registration.php b/Domains/src/V1/Registration.php index 8370bad24e18..785ad5e05c71 100644 --- a/Domains/src/V1/Registration.php +++ b/Domains/src/V1/Registration.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The `Registration` resource facilitates managing and configuring domain name @@ -29,7 +29,7 @@ class Registration extends \Google\Protobuf\Internal\Message { /** * Output only. Name of the `Registration` resource, in the format - * `projects/*/locations/*/registrations/`. + * `projects/{@*}locations/{@*}registrations/`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -123,7 +123,7 @@ class Registration extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. Name of the `Registration` resource, in the format - * `projects/*/locations/*/registrations/`. + * `projects/{@*}locations/{@*}registrations/`. * @type string $domain_name * Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format. * @type \Google\Protobuf\Timestamp $create_time @@ -132,7 +132,7 @@ class Registration extends \Google\Protobuf\Internal\Message * Output only. The expiration timestamp of the `Registration`. * @type int $state * Output only. The state of the `Registration` - * @type array|\Google\Protobuf\Internal\RepeatedField $issues + * @type int[] $issues * Output only. The set of issues with the `Registration` that require attention. * @type array|\Google\Protobuf\Internal\MapField $labels * Set of labels associated with the `Registration`. @@ -157,7 +157,7 @@ class Registration extends \Google\Protobuf\Internal\Message * to the `contact_settings` that have not been confirmed. To confirm the * changes, the `registrant_contact` must follow the instructions in the * email they receive. - * @type array|\Google\Protobuf\Internal\RepeatedField $supported_privacy + * @type int[] $supported_privacy * Output only. Set of options for the `contact_settings.privacy` field that this * `Registration` supports. * } @@ -169,7 +169,7 @@ public function __construct($data = NULL) { /** * Output only. Name of the `Registration` resource, in the format - * `projects/*/locations/*/registrations/`. + * `projects/{@*}locations/{@*}registrations/`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -181,7 +181,7 @@ public function getName() /** * Output only. Name of the `Registration` resource, in the format - * `projects/*/locations/*/registrations/`. + * `projects/{@*}locations/{@*}registrations/`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -323,7 +323,7 @@ public function setState($var) * Output only. The set of issues with the `Registration` that require attention. * * Generated from protobuf field repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIssues() { @@ -334,7 +334,7 @@ public function getIssues() * Output only. The set of issues with the `Registration` that require attention. * * Generated from protobuf field repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setIssues($var) @@ -546,7 +546,7 @@ public function setPendingContactSettings($var) * `Registration` supports. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSupportedPrivacy() { @@ -558,7 +558,7 @@ public function getSupportedPrivacy() * `Registration` supports. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSupportedPrivacy($var) diff --git a/Domains/src/V1/Registration/Issue.php b/Domains/src/V1/Registration/Issue.php index 0b2e15b7a2a6..4eef68a298c9 100644 --- a/Domains/src/V1/Registration/Issue.php +++ b/Domains/src/V1/Registration/Issue.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Domains/src/V1/Registration/State.php b/Domains/src/V1/Registration/State.php index f27cb1a01ebe..293a596b285e 100644 --- a/Domains/src/V1/Registration/State.php +++ b/Domains/src/V1/Registration/State.php @@ -103,4 +103,3 @@ public static function value($name) } } - diff --git a/Domains/src/V1/ResetAuthorizationCodeRequest.php b/Domains/src/V1/ResetAuthorizationCodeRequest.php index 98add90800b5..27af7fd88944 100644 --- a/Domains/src/V1/ResetAuthorizationCodeRequest.php +++ b/Domains/src/V1/ResetAuthorizationCodeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ResetAuthorizationCode` method. @@ -17,7 +17,7 @@ class ResetAuthorizationCodeRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the `Registration` whose authorization code is being reset, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $registration): self * * @type string $registration * Required. The name of the `Registration` whose authorization code is being reset, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` whose authorization code is being reset, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getRegistration() /** * Required. The name of the `Registration` whose authorization code is being reset, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/RetrieveAuthorizationCodeRequest.php b/Domains/src/V1/RetrieveAuthorizationCodeRequest.php index b97cba53dfa0..276517686f89 100644 --- a/Domains/src/V1/RetrieveAuthorizationCodeRequest.php +++ b/Domains/src/V1/RetrieveAuthorizationCodeRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `RetrieveAuthorizationCode` method. @@ -17,7 +17,7 @@ class RetrieveAuthorizationCodeRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the `Registration` whose authorization code is being retrieved, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -46,7 +46,7 @@ public static function build(string $registration): self * * @type string $registration * Required. The name of the `Registration` whose authorization code is being retrieved, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. The name of the `Registration` whose authorization code is being retrieved, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -68,7 +68,7 @@ public function getRegistration() /** * Required. The name of the `Registration` whose authorization code is being retrieved, - * in the format `projects/*/locations/*/registrations/*`. + * in the format `projects/{@*}locations/{@*}registrations/*`. * * Generated from protobuf field string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/RetrieveRegisterParametersRequest.php b/Domains/src/V1/RetrieveRegisterParametersRequest.php index 88c9358950a9..263ce70cc345 100644 --- a/Domains/src/V1/RetrieveRegisterParametersRequest.php +++ b/Domains/src/V1/RetrieveRegisterParametersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `RetrieveRegisterParameters` method. @@ -22,7 +22,7 @@ class RetrieveRegisterParametersRequest extends \Google\Protobuf\Internal\Messag */ protected $domain_name = ''; /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -53,7 +53,7 @@ public static function build(string $location, string $domainName): self * @type string $domain_name * Required. The domain name. Unicode domain names must be expressed in Punycode format. * @type string $location - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * } */ public function __construct($data = NULL) { @@ -88,7 +88,7 @@ public function setDomainName($var) } /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -99,7 +99,7 @@ public function getLocation() } /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/RetrieveRegisterParametersResponse.php b/Domains/src/V1/RetrieveRegisterParametersResponse.php index 93a13fc1cb87..fad1b7094457 100644 --- a/Domains/src/V1/RetrieveRegisterParametersResponse.php +++ b/Domains/src/V1/RetrieveRegisterParametersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `RetrieveRegisterParameters` method. diff --git a/Domains/src/V1/RetrieveTransferParametersRequest.php b/Domains/src/V1/RetrieveTransferParametersRequest.php index c4fbe140d774..5cfbe263718d 100644 --- a/Domains/src/V1/RetrieveTransferParametersRequest.php +++ b/Domains/src/V1/RetrieveTransferParametersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `RetrieveTransferParameters` method. @@ -22,7 +22,7 @@ class RetrieveTransferParametersRequest extends \Google\Protobuf\Internal\Messag */ protected $domain_name = ''; /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -53,7 +53,7 @@ public static function build(string $location, string $domainName): self * @type string $domain_name * Required. The domain name. Unicode domain names must be expressed in Punycode format. * @type string $location - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * } */ public function __construct($data = NULL) { @@ -88,7 +88,7 @@ public function setDomainName($var) } /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -99,7 +99,7 @@ public function getLocation() } /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/RetrieveTransferParametersResponse.php b/Domains/src/V1/RetrieveTransferParametersResponse.php index 611689be75fa..3dd3e7fa0464 100644 --- a/Domains/src/V1/RetrieveTransferParametersResponse.php +++ b/Domains/src/V1/RetrieveTransferParametersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `RetrieveTransferParameters` method. diff --git a/Domains/src/V1/SearchDomainsRequest.php b/Domains/src/V1/SearchDomainsRequest.php index 7001b0fdf7ce..012cafd4cf62 100644 --- a/Domains/src/V1/SearchDomainsRequest.php +++ b/Domains/src/V1/SearchDomainsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `SearchDomains` method. @@ -22,7 +22,7 @@ class SearchDomainsRequest extends \Google\Protobuf\Internal\Message */ protected $query = ''; /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -53,7 +53,7 @@ public static function build(string $location, string $query): self * @type string $query * Required. String used to search for available domain names. * @type string $location - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * } */ public function __construct($data = NULL) { @@ -88,7 +88,7 @@ public function setQuery($var) } /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -99,7 +99,7 @@ public function getLocation() } /** - * Required. The location. Must be in the format `projects/*/locations/*`. + * Required. The location. Must be in the format `projects/{@*}locations/*`. * * Generated from protobuf field string location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/Domains/src/V1/SearchDomainsResponse.php b/Domains/src/V1/SearchDomainsResponse.php index df1433fb0beb..0587c4a8f9e1 100644 --- a/Domains/src/V1/SearchDomainsResponse.php +++ b/Domains/src/V1/SearchDomainsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `SearchDomains` method. @@ -28,7 +28,7 @@ class SearchDomainsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Domains\V1\RegisterParameters>|\Google\Protobuf\Internal\RepeatedField $register_parameters + * @type \Google\Cloud\Domains\V1\RegisterParameters[] $register_parameters * Results of the domain name search. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Results of the domain name search. * * Generated from protobuf field repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Domains\V1\RegisterParameters> */ public function getRegisterParameters() { @@ -52,7 +52,7 @@ public function getRegisterParameters() * Results of the domain name search. * * Generated from protobuf field repeated .google.cloud.domains.v1.RegisterParameters register_parameters = 1; - * @param array<\Google\Cloud\Domains\V1\RegisterParameters>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Domains\V1\RegisterParameters[] $var * @return $this */ public function setRegisterParameters($var) diff --git a/Domains/src/V1/TransferDomainRequest.php b/Domains/src/V1/TransferDomainRequest.php index ef9bdc453507..1a6812948f0e 100644 --- a/Domains/src/V1/TransferDomainRequest.php +++ b/Domains/src/V1/TransferDomainRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `TransferDomain` method. @@ -17,7 +17,7 @@ class TransferDomainRequest extends \Google\Protobuf\Internal\Message { /** * Required. The parent resource of the `Registration`. 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) = { */ @@ -101,7 +101,7 @@ public static function build(string $parent, \Google\Cloud\Domains\V1\Registrati * * @type string $parent * Required. The parent resource of the `Registration`. Must be in the - * format `projects/*/locations/*`. + * format `projects/{@*}locations/*`. * @type \Google\Cloud\Domains\V1\Registration $registration * Required. The complete `Registration` resource to be created. * You can leave `registration.dns_settings` unset to import the @@ -109,7 +109,7 @@ public static function build(string $parent, \Google\Cloud\Domains\V1\Registrati * option only if you are sure that the domain's current DNS service * does not cease upon transfer, as is often the case for DNS services * provided for free by the registrar. - * @type array|\Google\Protobuf\Internal\RepeatedField $contact_notices + * @type int[] $contact_notices * The list of contact notices that you acknowledge. The notices * needed here depend on the values specified in * `registration.contact_settings`. @@ -131,7 +131,7 @@ public function __construct($data = NULL) { /** * Required. The parent resource of the `Registration`. 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 @@ -143,7 +143,7 @@ public function getParent() /** * Required. The parent resource of the `Registration`. 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 @@ -209,7 +209,7 @@ public function setRegistration($var) * `registration.contact_settings`. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContactNotices() { @@ -222,7 +222,7 @@ public function getContactNotices() * `registration.contact_settings`. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactNotice contact_notices = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setContactNotices($var) diff --git a/Domains/src/V1/TransferParameters.php b/Domains/src/V1/TransferParameters.php index 75da92577742..4656c3da6f8f 100644 --- a/Domains/src/V1/TransferParameters.php +++ b/Domains/src/V1/TransferParameters.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Parameters required to transfer a domain from another registrar. @@ -64,13 +64,13 @@ class TransferParameters extends \Google\Protobuf\Internal\Message * The domain name. Unicode domain names are expressed in Punycode format. * @type string $current_registrar * The registrar that currently manages the domain. - * @type array|\Google\Protobuf\Internal\RepeatedField $name_servers + * @type string[] $name_servers * The name servers that currently store the configuration of the domain. * @type int $transfer_lock_state * Indicates whether the domain is protected by a transfer lock. For a * transfer to succeed, this must show `UNLOCKED`. To unlock a domain, * go to its current registrar. - * @type array|\Google\Protobuf\Internal\RepeatedField $supported_privacy + * @type int[] $supported_privacy * Contact privacy options that the domain supports. * @type \Google\Type\Money $yearly_price * Price to transfer or renew the domain for one year. @@ -137,7 +137,7 @@ public function setCurrentRegistrar($var) * The name servers that currently store the configuration of the domain. * * Generated from protobuf field repeated string name_servers = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNameServers() { @@ -148,7 +148,7 @@ public function getNameServers() * The name servers that currently store the configuration of the domain. * * Generated from protobuf field repeated string name_servers = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNameServers($var) @@ -193,7 +193,7 @@ public function setTransferLockState($var) * Contact privacy options that the domain supports. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSupportedPrivacy() { @@ -204,7 +204,7 @@ public function getSupportedPrivacy() * Contact privacy options that the domain supports. * * Generated from protobuf field repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSupportedPrivacy($var) diff --git a/Domains/src/V1/UpdateRegistrationRequest.php b/Domains/src/V1/UpdateRegistrationRequest.php index 5c3a239ac4c6..850b76829419 100644 --- a/Domains/src/V1/UpdateRegistrationRequest.php +++ b/Domains/src/V1/UpdateRegistrationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Domains\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `UpdateRegistration` method. diff --git a/EdgeNetwork/metadata/V1/Resources.php b/EdgeNetwork/metadata/V1/Resources.php index 008094c5e9b2..1ffc50761a7e 100644 Binary files a/EdgeNetwork/metadata/V1/Resources.php and b/EdgeNetwork/metadata/V1/Resources.php differ diff --git a/EdgeNetwork/metadata/V1/Service.php b/EdgeNetwork/metadata/V1/Service.php index 7576c88b58e0..8c8e4587d811 100644 Binary files a/EdgeNetwork/metadata/V1/Service.php and b/EdgeNetwork/metadata/V1/Service.php differ diff --git a/EdgeNetwork/src/V1/CreateInterconnectAttachmentRequest.php b/EdgeNetwork/src/V1/CreateInterconnectAttachmentRequest.php index 1264f1153224..85d931d67798 100644 --- a/EdgeNetwork/src/V1/CreateInterconnectAttachmentRequest.php +++ b/EdgeNetwork/src/V1/CreateInterconnectAttachmentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a InterconnectAttachment diff --git a/EdgeNetwork/src/V1/CreateNetworkRequest.php b/EdgeNetwork/src/V1/CreateNetworkRequest.php index f6a3d7b68b95..a06a397a4fbe 100644 --- a/EdgeNetwork/src/V1/CreateNetworkRequest.php +++ b/EdgeNetwork/src/V1/CreateNetworkRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Network diff --git a/EdgeNetwork/src/V1/CreateRouterRequest.php b/EdgeNetwork/src/V1/CreateRouterRequest.php index 4bbaaa3346e6..adf0ba1ec6e9 100644 --- a/EdgeNetwork/src/V1/CreateRouterRequest.php +++ b/EdgeNetwork/src/V1/CreateRouterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Router diff --git a/EdgeNetwork/src/V1/CreateSubnetRequest.php b/EdgeNetwork/src/V1/CreateSubnetRequest.php index 66558a9ba58f..3f6fbdf89eb6 100644 --- a/EdgeNetwork/src/V1/CreateSubnetRequest.php +++ b/EdgeNetwork/src/V1/CreateSubnetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for creating a Subnet diff --git a/EdgeNetwork/src/V1/DeleteInterconnectAttachmentRequest.php b/EdgeNetwork/src/V1/DeleteInterconnectAttachmentRequest.php index 4bceb13d9f0b..0c8cec81af5b 100644 --- a/EdgeNetwork/src/V1/DeleteInterconnectAttachmentRequest.php +++ b/EdgeNetwork/src/V1/DeleteInterconnectAttachmentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a InterconnectAttachment diff --git a/EdgeNetwork/src/V1/DeleteNetworkRequest.php b/EdgeNetwork/src/V1/DeleteNetworkRequest.php index baca7343c01d..ec896ba70886 100644 --- a/EdgeNetwork/src/V1/DeleteNetworkRequest.php +++ b/EdgeNetwork/src/V1/DeleteNetworkRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Network diff --git a/EdgeNetwork/src/V1/DeleteRouterRequest.php b/EdgeNetwork/src/V1/DeleteRouterRequest.php index 6ce2a9abce39..25efde3b39c6 100644 --- a/EdgeNetwork/src/V1/DeleteRouterRequest.php +++ b/EdgeNetwork/src/V1/DeleteRouterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Router diff --git a/EdgeNetwork/src/V1/DeleteSubnetRequest.php b/EdgeNetwork/src/V1/DeleteSubnetRequest.php index 74e05066fb86..4b6d96edbce1 100644 --- a/EdgeNetwork/src/V1/DeleteSubnetRequest.php +++ b/EdgeNetwork/src/V1/DeleteSubnetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for deleting a Subnet diff --git a/EdgeNetwork/src/V1/DiagnoseInterconnectRequest.php b/EdgeNetwork/src/V1/DiagnoseInterconnectRequest.php index 4b54776b9332..8b383b27fbba 100644 --- a/EdgeNetwork/src/V1/DiagnoseInterconnectRequest.php +++ b/EdgeNetwork/src/V1/DiagnoseInterconnectRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting the diagnostics of an interconnect within a specific diff --git a/EdgeNetwork/src/V1/DiagnoseInterconnectResponse.php b/EdgeNetwork/src/V1/DiagnoseInterconnectResponse.php index 0d8c929ede38..0ce058dc6f33 100644 --- a/EdgeNetwork/src/V1/DiagnoseInterconnectResponse.php +++ b/EdgeNetwork/src/V1/DiagnoseInterconnectResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DiagnoseInterconnectResponse contains the current diagnostics for a diff --git a/EdgeNetwork/src/V1/DiagnoseNetworkRequest.php b/EdgeNetwork/src/V1/DiagnoseNetworkRequest.php index 51fde143de64..38ecbf2ff203 100644 --- a/EdgeNetwork/src/V1/DiagnoseNetworkRequest.php +++ b/EdgeNetwork/src/V1/DiagnoseNetworkRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting the diagnostics of a network within a specific zone. diff --git a/EdgeNetwork/src/V1/DiagnoseNetworkResponse.php b/EdgeNetwork/src/V1/DiagnoseNetworkResponse.php index 8b8bf18fd4d8..08ce9c819048 100644 --- a/EdgeNetwork/src/V1/DiagnoseNetworkResponse.php +++ b/EdgeNetwork/src/V1/DiagnoseNetworkResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DiagnoseNetworkResponse contains the current status for a specific network. diff --git a/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus.php b/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus.php index 684b36d56636..2816eb73e1fc 100644 --- a/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus.php +++ b/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\DiagnoseNetworkResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NetworkStatus has a list of status for the subnets under the current @@ -35,7 +35,7 @@ class NetworkStatus extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EdgeNetwork\V1\SubnetStatus>|\Google\Protobuf\Internal\RepeatedField $subnet_status + * @type \Google\Cloud\EdgeNetwork\V1\SubnetStatus[] $subnet_status * A list of status for the subnets under the current network. * @type int $macsec_status_internal_links * The MACsec status of internal links. @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * A list of status for the subnets under the current network. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\SubnetStatus> */ public function getSubnetStatus() { @@ -61,7 +61,7 @@ public function getSubnetStatus() * A list of status for the subnets under the current network. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.SubnetStatus subnet_status = 1; - * @param array<\Google\Cloud\EdgeNetwork\V1\SubnetStatus>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\SubnetStatus[] $var * @return $this */ public function setSubnetStatus($var) @@ -100,4 +100,3 @@ public function setMacsecStatusInternalLinks($var) } - diff --git a/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus/MacsecStatus.php b/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus/MacsecStatus.php index ec5bbfbaf1f0..4725eaa9c1d2 100644 --- a/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus/MacsecStatus.php +++ b/EdgeNetwork/src/V1/DiagnoseNetworkResponse/NetworkStatus/MacsecStatus.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/EdgeNetwork/src/V1/DiagnoseRouterRequest.php b/EdgeNetwork/src/V1/DiagnoseRouterRequest.php index f79a34d7cf8f..4c2848ca1d37 100644 --- a/EdgeNetwork/src/V1/DiagnoseRouterRequest.php +++ b/EdgeNetwork/src/V1/DiagnoseRouterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for requesting diagnostics of a router within a specific zone. diff --git a/EdgeNetwork/src/V1/DiagnoseRouterResponse.php b/EdgeNetwork/src/V1/DiagnoseRouterResponse.php index 833f8a2f0cf3..1419fc9dd476 100644 --- a/EdgeNetwork/src/V1/DiagnoseRouterResponse.php +++ b/EdgeNetwork/src/V1/DiagnoseRouterResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DiagnoseRouterResponse contains the current status for a specific router. diff --git a/EdgeNetwork/src/V1/GetInterconnectAttachmentRequest.php b/EdgeNetwork/src/V1/GetInterconnectAttachmentRequest.php index 86fe850adc6b..8a2ecf55d707 100644 --- a/EdgeNetwork/src/V1/GetInterconnectAttachmentRequest.php +++ b/EdgeNetwork/src/V1/GetInterconnectAttachmentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a InterconnectAttachment diff --git a/EdgeNetwork/src/V1/GetInterconnectRequest.php b/EdgeNetwork/src/V1/GetInterconnectRequest.php index e4bec26ad53e..7ce3037db4b4 100644 --- a/EdgeNetwork/src/V1/GetInterconnectRequest.php +++ b/EdgeNetwork/src/V1/GetInterconnectRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Interconnect diff --git a/EdgeNetwork/src/V1/GetNetworkRequest.php b/EdgeNetwork/src/V1/GetNetworkRequest.php index 866b8997d290..1e733ca97bce 100644 --- a/EdgeNetwork/src/V1/GetNetworkRequest.php +++ b/EdgeNetwork/src/V1/GetNetworkRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Network diff --git a/EdgeNetwork/src/V1/GetRouterRequest.php b/EdgeNetwork/src/V1/GetRouterRequest.php index 97c99a0439f4..d4f20c653b4d 100644 --- a/EdgeNetwork/src/V1/GetRouterRequest.php +++ b/EdgeNetwork/src/V1/GetRouterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Router diff --git a/EdgeNetwork/src/V1/GetSubnetRequest.php b/EdgeNetwork/src/V1/GetSubnetRequest.php index 35b6a9200013..0374f1caceea 100644 --- a/EdgeNetwork/src/V1/GetSubnetRequest.php +++ b/EdgeNetwork/src/V1/GetSubnetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for getting a Subnet diff --git a/EdgeNetwork/src/V1/GetZoneRequest.php b/EdgeNetwork/src/V1/GetZoneRequest.php index 226d2f545f4b..8d6d0f055b19 100644 --- a/EdgeNetwork/src/V1/GetZoneRequest.php +++ b/EdgeNetwork/src/V1/GetZoneRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deprecated: not implemented. diff --git a/EdgeNetwork/src/V1/InitializeZoneRequest.php b/EdgeNetwork/src/V1/InitializeZoneRequest.php index ecccd767dca9..36204a76630b 100644 --- a/EdgeNetwork/src/V1/InitializeZoneRequest.php +++ b/EdgeNetwork/src/V1/InitializeZoneRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for initializing a specified zone diff --git a/EdgeNetwork/src/V1/InitializeZoneResponse.php b/EdgeNetwork/src/V1/InitializeZoneResponse.php index 2268e8824ebc..538a32a8fdce 100644 --- a/EdgeNetwork/src/V1/InitializeZoneResponse.php +++ b/EdgeNetwork/src/V1/InitializeZoneResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response of initializing a zone diff --git a/EdgeNetwork/src/V1/Interconnect.php b/EdgeNetwork/src/V1/Interconnect.php index 491ea8ae2929..48096533c9c2 100644 --- a/EdgeNetwork/src/V1/Interconnect.php +++ b/EdgeNetwork/src/V1/Interconnect.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message describing Interconnect object @@ -104,7 +104,7 @@ class Interconnect extends \Google\Protobuf\Internal\Message * Output only. Unique identifier for the link. * @type string $device_cloud_resource_name * Output only. Cloud resource name of the switch device. - * @type array|\Google\Protobuf\Internal\RepeatedField $physical_ports + * @type string[] $physical_ports * Output only. Physical ports (e.g., TenGigE0/0/0/1) that form the * interconnect. * @type int $remote_peering_network_type @@ -354,7 +354,7 @@ public function setDeviceCloudResourceName($var) * interconnect. * * Generated from protobuf field repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPhysicalPorts() { @@ -366,7 +366,7 @@ public function getPhysicalPorts() * interconnect. * * Generated from protobuf field repeated string physical_ports = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPhysicalPorts($var) diff --git a/EdgeNetwork/src/V1/Interconnect/InterconnectType.php b/EdgeNetwork/src/V1/Interconnect/InterconnectType.php index b6736e200a84..c992f5f485fd 100644 --- a/EdgeNetwork/src/V1/Interconnect/InterconnectType.php +++ b/EdgeNetwork/src/V1/Interconnect/InterconnectType.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/EdgeNetwork/src/V1/InterconnectAttachment.php b/EdgeNetwork/src/V1/InterconnectAttachment.php index 008c673ad4cc..0bf06011fdd1 100644 --- a/EdgeNetwork/src/V1/InterconnectAttachment.php +++ b/EdgeNetwork/src/V1/InterconnectAttachment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message describing InterconnectAttachment object diff --git a/EdgeNetwork/src/V1/InterconnectDiagnostics.php b/EdgeNetwork/src/V1/InterconnectDiagnostics.php index c8acdd241add..6075e224ff21 100644 --- a/EdgeNetwork/src/V1/InterconnectDiagnostics.php +++ b/EdgeNetwork/src/V1/InterconnectDiagnostics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Diagnostics information about interconnect, contains detailed and current @@ -45,10 +45,10 @@ class InterconnectDiagnostics extends \Google\Protobuf\Internal\Message * * @type string $mac_address * The MAC address of the Interconnect's bundle interface. - * @type array<\Google\Cloud\EdgeNetwork\V1\LinkLayerAddress>|\Google\Protobuf\Internal\RepeatedField $link_layer_addresses + * @type \Google\Cloud\EdgeNetwork\V1\LinkLayerAddress[] $link_layer_addresses * A list of LinkLayerAddress, describing the ip address and corresponding * link-layer address of the neighbors for this interconnect. - * @type array<\Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkStatus>|\Google\Protobuf\Internal\RepeatedField $links + * @type \Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkStatus[] $links * A list of LinkStatus objects, used to describe the status for each link on * the Interconnect. * } @@ -89,7 +89,7 @@ public function setMacAddress($var) * link-layer address of the neighbors for this interconnect. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\LinkLayerAddress> */ public function getLinkLayerAddresses() { @@ -101,7 +101,7 @@ public function getLinkLayerAddresses() * link-layer address of the neighbors for this interconnect. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 2; - * @param array<\Google\Cloud\EdgeNetwork\V1\LinkLayerAddress>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\LinkLayerAddress[] $var * @return $this */ public function setLinkLayerAddresses($var) @@ -117,7 +117,7 @@ public function setLinkLayerAddresses($var) * the Interconnect. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkStatus> */ public function getLinks() { @@ -129,7 +129,7 @@ public function getLinks() * the Interconnect. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus links = 3; - * @param array<\Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkStatus>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkStatus[] $var * @return $this */ public function setLinks($var) diff --git a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus.php b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus.php index c9d28f24d20d..c4247f826cd0 100644 --- a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus.php +++ b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describing the status of a LACP link. @@ -251,4 +251,3 @@ public function setDistributing($var) } - diff --git a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus/State.php b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus/State.php index 8cebaf607daf..e98356bafd0d 100644 --- a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus/State.php +++ b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLACPStatus/State.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLLDPStatus.php b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLLDPStatus.php index a25ee8c63af3..7b4551b11153 100644 --- a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLLDPStatus.php +++ b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkLLDPStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describing a LLDP link. @@ -247,4 +247,3 @@ public function setPeerPortIdType($var) } - diff --git a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkStatus.php b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkStatus.php index 5bd664591b7b..bb0c84206571 100644 --- a/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkStatus.php +++ b/EdgeNetwork/src/V1/InterconnectDiagnostics/LinkStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describing the status for each link on the Interconnect. @@ -51,7 +51,7 @@ class LinkStatus extends \Google\Protobuf\Internal\Message * The unique ID for this link assigned during turn up by Google. * @type \Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLACPStatus $lacp_status * Describing the state of a LACP link. - * @type array<\Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus>|\Google\Protobuf\Internal\RepeatedField $lldp_statuses + * @type \Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus[] $lldp_statuses * A list of LinkLLDPStatus objects, used to describe LLDP status of each * peer for each link on the Interconnect. * @type \Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\PacketCounts $packet_counts @@ -130,7 +130,7 @@ public function setLacpStatus($var) * peer for each link on the Interconnect. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus> */ public function getLldpStatuses() { @@ -142,7 +142,7 @@ public function getLldpStatuses() * peer for each link on the Interconnect. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus lldp_statuses = 3; - * @param array<\Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics\LinkLLDPStatus[] $var * @return $this */ public function setLldpStatuses($var) @@ -191,4 +191,3 @@ public function setPacketCounts($var) } - diff --git a/EdgeNetwork/src/V1/InterconnectDiagnostics/PacketCounts.php b/EdgeNetwork/src/V1/InterconnectDiagnostics/PacketCounts.php index 8dc73e61c942..a8ac6f187b8f 100644 --- a/EdgeNetwork/src/V1/InterconnectDiagnostics/PacketCounts.php +++ b/EdgeNetwork/src/V1/InterconnectDiagnostics/PacketCounts.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\InterconnectDiagnostics; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Containing a collection of interface-related statistics objects. @@ -247,4 +247,3 @@ public function setOutboundDiscards($var) } - diff --git a/EdgeNetwork/src/V1/LinkLayerAddress.php b/EdgeNetwork/src/V1/LinkLayerAddress.php index 9d50ff8146bb..e731648ac964 100644 --- a/EdgeNetwork/src/V1/LinkLayerAddress.php +++ b/EdgeNetwork/src/V1/LinkLayerAddress.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * LinkLayerAddress contains an IP address and corresponding link-layer address. diff --git a/EdgeNetwork/src/V1/ListInterconnectAttachmentsRequest.php b/EdgeNetwork/src/V1/ListInterconnectAttachmentsRequest.php index 5d2583b3bdc7..f7f9333b5200 100644 --- a/EdgeNetwork/src/V1/ListInterconnectAttachmentsRequest.php +++ b/EdgeNetwork/src/V1/ListInterconnectAttachmentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 InterconnectAttachments diff --git a/EdgeNetwork/src/V1/ListInterconnectAttachmentsResponse.php b/EdgeNetwork/src/V1/ListInterconnectAttachmentsResponse.php index 4b8fd35dd010..89a5bd4223fa 100644 --- a/EdgeNetwork/src/V1/ListInterconnectAttachmentsResponse.php +++ b/EdgeNetwork/src/V1/ListInterconnectAttachmentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 InterconnectAttachments @@ -40,11 +40,11 @@ class ListInterconnectAttachmentsResponse extends \Google\Protobuf\Internal\Mess * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EdgeNetwork\V1\InterconnectAttachment>|\Google\Protobuf\Internal\RepeatedField $interconnect_attachments + * @type \Google\Cloud\EdgeNetwork\V1\InterconnectAttachment[] $interconnect_attachments * The list of InterconnectAttachment * @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 * Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of InterconnectAttachment * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\InterconnectAttachment> */ public function getInterconnectAttachments() { @@ -68,7 +68,7 @@ public function getInterconnectAttachments() * The list of InterconnectAttachment * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.InterconnectAttachment interconnect_attachments = 1; - * @param array<\Google\Cloud\EdgeNetwork\V1\InterconnectAttachment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\InterconnectAttachment[] $var * @return $this */ public function setInterconnectAttachments($var) @@ -109,7 +109,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() { @@ -120,7 +120,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/EdgeNetwork/src/V1/ListInterconnectsRequest.php b/EdgeNetwork/src/V1/ListInterconnectsRequest.php index 0c22bb3c6d3c..6983b01e3b23 100644 --- a/EdgeNetwork/src/V1/ListInterconnectsRequest.php +++ b/EdgeNetwork/src/V1/ListInterconnectsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Interconnects diff --git a/EdgeNetwork/src/V1/ListInterconnectsResponse.php b/EdgeNetwork/src/V1/ListInterconnectsResponse.php index c026998f4466..d21d8b18a3a9 100644 --- a/EdgeNetwork/src/V1/ListInterconnectsResponse.php +++ b/EdgeNetwork/src/V1/ListInterconnectsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Interconnects @@ -40,11 +40,11 @@ class ListInterconnectsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EdgeNetwork\V1\Interconnect>|\Google\Protobuf\Internal\RepeatedField $interconnects + * @type \Google\Cloud\EdgeNetwork\V1\Interconnect[] $interconnects * The list of Interconnect * @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 * Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Interconnect * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\Interconnect> */ public function getInterconnects() { @@ -68,7 +68,7 @@ public function getInterconnects() * The list of Interconnect * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Interconnect interconnects = 1; - * @param array<\Google\Cloud\EdgeNetwork\V1\Interconnect>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\Interconnect[] $var * @return $this */ public function setInterconnects($var) @@ -109,7 +109,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() { @@ -120,7 +120,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/EdgeNetwork/src/V1/ListNetworksRequest.php b/EdgeNetwork/src/V1/ListNetworksRequest.php index dbc3ed4cd5f4..c357b3aa073a 100644 --- a/EdgeNetwork/src/V1/ListNetworksRequest.php +++ b/EdgeNetwork/src/V1/ListNetworksRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Networks diff --git a/EdgeNetwork/src/V1/ListNetworksResponse.php b/EdgeNetwork/src/V1/ListNetworksResponse.php index e5038c2be94b..3bbc5079fa30 100644 --- a/EdgeNetwork/src/V1/ListNetworksResponse.php +++ b/EdgeNetwork/src/V1/ListNetworksResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Networks @@ -40,11 +40,11 @@ class ListNetworksResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EdgeNetwork\V1\Network>|\Google\Protobuf\Internal\RepeatedField $networks + * @type \Google\Cloud\EdgeNetwork\V1\Network[] $networks * The list of Network * @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 * Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Network * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Network networks = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\Network> */ public function getNetworks() { @@ -68,7 +68,7 @@ public function getNetworks() * The list of Network * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Network networks = 1; - * @param array<\Google\Cloud\EdgeNetwork\V1\Network>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\Network[] $var * @return $this */ public function setNetworks($var) @@ -109,7 +109,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() { @@ -120,7 +120,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/EdgeNetwork/src/V1/ListRoutersRequest.php b/EdgeNetwork/src/V1/ListRoutersRequest.php index 56ddcb9571c4..d88e01693afd 100644 --- a/EdgeNetwork/src/V1/ListRoutersRequest.php +++ b/EdgeNetwork/src/V1/ListRoutersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Routers diff --git a/EdgeNetwork/src/V1/ListRoutersResponse.php b/EdgeNetwork/src/V1/ListRoutersResponse.php index 446303c4e1f1..02e58dc025c4 100644 --- a/EdgeNetwork/src/V1/ListRoutersResponse.php +++ b/EdgeNetwork/src/V1/ListRoutersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Routers @@ -40,11 +40,11 @@ class ListRoutersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EdgeNetwork\V1\Router>|\Google\Protobuf\Internal\RepeatedField $routers + * @type \Google\Cloud\EdgeNetwork\V1\Router[] $routers * The list of Router * @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 * Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Router * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Router routers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\Router> */ public function getRouters() { @@ -68,7 +68,7 @@ public function getRouters() * The list of Router * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Router routers = 1; - * @param array<\Google\Cloud\EdgeNetwork\V1\Router>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\Router[] $var * @return $this */ public function setRouters($var) @@ -109,7 +109,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() { @@ -120,7 +120,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/EdgeNetwork/src/V1/ListSubnetsRequest.php b/EdgeNetwork/src/V1/ListSubnetsRequest.php index 71b1546d0442..9dc04fab22de 100644 --- a/EdgeNetwork/src/V1/ListSubnetsRequest.php +++ b/EdgeNetwork/src/V1/ListSubnetsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Subnets diff --git a/EdgeNetwork/src/V1/ListSubnetsResponse.php b/EdgeNetwork/src/V1/ListSubnetsResponse.php index c8e1193fa73d..e64362a76148 100644 --- a/EdgeNetwork/src/V1/ListSubnetsResponse.php +++ b/EdgeNetwork/src/V1/ListSubnetsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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 Subnets @@ -40,11 +40,11 @@ class ListSubnetsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EdgeNetwork\V1\Subnet>|\Google\Protobuf\Internal\RepeatedField $subnets + * @type \Google\Cloud\EdgeNetwork\V1\Subnet[] $subnets * The list of Subnet * @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 * Locations that could not be reached. * } */ @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of Subnet * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\Subnet> */ public function getSubnets() { @@ -68,7 +68,7 @@ public function getSubnets() * The list of Subnet * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Subnet subnets = 1; - * @param array<\Google\Cloud\EdgeNetwork\V1\Subnet>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\Subnet[] $var * @return $this */ public function setSubnets($var) @@ -109,7 +109,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() { @@ -120,7 +120,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/EdgeNetwork/src/V1/ListZonesRequest.php b/EdgeNetwork/src/V1/ListZonesRequest.php index b4075f810f38..d010c39b256f 100644 --- a/EdgeNetwork/src/V1/ListZonesRequest.php +++ b/EdgeNetwork/src/V1/ListZonesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deprecated: not implemented. diff --git a/EdgeNetwork/src/V1/ListZonesResponse.php b/EdgeNetwork/src/V1/ListZonesResponse.php index 448303fcea08..7a140c7034ed 100644 --- a/EdgeNetwork/src/V1/ListZonesResponse.php +++ b/EdgeNetwork/src/V1/ListZonesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deprecated: not implemented. @@ -42,11 +42,11 @@ class ListZonesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EdgeNetwork\V1\Zone>|\Google\Protobuf\Internal\RepeatedField $zones + * @type \Google\Cloud\EdgeNetwork\V1\Zone[] $zones * The list of Zone * @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 * Locations that could not be reached. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The list of Zone * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Zone zones = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\Zone> */ public function getZones() { @@ -70,7 +70,7 @@ public function getZones() * The list of Zone * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Zone zones = 1; - * @param array<\Google\Cloud\EdgeNetwork\V1\Zone>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\Zone[] $var * @return $this */ public function setZones($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/EdgeNetwork/src/V1/Network.php b/EdgeNetwork/src/V1/Network.php index 57d60cd558fd..dbee8550b55a 100644 --- a/EdgeNetwork/src/V1/Network.php +++ b/EdgeNetwork/src/V1/Network.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message describing Network object diff --git a/EdgeNetwork/src/V1/OperationMetadata.php b/EdgeNetwork/src/V1/OperationMetadata.php index 370335b35ce5..5ea88139d4ed 100644 --- a/EdgeNetwork/src/V1/OperationMetadata.php +++ b/EdgeNetwork/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\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/EdgeNetwork/src/V1/Router.php b/EdgeNetwork/src/V1/Router.php index 246cd561add4..b64b77b2be91 100644 --- a/EdgeNetwork/src/V1/Router.php +++ b/EdgeNetwork/src/V1/Router.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message describing Router object @@ -107,15 +107,15 @@ class Router extends \Google\Protobuf\Internal\Message * Required. The canonical name of the network to which this router belongs. * The name is in the form of * `projects/{project}/locations/{location}/zones/{zone}/networks/{network}`. - * @type array<\Google\Cloud\EdgeNetwork\V1\Router\PBInterface>|\Google\Protobuf\Internal\RepeatedField $interface + * @type \Google\Cloud\EdgeNetwork\V1\Router\PBInterface[] $interface * Router interfaces. - * @type array<\Google\Cloud\EdgeNetwork\V1\Router\BgpPeer>|\Google\Protobuf\Internal\RepeatedField $bgp_peer + * @type \Google\Cloud\EdgeNetwork\V1\Router\BgpPeer[] $bgp_peer * BGP peers. * @type \Google\Cloud\EdgeNetwork\V1\Router\Bgp $bgp * BGP information specific to this router. * @type int $state * Output only. Current stage of the resource to the device by config push. - * @type array|\Google\Protobuf\Internal\RepeatedField $route_advertisements + * @type string[] $route_advertisements * Optional. A list of CIDRs in IP/Length format to advertise northbound as * static routes from this router. * } @@ -311,7 +311,7 @@ public function setNetwork($var) * Router interfaces. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\Router\PBInterface> */ public function getInterface() { @@ -322,7 +322,7 @@ public function getInterface() * Router interfaces. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Router.Interface interface = 7; - * @param array<\Google\Cloud\EdgeNetwork\V1\Router\PBInterface>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\Router\PBInterface[] $var * @return $this */ public function setInterface($var) @@ -337,7 +337,7 @@ public function setInterface($var) * BGP peers. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\Router\BgpPeer> */ public function getBgpPeer() { @@ -348,7 +348,7 @@ public function getBgpPeer() * BGP peers. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.Router.BgpPeer bgp_peer = 8; - * @param array<\Google\Cloud\EdgeNetwork\V1\Router\BgpPeer>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\Router\BgpPeer[] $var * @return $this */ public function setBgpPeer($var) @@ -426,7 +426,7 @@ public function setState($var) * static routes from this router. * * Generated from protobuf field repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRouteAdvertisements() { @@ -438,7 +438,7 @@ public function getRouteAdvertisements() * static routes from this router. * * Generated from protobuf field repeated string route_advertisements = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setRouteAdvertisements($var) diff --git a/EdgeNetwork/src/V1/Router/Bgp.php b/EdgeNetwork/src/V1/Router/Bgp.php index f3f0d3941537..47da8d4de90a 100644 --- a/EdgeNetwork/src/V1/Router/Bgp.php +++ b/EdgeNetwork/src/V1/Router/Bgp.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\Router; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BGP information specific to this router. @@ -103,4 +103,3 @@ public function setKeepaliveIntervalInSeconds($var) } - diff --git a/EdgeNetwork/src/V1/Router/BgpPeer.php b/EdgeNetwork/src/V1/Router/BgpPeer.php index f84fc06c3a0c..1cefdfc23d98 100644 --- a/EdgeNetwork/src/V1/Router/BgpPeer.php +++ b/EdgeNetwork/src/V1/Router/BgpPeer.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\Router; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BGPPeer defines the peer side layer-3 information for building the BGP @@ -316,4 +316,3 @@ public function setLocalAsn($var) } - diff --git a/EdgeNetwork/src/V1/Router/PBInterface.php b/EdgeNetwork/src/V1/Router/PBInterface.php index 0b8e1228d5a4..5a60fa564050 100644 --- a/EdgeNetwork/src/V1/Router/PBInterface.php +++ b/EdgeNetwork/src/V1/Router/PBInterface.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\Router; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Router Interface defines the GDCE zone side layer-3 information for @@ -72,7 +72,7 @@ class PBInterface extends \Google\Protobuf\Internal\Message * @type string $subnetwork * The canonical name of the subnetwork resource that this interface * belongs to. - * @type array|\Google\Protobuf\Internal\RepeatedField $loopback_ip_addresses + * @type string[] $loopback_ip_addresses * Create loopback interface in the router when specified. * The number of IP addresses must match the number of TOR devices. * } @@ -219,7 +219,7 @@ public function setSubnetwork($var) * The number of IP addresses must match the number of TOR devices. * * Generated from protobuf field repeated string loopback_ip_addresses = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getLoopbackIpAddresses() { @@ -231,7 +231,7 @@ public function getLoopbackIpAddresses() * The number of IP addresses must match the number of TOR devices. * * Generated from protobuf field repeated string loopback_ip_addresses = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setLoopbackIpAddresses($var) @@ -244,4 +244,3 @@ public function setLoopbackIpAddresses($var) } - diff --git a/EdgeNetwork/src/V1/RouterStatus.php b/EdgeNetwork/src/V1/RouterStatus.php index 60d9f8abd801..8cfe6a5b88ce 100644 --- a/EdgeNetwork/src/V1/RouterStatus.php +++ b/EdgeNetwork/src/V1/RouterStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describing the current status of a router. @@ -37,7 +37,7 @@ class RouterStatus extends \Google\Protobuf\Internal\Message * * @type string $network * The canonical name of the network to which this router belongs. - * @type array<\Google\Cloud\EdgeNetwork\V1\RouterStatus\BgpPeerStatus>|\Google\Protobuf\Internal\RepeatedField $bgp_peer_status + * @type \Google\Cloud\EdgeNetwork\V1\RouterStatus\BgpPeerStatus[] $bgp_peer_status * A list of BgpPeerStatus objects, describing all BGP peers related to this * router. * } @@ -78,7 +78,7 @@ public function setNetwork($var) * router. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\RouterStatus\BgpPeerStatus> */ public function getBgpPeerStatus() { @@ -90,7 +90,7 @@ public function getBgpPeerStatus() * router. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus bgp_peer_status = 2; - * @param array<\Google\Cloud\EdgeNetwork\V1\RouterStatus\BgpPeerStatus>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\RouterStatus\BgpPeerStatus[] $var * @return $this */ public function setBgpPeerStatus($var) diff --git a/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus.php b/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus.php index de5c0451923d..95b4665e09ae 100644 --- a/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus.php +++ b/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\RouterStatus; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Status of a BGP peer. @@ -321,4 +321,3 @@ public function setPrefixCounter($var) } - diff --git a/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus/BgpStatus.php b/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus/BgpStatus.php index 1b8cdd16c26e..7ac63f945b22 100644 --- a/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus/BgpStatus.php +++ b/EdgeNetwork/src/V1/RouterStatus/BgpPeerStatus/BgpStatus.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/EdgeNetwork/src/V1/RouterStatus/PrefixCounter.php b/EdgeNetwork/src/V1/RouterStatus/PrefixCounter.php index 5c8f9dbb226a..9dce2ccd56a9 100644 --- a/EdgeNetwork/src/V1/RouterStatus/PrefixCounter.php +++ b/EdgeNetwork/src/V1/RouterStatus/PrefixCounter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1\RouterStatus; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * PrefixCounter contains a collection of prefixes related counts. @@ -235,4 +235,3 @@ public function setWithdrawn($var) } - diff --git a/EdgeNetwork/src/V1/Subnet.php b/EdgeNetwork/src/V1/Subnet.php index 8e602567f124..1325e38a37ec 100644 --- a/EdgeNetwork/src/V1/Subnet.php +++ b/EdgeNetwork/src/V1/Subnet.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message describing Subnet object @@ -107,9 +107,9 @@ class Subnet extends \Google\Protobuf\Internal\Message * characters. * @type string $network * Required. The network that this subnetwork belongs to. - * @type array|\Google\Protobuf\Internal\RepeatedField $ipv4_cidr + * @type string[] $ipv4_cidr * The ranges of ipv4 addresses that are owned by this subnetwork. - * @type array|\Google\Protobuf\Internal\RepeatedField $ipv6_cidr + * @type string[] $ipv6_cidr * The ranges of ipv6 addresses that are owned by this subnetwork. * @type int $vlan_id * Optional. VLAN id provided by user. If not specified we assign one @@ -311,7 +311,7 @@ public function setNetwork($var) * The ranges of ipv4 addresses that are owned by this subnetwork. * * Generated from protobuf field repeated string ipv4_cidr = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIpv4Cidr() { @@ -322,7 +322,7 @@ public function getIpv4Cidr() * The ranges of ipv4 addresses that are owned by this subnetwork. * * Generated from protobuf field repeated string ipv4_cidr = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIpv4Cidr($var) @@ -337,7 +337,7 @@ public function setIpv4Cidr($var) * The ranges of ipv6 addresses that are owned by this subnetwork. * * Generated from protobuf field repeated string ipv6_cidr = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIpv6Cidr() { @@ -348,7 +348,7 @@ public function getIpv6Cidr() * The ranges of ipv6 addresses that are owned by this subnetwork. * * Generated from protobuf field repeated string ipv6_cidr = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIpv6Cidr($var) diff --git a/EdgeNetwork/src/V1/Subnet/BondingType.php b/EdgeNetwork/src/V1/Subnet/BondingType.php index 79c36c22aad0..0662bd3e58fb 100644 --- a/EdgeNetwork/src/V1/Subnet/BondingType.php +++ b/EdgeNetwork/src/V1/Subnet/BondingType.php @@ -63,4 +63,3 @@ public static function value($name) } } - diff --git a/EdgeNetwork/src/V1/SubnetStatus.php b/EdgeNetwork/src/V1/SubnetStatus.php index 9da065106467..f9a2aa78d9f8 100644 --- a/EdgeNetwork/src/V1/SubnetStatus.php +++ b/EdgeNetwork/src/V1/SubnetStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * SubnetStatus contains detailed and current technical information about this @@ -46,7 +46,7 @@ class SubnetStatus extends \Google\Protobuf\Internal\Message * The name of CCFE subnet resource. * @type string $mac_address * BVI MAC address. - * @type array<\Google\Cloud\EdgeNetwork\V1\LinkLayerAddress>|\Google\Protobuf\Internal\RepeatedField $link_layer_addresses + * @type \Google\Cloud\EdgeNetwork\V1\LinkLayerAddress[] $link_layer_addresses * A list of LinkLayerAddress, describing the ip address and corresponding * link-layer address of the neighbors for this subnet. * } @@ -113,7 +113,7 @@ public function setMacAddress($var) * link-layer address of the neighbors for this subnet. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EdgeNetwork\V1\LinkLayerAddress> */ public function getLinkLayerAddresses() { @@ -125,7 +125,7 @@ public function getLinkLayerAddresses() * link-layer address of the neighbors for this subnet. * * Generated from protobuf field repeated .google.cloud.edgenetwork.v1.LinkLayerAddress link_layer_addresses = 3; - * @param array<\Google\Cloud\EdgeNetwork\V1\LinkLayerAddress>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EdgeNetwork\V1\LinkLayerAddress[] $var * @return $this */ public function setLinkLayerAddresses($var) diff --git a/EdgeNetwork/src/V1/UpdateRouterRequest.php b/EdgeNetwork/src/V1/UpdateRouterRequest.php index 30f64b5788a3..70357aa13f3e 100644 --- a/EdgeNetwork/src/V1/UpdateRouterRequest.php +++ b/EdgeNetwork/src/V1/UpdateRouterRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a Router diff --git a/EdgeNetwork/src/V1/UpdateSubnetRequest.php b/EdgeNetwork/src/V1/UpdateSubnetRequest.php index b4033b549422..bfb6013f4c1c 100644 --- a/EdgeNetwork/src/V1/UpdateSubnetRequest.php +++ b/EdgeNetwork/src/V1/UpdateSubnetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message for updating a Subnet diff --git a/EdgeNetwork/src/V1/Zone.php b/EdgeNetwork/src/V1/Zone.php index ec3ea700b8ab..1c94b187695c 100644 --- a/EdgeNetwork/src/V1/Zone.php +++ b/EdgeNetwork/src/V1/Zone.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EdgeNetwork\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Google Edge Cloud zone. diff --git a/ErrorReporting/metadata/V1Beta1/Common.php b/ErrorReporting/metadata/V1Beta1/Common.php index ec68ba0c1b8c..ea7f3a7a57ca 100644 Binary files a/ErrorReporting/metadata/V1Beta1/Common.php and b/ErrorReporting/metadata/V1Beta1/Common.php differ diff --git a/ErrorReporting/metadata/V1Beta1/ErrorGroupService.php b/ErrorReporting/metadata/V1Beta1/ErrorGroupService.php index ea1f3c95d6e2..7db9757e5c51 100644 --- a/ErrorReporting/metadata/V1Beta1/ErrorGroupService.php +++ b/ErrorReporting/metadata/V1Beta1/ErrorGroupService.php @@ -20,21 +20,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Devtools\Clouderrorreporting\V1Beta1\Common::initOnce(); $pool->internalAddGeneratedFile( - ' - - -Egoogle/devtools/clouderrorreporting/v1beta1/error_group_service.proto+google.devtools.clouderrorreporting.v1beta1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto8google/devtools/clouderrorreporting/v1beta1/common.proto"\\ -GetGroupRequestI - -group_name ( B5AA/ --clouderrorreporting.googleapis.com/ErrorGroup"a -UpdateGroupRequestK -group ( 27.google.devtools.clouderrorreporting.v1beta1.ErrorGroupBA2 -ErrorGroupService -GetGroup<.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest7.google.devtools.clouderrorreporting.v1beta1.ErrorGroup"wA -group_named)/v1beta1/{group_name=projects/*/groups/*}Z75/v1beta1/{group_name=projects/*/locations/*/groups/*} - UpdateGroup?.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest7.google.devtools.clouderrorreporting.v1beta1.ErrorGroup"Agroupr)/v1beta1/{group.name=projects/*/groups/*}:groupZ>5/v1beta1/{group.name=projects/*/locations/*/groups/*}:groupVA"clouderrorreporting.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -/com.google.devtools.clouderrorreporting.v1beta1BErrorGroupServiceProtoPZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb#Google.Cloud.ErrorReporting.V1Beta1#Google\\Cloud\\ErrorReporting\\V1beta1&Google::Cloud::ErrorReporting::V1beta1bproto3' + "\x0A\xDB\x0A\x0AEgoogle/devtools/clouderrorreporting/v1beta1/error_group_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A8google/devtools/clouderrorreporting/v1beta1/common.proto\"\\\x0A\x0FGetGroupRequest\x12I\x0A\x0Agroup_name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-clouderrorreporting.googleapis.com/ErrorGroup\"a\x0A\x12UpdateGroupRequest\x12K\x0A\x05group\x18\x01 \x01(\x0B27.google.devtools.clouderrorreporting.v1beta1.ErrorGroupB\x03\xE0A\x022\xF5\x04\x0A\x11ErrorGroupService\x12\xFA\x01\x0A\x08GetGroup\x12<.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest\x1A7.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\"w\xDAA\x0Agroup_name\x82\xD3\xE4\x93\x02d\x12)/v1beta1/{group_name=projects/*/groups/*}Z7\x125/v1beta1/{group_name=projects/*/locations/*/groups/*}\x12\x8A\x02\x0A\x0BUpdateGroup\x12?.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest\x1A7.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\"\x80\x01\xDAA\x05group\x82\xD3\xE4\x93\x02r\x1A)/v1beta1/{group.name=projects/*/groups/*}:\x05groupZ>\x1A5/v1beta1/{group.name=projects/*/locations/*/groups/*}:\x05group\x1AV\xCAA\"clouderrorreporting.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x94\x02\x0A/com.google.devtools.clouderrorreporting.v1beta1B\x16ErrorGroupServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xF8\x01\x01\xAA\x02#Google.Cloud.ErrorReporting.V1Beta1\xCA\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xEA\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3" , true); static::$is_initialized = true; diff --git a/ErrorReporting/metadata/V1Beta1/ErrorStatsService.php b/ErrorReporting/metadata/V1Beta1/ErrorStatsService.php index 7034fea3c8e2..dce20da33697 100644 Binary files a/ErrorReporting/metadata/V1Beta1/ErrorStatsService.php and b/ErrorReporting/metadata/V1Beta1/ErrorStatsService.php differ diff --git a/ErrorReporting/metadata/V1Beta1/ReportErrorsService.php b/ErrorReporting/metadata/V1Beta1/ReportErrorsService.php index 9481b683784e..b9c64ae90ea2 100644 --- a/ErrorReporting/metadata/V1Beta1/ReportErrorsService.php +++ b/ErrorReporting/metadata/V1Beta1/ReportErrorsService.php @@ -21,23 +21,7 @@ public static function initOnce() { \GPBMetadata\Google\Devtools\Clouderrorreporting\V1Beta1\Common::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -Ggoogle/devtools/clouderrorreporting/v1beta1/report_errors_service.proto+google.devtools.clouderrorreporting.v1beta1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto8google/devtools/clouderrorreporting/v1beta1/common.protogoogle/protobuf/timestamp.proto" -ReportErrorEventRequestI - project_name ( B3AA- -+cloudresourcemanager.googleapis.com/ProjectS -event ( 2?.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEventBA" -ReportErrorEventResponse" -ReportedErrorEvent3 - -event_time ( 2.google.protobuf.TimestampBAY -service_context ( 2;.google.devtools.clouderrorreporting.v1beta1.ServiceContextBA -message ( BAO -context ( 29.google.devtools.clouderrorreporting.v1beta1.ErrorContextBA2 -ReportErrorsService -ReportErrorEventD.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequestE.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse"TAproject_name,event9"0/v1beta1/{project_name=projects/*}/events:report:eventVA"clouderrorreporting.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -/com.google.devtools.clouderrorreporting.v1beta1BReportErrorsServiceProtoPZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb#Google.Cloud.ErrorReporting.V1Beta1#Google\\Cloud\\ErrorReporting\\V1beta1&Google::Cloud::ErrorReporting::V1beta1bproto3' + "\x0A\x95\x0B\x0AGgoogle/devtools/clouderrorreporting/v1beta1/report_errors_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A8google/devtools/clouderrorreporting/v1beta1/common.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xB9\x01\x0A\x17ReportErrorEventRequest\x12I\x0A\x0Cproject_name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+cloudresourcemanager.googleapis.com/Project\x12S\x0A\x05event\x18\x02 \x01(\x0B2?.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEventB\x03\xE0A\x02\"\x1A\x0A\x18ReportErrorEventResponse\"\x8B\x02\x0A\x12ReportedErrorEvent\x123\x0A\x0Aevent_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12Y\x0A\x0Fservice_context\x18\x02 \x01(\x0B2;.google.devtools.clouderrorreporting.v1beta1.ServiceContextB\x03\xE0A\x02\x12\x14\x0A\x07message\x18\x03 \x01(\x09B\x03\xE0A\x02\x12O\x0A\x07context\x18\x04 \x01(\x0B29.google.devtools.clouderrorreporting.v1beta1.ErrorContextB\x03\xE0A\x012\xE5\x02\x0A\x13ReportErrorsService\x12\xF5\x01\x0A\x10ReportErrorEvent\x12D.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest\x1AE.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse\"T\xDAA\x12project_name,event\x82\xD3\xE4\x93\x029\"0/v1beta1/{project_name=projects/*}/events:report:\x05event\x1AV\xCAA\"clouderrorreporting.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\x96\x02\x0A/com.google.devtools.clouderrorreporting.v1beta1B\x18ReportErrorsServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xF8\x01\x01\xAA\x02#Google.Cloud.ErrorReporting.V1Beta1\xCA\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xEA\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3" , true); static::$is_initialized = true; diff --git a/ErrorReporting/src/V1beta1/DeleteEventsRequest.php b/ErrorReporting/src/V1beta1/DeleteEventsRequest.php index 41b5d96cc68f..6cf464bc0e0d 100644 --- a/ErrorReporting/src/V1beta1/DeleteEventsRequest.php +++ b/ErrorReporting/src/V1beta1/DeleteEventsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Deletes all events in the project. diff --git a/ErrorReporting/src/V1beta1/DeleteEventsResponse.php b/ErrorReporting/src/V1beta1/DeleteEventsResponse.php index 53e2ba2358d4..6fb5c40484e0 100644 --- a/ErrorReporting/src/V1beta1/DeleteEventsResponse.php +++ b/ErrorReporting/src/V1beta1/DeleteEventsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for deleting error events. diff --git a/ErrorReporting/src/V1beta1/ErrorContext.php b/ErrorReporting/src/V1beta1/ErrorContext.php index c0576795415f..9372f120b97f 100644 --- a/ErrorReporting/src/V1beta1/ErrorContext.php +++ b/ErrorReporting/src/V1beta1/ErrorContext.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A description of the context in which an error occurred. diff --git a/ErrorReporting/src/V1beta1/ErrorEvent.php b/ErrorReporting/src/V1beta1/ErrorEvent.php index e669ad322242..bff3a03901f4 100644 --- a/ErrorReporting/src/V1beta1/ErrorEvent.php +++ b/ErrorReporting/src/V1beta1/ErrorEvent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An error event which is returned by the Error Reporting system. diff --git a/ErrorReporting/src/V1beta1/ErrorGroup.php b/ErrorReporting/src/V1beta1/ErrorGroup.php index 9022285ae213..ac2251560347 100644 --- a/ErrorReporting/src/V1beta1/ErrorGroup.php +++ b/ErrorReporting/src/V1beta1/ErrorGroup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Description of a group of similar error events. @@ -87,7 +87,7 @@ class ErrorGroup extends \Google\Protobuf\Internal\Message * error-log content and is treated as Service Data. For information about * how Service Data is handled, see [Google Cloud Privacy * Notice](https://cloud.google.com/terms/cloud-privacy-notice). - * @type array<\Google\Cloud\ErrorReporting\V1beta1\TrackingIssue>|\Google\Protobuf\Internal\RepeatedField $tracking_issues + * @type \Google\Cloud\ErrorReporting\V1beta1\TrackingIssue[] $tracking_issues * Associated tracking issues. * @type int $resolution_status * Error group's resolution status. @@ -191,7 +191,7 @@ public function setGroupId($var) * Associated tracking issues. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ErrorReporting\V1beta1\TrackingIssue> */ public function getTrackingIssues() { @@ -202,7 +202,7 @@ public function getTrackingIssues() * Associated tracking issues. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.TrackingIssue tracking_issues = 3; - * @param array<\Google\Cloud\ErrorReporting\V1beta1\TrackingIssue>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ErrorReporting\V1beta1\TrackingIssue[] $var * @return $this */ public function setTrackingIssues($var) diff --git a/ErrorReporting/src/V1beta1/ErrorGroupStats.php b/ErrorReporting/src/V1beta1/ErrorGroupStats.php index a31768624f53..9de7493b8644 100644 --- a/ErrorReporting/src/V1beta1/ErrorGroupStats.php +++ b/ErrorReporting/src/V1beta1/ErrorGroupStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Data extracted for a specific group based on certain filter criteria, @@ -124,7 +124,7 @@ class ErrorGroupStats extends \Google\Protobuf\Internal\Message * context that was provided in the error report. If more users are * implicitly affected, such as due to a crash of the whole service, * this is not reflected here. - * @type array<\Google\Cloud\ErrorReporting\V1beta1\TimedCount>|\Google\Protobuf\Internal\RepeatedField $timed_counts + * @type \Google\Cloud\ErrorReporting\V1beta1\TimedCount[] $timed_counts * Approximate number of occurrences over time. * Timed counts returned by ListGroups are guaranteed to be: * - Inside the requested time interval @@ -138,7 +138,7 @@ class ErrorGroupStats extends \Google\Protobuf\Internal\Message * Approximate last occurrence that was ever seen for this group and * which matches the given filter criteria, ignoring the time_range * that was specified in the request. - * @type array<\Google\Cloud\ErrorReporting\V1beta1\ServiceContext>|\Google\Protobuf\Internal\RepeatedField $affected_services + * @type \Google\Cloud\ErrorReporting\V1beta1\ServiceContext[] $affected_services * Service contexts with a non-zero error count for the given filter * criteria. This list can be truncated if multiple services are affected. * Refer to `num_affected_services` for the total count. @@ -280,7 +280,7 @@ public function setAffectedUsersCount($var) * - Ordered by ascending time. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ErrorReporting\V1beta1\TimedCount> */ public function getTimedCounts() { @@ -295,7 +295,7 @@ public function getTimedCounts() * - Ordered by ascending time. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4; - * @param array<\Google\Cloud\ErrorReporting\V1beta1\TimedCount>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ErrorReporting\V1beta1\TimedCount[] $var * @return $this */ public function setTimedCounts($var) @@ -392,7 +392,7 @@ public function setLastSeenTime($var) * Refer to `num_affected_services` for the total count. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ErrorReporting\V1beta1\ServiceContext> */ public function getAffectedServices() { @@ -405,7 +405,7 @@ public function getAffectedServices() * Refer to `num_affected_services` for the total count. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7; - * @param array<\Google\Cloud\ErrorReporting\V1beta1\ServiceContext>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ErrorReporting\V1beta1\ServiceContext[] $var * @return $this */ public function setAffectedServices($var) diff --git a/ErrorReporting/src/V1beta1/GetGroupRequest.php b/ErrorReporting/src/V1beta1/GetGroupRequest.php index 81f67ad56bac..5285ff01c163 100644 --- a/ErrorReporting/src/V1beta1/GetGroupRequest.php +++ b/ErrorReporting/src/V1beta1/GetGroupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to return an individual group. diff --git a/ErrorReporting/src/V1beta1/HttpRequestContext.php b/ErrorReporting/src/V1beta1/HttpRequestContext.php index 4e61cf7715ba..ac5707646526 100644 --- a/ErrorReporting/src/V1beta1/HttpRequestContext.php +++ b/ErrorReporting/src/V1beta1/HttpRequestContext.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * HTTP request data that is related to a reported error. diff --git a/ErrorReporting/src/V1beta1/ListEventsRequest.php b/ErrorReporting/src/V1beta1/ListEventsRequest.php index 93a7b9d83285..f055750ca4d0 100644 --- a/ErrorReporting/src/V1beta1/ListEventsRequest.php +++ b/ErrorReporting/src/V1beta1/ListEventsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a set of error events to return. diff --git a/ErrorReporting/src/V1beta1/ListEventsResponse.php b/ErrorReporting/src/V1beta1/ListEventsResponse.php index d6b6414eb412..94c138b77749 100644 --- a/ErrorReporting/src/V1beta1/ListEventsResponse.php +++ b/ErrorReporting/src/V1beta1/ListEventsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains a set of requested error events. @@ -42,7 +42,7 @@ class ListEventsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ErrorReporting\V1beta1\ErrorEvent>|\Google\Protobuf\Internal\RepeatedField $error_events + * @type \Google\Cloud\ErrorReporting\V1beta1\ErrorEvent[] $error_events * The error events which match the given request. * @type string $next_page_token * If non-empty, more results are available. @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * The error events which match the given request. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ErrorReporting\V1beta1\ErrorEvent> */ public function getErrorEvents() { @@ -72,7 +72,7 @@ public function getErrorEvents() * The error events which match the given request. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1; - * @param array<\Google\Cloud\ErrorReporting\V1beta1\ErrorEvent>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ErrorReporting\V1beta1\ErrorEvent[] $var * @return $this */ public function setErrorEvents($var) diff --git a/ErrorReporting/src/V1beta1/ListGroupStatsRequest.php b/ErrorReporting/src/V1beta1/ListGroupStatsRequest.php index b5998542717d..ea58509dd7f4 100644 --- a/ErrorReporting/src/V1beta1/ListGroupStatsRequest.php +++ b/ErrorReporting/src/V1beta1/ListGroupStatsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies a set of `ErrorGroupStats` to return. @@ -187,7 +187,7 @@ public static function build(string $projectName, \Google\Cloud\ErrorReporting\V * Regions](https://cloud.google.com/logging/docs/region-support). `global` is * the default when unspecified. Use `-` as a wildcard to request group stats * from all regions. - * @type array|\Google\Protobuf\Internal\RepeatedField $group_id + * @type string[] $group_id * Optional. List all [ErrorGroupStats] * [google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats] with these * IDs. The `group_id` is a unique identifier for a particular error group. @@ -306,7 +306,7 @@ public function setProjectName($var) * (https://cloud.google.com/terms/cloud-privacy-notice). * * Generated from protobuf field repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getGroupId() { @@ -323,7 +323,7 @@ public function getGroupId() * (https://cloud.google.com/terms/cloud-privacy-notice). * * Generated from protobuf field repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setGroupId($var) diff --git a/ErrorReporting/src/V1beta1/ListGroupStatsResponse.php b/ErrorReporting/src/V1beta1/ListGroupStatsResponse.php index 4b989dd6ed71..0023eb005fd6 100644 --- a/ErrorReporting/src/V1beta1/ListGroupStatsResponse.php +++ b/ErrorReporting/src/V1beta1/ListGroupStatsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains a set of requested error group stats. @@ -45,7 +45,7 @@ class ListGroupStatsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats>|\Google\Protobuf\Internal\RepeatedField $error_group_stats + * @type \Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats[] $error_group_stats * The error group stats which match the given request. * @type string $next_page_token * If non-empty, more results are available. @@ -67,7 +67,7 @@ public function __construct($data = NULL) { * The error group stats which match the given request. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats> */ public function getErrorGroupStats() { @@ -78,7 +78,7 @@ public function getErrorGroupStats() * The error group stats which match the given request. * * Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats error_group_stats = 1; - * @param array<\Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\ErrorReporting\V1beta1\ErrorGroupStats[] $var * @return $this */ public function setErrorGroupStats($var) diff --git a/ErrorReporting/src/V1beta1/QueryTimeRange.php b/ErrorReporting/src/V1beta1/QueryTimeRange.php index ee0d7e91df7c..f8eadd58ce82 100644 --- a/ErrorReporting/src/V1beta1/QueryTimeRange.php +++ b/ErrorReporting/src/V1beta1/QueryTimeRange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A time range for which error group data shall be displayed. diff --git a/ErrorReporting/src/V1beta1/QueryTimeRange/Period.php b/ErrorReporting/src/V1beta1/QueryTimeRange/Period.php index 9aa826cf2d57..cd961eda5830 100644 --- a/ErrorReporting/src/V1beta1/QueryTimeRange/Period.php +++ b/ErrorReporting/src/V1beta1/QueryTimeRange/Period.php @@ -85,6 +85,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Period::class, \Google\Cloud\ErrorReporting\V1beta1\QueryTimeRange_Period::class); - diff --git a/ErrorReporting/src/V1beta1/ReportErrorEventRequest.php b/ErrorReporting/src/V1beta1/ReportErrorEventRequest.php index 7946cf092f71..22a980ab3d8b 100644 --- a/ErrorReporting/src/V1beta1/ReportErrorEventRequest.php +++ b/ErrorReporting/src/V1beta1/ReportErrorEventRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for reporting an individual error event. diff --git a/ErrorReporting/src/V1beta1/ReportErrorEventResponse.php b/ErrorReporting/src/V1beta1/ReportErrorEventResponse.php index 14380862c6a8..53165d85178d 100644 --- a/ErrorReporting/src/V1beta1/ReportErrorEventResponse.php +++ b/ErrorReporting/src/V1beta1/ReportErrorEventResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for reporting an individual error event. diff --git a/ErrorReporting/src/V1beta1/ReportedErrorEvent.php b/ErrorReporting/src/V1beta1/ReportedErrorEvent.php index 725130dbbf71..22d4cf3e9f37 100644 --- a/ErrorReporting/src/V1beta1/ReportedErrorEvent.php +++ b/ErrorReporting/src/V1beta1/ReportedErrorEvent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An error event which is reported to the Error Reporting system. diff --git a/ErrorReporting/src/V1beta1/ServiceContext.php b/ErrorReporting/src/V1beta1/ServiceContext.php index f123c3959890..57c70771a0a4 100644 --- a/ErrorReporting/src/V1beta1/ServiceContext.php +++ b/ErrorReporting/src/V1beta1/ServiceContext.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a running service that sends errors. diff --git a/ErrorReporting/src/V1beta1/ServiceContextFilter.php b/ErrorReporting/src/V1beta1/ServiceContextFilter.php index c701357804ba..06945c9fd7d2 100644 --- a/ErrorReporting/src/V1beta1/ServiceContextFilter.php +++ b/ErrorReporting/src/V1beta1/ServiceContextFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Specifies criteria for filtering a subset of service contexts. diff --git a/ErrorReporting/src/V1beta1/SourceLocation.php b/ErrorReporting/src/V1beta1/SourceLocation.php index 78e35552fcf4..8af400a561a6 100644 --- a/ErrorReporting/src/V1beta1/SourceLocation.php +++ b/ErrorReporting/src/V1beta1/SourceLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Indicates a location in the source code of the service for which errors are diff --git a/ErrorReporting/src/V1beta1/TimedCount.php b/ErrorReporting/src/V1beta1/TimedCount.php index e0a3875fd5a5..3ea972fc5097 100644 --- a/ErrorReporting/src/V1beta1/TimedCount.php +++ b/ErrorReporting/src/V1beta1/TimedCount.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The number of errors in a given time period. diff --git a/ErrorReporting/src/V1beta1/TrackingIssue.php b/ErrorReporting/src/V1beta1/TrackingIssue.php index d5259f2ce8a2..025c682b7071 100644 --- a/ErrorReporting/src/V1beta1/TrackingIssue.php +++ b/ErrorReporting/src/V1beta1/TrackingIssue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information related to tracking the progress on resolving the error. diff --git a/ErrorReporting/src/V1beta1/UpdateGroupRequest.php b/ErrorReporting/src/V1beta1/UpdateGroupRequest.php index 0b6a32bbb71e..dbe1a8e57cfd 100644 --- a/ErrorReporting/src/V1beta1/UpdateGroupRequest.php +++ b/ErrorReporting/src/V1beta1/UpdateGroupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\ErrorReporting\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to replace the existing data for the given group. diff --git a/EssentialContacts/metadata/V1/Enums.php b/EssentialContacts/metadata/V1/Enums.php index c48076205818..9e8f85ca7a20 100644 Binary files a/EssentialContacts/metadata/V1/Enums.php and b/EssentialContacts/metadata/V1/Enums.php differ diff --git a/EssentialContacts/metadata/V1/Service.php b/EssentialContacts/metadata/V1/Service.php index cd7ede5d98f6..088d39d8632c 100644 --- a/EssentialContacts/metadata/V1/Service.php +++ b/EssentialContacts/metadata/V1/Service.php @@ -23,61 +23,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' -" -/google/cloud/essentialcontacts/v1/service.proto!google.cloud.essentialcontacts.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto-google/cloud/essentialcontacts/v1/enums.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto" -Contact -name ( BA -email ( BAi -#notification_category_subscriptions (27.google.cloud.essentialcontacts.v1.NotificationCategoryBA - language_tag ( BAQ -validation_state (22.google.cloud.essentialcontacts.v1.ValidationStateBA1 - validate_time ( 2.google.protobuf.Timestamp:A -(essentialcontacts.googleapis.com/Contact%projects/{project}/contacts/{contact}#folders/{folder}/contacts/{contact}/organizations/{organization}/contacts/{contact}" -ListContactsRequest@ -parent ( B0AA*(essentialcontacts.googleapis.com/Contact - page_size (BA - -page_token ( BA"m -ListContactsResponse< -contacts ( 2*.google.cloud.essentialcontacts.v1.Contact -next_page_token ( "S -GetContactRequest> -name ( B0AA* -(essentialcontacts.googleapis.com/Contact"V -DeleteContactRequest> -name ( B0AA* -(essentialcontacts.googleapis.com/Contact" -CreateContactRequest@ -parent ( B0AA*(essentialcontacts.googleapis.com/Contact@ -contact ( 2*.google.cloud.essentialcontacts.v1.ContactBA" -UpdateContactRequest@ -contact ( 2*.google.cloud.essentialcontacts.v1.ContactBA4 - update_mask ( 2.google.protobuf.FieldMaskBA" -ComputeContactsRequest@ -parent ( B0AA*(essentialcontacts.googleapis.com/ContactX -notification_categories (27.google.cloud.essentialcontacts.v1.NotificationCategory - page_size (BA - -page_token ( BA"p -ComputeContactsResponse< -contacts ( 2*.google.cloud.essentialcontacts.v1.Contact -next_page_token ( " -SendTestMessageRequestB -contacts ( B0AA* -(essentialcontacts.googleapis.com/ContactB -resource ( B0AA*(essentialcontacts.googleapis.com/Contact[ -notification_category (27.google.cloud.essentialcontacts.v1.NotificationCategoryBA2 -EssentialContactsService - CreateContact7.google.cloud.essentialcontacts.v1.CreateContactRequest*.google.cloud.essentialcontacts.v1.Contact"Aparent,contact" /v1/{parent=projects/*}/contacts:contactZ*"/v1/{parent=folders/*}/contacts:contactZ0"%/v1/{parent=organizations/*}/contacts:contact - UpdateContact7.google.cloud.essentialcontacts.v1.UpdateContactRequest*.google.cloud.essentialcontacts.v1.Contact"Acontact,update_mask2(/v1/{contact.name=projects/*/contacts/*}:contactZ22\'/v1/{contact.name=folders/*/contacts/*}:contactZ82-/v1/{contact.name=organizations/*/contacts/*}:contact - ListContacts6.google.cloud.essentialcontacts.v1.ListContactsRequest7.google.cloud.essentialcontacts.v1.ListContactsResponse"}Aparentn /v1/{parent=projects/*}/contactsZ!/v1/{parent=folders/*}/contactsZ\'%/v1/{parent=organizations/*}/contacts - -GetContact4.google.cloud.essentialcontacts.v1.GetContactRequest*.google.cloud.essentialcontacts.v1.Contact"{Anamen /v1/{name=projects/*/contacts/*}Z!/v1/{name=folders/*/contacts/*}Z\'%/v1/{name=organizations/*/contacts/*} - DeleteContact7.google.cloud.essentialcontacts.v1.DeleteContactRequest.google.protobuf.Empty"{Anamen* /v1/{name=projects/*/contacts/*}Z!*/v1/{name=folders/*/contacts/*}Z\'*%/v1/{name=organizations/*/contacts/*} -ComputeContacts9.google.cloud.essentialcontacts.v1.ComputeContactsRequest:.google.cloud.essentialcontacts.v1.ComputeContactsResponse"(/v1/{parent=projects/*}/contacts:computeZ)\'/v1/{parent=folders/*}/contacts:computeZ/-/v1/{parent=organizations/*}/contacts:compute -SendTestMessage9.google.cloud.essentialcontacts.v1.SendTestMessageRequest.google.protobuf.Empty""2/v1/{resource=projects/*}/contacts:sendTestMessage:*Z6"1/v1/{resource=folders/*}/contacts:sendTestMessage:*Z<"7/v1/{resource=organizations/*}/contacts:sendTestMessage:*TA essentialcontacts.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -%com.google.cloud.essentialcontacts.v1PZScloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb!Google.Cloud.EssentialContacts.V1!Google\\Cloud\\EssentialContacts\\V1$Google::Cloud::EssentialContacts::V1bproto3' + "\x0A\x9A\"\x0A/google/cloud/essentialcontacts/v1/service.proto\x12!google.cloud.essentialcontacts.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A-google/cloud/essentialcontacts/v1/enums.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xEA\x03\x0A\x07Contact\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x12\x0A\x05email\x18\x02 \x01(\x09B\x03\xE0A\x02\x12i\x0A#notification_category_subscriptions\x18\x03 \x03(\x0E27.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xE0A\x02\x12\x19\x0A\x0Clanguage_tag\x18\x04 \x01(\x09B\x03\xE0A\x02\x12Q\x0A\x10validation_state\x18\x08 \x01(\x0E22.google.cloud.essentialcontacts.v1.ValidationStateB\x03\xE0A\x03\x121\x0A\x0Dvalidate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.Timestamp:\xAB\x01\xEAA\xA7\x01\x0A(essentialcontacts.googleapis.com/Contact\x12%projects/{project}/contacts/{contact}\x12#folders/{folder}/contacts/{contact}\x12/organizations/{organization}/contacts/{contact}\"\x88\x01\x0A\x13ListContactsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(essentialcontacts.googleapis.com/Contact\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"m\x0A\x14ListContactsResponse\x12<\x0A\x08contacts\x18\x01 \x03(\x0B2*.google.cloud.essentialcontacts.v1.Contact\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x11GetContactRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(essentialcontacts.googleapis.com/Contact\"V\x0A\x14DeleteContactRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(essentialcontacts.googleapis.com/Contact\"\x9A\x01\x0A\x14CreateContactRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(essentialcontacts.googleapis.com/Contact\x12@\x0A\x07contact\x18\x02 \x01(\x0B2*.google.cloud.essentialcontacts.v1.ContactB\x03\xE0A\x02\"\x8E\x01\x0A\x14UpdateContactRequest\x12@\x0A\x07contact\x18\x02 \x01(\x0B2*.google.cloud.essentialcontacts.v1.ContactB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\xE5\x01\x0A\x16ComputeContactsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(essentialcontacts.googleapis.com/Contact\x12X\x0A\x17notification_categories\x18\x06 \x03(\x0E27.google.cloud.essentialcontacts.v1.NotificationCategory\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\"p\x0A\x17ComputeContactsResponse\x12<\x0A\x08contacts\x18\x01 \x03(\x0B2*.google.cloud.essentialcontacts.v1.Contact\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xFD\x01\x0A\x16SendTestMessageRequest\x12B\x0A\x08contacts\x18\x01 \x03(\x09B0\xE0A\x02\xFAA*\x0A(essentialcontacts.googleapis.com/Contact\x12B\x0A\x08resource\x18\x02 \x01(\x09B0\xE0A\x02\xFAA*\x12(essentialcontacts.googleapis.com/Contact\x12[\x0A\x15notification_category\x18\x03 \x01(\x0E27.google.cloud.essentialcontacts.v1.NotificationCategoryB\x03\xE0A\x022\xCB\x0F\x0A\x18EssentialContactsService\x12\x98\x02\x0A\x0DCreateContact\x127.google.cloud.essentialcontacts.v1.CreateContactRequest\x1A*.google.cloud.essentialcontacts.v1.Contact\"\xA1\x01\xDAA\x0Eparent,contact\x82\xD3\xE4\x93\x02\x89\x01\" /v1/{parent=projects/*}/contacts:\x07contactZ*\"\x1F/v1/{parent=folders/*}/contacts:\x07contactZ0\"%/v1/{parent=organizations/*}/contacts:\x07contact\x12\xB5\x02\x0A\x0DUpdateContact\x127.google.cloud.essentialcontacts.v1.UpdateContactRequest\x1A*.google.cloud.essentialcontacts.v1.Contact\"\xBE\x01\xDAA\x13contact,update_mask\x82\xD3\xE4\x93\x02\xA1\x012(/v1/{contact.name=projects/*/contacts/*}:\x07contactZ22'/v1/{contact.name=folders/*/contacts/*}:\x07contactZ82-/v1/{contact.name=organizations/*/contacts/*}:\x07contact\x12\xFE\x01\x0A\x0CListContacts\x126.google.cloud.essentialcontacts.v1.ListContactsRequest\x1A7.google.cloud.essentialcontacts.v1.ListContactsResponse\"}\xDAA\x06parent\x82\xD3\xE4\x93\x02n\x12 /v1/{parent=projects/*}/contactsZ!\x12\x1F/v1/{parent=folders/*}/contactsZ'\x12%/v1/{parent=organizations/*}/contacts\x12\xEB\x01\x0A\x0AGetContact\x124.google.cloud.essentialcontacts.v1.GetContactRequest\x1A*.google.cloud.essentialcontacts.v1.Contact\"{\xDAA\x04name\x82\xD3\xE4\x93\x02n\x12 /v1/{name=projects/*/contacts/*}Z!\x12\x1F/v1/{name=folders/*/contacts/*}Z'\x12%/v1/{name=organizations/*/contacts/*}\x12\xDD\x01\x0A\x0DDeleteContact\x127.google.cloud.essentialcontacts.v1.DeleteContactRequest\x1A\x16.google.protobuf.Empty\"{\xDAA\x04name\x82\xD3\xE4\x93\x02n* /v1/{name=projects/*/contacts/*}Z!*\x1F/v1/{name=folders/*/contacts/*}Z'*%/v1/{name=organizations/*/contacts/*}\x12\x98\x02\x0A\x0FComputeContacts\x129.google.cloud.essentialcontacts.v1.ComputeContactsRequest\x1A:.google.cloud.essentialcontacts.v1.ComputeContactsResponse\"\x8D\x01\x82\xD3\xE4\x93\x02\x86\x01\x12(/v1/{parent=projects/*}/contacts:computeZ)\x12'/v1/{parent=folders/*}/contacts:computeZ/\x12-/v1/{parent=organizations/*}/contacts:compute\x12\x9B\x02\x0A\x0FSendTestMessage\x129.google.cloud.essentialcontacts.v1.SendTestMessageRequest\x1A\x16.google.protobuf.Empty\"\xB4\x01\x82\xD3\xE4\x93\x02\xAD\x01\"2/v1/{resource=projects/*}/contacts:sendTestMessage:\x01*Z6\"1/v1/{resource=folders/*}/contacts:sendTestMessage:\x01*Z<\"7/v1/{resource=organizations/*}/contacts:sendTestMessage:\x01*\x1AT\xCAA essentialcontacts.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xED\x01\x0A%com.google.cloud.essentialcontacts.v1P\x01ZScloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb\xAA\x02!Google.Cloud.EssentialContacts.V1\xCA\x02!Google\\Cloud\\EssentialContacts\\V1\xEA\x02\$Google::Cloud::EssentialContacts::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/EssentialContacts/src/V1/ComputeContactsRequest.php b/EssentialContacts/src/V1/ComputeContactsRequest.php index a00eed430a0d..afb6fad6630a 100644 --- a/EssentialContacts/src/V1/ComputeContactsRequest.php +++ b/EssentialContacts/src/V1/ComputeContactsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the ComputeContacts method. @@ -60,7 +60,7 @@ class ComputeContactsRequest extends \Google\Protobuf\Internal\Message * Required. The name of the resource to compute contacts for. * Format: organizations/{organization_id}, * folders/{folder_id} or projects/{project_id} - * @type array|\Google\Protobuf\Internal\RepeatedField $notification_categories + * @type int[] $notification_categories * The categories of notifications to compute contacts for. If ALL is included * in this list, contacts subscribed to any notification category will be * returned. @@ -117,7 +117,7 @@ public function setParent($var) * returned. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_categories = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNotificationCategories() { @@ -130,7 +130,7 @@ public function getNotificationCategories() * returned. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_categories = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setNotificationCategories($var) diff --git a/EssentialContacts/src/V1/ComputeContactsResponse.php b/EssentialContacts/src/V1/ComputeContactsResponse.php index 3bd97e666fdd..e56f6ad5ddba 100644 --- a/EssentialContacts/src/V1/ComputeContactsResponse.php +++ b/EssentialContacts/src/V1/ComputeContactsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the ComputeContacts method. @@ -39,7 +39,7 @@ class ComputeContactsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EssentialContacts\V1\Contact>|\Google\Protobuf\Internal\RepeatedField $contacts + * @type \Google\Cloud\EssentialContacts\V1\Contact[] $contacts * All contacts for the resource that are subscribed to the specified * notification categories, including contacts inherited from any parent * resources. @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * resources. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EssentialContacts\V1\Contact> */ public function getContacts() { @@ -74,7 +74,7 @@ public function getContacts() * resources. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; - * @param array<\Google\Cloud\EssentialContacts\V1\Contact>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EssentialContacts\V1\Contact[] $var * @return $this */ public function setContacts($var) diff --git a/EssentialContacts/src/V1/Contact.php b/EssentialContacts/src/V1/Contact.php index 7c3a10ac5fa8..637c0bf0bc3e 100644 --- a/EssentialContacts/src/V1/Contact.php +++ b/EssentialContacts/src/V1/Contact.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A contact that will receive notifications from Google Cloud. @@ -73,7 +73,7 @@ class Contact extends \Google\Protobuf\Internal\Message * @type string $email * Required. The email address to send notifications to. The email address * does not need to be a Google Account. - * @type array|\Google\Protobuf\Internal\RepeatedField $notification_category_subscriptions + * @type int[] $notification_category_subscriptions * Required. The categories of notifications that the contact will receive * communications for. * @type string $language_tag @@ -156,7 +156,7 @@ public function setEmail($var) * communications for. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNotificationCategorySubscriptions() { @@ -168,7 +168,7 @@ public function getNotificationCategorySubscriptions() * communications for. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setNotificationCategorySubscriptions($var) diff --git a/EssentialContacts/src/V1/CreateContactRequest.php b/EssentialContacts/src/V1/CreateContactRequest.php index aa04a1644f45..30f027866215 100644 --- a/EssentialContacts/src/V1/CreateContactRequest.php +++ b/EssentialContacts/src/V1/CreateContactRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the CreateContact method. diff --git a/EssentialContacts/src/V1/DeleteContactRequest.php b/EssentialContacts/src/V1/DeleteContactRequest.php index f07753c9588d..08b23ce039a5 100644 --- a/EssentialContacts/src/V1/DeleteContactRequest.php +++ b/EssentialContacts/src/V1/DeleteContactRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the DeleteContact method. diff --git a/EssentialContacts/src/V1/GetContactRequest.php b/EssentialContacts/src/V1/GetContactRequest.php index dbdbff500ad2..5d7e33202734 100644 --- a/EssentialContacts/src/V1/GetContactRequest.php +++ b/EssentialContacts/src/V1/GetContactRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the GetContact method. diff --git a/EssentialContacts/src/V1/ListContactsRequest.php b/EssentialContacts/src/V1/ListContactsRequest.php index 4cb6c56e7bb4..bfb449c32733 100644 --- a/EssentialContacts/src/V1/ListContactsRequest.php +++ b/EssentialContacts/src/V1/ListContactsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the ListContacts method. diff --git a/EssentialContacts/src/V1/ListContactsResponse.php b/EssentialContacts/src/V1/ListContactsResponse.php index 7d094531e0d4..dfd4bee35e3b 100644 --- a/EssentialContacts/src/V1/ListContactsResponse.php +++ b/EssentialContacts/src/V1/ListContactsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for the ListContacts method. @@ -37,7 +37,7 @@ class ListContactsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\EssentialContacts\V1\Contact>|\Google\Protobuf\Internal\RepeatedField $contacts + * @type \Google\Cloud\EssentialContacts\V1\Contact[] $contacts * The contacts for the specified resource. * @type string $next_page_token * If there are more results than those appearing in this response, then @@ -55,7 +55,7 @@ public function __construct($data = NULL) { * The contacts for the specified resource. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\EssentialContacts\V1\Contact> */ public function getContacts() { @@ -66,7 +66,7 @@ public function getContacts() * The contacts for the specified resource. * * Generated from protobuf field repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1; - * @param array<\Google\Cloud\EssentialContacts\V1\Contact>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\EssentialContacts\V1\Contact[] $var * @return $this */ public function setContacts($var) diff --git a/EssentialContacts/src/V1/SendTestMessageRequest.php b/EssentialContacts/src/V1/SendTestMessageRequest.php index e756f41f0c33..c19c86bf26d2 100644 --- a/EssentialContacts/src/V1/SendTestMessageRequest.php +++ b/EssentialContacts/src/V1/SendTestMessageRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the SendTestMessage method. @@ -48,7 +48,7 @@ class SendTestMessageRequest extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $contacts + * @type string[] $contacts * Required. The list of names of the contacts to send a test message to. * Format: organizations/{organization_id}/contacts/{contact_id}, * folders/{folder_id}/contacts/{contact_id} or @@ -76,7 +76,7 @@ public function __construct($data = NULL) { * projects/{project_id}/contacts/{contact_id} * * Generated from protobuf field repeated string contacts = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getContacts() { @@ -90,7 +90,7 @@ public function getContacts() * projects/{project_id}/contacts/{contact_id} * * Generated from protobuf field repeated string contacts = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setContacts($var) diff --git a/EssentialContacts/src/V1/UpdateContactRequest.php b/EssentialContacts/src/V1/UpdateContactRequest.php index 33f95f31b4a2..22cee8891346 100644 --- a/EssentialContacts/src/V1/UpdateContactRequest.php +++ b/EssentialContacts/src/V1/UpdateContactRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\EssentialContacts\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for the UpdateContact method. diff --git a/Eventarc/metadata/V1/Channel.php b/Eventarc/metadata/V1/Channel.php index 7d73c8465a9d..e74beb498a5f 100644 Binary files a/Eventarc/metadata/V1/Channel.php and b/Eventarc/metadata/V1/Channel.php differ diff --git a/Eventarc/metadata/V1/ChannelConnection.php b/Eventarc/metadata/V1/ChannelConnection.php index 03b9f1723a16..d57b78b766ce 100644 --- a/Eventarc/metadata/V1/ChannelConnection.php +++ b/Eventarc/metadata/V1/ChannelConnection.php @@ -18,23 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -1google/cloud/eventarc/v1/channel_connection.protogoogle.cloud.eventarc.v1google/api/resource.protogoogle/protobuf/timestamp.proto" -ChannelConnection -name ( BA -uid ( BA8 -channel ( B\'AA! -eventarc.googleapis.com/Channel4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA -activation_token ( BAL -labels ( 27.google.cloud.eventarc.v1.ChannelConnection.LabelsEntryBA- - LabelsEntry -key (  -value ( :8:A -)eventarc.googleapis.com/ChannelConnectionOprojects/{project}/locations/{location}/channelConnections/{channel_connection}*channelConnections2channelConnectionB -com.google.cloud.eventarc.v1BChannelConnectionProtoPZ8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbGoogle.Cloud.Eventarc.V1Google\\Cloud\\Eventarc\\V1Google::Cloud::Eventarc::V1bproto3' + "\x0A\x81\x07\x0A1google/cloud/eventarc/v1/channel_connection.proto\x12\x18google.cloud.eventarc.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA4\x04\x0A\x11ChannelConnection\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x10\x0A\x03uid\x18\x02 \x01(\x09B\x03\xE0A\x03\x128\x0A\x07channel\x18\x05 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Feventarc.googleapis.com/Channel\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1D\x0A\x10activation_token\x18\x08 \x01(\x09B\x03\xE0A\x04\x12L\x0A\x06labels\x18\x09 \x03(\x0B27.google.cloud.eventarc.v1.ChannelConnection.LabelsEntryB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\xA7\x01\xEAA\xA3\x01\x0A)eventarc.googleapis.com/ChannelConnection\x12Oprojects/{project}/locations/{location}/channelConnections/{channel_connection}*\x12channelConnections2\x11channelConnectionB\xC6\x01\x0A\x1Ccom.google.cloud.eventarc.v1B\x16ChannelConnectionProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xAA\x02\x18Google.Cloud.Eventarc.V1\xCA\x02\x18Google\\Cloud\\Eventarc\\V1\xEA\x02\x1BGoogle::Cloud::Eventarc::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Eventarc/metadata/V1/Discovery.php b/Eventarc/metadata/V1/Discovery.php index 4221d9e6f564..c588b3e7de12 100644 --- a/Eventarc/metadata/V1/Discovery.php +++ b/Eventarc/metadata/V1/Discovery.php @@ -17,25 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - -(google/cloud/eventarc/v1/discovery.protogoogle.cloud.eventarc.v1google/api/resource.proto" -Provider -name ( BA - display_name ( BA= - event_types ( 2#.google.cloud.eventarc.v1.EventTypeBA:xAu - eventarc.googleapis.com/ProviderinternalAddGeneratedFile( - ' - -)google/cloud/eventarc/v1/enrollment.protogoogle.cloud.eventarc.v1google/api/resource.protogoogle/protobuf/timestamp.proto" - -Enrollment -name ( BA -uid ( BA -etag ( BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAE -labels ( 20.google.cloud.eventarc.v1.Enrollment.LabelsEntryBAO - annotations ( 25.google.cloud.eventarc.v1.Enrollment.AnnotationsEntryBA - display_name ( BA - cel_match ( BAB - message_bus - ( B-AAA$ -"eventarc.googleapis.com/MessageBus - destination ( BA- - LabelsEntry -key (  -value ( :82 -AnnotationsEntry -key (  -value ( :8:A -"eventarc.googleapis.com/Enrollment@projects/{project}/locations/{location}/enrollments/{enrollment}* enrollments2 -enrollmentB -com.google.cloud.eventarc.v1BEnrollmentProtoPZ8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbGoogle.Cloud.Eventarc.V1Google\\Cloud\\Eventarc\\V1Google::Cloud::Eventarc::V1bproto3' + "\x0A\x8F\x08\x0A)google/cloud/eventarc/v1/enrollment.proto\x12\x18google.cloud.eventarc.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xC1\x05\x0A\x0AEnrollment\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x10\x0A\x03uid\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x03 \x01(\x09B\x03\xE0A\x03\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\x12E\x0A\x06labels\x18\x06 \x03(\x0B20.google.cloud.eventarc.v1.Enrollment.LabelsEntryB\x03\xE0A\x01\x12O\x0A\x0Bannotations\x18\x07 \x03(\x0B25.google.cloud.eventarc.v1.Enrollment.AnnotationsEntryB\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09cel_match\x18\x09 \x01(\x09B\x03\xE0A\x02\x12B\x0A\x0Bmessage_bus\x18\x0A \x01(\x09B-\xE0A\x02\xE0A\x05\xFAA\$\x0A\"eventarc.googleapis.com/MessageBus\x12\x18\x0A\x0Bdestination\x18\x0B \x01(\x09B\x03\xE0A\x02\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\x01:\x82\x01\xEAA\x7F\x0A\"eventarc.googleapis.com/Enrollment\x12@projects/{project}/locations/{location}/enrollments/{enrollment}*\x0Benrollments2\x0AenrollmentB\xBF\x01\x0A\x1Ccom.google.cloud.eventarc.v1B\x0FEnrollmentProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xAA\x02\x18Google.Cloud.Eventarc.V1\xCA\x02\x18Google\\Cloud\\Eventarc\\V1\xEA\x02\x1BGoogle::Cloud::Eventarc::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Eventarc/metadata/V1/Eventarc.php b/Eventarc/metadata/V1/Eventarc.php index 69c3be8ae46f..0295a940d1ee 100644 --- a/Eventarc/metadata/V1/Eventarc.php +++ b/Eventarc/metadata/V1/Eventarc.php @@ -31,317 +31,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' -Ӂ -\'google/cloud/eventarc/v1/eventarc.protogoogle.cloud.eventarc.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto&google/cloud/eventarc/v1/channel.proto1google/cloud/eventarc/v1/channel_connection.proto(google/cloud/eventarc/v1/discovery.proto)google/cloud/eventarc/v1/enrollment.proto0google/cloud/eventarc/v1/google_api_source.proto4google/cloud/eventarc/v1/google_channel_config.proto*google/cloud/eventarc/v1/message_bus.proto\'google/cloud/eventarc/v1/pipeline.proto&google/cloud/eventarc/v1/trigger.proto#google/longrunning/operations.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"J -GetTriggerRequest5 -name ( B\'AA! -eventarc.googleapis.com/Trigger" -ListTriggersRequest7 -parent ( B\'AA!eventarc.googleapis.com/Trigger - page_size ( - -page_token (  -order_by (  -filter ( "y -ListTriggersResponse3 -triggers ( 2!.google.cloud.eventarc.v1.Trigger -next_page_token (  - unreachable ( " -CreateTriggerRequest7 -parent ( B\'AA!eventarc.googleapis.com/Trigger7 -trigger ( 2!.google.cloud.eventarc.v1.TriggerBA - -trigger_id ( BA - validate_only (BA" -UpdateTriggerRequest2 -trigger ( 2!.google.cloud.eventarc.v1.Trigger/ - update_mask ( 2.google.protobuf.FieldMask - allow_missing ( - validate_only (BA" -DeleteTriggerRequest5 -name ( B\'AA! -eventarc.googleapis.com/Trigger -etag (  - allow_missing ( - validate_only (BA"J -GetChannelRequest5 -name ( B\'AA! -eventarc.googleapis.com/Channel" -ListChannelsRequest7 -parent ( B\'AA!eventarc.googleapis.com/Channel - page_size ( - -page_token (  -order_by ( "y -ListChannelsResponse3 -channels ( 2!.google.cloud.eventarc.v1.Channel -next_page_token (  - unreachable ( " -CreateChannelRequest7 -parent ( B\'AA!eventarc.googleapis.com/Channel7 -channel ( 2!.google.cloud.eventarc.v1.ChannelBA - -channel_id ( BA - validate_only (BA" -UpdateChannelRequest2 -channel ( 2!.google.cloud.eventarc.v1.Channel/ - update_mask ( 2.google.protobuf.FieldMask - validate_only (BA"i -DeleteChannelRequest5 -name ( B\'AA! -eventarc.googleapis.com/Channel - validate_only (BA"L -GetProviderRequest6 -name ( B(AA" - eventarc.googleapis.com/Provider" -ListProvidersRequest8 -parent ( B(AA" eventarc.googleapis.com/Provider - page_size ( - -page_token (  -order_by (  -filter ( "| -ListProvidersResponse5 - providers ( 2".google.cloud.eventarc.v1.Provider -next_page_token (  - unreachable ( "^ -GetChannelConnectionRequest? -name ( B1AA+ -)eventarc.googleapis.com/ChannelConnection" -ListChannelConnectionsRequestA -parent ( B1AA+)eventarc.googleapis.com/ChannelConnection - page_size ( - -page_token ( " -ListChannelConnectionsResponseH -channel_connections ( 2+.google.cloud.eventarc.v1.ChannelConnection -next_page_token (  - unreachable ( " -CreateChannelConnectionRequestA -parent ( B1AA+)eventarc.googleapis.com/ChannelConnectionL -channel_connection ( 2+.google.cloud.eventarc.v1.ChannelConnectionBA" -channel_connection_id ( BA"a -DeleteChannelConnectionRequest? -name ( B1AA+ -)eventarc.googleapis.com/ChannelConnection" - UpdateGoogleChannelConfigRequestQ -google_channel_config ( 2-.google.cloud.eventarc.v1.GoogleChannelConfigBA/ - update_mask ( 2.google.protobuf.FieldMask"b -GetGoogleChannelConfigRequestA -name ( B3AA- -+eventarc.googleapis.com/GoogleChannelConfig"P -GetMessageBusRequest8 -name ( B*AA$ -"eventarc.googleapis.com/MessageBus" -ListMessageBusesRequest: -parent ( B*AA$"eventarc.googleapis.com/MessageBus - page_size (BA - -page_token ( BA -order_by ( BA -filter ( BA" -ListMessageBusesResponse; - message_buses ( 2$.google.cloud.eventarc.v1.MessageBus -next_page_token (  - unreachable ( " - ListMessageBusEnrollmentsRequest: -parent ( B*AA$ -"eventarc.googleapis.com/MessageBus - page_size (BA - -page_token ( BA"f -!ListMessageBusEnrollmentsResponse - enrollments (  -next_page_token (  - unreachable ( " -CreateMessageBusRequest: -parent ( B*AA$"eventarc.googleapis.com/MessageBus> - message_bus ( 2$.google.cloud.eventarc.v1.MessageBusBA -message_bus_id ( BA - validate_only (BA" -UpdateMessageBusRequest> - message_bus ( 2$.google.cloud.eventarc.v1.MessageBusBA4 - update_mask ( 2.google.protobuf.FieldMaskBA - allow_missing (BA - validate_only (BA" -DeleteMessageBusRequest8 -name ( B*AA$ -"eventarc.googleapis.com/MessageBus -etag ( BA - allow_missing (BA - validate_only (BA"P -GetEnrollmentRequest8 -name ( B*AA$ -"eventarc.googleapis.com/Enrollment" -ListEnrollmentsRequest: -parent ( B*AA$"eventarc.googleapis.com/Enrollment - page_size (BA - -page_token ( BA -order_by ( BA -filter ( BA" -ListEnrollmentsResponse9 - enrollments ( 2$.google.cloud.eventarc.v1.Enrollment -next_page_token (  - unreachable ( " -CreateEnrollmentRequest: -parent ( B*AA$"eventarc.googleapis.com/Enrollment= - -enrollment ( 2$.google.cloud.eventarc.v1.EnrollmentBA - enrollment_id ( BA - validate_only (BA" -UpdateEnrollmentRequest= - -enrollment ( 2$.google.cloud.eventarc.v1.EnrollmentBA4 - update_mask ( 2.google.protobuf.FieldMaskBA - allow_missing (BA - validate_only (BA" -DeleteEnrollmentRequest8 -name ( B*AA$ -"eventarc.googleapis.com/Enrollment -etag ( BA - allow_missing (BA - validate_only (BA"L -GetPipelineRequest6 -name ( B(AA" - eventarc.googleapis.com/Pipeline" -ListPipelinesRequest8 -parent ( B(AA" eventarc.googleapis.com/Pipeline - page_size (BA - -page_token ( BA -order_by ( BA -filter ( BA"| -ListPipelinesResponse5 - pipelines ( 2".google.cloud.eventarc.v1.Pipeline -next_page_token (  - unreachable ( " -CreatePipelineRequest8 -parent ( B(AA" eventarc.googleapis.com/Pipeline9 -pipeline ( 2".google.cloud.eventarc.v1.PipelineBA - pipeline_id ( BA - validate_only (BA" -UpdatePipelineRequest9 -pipeline ( 2".google.cloud.eventarc.v1.PipelineBA4 - update_mask ( 2.google.protobuf.FieldMaskBA - allow_missing (BA - validate_only (BA" -DeletePipelineRequest6 -name ( B(AA" - eventarc.googleapis.com/Pipeline -etag ( BA - allow_missing (BA - validate_only (BA"Z -GetGoogleApiSourceRequest= -name ( B/AA) -\'eventarc.googleapis.com/GoogleApiSource" -ListGoogleApiSourcesRequest? -parent ( B/AA)\'eventarc.googleapis.com/GoogleApiSource - page_size (BA - -page_token ( BA -order_by ( BA -filter ( BA" -ListGoogleApiSourcesResponseE -google_api_sources ( 2).google.cloud.eventarc.v1.GoogleApiSource -next_page_token (  - unreachable ( " -CreateGoogleApiSourceRequest? -parent ( B/AA)\'eventarc.googleapis.com/GoogleApiSourceI -google_api_source ( 2).google.cloud.eventarc.v1.GoogleApiSourceBA! -google_api_source_id ( BA - validate_only (BA" -UpdateGoogleApiSourceRequestI -google_api_source ( 2).google.cloud.eventarc.v1.GoogleApiSourceBA4 - update_mask ( 2.google.protobuf.FieldMaskBA - allow_missing (BA - validate_only (BA" -DeleteGoogleApiSourceRequest= -name ( B/AA) -\'eventarc.googleapis.com/GoogleApiSource -etag ( BA - allow_missing (BA - validate_only (BA" -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 ( BA2@ -Eventarc - -GetTrigger+.google.cloud.eventarc.v1.GetTriggerRequest!.google.cloud.eventarc.v1.Trigger";Aname.,/v1/{name=projects/*/locations/*/triggers/*} - ListTriggers-.google.cloud.eventarc.v1.ListTriggersRequest..google.cloud.eventarc.v1.ListTriggersResponse"=Aparent.,/v1/{parent=projects/*/locations/*}/triggers - CreateTrigger..google.cloud.eventarc.v1.CreateTriggerRequest.google.longrunning.Operation"xA -TriggerOperationMetadataAparent,trigger,trigger_id7",/v1/{parent=projects/*/locations/*}/triggers:trigger - UpdateTrigger..google.cloud.eventarc.v1.UpdateTriggerRequest.google.longrunning.Operation"A -TriggerOperationMetadataA!trigger,update_mask,allow_missing?24/v1/{trigger.name=projects/*/locations/*/triggers/*}:trigger - DeleteTrigger..google.cloud.eventarc.v1.DeleteTriggerRequest.google.longrunning.Operation"hA -TriggerOperationMetadataAname,allow_missing.*,/v1/{name=projects/*/locations/*/triggers/*} - -GetChannel+.google.cloud.eventarc.v1.GetChannelRequest!.google.cloud.eventarc.v1.Channel";Aname.,/v1/{name=projects/*/locations/*/channels/*} - ListChannels-.google.cloud.eventarc.v1.ListChannelsRequest..google.cloud.eventarc.v1.ListChannelsResponse"=Aparent.,/v1/{parent=projects/*/locations/*}/channels - CreateChannel..google.cloud.eventarc.v1.CreateChannelRequest.google.longrunning.Operation"xA -ChannelOperationMetadataAparent,channel,channel_id7",/v1/{parent=projects/*/locations/*}/channels:channel - UpdateChannel..google.cloud.eventarc.v1.UpdateChannelRequest.google.longrunning.Operation"zA -ChannelOperationMetadataAchannel,update_mask?24/v1/{channel.name=projects/*/locations/*/channels/*}:channel - DeleteChannel..google.cloud.eventarc.v1.DeleteChannelRequest.google.longrunning.Operation"ZA -ChannelOperationMetadataAname.*,/v1/{name=projects/*/locations/*/channels/*} - GetProvider,.google.cloud.eventarc.v1.GetProviderRequest".google.cloud.eventarc.v1.Provider"Aparent/-/v1/{parent=projects/*/locations/*}/providers -GetChannelConnection5.google.cloud.eventarc.v1.GetChannelConnectionRequest+.google.cloud.eventarc.v1.ChannelConnection"EAname86/v1/{name=projects/*/locations/*/channelConnections/*} -ListChannelConnections7.google.cloud.eventarc.v1.ListChannelConnectionsRequest8.google.cloud.eventarc.v1.ListChannelConnectionsResponse"GAparent86/v1/{parent=projects/*/locations/*}/channelConnections -CreateChannelConnection8.google.cloud.eventarc.v1.CreateChannelConnectionRequest.google.longrunning.Operation"A& -ChannelConnectionOperationMetadataA/parent,channel_connection,channel_connection_idL"6/v1/{parent=projects/*/locations/*}/channelConnections:channel_connection -DeleteChannelConnection8.google.cloud.eventarc.v1.DeleteChannelConnectionRequest.google.longrunning.Operation"nA& -ChannelConnectionOperationMetadataAname8*6/v1/{name=projects/*/locations/*/channelConnections/*} -GetGoogleChannelConfig7.google.cloud.eventarc.v1.GetGoogleChannelConfigRequest-.google.cloud.eventarc.v1.GoogleChannelConfig"DAname75/v1/{name=projects/*/locations/*/googleChannelConfig} -UpdateGoogleChannelConfig:.google.cloud.eventarc.v1.UpdateGoogleChannelConfigRequest-.google.cloud.eventarc.v1.GoogleChannelConfig"A!google_channel_config,update_maskd2K/v1/{google_channel_config.name=projects/*/locations/*/googleChannelConfig}:google_channel_config - GetMessageBus..google.cloud.eventarc.v1.GetMessageBusRequest$.google.cloud.eventarc.v1.MessageBus"?Aname20/v1/{name=projects/*/locations/*/messageBuses/*} -ListMessageBuses1.google.cloud.eventarc.v1.ListMessageBusesRequest2.google.cloud.eventarc.v1.ListMessageBusesResponse"AAparent20/v1/{parent=projects/*/locations/*}/messageBuses -ListMessageBusEnrollments:.google.cloud.eventarc.v1.ListMessageBusEnrollmentsRequest;.google.cloud.eventarc.v1.ListMessageBusEnrollmentsResponse"SAparentDB/v1/{parent=projects/*/locations/*/messageBuses/*}:listEnrollments -CreateMessageBus1.google.cloud.eventarc.v1.CreateMessageBusRequest.google.longrunning.Operation"A - -MessageBusOperationMetadataA!parent,message_bus,message_bus_id?"0/v1/{parent=projects/*/locations/*}/messageBuses: message_bus -UpdateMessageBus1.google.cloud.eventarc.v1.UpdateMessageBusRequest.google.longrunning.Operation"A - -MessageBusOperationMetadataAmessage_bus,update_maskK2Aname1//v1/{name=projects/*/locations/*/enrollments/*} -ListEnrollments0.google.cloud.eventarc.v1.ListEnrollmentsRequest1.google.cloud.eventarc.v1.ListEnrollmentsResponse"@Aparent1//v1/{parent=projects/*/locations/*}/enrollments -CreateEnrollment1.google.cloud.eventarc.v1.CreateEnrollmentRequest.google.longrunning.Operation"A - -EnrollmentOperationMetadataAparent,enrollment,enrollment_id="//v1/{parent=projects/*/locations/*}/enrollments: -enrollment -UpdateEnrollment1.google.cloud.eventarc.v1.UpdateEnrollmentRequest.google.longrunning.Operation"A - -EnrollmentOperationMetadataAenrollment,update_maskH2:/v1/{enrollment.name=projects/*/locations/*/enrollments/*}: -enrollment -DeleteEnrollment1.google.cloud.eventarc.v1.DeleteEnrollmentRequest.google.longrunning.Operation"eA - -EnrollmentOperationMetadataA name,etag1*//v1/{name=projects/*/locations/*/enrollments/*} - GetPipeline,.google.cloud.eventarc.v1.GetPipelineRequest".google.cloud.eventarc.v1.Pipeline"Aparent/-/v1/{parent=projects/*/locations/*}/pipelines -CreatePipeline/.google.cloud.eventarc.v1.CreatePipelineRequest.google.longrunning.Operation"}A -PipelineOperationMetadataAparent,pipeline,pipeline_id9"-/v1/{parent=projects/*/locations/*}/pipelines:pipeline -UpdatePipeline/.google.cloud.eventarc.v1.UpdatePipelineRequest.google.longrunning.Operation"A -PipelineOperationMetadataApipeline,update_maskB26/v1/{pipeline.name=projects/*/locations/*/pipelines/*}:pipeline -DeletePipeline/.google.cloud.eventarc.v1.DeletePipelineRequest.google.longrunning.Operation"aA -PipelineOperationMetadataA name,etag/*-/v1/{name=projects/*/locations/*/pipelines/*} -GetGoogleApiSource3.google.cloud.eventarc.v1.GetGoogleApiSourceRequest).google.cloud.eventarc.v1.GoogleApiSource"CAname64/v1/{name=projects/*/locations/*/googleApiSources/*} -ListGoogleApiSources5.google.cloud.eventarc.v1.ListGoogleApiSourcesRequest6.google.cloud.eventarc.v1.ListGoogleApiSourcesResponse"EAparent64/v1/{parent=projects/*/locations/*}/googleApiSources -CreateGoogleApiSource6.google.cloud.eventarc.v1.CreateGoogleApiSourceRequest.google.longrunning.Operation"A$ -GoogleApiSourceOperationMetadataA-parent,google_api_source,google_api_source_idI"4/v1/{parent=projects/*/locations/*}/googleApiSources:google_api_source -UpdateGoogleApiSource6.google.cloud.eventarc.v1.UpdateGoogleApiSourceRequest.google.longrunning.Operation"A$ -GoogleApiSourceOperationMetadataAgoogle_api_source,update_mask[2F/v1/{google_api_source.name=projects/*/locations/*/googleApiSources/*}:google_api_source -DeleteGoogleApiSource6.google.cloud.eventarc.v1.DeleteGoogleApiSourceRequest.google.longrunning.Operation"oA$ -GoogleApiSourceOperationMetadataA name,etag6*4/v1/{name=projects/*/locations/*/googleApiSources/*}KAeventarc.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.eventarc.v1B EventarcProtoPZ8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbGoogle.Cloud.Eventarc.V1Google\\Cloud\\Eventarc\\V1Google::Cloud::Eventarc::V1bproto3' + "\x0A\xD3\x81\x01\x0A'google/cloud/eventarc/v1/eventarc.proto\x12\x18google.cloud.eventarc.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A&google/cloud/eventarc/v1/channel.proto\x1A1google/cloud/eventarc/v1/channel_connection.proto\x1A(google/cloud/eventarc/v1/discovery.proto\x1A)google/cloud/eventarc/v1/enrollment.proto\x1A0google/cloud/eventarc/v1/google_api_source.proto\x1A4google/cloud/eventarc/v1/google_channel_config.proto\x1A*google/cloud/eventarc/v1/message_bus.proto\x1A'google/cloud/eventarc/v1/pipeline.proto\x1A&google/cloud/eventarc/v1/trigger.proto\x1A#google/longrunning/operations.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"J\x0A\x11GetTriggerRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Feventarc.googleapis.com/Trigger\"\x97\x01\x0A\x13ListTriggersRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x12\x1Feventarc.googleapis.com/Trigger\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"y\x0A\x14ListTriggersResponse\x123\x0A\x08triggers\x18\x01 \x03(\x0B2!.google.cloud.eventarc.v1.Trigger\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\xBD\x01\x0A\x14CreateTriggerRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x12\x1Feventarc.googleapis.com/Trigger\x127\x0A\x07trigger\x18\x02 \x01(\x0B2!.google.cloud.eventarc.v1.TriggerB\x03\xE0A\x02\x12\x17\x0A\x0Atrigger_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xAE\x01\x0A\x14UpdateTriggerRequest\x122\x0A\x07trigger\x18\x01 \x01(\x0B2!.google.cloud.eventarc.v1.Trigger\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x15\x0A\x0Dallow_missing\x18\x03 \x01(\x08\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\x8E\x01\x0A\x14DeleteTriggerRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Feventarc.googleapis.com/Trigger\x12\x0C\x0A\x04etag\x18\x02 \x01(\x09\x12\x15\x0A\x0Dallow_missing\x18\x03 \x01(\x08\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"J\x0A\x11GetChannelRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Feventarc.googleapis.com/Channel\"\x87\x01\x0A\x13ListChannelsRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x12\x1Feventarc.googleapis.com/Channel\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\"y\x0A\x14ListChannelsResponse\x123\x0A\x08channels\x18\x01 \x03(\x0B2!.google.cloud.eventarc.v1.Channel\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\xBD\x01\x0A\x14CreateChannelRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x12\x1Feventarc.googleapis.com/Channel\x127\x0A\x07channel\x18\x02 \x01(\x0B2!.google.cloud.eventarc.v1.ChannelB\x03\xE0A\x02\x12\x17\x0A\x0Achannel_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\x97\x01\x0A\x14UpdateChannelRequest\x122\x0A\x07channel\x18\x01 \x01(\x0B2!.google.cloud.eventarc.v1.Channel\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x1A\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x03\xE0A\x01\"i\x0A\x14DeleteChannelRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Feventarc.googleapis.com/Channel\x12\x1A\x0A\x0Dvalidate_only\x18\x02 \x01(\x08B\x03\xE0A\x01\"L\x0A\x12GetProviderRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A eventarc.googleapis.com/Provider\"\x99\x01\x0A\x14ListProvidersRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x12 eventarc.googleapis.com/Provider\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"|\x0A\x15ListProvidersResponse\x125\x0A\x09providers\x18\x01 \x03(\x0B2\".google.cloud.eventarc.v1.Provider\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"^\x0A\x1BGetChannelConnectionRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)eventarc.googleapis.com/ChannelConnection\"\x89\x01\x0A\x1DListChannelConnectionsRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)eventarc.googleapis.com/ChannelConnection\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x98\x01\x0A\x1EListChannelConnectionsResponse\x12H\x0A\x13channel_connections\x18\x01 \x03(\x0B2+.google.cloud.eventarc.v1.ChannelConnection\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\xD5\x01\x0A\x1ECreateChannelConnectionRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)eventarc.googleapis.com/ChannelConnection\x12L\x0A\x12channel_connection\x18\x02 \x01(\x0B2+.google.cloud.eventarc.v1.ChannelConnectionB\x03\xE0A\x02\x12\"\x0A\x15channel_connection_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"a\x0A\x1EDeleteChannelConnectionRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)eventarc.googleapis.com/ChannelConnection\"\xA6\x01\x0A UpdateGoogleChannelConfigRequest\x12Q\x0A\x15google_channel_config\x18\x01 \x01(\x0B2-.google.cloud.eventarc.v1.GoogleChannelConfigB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"b\x0A\x1DGetGoogleChannelConfigRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+eventarc.googleapis.com/GoogleChannelConfig\"P\x0A\x14GetMessageBusRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"eventarc.googleapis.com/MessageBus\"\xB2\x01\x0A\x17ListMessageBusesRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"eventarc.googleapis.com/MessageBus\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x85\x01\x0A\x18ListMessageBusesResponse\x12;\x0A\x0Dmessage_buses\x18\x01 \x03(\x0B2\$.google.cloud.eventarc.v1.MessageBus\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\x8F\x01\x0A ListMessageBusEnrollmentsRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"eventarc.googleapis.com/MessageBus\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"f\x0A!ListMessageBusEnrollmentsResponse\x12\x13\x0A\x0Benrollments\x18\x01 \x03(\x09\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\xCE\x01\x0A\x17CreateMessageBusRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"eventarc.googleapis.com/MessageBus\x12>\x0A\x0Bmessage_bus\x18\x02 \x01(\x0B2\$.google.cloud.eventarc.v1.MessageBusB\x03\xE0A\x02\x12\x1B\x0A\x0Emessage_bus_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xC7\x01\x0A\x17UpdateMessageBusRequest\x12>\x0A\x0Bmessage_bus\x18\x01 \x01(\x0B2\$.google.cloud.eventarc.v1.MessageBusB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\x9E\x01\x0A\x17DeleteMessageBusRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"eventarc.googleapis.com/MessageBus\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"P\x0A\x14GetEnrollmentRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"eventarc.googleapis.com/Enrollment\"\xB1\x01\x0A\x16ListEnrollmentsRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"eventarc.googleapis.com/Enrollment\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x82\x01\x0A\x17ListEnrollmentsResponse\x129\x0A\x0Benrollments\x18\x01 \x03(\x0B2\$.google.cloud.eventarc.v1.Enrollment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\xCC\x01\x0A\x17CreateEnrollmentRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"eventarc.googleapis.com/Enrollment\x12=\x0A\x0Aenrollment\x18\x02 \x01(\x0B2\$.google.cloud.eventarc.v1.EnrollmentB\x03\xE0A\x02\x12\x1A\x0A\x0Denrollment_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xC6\x01\x0A\x17UpdateEnrollmentRequest\x12=\x0A\x0Aenrollment\x18\x01 \x01(\x0B2\$.google.cloud.eventarc.v1.EnrollmentB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\x9E\x01\x0A\x17DeleteEnrollmentRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"eventarc.googleapis.com/Enrollment\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"L\x0A\x12GetPipelineRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A eventarc.googleapis.com/Pipeline\"\xAD\x01\x0A\x14ListPipelinesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x12 eventarc.googleapis.com/Pipeline\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"|\x0A\x15ListPipelinesResponse\x125\x0A\x09pipelines\x18\x01 \x03(\x0B2\".google.cloud.eventarc.v1.Pipeline\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\xC2\x01\x0A\x15CreatePipelineRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x12 eventarc.googleapis.com/Pipeline\x129\x0A\x08pipeline\x18\x02 \x01(\x0B2\".google.cloud.eventarc.v1.PipelineB\x03\xE0A\x02\x12\x18\x0A\x0Bpipeline_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xC0\x01\x0A\x15UpdatePipelineRequest\x129\x0A\x08pipeline\x18\x01 \x01(\x0B2\".google.cloud.eventarc.v1.PipelineB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\x9A\x01\x0A\x15DeletePipelineRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A eventarc.googleapis.com/Pipeline\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"Z\x0A\x19GetGoogleApiSourceRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'eventarc.googleapis.com/GoogleApiSource\"\xBB\x01\x0A\x1BListGoogleApiSourcesRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'eventarc.googleapis.com/GoogleApiSource\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x93\x01\x0A\x1CListGoogleApiSourcesResponse\x12E\x0A\x12google_api_sources\x18\x01 \x03(\x0B2).google.cloud.eventarc.v1.GoogleApiSource\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"\xE9\x01\x0A\x1CCreateGoogleApiSourceRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'eventarc.googleapis.com/GoogleApiSource\x12I\x0A\x11google_api_source\x18\x02 \x01(\x0B2).google.cloud.eventarc.v1.GoogleApiSourceB\x03\xE0A\x02\x12!\x0A\x14google_api_source_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xD7\x01\x0A\x1CUpdateGoogleApiSourceRequest\x12I\x0A\x11google_api_source\x18\x01 \x01(\x0B2).google.cloud.eventarc.v1.GoogleApiSourceB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xA8\x01\x0A\x1CDeleteGoogleApiSourceRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'eventarc.googleapis.com/GoogleApiSource\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dallow_missing\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\"\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\x032\xF5@\x0A\x08Eventarc\x12\x99\x01\x0A\x0AGetTrigger\x12+.google.cloud.eventarc.v1.GetTriggerRequest\x1A!.google.cloud.eventarc.v1.Trigger\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1/{name=projects/*/locations/*/triggers/*}\x12\xAC\x01\x0A\x0CListTriggers\x12-.google.cloud.eventarc.v1.ListTriggersRequest\x1A..google.cloud.eventarc.v1.ListTriggersResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/triggers\x12\xD8\x01\x0A\x0DCreateTrigger\x12..google.cloud.eventarc.v1.CreateTriggerRequest\x1A\x1D.google.longrunning.Operation\"x\xCAA\x1C\x0A\x07Trigger\x12\x11OperationMetadata\xDAA\x19parent,trigger,trigger_id\x82\xD3\xE4\x93\x027\",/v1/{parent=projects/*/locations/*}/triggers:\x07trigger\x12\xE9\x01\x0A\x0DUpdateTrigger\x12..google.cloud.eventarc.v1.UpdateTriggerRequest\x1A\x1D.google.longrunning.Operation\"\x88\x01\xCAA\x1C\x0A\x07Trigger\x12\x11OperationMetadata\xDAA!trigger,update_mask,allow_missing\x82\xD3\xE4\x93\x02?24/v1/{trigger.name=projects/*/locations/*/triggers/*}:\x07trigger\x12\xC8\x01\x0A\x0DDeleteTrigger\x12..google.cloud.eventarc.v1.DeleteTriggerRequest\x1A\x1D.google.longrunning.Operation\"h\xCAA\x1C\x0A\x07Trigger\x12\x11OperationMetadata\xDAA\x12name,allow_missing\x82\xD3\xE4\x93\x02.*,/v1/{name=projects/*/locations/*/triggers/*}\x12\x99\x01\x0A\x0AGetChannel\x12+.google.cloud.eventarc.v1.GetChannelRequest\x1A!.google.cloud.eventarc.v1.Channel\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1/{name=projects/*/locations/*/channels/*}\x12\xAC\x01\x0A\x0CListChannels\x12-.google.cloud.eventarc.v1.ListChannelsRequest\x1A..google.cloud.eventarc.v1.ListChannelsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/channels\x12\xD8\x01\x0A\x0DCreateChannel\x12..google.cloud.eventarc.v1.CreateChannelRequest\x1A\x1D.google.longrunning.Operation\"x\xCAA\x1C\x0A\x07Channel\x12\x11OperationMetadata\xDAA\x19parent,channel,channel_id\x82\xD3\xE4\x93\x027\",/v1/{parent=projects/*/locations/*}/channels:\x07channel\x12\xDA\x01\x0A\x0DUpdateChannel\x12..google.cloud.eventarc.v1.UpdateChannelRequest\x1A\x1D.google.longrunning.Operation\"z\xCAA\x1C\x0A\x07Channel\x12\x11OperationMetadata\xDAA\x13channel,update_mask\x82\xD3\xE4\x93\x02?24/v1/{channel.name=projects/*/locations/*/channels/*}:\x07channel\x12\xBA\x01\x0A\x0DDeleteChannel\x12..google.cloud.eventarc.v1.DeleteChannelRequest\x1A\x1D.google.longrunning.Operation\"Z\xCAA\x1C\x0A\x07Channel\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1/{name=projects/*/locations/*/channels/*}\x12\x9D\x01\x0A\x0BGetProvider\x12,.google.cloud.eventarc.v1.GetProviderRequest\x1A\".google.cloud.eventarc.v1.Provider\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/locations/*/providers/*}\x12\xB0\x01\x0A\x0DListProviders\x12..google.cloud.eventarc.v1.ListProvidersRequest\x1A/.google.cloud.eventarc.v1.ListProvidersResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/providers\x12\xC1\x01\x0A\x14GetChannelConnection\x125.google.cloud.eventarc.v1.GetChannelConnectionRequest\x1A+.google.cloud.eventarc.v1.ChannelConnection\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xD4\x01\x0A\x16ListChannelConnections\x127.google.cloud.eventarc.v1.ListChannelConnectionsRequest\x1A8.google.cloud.eventarc.v1.ListChannelConnectionsResponse\"G\xDAA\x06parent\x82\xD3\xE4\x93\x028\x126/v1/{parent=projects/*/locations/*}/channelConnections\x12\xA2\x02\x0A\x17CreateChannelConnection\x128.google.cloud.eventarc.v1.CreateChannelConnectionRequest\x1A\x1D.google.longrunning.Operation\"\xAD\x01\xCAA&\x0A\x11ChannelConnection\x12\x11OperationMetadata\xDAA/parent,channel_connection,channel_connection_id\x82\xD3\xE4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/channelConnections:\x12channel_connection\x12\xE2\x01\x0A\x17DeleteChannelConnection\x128.google.cloud.eventarc.v1.DeleteChannelConnectionRequest\x1A\x1D.google.longrunning.Operation\"n\xCAA&\x0A\x11ChannelConnection\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x028*6/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xC6\x01\x0A\x16GetGoogleChannelConfig\x127.google.cloud.eventarc.v1.GetGoogleChannelConfigRequest\x1A-.google.cloud.eventarc.v1.GoogleChannelConfig\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1/{name=projects/*/locations/*/googleChannelConfig}\x12\x97\x02\x0A\x19UpdateGoogleChannelConfig\x12:.google.cloud.eventarc.v1.UpdateGoogleChannelConfigRequest\x1A-.google.cloud.eventarc.v1.GoogleChannelConfig\"\x8E\x01\xDAA!google_channel_config,update_mask\x82\xD3\xE4\x93\x02d2K/v1/{google_channel_config.name=projects/*/locations/*/googleChannelConfig}:\x15google_channel_config\x12\xA6\x01\x0A\x0DGetMessageBus\x12..google.cloud.eventarc.v1.GetMessageBusRequest\x1A\$.google.cloud.eventarc.v1.MessageBus\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1/{name=projects/*/locations/*/messageBuses/*}\x12\xBC\x01\x0A\x10ListMessageBuses\x121.google.cloud.eventarc.v1.ListMessageBusesRequest\x1A2.google.cloud.eventarc.v1.ListMessageBusesResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1/{parent=projects/*/locations/*}/messageBuses\x12\xE9\x01\x0A\x19ListMessageBusEnrollments\x12:.google.cloud.eventarc.v1.ListMessageBusEnrollmentsRequest\x1A;.google.cloud.eventarc.v1.ListMessageBusEnrollmentsResponse\"S\xDAA\x06parent\x82\xD3\xE4\x93\x02D\x12B/v1/{parent=projects/*/locations/*/messageBuses/*}:listEnrollments\x12\xF2\x01\x0A\x10CreateMessageBus\x121.google.cloud.eventarc.v1.CreateMessageBusRequest\x1A\x1D.google.longrunning.Operation\"\x8B\x01\xCAA\x1F\x0A\x0AMessageBus\x12\x11OperationMetadata\xDAA!parent,message_bus,message_bus_id\x82\xD3\xE4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/messageBuses:\x0Bmessage_bus\x12\xF4\x01\x0A\x10UpdateMessageBus\x121.google.cloud.eventarc.v1.UpdateMessageBusRequest\x1A\x1D.google.longrunning.Operation\"\x8D\x01\xCAA\x1F\x0A\x0AMessageBus\x12\x11OperationMetadata\xDAA\x17message_bus,update_mask\x82\xD3\xE4\x93\x02K2\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1/{name=projects/*/locations/*/enrollments/*}\x12\xB8\x01\x0A\x0FListEnrollments\x120.google.cloud.eventarc.v1.ListEnrollmentsRequest\x1A1.google.cloud.eventarc.v1.ListEnrollmentsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1/{parent=projects/*/locations/*}/enrollments\x12\xEE\x01\x0A\x10CreateEnrollment\x121.google.cloud.eventarc.v1.CreateEnrollmentRequest\x1A\x1D.google.longrunning.Operation\"\x87\x01\xCAA\x1F\x0A\x0AEnrollment\x12\x11OperationMetadata\xDAA\x1Fparent,enrollment,enrollment_id\x82\xD3\xE4\x93\x02=\"//v1/{parent=projects/*/locations/*}/enrollments:\x0Aenrollment\x12\xF0\x01\x0A\x10UpdateEnrollment\x121.google.cloud.eventarc.v1.UpdateEnrollmentRequest\x1A\x1D.google.longrunning.Operation\"\x89\x01\xCAA\x1F\x0A\x0AEnrollment\x12\x11OperationMetadata\xDAA\x16enrollment,update_mask\x82\xD3\xE4\x93\x02H2:/v1/{enrollment.name=projects/*/locations/*/enrollments/*}:\x0Aenrollment\x12\xCB\x01\x0A\x10DeleteEnrollment\x121.google.cloud.eventarc.v1.DeleteEnrollmentRequest\x1A\x1D.google.longrunning.Operation\"e\xCAA\x1F\x0A\x0AEnrollment\x12\x11OperationMetadata\xDAA\x09name,etag\x82\xD3\xE4\x93\x021*//v1/{name=projects/*/locations/*/enrollments/*}\x12\x9D\x01\x0A\x0BGetPipeline\x12,.google.cloud.eventarc.v1.GetPipelineRequest\x1A\".google.cloud.eventarc.v1.Pipeline\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/locations/*/pipelines/*}\x12\xB0\x01\x0A\x0DListPipelines\x12..google.cloud.eventarc.v1.ListPipelinesRequest\x1A/.google.cloud.eventarc.v1.ListPipelinesResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/pipelines\x12\xDF\x01\x0A\x0ECreatePipeline\x12/.google.cloud.eventarc.v1.CreatePipelineRequest\x1A\x1D.google.longrunning.Operation\"}\xCAA\x1D\x0A\x08Pipeline\x12\x11OperationMetadata\xDAA\x1Bparent,pipeline,pipeline_id\x82\xD3\xE4\x93\x029\"-/v1/{parent=projects/*/locations/*}/pipelines:\x08pipeline\x12\xE1\x01\x0A\x0EUpdatePipeline\x12/.google.cloud.eventarc.v1.UpdatePipelineRequest\x1A\x1D.google.longrunning.Operation\"\x7F\xCAA\x1D\x0A\x08Pipeline\x12\x11OperationMetadata\xDAA\x14pipeline,update_mask\x82\xD3\xE4\x93\x02B26/v1/{pipeline.name=projects/*/locations/*/pipelines/*}:\x08pipeline\x12\xC3\x01\x0A\x0EDeletePipeline\x12/.google.cloud.eventarc.v1.DeletePipelineRequest\x1A\x1D.google.longrunning.Operation\"a\xCAA\x1D\x0A\x08Pipeline\x12\x11OperationMetadata\xDAA\x09name,etag\x82\xD3\xE4\x93\x02/*-/v1/{name=projects/*/locations/*/pipelines/*}\x12\xB9\x01\x0A\x12GetGoogleApiSource\x123.google.cloud.eventarc.v1.GetGoogleApiSourceRequest\x1A).google.cloud.eventarc.v1.GoogleApiSource\"C\xDAA\x04name\x82\xD3\xE4\x93\x026\x124/v1/{name=projects/*/locations/*/googleApiSources/*}\x12\xCC\x01\x0A\x14ListGoogleApiSources\x125.google.cloud.eventarc.v1.ListGoogleApiSourcesRequest\x1A6.google.cloud.eventarc.v1.ListGoogleApiSourcesResponse\"E\xDAA\x06parent\x82\xD3\xE4\x93\x026\x124/v1/{parent=projects/*/locations/*}/googleApiSources\x12\x97\x02\x0A\x15CreateGoogleApiSource\x126.google.cloud.eventarc.v1.CreateGoogleApiSourceRequest\x1A\x1D.google.longrunning.Operation\"\xA6\x01\xCAA\$\x0A\x0FGoogleApiSource\x12\x11OperationMetadata\xDAA-parent,google_api_source,google_api_source_id\x82\xD3\xE4\x93\x02I\"4/v1/{parent=projects/*/locations/*}/googleApiSources:\x11google_api_source\x12\x99\x02\x0A\x15UpdateGoogleApiSource\x126.google.cloud.eventarc.v1.UpdateGoogleApiSourceRequest\x1A\x1D.google.longrunning.Operation\"\xA8\x01\xCAA\$\x0A\x0FGoogleApiSource\x12\x11OperationMetadata\xDAA\x1Dgoogle_api_source,update_mask\x82\xD3\xE4\x93\x02[2F/v1/{google_api_source.name=projects/*/locations/*/googleApiSources/*}:\x11google_api_source\x12\xDF\x01\x0A\x15DeleteGoogleApiSource\x126.google.cloud.eventarc.v1.DeleteGoogleApiSourceRequest\x1A\x1D.google.longrunning.Operation\"o\xCAA\$\x0A\x0FGoogleApiSource\x12\x11OperationMetadata\xDAA\x09name,etag\x82\xD3\xE4\x93\x026*4/v1/{name=projects/*/locations/*/googleApiSources/*}\x1AK\xCAA\x17eventarc.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xBD\x01\x0A\x1Ccom.google.cloud.eventarc.v1B\x0DEventarcProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xAA\x02\x18Google.Cloud.Eventarc.V1\xCA\x02\x18Google\\Cloud\\Eventarc\\V1\xEA\x02\x1BGoogle::Cloud::Eventarc::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Eventarc/metadata/V1/GoogleApiSource.php b/Eventarc/metadata/V1/GoogleApiSource.php index 4279b7d84478..d6ed3ece4285 100644 Binary files a/Eventarc/metadata/V1/GoogleApiSource.php and b/Eventarc/metadata/V1/GoogleApiSource.php differ diff --git a/Eventarc/metadata/V1/GoogleChannelConfig.php b/Eventarc/metadata/V1/GoogleChannelConfig.php index 215588532231..c6f19c30790b 100644 --- a/Eventarc/metadata/V1/GoogleChannelConfig.php +++ b/Eventarc/metadata/V1/GoogleChannelConfig.php @@ -18,21 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -4google/cloud/eventarc/v1/google_channel_config.protogoogle.cloud.eventarc.v1google/api/resource.protogoogle/protobuf/timestamp.proto" -GoogleChannelConfig -name ( BA4 - update_time ( 2.google.protobuf.TimestampBAB -crypto_key_name ( B)AA# -!cloudkms.googleapis.com/CryptoKeyN -labels ( 29.google.cloud.eventarc.v1.GoogleChannelConfig.LabelsEntryBA- - LabelsEntry -key (  -value ( :8:A -+eventarc.googleapis.com/GoogleChannelConfig;projects/{project}/locations/{location}/googleChannelConfig*googleChannelConfigs2googleChannelConfigB -com.google.cloud.eventarc.v1BGoogleChannelConfigProtoPZ8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbGoogle.Cloud.Eventarc.V1Google\\Cloud\\Eventarc\\V1Google::Cloud::Eventarc::V1Ax -!cloudkms.googleapis.com/CryptoKeySprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}bproto3' + "\x0A\x9A\x07\x0A4google/cloud/eventarc/v1/google_channel_config.proto\x12\x18google.cloud.eventarc.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xBD\x03\x0A\x13GoogleChannelConfig\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x124\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12B\x0A\x0Fcrypto_key_name\x18\x07 \x01(\x09B)\xE0A\x01\xFAA#\x0A!cloudkms.googleapis.com/CryptoKey\x12N\x0A\x06labels\x18\x08 \x03(\x0B29.google.cloud.eventarc.v1.GoogleChannelConfig.LabelsEntryB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x99\x01\xEAA\x95\x01\x0A+eventarc.googleapis.com/GoogleChannelConfig\x12;projects/{project}/locations/{location}/googleChannelConfig*\x14googleChannelConfigs2\x13googleChannelConfigB\xC3\x02\x0A\x1Ccom.google.cloud.eventarc.v1B\x18GoogleChannelConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xAA\x02\x18Google.Cloud.Eventarc.V1\xCA\x02\x18Google\\Cloud\\Eventarc\\V1\xEA\x02\x1BGoogle::Cloud::Eventarc::V1\xEAAx\x0A!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3" , true); static::$is_initialized = true; diff --git a/Eventarc/metadata/V1/LoggingConfig.php b/Eventarc/metadata/V1/LoggingConfig.php index 73f9aeba0dea..ed960439a5a6 100644 Binary files a/Eventarc/metadata/V1/LoggingConfig.php and b/Eventarc/metadata/V1/LoggingConfig.php differ diff --git a/Eventarc/metadata/V1/MessageBus.php b/Eventarc/metadata/V1/MessageBus.php index 1b8f2ed0c15f..25870c11f52a 100644 --- a/Eventarc/metadata/V1/MessageBus.php +++ b/Eventarc/metadata/V1/MessageBus.php @@ -19,32 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Cloud\Eventarc\V1\LoggingConfig::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -*google/cloud/eventarc/v1/message_bus.protogoogle.cloud.eventarc.v1google/api/resource.proto-google/cloud/eventarc/v1/logging_config.protogoogle/protobuf/timestamp.proto" - -MessageBus -name ( BA -uid ( BA -etag ( BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAE -labels ( 20.google.cloud.eventarc.v1.MessageBus.LabelsEntryBAO - annotations ( 25.google.cloud.eventarc.v1.MessageBus.AnnotationsEntryBA - display_name ( BAB -crypto_key_name - ( B)AA# -!cloudkms.googleapis.com/CryptoKeyD -logging_config ( 2\'.google.cloud.eventarc.v1.LoggingConfigBA- - LabelsEntry -key (  -value ( :82 -AnnotationsEntry -key (  -value ( :8:A -"eventarc.googleapis.com/MessageBusBprojects/{project}/locations/{location}/messageBuses/{message_bus}* messageBuses2 -messageBusB -com.google.cloud.eventarc.v1BMessageBusProtoPZ8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbGoogle.Cloud.Eventarc.V1Google\\Cloud\\Eventarc\\V1Google::Cloud::Eventarc::V1bproto3' + "\x0A\xD7\x08\x0A*google/cloud/eventarc/v1/message_bus.proto\x12\x18google.cloud.eventarc.v1\x1A\x19google/api/resource.proto\x1A-google/cloud/eventarc/v1/logging_config.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xD9\x05\x0A\x0AMessageBus\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x10\x0A\x03uid\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x03 \x01(\x09B\x03\xE0A\x03\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\x12E\x0A\x06labels\x18\x06 \x03(\x0B20.google.cloud.eventarc.v1.MessageBus.LabelsEntryB\x03\xE0A\x01\x12O\x0A\x0Bannotations\x18\x07 \x03(\x0B25.google.cloud.eventarc.v1.MessageBus.AnnotationsEntryB\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x08 \x01(\x09B\x03\xE0A\x01\x12B\x0A\x0Fcrypto_key_name\x18\x0A \x01(\x09B)\xE0A\x01\xFAA#\x0A!cloudkms.googleapis.com/CryptoKey\x12D\x0A\x0Elogging_config\x18\x0B \x01(\x0B2'.google.cloud.eventarc.v1.LoggingConfigB\x03\xE0A\x01\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\x01:\x86\x01\xEAA\x82\x01\x0A\"eventarc.googleapis.com/MessageBus\x12Bprojects/{project}/locations/{location}/messageBuses/{message_bus}*\x0CmessageBuses2\x0AmessageBusB\xBF\x01\x0A\x1Ccom.google.cloud.eventarc.v1B\x0FMessageBusProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xAA\x02\x18Google.Cloud.Eventarc.V1\xCA\x02\x18Google\\Cloud\\Eventarc\\V1\xEA\x02\x1BGoogle::Cloud::Eventarc::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Eventarc/metadata/V1/NetworkConfig.php b/Eventarc/metadata/V1/NetworkConfig.php index f04fa3828dde..6c20e130ebc7 100644 --- a/Eventarc/metadata/V1/NetworkConfig.php +++ b/Eventarc/metadata/V1/NetworkConfig.php @@ -17,13 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - ' - --google/cloud/eventarc/v1/network_config.protogoogle.cloud.eventarc.v1google/api/resource.proto"] - NetworkConfigL -network_attachment ( B0AA* -(compute.googleapis.com/NetworkAttachmentB -com.google.cloud.eventarc.v1BNetworkConfigProtoPZ8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbGoogle.Cloud.Eventarc.V1Google\\Cloud\\Eventarc\\V1Google::Cloud::Eventarc::V1bproto3' + "\x0A\x90\x03\x0A-google/cloud/eventarc/v1/network_config.proto\x12\x18google.cloud.eventarc.v1\x1A\x19google/api/resource.proto\"]\x0A\x0DNetworkConfig\x12L\x0A\x12network_attachment\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(compute.googleapis.com/NetworkAttachmentB\xC2\x01\x0A\x1Ccom.google.cloud.eventarc.v1B\x12NetworkConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xAA\x02\x18Google.Cloud.Eventarc.V1\xCA\x02\x18Google\\Cloud\\Eventarc\\V1\xEA\x02\x1BGoogle::Cloud::Eventarc::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Eventarc/metadata/V1/Pipeline.php b/Eventarc/metadata/V1/Pipeline.php index f653e6802e60..31449dcf819b 100644 Binary files a/Eventarc/metadata/V1/Pipeline.php and b/Eventarc/metadata/V1/Pipeline.php differ diff --git a/Eventarc/metadata/V1/Trigger.php b/Eventarc/metadata/V1/Trigger.php index faad974e9845..6c970f05e3f3 100644 Binary files a/Eventarc/metadata/V1/Trigger.php and b/Eventarc/metadata/V1/Trigger.php differ diff --git a/Eventarc/src/V1/Channel.php b/Eventarc/src/V1/Channel.php index 48224bb11df5..e86d78407ad2 100644 --- a/Eventarc/src/V1/Channel.php +++ b/Eventarc/src/V1/Channel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of the Channel resource. @@ -72,7 +72,7 @@ class Channel extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { */ @@ -128,7 +128,7 @@ class Channel extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * @type bool $satisfies_pzs * Output only. Whether or not this Channel satisfies the requirements of * physical zone separation @@ -398,7 +398,7 @@ public function setActivationToken($var) * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @return string @@ -412,7 +412,7 @@ public function getCryptoKeyName() * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @param string $var diff --git a/Eventarc/src/V1/Channel/State.php b/Eventarc/src/V1/Channel/State.php index 501c4baf57fd..0434d3bb081f 100644 --- a/Eventarc/src/V1/Channel/State.php +++ b/Eventarc/src/V1/Channel/State.php @@ -77,4 +77,3 @@ public static function value($name) } } - diff --git a/Eventarc/src/V1/ChannelConnection.php b/Eventarc/src/V1/ChannelConnection.php index 52460686edcf..29e342394687 100644 --- a/Eventarc/src/V1/ChannelConnection.php +++ b/Eventarc/src/V1/ChannelConnection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of the ChannelConnection resource. diff --git a/Eventarc/src/V1/CloudRun.php b/Eventarc/src/V1/CloudRun.php index 1b030dca2294..b17eb7283795 100644 --- a/Eventarc/src/V1/CloudRun.php +++ b/Eventarc/src/V1/CloudRun.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a Cloud Run destination. diff --git a/Eventarc/src/V1/CreateChannelConnectionRequest.php b/Eventarc/src/V1/CreateChannelConnectionRequest.php index db746856ae6a..f4df056c9974 100644 --- a/Eventarc/src/V1/CreateChannelConnectionRequest.php +++ b/Eventarc/src/V1/CreateChannelConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 CreateChannelConnection method. diff --git a/Eventarc/src/V1/CreateChannelRequest.php b/Eventarc/src/V1/CreateChannelRequest.php index be57772dd014..5b65d9fa75cf 100644 --- a/Eventarc/src/V1/CreateChannelRequest.php +++ b/Eventarc/src/V1/CreateChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 CreateChannel method. diff --git a/Eventarc/src/V1/CreateEnrollmentRequest.php b/Eventarc/src/V1/CreateEnrollmentRequest.php index 26a00d9399cc..c25e78b609e0 100644 --- a/Eventarc/src/V1/CreateEnrollmentRequest.php +++ b/Eventarc/src/V1/CreateEnrollmentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 CreateEnrollment method. diff --git a/Eventarc/src/V1/CreateGoogleApiSourceRequest.php b/Eventarc/src/V1/CreateGoogleApiSourceRequest.php index 99c14964e147..c412f7cfae47 100644 --- a/Eventarc/src/V1/CreateGoogleApiSourceRequest.php +++ b/Eventarc/src/V1/CreateGoogleApiSourceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 CreateGoogleApiSource method. diff --git a/Eventarc/src/V1/CreateMessageBusRequest.php b/Eventarc/src/V1/CreateMessageBusRequest.php index da74604229e1..9d0f6dcd7dc2 100644 --- a/Eventarc/src/V1/CreateMessageBusRequest.php +++ b/Eventarc/src/V1/CreateMessageBusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 CreateMessageBus method. diff --git a/Eventarc/src/V1/CreatePipelineRequest.php b/Eventarc/src/V1/CreatePipelineRequest.php index 6d5e1c5729dc..8d0181fa0314 100644 --- a/Eventarc/src/V1/CreatePipelineRequest.php +++ b/Eventarc/src/V1/CreatePipelineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 CreatePipeline method. diff --git a/Eventarc/src/V1/CreateTriggerRequest.php b/Eventarc/src/V1/CreateTriggerRequest.php index 98083421cc3b..9b74b96bad89 100644 --- a/Eventarc/src/V1/CreateTriggerRequest.php +++ b/Eventarc/src/V1/CreateTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 CreateTrigger method. diff --git a/Eventarc/src/V1/DeleteChannelConnectionRequest.php b/Eventarc/src/V1/DeleteChannelConnectionRequest.php index a4809ebcf693..d76ea1b574bf 100644 --- a/Eventarc/src/V1/DeleteChannelConnectionRequest.php +++ b/Eventarc/src/V1/DeleteChannelConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 DeleteChannelConnection method. diff --git a/Eventarc/src/V1/DeleteChannelRequest.php b/Eventarc/src/V1/DeleteChannelRequest.php index 590a423a9f6e..71091bc4250f 100644 --- a/Eventarc/src/V1/DeleteChannelRequest.php +++ b/Eventarc/src/V1/DeleteChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 DeleteChannel method. diff --git a/Eventarc/src/V1/DeleteEnrollmentRequest.php b/Eventarc/src/V1/DeleteEnrollmentRequest.php index 4eef495161bc..5845de7135e6 100644 --- a/Eventarc/src/V1/DeleteEnrollmentRequest.php +++ b/Eventarc/src/V1/DeleteEnrollmentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 DeleteEnrollment method. diff --git a/Eventarc/src/V1/DeleteGoogleApiSourceRequest.php b/Eventarc/src/V1/DeleteGoogleApiSourceRequest.php index dc9beaf2e21d..3942b7daf40d 100644 --- a/Eventarc/src/V1/DeleteGoogleApiSourceRequest.php +++ b/Eventarc/src/V1/DeleteGoogleApiSourceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 DeleteGoogleApiSource method. diff --git a/Eventarc/src/V1/DeleteMessageBusRequest.php b/Eventarc/src/V1/DeleteMessageBusRequest.php index 8b71397cc98d..6310e5bff367 100644 --- a/Eventarc/src/V1/DeleteMessageBusRequest.php +++ b/Eventarc/src/V1/DeleteMessageBusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 DeleteMessageBus method. diff --git a/Eventarc/src/V1/DeletePipelineRequest.php b/Eventarc/src/V1/DeletePipelineRequest.php index 360d61522744..a3d72f2e1393 100644 --- a/Eventarc/src/V1/DeletePipelineRequest.php +++ b/Eventarc/src/V1/DeletePipelineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 DeletePipeline method. diff --git a/Eventarc/src/V1/DeleteTriggerRequest.php b/Eventarc/src/V1/DeleteTriggerRequest.php index 43ad08d1b38e..ecdf509e6551 100644 --- a/Eventarc/src/V1/DeleteTriggerRequest.php +++ b/Eventarc/src/V1/DeleteTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 DeleteTrigger method. diff --git a/Eventarc/src/V1/Destination.php b/Eventarc/src/V1/Destination.php index 0399e85771e5..a013d316a479 100644 --- a/Eventarc/src/V1/Destination.php +++ b/Eventarc/src/V1/Destination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a target of an invocation over HTTP. diff --git a/Eventarc/src/V1/Enrollment.php b/Eventarc/src/V1/Enrollment.php index 025edc12c482..85513c5fecbe 100644 --- a/Eventarc/src/V1/Enrollment.php +++ b/Eventarc/src/V1/Enrollment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An enrollment represents a subscription for messages on a particular message diff --git a/Eventarc/src/V1/EventFilter.php b/Eventarc/src/V1/EventFilter.php index 1e48fa154dda..efa26135528e 100644 --- a/Eventarc/src/V1/EventFilter.php +++ b/Eventarc/src/V1/EventFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Filters events based on exact matches on the CloudEvents attributes. diff --git a/Eventarc/src/V1/EventType.php b/Eventarc/src/V1/EventType.php index 67e92e6f24f7..7d21b370578e 100644 --- a/Eventarc/src/V1/EventType.php +++ b/Eventarc/src/V1/EventType.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of the event type resource. @@ -64,7 +64,7 @@ class EventType extends \Google\Protobuf\Internal\Message * @type string $description * Output only. Human friendly description of what the event type is about. * For example "Bucket created in Cloud Storage". - * @type array<\Google\Cloud\Eventarc\V1\FilteringAttribute>|\Google\Protobuf\Internal\RepeatedField $filtering_attributes + * @type \Google\Cloud\Eventarc\V1\FilteringAttribute[] $filtering_attributes * Output only. Filtering attributes for the event type. * @type string $event_schema_uri * Output only. URI for the event schema. @@ -145,7 +145,7 @@ public function setDescription($var) * Output only. Filtering attributes for the event type. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\FilteringAttribute> */ public function getFilteringAttributes() { @@ -156,7 +156,7 @@ public function getFilteringAttributes() * Output only. Filtering attributes for the event type. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Eventarc\V1\FilteringAttribute>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\FilteringAttribute[] $var * @return $this */ public function setFilteringAttributes($var) diff --git a/Eventarc/src/V1/FilteringAttribute.php b/Eventarc/src/V1/FilteringAttribute.php index d36025d717b0..685edb2488e8 100644 --- a/Eventarc/src/V1/FilteringAttribute.php +++ b/Eventarc/src/V1/FilteringAttribute.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of the FilteringAttribute resource. diff --git a/Eventarc/src/V1/GKE.php b/Eventarc/src/V1/GKE.php index 428c452b3e82..10b2ce8f0282 100644 --- a/Eventarc/src/V1/GKE.php +++ b/Eventarc/src/V1/GKE.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a GKE destination. diff --git a/Eventarc/src/V1/GetChannelConnectionRequest.php b/Eventarc/src/V1/GetChannelConnectionRequest.php index dc8ea1280ac5..5b8d4b568cbf 100644 --- a/Eventarc/src/V1/GetChannelConnectionRequest.php +++ b/Eventarc/src/V1/GetChannelConnectionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetChannelConnection method. diff --git a/Eventarc/src/V1/GetChannelRequest.php b/Eventarc/src/V1/GetChannelRequest.php index c80223e28726..660035c89226 100644 --- a/Eventarc/src/V1/GetChannelRequest.php +++ b/Eventarc/src/V1/GetChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetChannel method. diff --git a/Eventarc/src/V1/GetEnrollmentRequest.php b/Eventarc/src/V1/GetEnrollmentRequest.php index 8cd21daa3843..1b7129104624 100644 --- a/Eventarc/src/V1/GetEnrollmentRequest.php +++ b/Eventarc/src/V1/GetEnrollmentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetEnrollment method. diff --git a/Eventarc/src/V1/GetGoogleApiSourceRequest.php b/Eventarc/src/V1/GetGoogleApiSourceRequest.php index 9cda03c132e4..c6d81572dd10 100644 --- a/Eventarc/src/V1/GetGoogleApiSourceRequest.php +++ b/Eventarc/src/V1/GetGoogleApiSourceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetGoogleApiSource method. diff --git a/Eventarc/src/V1/GetGoogleChannelConfigRequest.php b/Eventarc/src/V1/GetGoogleChannelConfigRequest.php index 38ddbd0ee06e..8784129d229b 100644 --- a/Eventarc/src/V1/GetGoogleChannelConfigRequest.php +++ b/Eventarc/src/V1/GetGoogleChannelConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetGoogleChannelConfig method. diff --git a/Eventarc/src/V1/GetMessageBusRequest.php b/Eventarc/src/V1/GetMessageBusRequest.php index bcc8663131d1..f02ff1a861d0 100644 --- a/Eventarc/src/V1/GetMessageBusRequest.php +++ b/Eventarc/src/V1/GetMessageBusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetMessageBus method. diff --git a/Eventarc/src/V1/GetPipelineRequest.php b/Eventarc/src/V1/GetPipelineRequest.php index 82d14ada1ede..081e2fbe91b5 100644 --- a/Eventarc/src/V1/GetPipelineRequest.php +++ b/Eventarc/src/V1/GetPipelineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetPipeline method. diff --git a/Eventarc/src/V1/GetProviderRequest.php b/Eventarc/src/V1/GetProviderRequest.php index 57173d9b151d..c37cb71f9375 100644 --- a/Eventarc/src/V1/GetProviderRequest.php +++ b/Eventarc/src/V1/GetProviderRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetProvider method. diff --git a/Eventarc/src/V1/GetTriggerRequest.php b/Eventarc/src/V1/GetTriggerRequest.php index 6345f521d820..1d6046ab7655 100644 --- a/Eventarc/src/V1/GetTriggerRequest.php +++ b/Eventarc/src/V1/GetTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 GetTrigger method. diff --git a/Eventarc/src/V1/GoogleApiSource.php b/Eventarc/src/V1/GoogleApiSource.php index de11e800b333..4a1cfd193105 100644 --- a/Eventarc/src/V1/GoogleApiSource.php +++ b/Eventarc/src/V1/GoogleApiSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A GoogleApiSource represents a subscription of 1P events from a MessageBus. @@ -81,7 +81,7 @@ class GoogleApiSource extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { */ @@ -130,7 +130,7 @@ class GoogleApiSource extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * @type \Google\Cloud\Eventarc\V1\LoggingConfig $logging_config * Optional. Config to control Platform logging for the GoogleApiSource. * @type \Google\Cloud\Eventarc\V1\GoogleApiSource\OrganizationSubscription $organization_subscription @@ -421,7 +421,7 @@ public function setDestination($var) * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @return string @@ -435,7 +435,7 @@ public function getCryptoKeyName() * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @param string $var diff --git a/Eventarc/src/V1/GoogleApiSource/OrganizationSubscription.php b/Eventarc/src/V1/GoogleApiSource/OrganizationSubscription.php index 11399c1456eb..a232e9d3651b 100644 --- a/Eventarc/src/V1/GoogleApiSource/OrganizationSubscription.php +++ b/Eventarc/src/V1/GoogleApiSource/OrganizationSubscription.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\GoogleApiSource; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config to enabled subscribing to events from other projects in the org. @@ -65,4 +65,3 @@ public function setEnabled($var) } - diff --git a/Eventarc/src/V1/GoogleApiSource/ProjectSubscriptions.php b/Eventarc/src/V1/GoogleApiSource/ProjectSubscriptions.php index bbc3551622e3..6e6da76535e2 100644 --- a/Eventarc/src/V1/GoogleApiSource/ProjectSubscriptions.php +++ b/Eventarc/src/V1/GoogleApiSource/ProjectSubscriptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\GoogleApiSource; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Config to enable subscribing to all events from a list of projects. @@ -32,7 +32,7 @@ class ProjectSubscriptions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $list + * @type string[] $list * Required. A list of projects to receive events from. * All the projects must be in the same org. The listed projects should have * the format project/{identifier} where identifier can be either the @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * most 100 projects can be listed. * * Generated from protobuf field repeated string list = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getList() { @@ -68,7 +68,7 @@ public function getList() * most 100 projects can be listed. * * Generated from protobuf field repeated string list = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setList($var) @@ -81,4 +81,3 @@ public function setList($var) } - diff --git a/Eventarc/src/V1/GoogleChannelConfig.php b/Eventarc/src/V1/GoogleChannelConfig.php index 74e47794fcbd..f1fb0ef51bca 100644 --- a/Eventarc/src/V1/GoogleChannelConfig.php +++ b/Eventarc/src/V1/GoogleChannelConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A GoogleChannelConfig is a resource that stores the custom settings @@ -38,7 +38,7 @@ class GoogleChannelConfig extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { */ @@ -67,7 +67,7 @@ class GoogleChannelConfig extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * @type array|\Google\Protobuf\Internal\MapField $labels * Optional. Resource labels. * } @@ -149,7 +149,7 @@ public function setUpdateTime($var) * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @return string @@ -163,7 +163,7 @@ public function getCryptoKeyName() * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @param string $var diff --git a/Eventarc/src/V1/HttpEndpoint.php b/Eventarc/src/V1/HttpEndpoint.php index b6edb6c83d16..c75ba2962fa8 100644 --- a/Eventarc/src/V1/HttpEndpoint.php +++ b/Eventarc/src/V1/HttpEndpoint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a HTTP endpoint destination. diff --git a/Eventarc/src/V1/ListChannelConnectionsRequest.php b/Eventarc/src/V1/ListChannelConnectionsRequest.php index 806e2e2ddffe..a8a2cf318714 100644 --- a/Eventarc/src/V1/ListChannelConnectionsRequest.php +++ b/Eventarc/src/V1/ListChannelConnectionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListChannelConnections method. diff --git a/Eventarc/src/V1/ListChannelConnectionsResponse.php b/Eventarc/src/V1/ListChannelConnectionsResponse.php index 9659eb7acb7a..e041aac21fbc 100644 --- a/Eventarc/src/V1/ListChannelConnectionsResponse.php +++ b/Eventarc/src/V1/ListChannelConnectionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListChannelConnections` method. @@ -43,14 +43,14 @@ class ListChannelConnectionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\ChannelConnection>|\Google\Protobuf\Internal\RepeatedField $channel_connections + * @type \Google\Cloud\Eventarc\V1\ChannelConnection[] $channel_connections * The requested channel connections, up to the number specified in * `page_size`. * @type string $next_page_token * A page token that can be sent to `ListChannelConnections` to request the * next page. * If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -64,7 +64,7 @@ public function __construct($data = NULL) { * `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\ChannelConnection> */ public function getChannelConnections() { @@ -76,7 +76,7 @@ public function getChannelConnections() * `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; - * @param array<\Google\Cloud\Eventarc\V1\ChannelConnection>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\ChannelConnection[] $var * @return $this */ public function setChannelConnections($var) @@ -121,7 +121,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() { @@ -132,7 +132,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/Eventarc/src/V1/ListChannelsRequest.php b/Eventarc/src/V1/ListChannelsRequest.php index bed6e9976240..802da491d54b 100644 --- a/Eventarc/src/V1/ListChannelsRequest.php +++ b/Eventarc/src/V1/ListChannelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListChannels method. diff --git a/Eventarc/src/V1/ListChannelsResponse.php b/Eventarc/src/V1/ListChannelsResponse.php index 7706916cd782..ccb8101e8d36 100644 --- a/Eventarc/src/V1/ListChannelsResponse.php +++ b/Eventarc/src/V1/ListChannelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListChannels` method. @@ -41,12 +41,12 @@ class ListChannelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\Channel>|\Google\Protobuf\Internal\RepeatedField $channels + * @type \Google\Cloud\Eventarc\V1\Channel[] $channels * The requested channels, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListChannels` to request the next page. * If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested channels, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Channel channels = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\Channel> */ public function getChannels() { @@ -70,7 +70,7 @@ public function getChannels() * The requested channels, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Channel channels = 1; - * @param array<\Google\Cloud\Eventarc\V1\Channel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\Channel[] $var * @return $this */ public function setChannels($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/Eventarc/src/V1/ListEnrollmentsRequest.php b/Eventarc/src/V1/ListEnrollmentsRequest.php index e54b7d747086..7c808776b015 100644 --- a/Eventarc/src/V1/ListEnrollmentsRequest.php +++ b/Eventarc/src/V1/ListEnrollmentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListEnrollments method. diff --git a/Eventarc/src/V1/ListEnrollmentsResponse.php b/Eventarc/src/V1/ListEnrollmentsResponse.php index f467a1b3d593..c53907e9407e 100644 --- a/Eventarc/src/V1/ListEnrollmentsResponse.php +++ b/Eventarc/src/V1/ListEnrollmentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListEnrollments` method. @@ -41,12 +41,12 @@ class ListEnrollmentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\Enrollment>|\Google\Protobuf\Internal\RepeatedField $enrollments + * @type \Google\Cloud\Eventarc\V1\Enrollment[] $enrollments * The requested Enrollments, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListEnrollments` to request the next * page. If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested Enrollments, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Enrollment enrollments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\Enrollment> */ public function getEnrollments() { @@ -70,7 +70,7 @@ public function getEnrollments() * The requested Enrollments, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Enrollment enrollments = 1; - * @param array<\Google\Cloud\Eventarc\V1\Enrollment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\Enrollment[] $var * @return $this */ public function setEnrollments($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/Eventarc/src/V1/ListGoogleApiSourcesRequest.php b/Eventarc/src/V1/ListGoogleApiSourcesRequest.php index afc0e23c4e35..5d2f0979e69f 100644 --- a/Eventarc/src/V1/ListGoogleApiSourcesRequest.php +++ b/Eventarc/src/V1/ListGoogleApiSourcesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListGoogleApiSources method. diff --git a/Eventarc/src/V1/ListGoogleApiSourcesResponse.php b/Eventarc/src/V1/ListGoogleApiSourcesResponse.php index 9994f064503f..85ce0573d6de 100644 --- a/Eventarc/src/V1/ListGoogleApiSourcesResponse.php +++ b/Eventarc/src/V1/ListGoogleApiSourcesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListGoogleApiSources` method. @@ -41,12 +41,12 @@ class ListGoogleApiSourcesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\GoogleApiSource>|\Google\Protobuf\Internal\RepeatedField $google_api_sources + * @type \Google\Cloud\Eventarc\V1\GoogleApiSource[] $google_api_sources * The requested GoogleApiSources, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListMessageBusEnrollments` to request the * next page. If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested GoogleApiSources, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\GoogleApiSource> */ public function getGoogleApiSources() { @@ -70,7 +70,7 @@ public function getGoogleApiSources() * The requested GoogleApiSources, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1; - * @param array<\Google\Cloud\Eventarc\V1\GoogleApiSource>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\GoogleApiSource[] $var * @return $this */ public function setGoogleApiSources($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/Eventarc/src/V1/ListMessageBusEnrollmentsRequest.php b/Eventarc/src/V1/ListMessageBusEnrollmentsRequest.php index 782b7a29711a..722e525ad385 100644 --- a/Eventarc/src/V1/ListMessageBusEnrollmentsRequest.php +++ b/Eventarc/src/V1/ListMessageBusEnrollmentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListMessageBusEnrollments` method. diff --git a/Eventarc/src/V1/ListMessageBusEnrollmentsResponse.php b/Eventarc/src/V1/ListMessageBusEnrollmentsResponse.php index f58a262aad2c..ab0832ab987e 100644 --- a/Eventarc/src/V1/ListMessageBusEnrollmentsResponse.php +++ b/Eventarc/src/V1/ListMessageBusEnrollmentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListMessageBusEnrollments` method.` @@ -41,12 +41,12 @@ class ListMessageBusEnrollmentsResponse extends \Google\Protobuf\Internal\Messag * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $enrollments + * @type string[] $enrollments * The requested enrollments, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListMessageBusEnrollments` to request the * next page. If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested enrollments, up to the number specified in `page_size`. * * Generated from protobuf field repeated string enrollments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getEnrollments() { @@ -70,7 +70,7 @@ public function getEnrollments() * The requested enrollments, up to the number specified in `page_size`. * * Generated from protobuf field repeated string enrollments = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setEnrollments($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/Eventarc/src/V1/ListMessageBusesRequest.php b/Eventarc/src/V1/ListMessageBusesRequest.php index 5a0a01171ba1..70d859f91b59 100644 --- a/Eventarc/src/V1/ListMessageBusesRequest.php +++ b/Eventarc/src/V1/ListMessageBusesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListMessageBuses method. diff --git a/Eventarc/src/V1/ListMessageBusesResponse.php b/Eventarc/src/V1/ListMessageBusesResponse.php index 1ec7d56ab37f..61d7051f8fc9 100644 --- a/Eventarc/src/V1/ListMessageBusesResponse.php +++ b/Eventarc/src/V1/ListMessageBusesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListMessageBuses` method. @@ -41,12 +41,12 @@ class ListMessageBusesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\MessageBus>|\Google\Protobuf\Internal\RepeatedField $message_buses + * @type \Google\Cloud\Eventarc\V1\MessageBus[] $message_buses * The requested message buses, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListMessageBuses` to request the next * page. If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested message buses, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\MessageBus> */ public function getMessageBuses() { @@ -70,7 +70,7 @@ public function getMessageBuses() * The requested message buses, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1; - * @param array<\Google\Cloud\Eventarc\V1\MessageBus>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\MessageBus[] $var * @return $this */ public function setMessageBuses($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/Eventarc/src/V1/ListPipelinesRequest.php b/Eventarc/src/V1/ListPipelinesRequest.php index fe3533060eb7..da179c7a6244 100644 --- a/Eventarc/src/V1/ListPipelinesRequest.php +++ b/Eventarc/src/V1/ListPipelinesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListPipelines method. diff --git a/Eventarc/src/V1/ListPipelinesResponse.php b/Eventarc/src/V1/ListPipelinesResponse.php index db5624cef798..74d7c04d364e 100644 --- a/Eventarc/src/V1/ListPipelinesResponse.php +++ b/Eventarc/src/V1/ListPipelinesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListPipelines method. @@ -41,12 +41,12 @@ class ListPipelinesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\Pipeline>|\Google\Protobuf\Internal\RepeatedField $pipelines + * @type \Google\Cloud\Eventarc\V1\Pipeline[] $pipelines * The requested pipelines, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListPipelines` to request the next * page. If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested pipelines, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Pipeline pipelines = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\Pipeline> */ public function getPipelines() { @@ -70,7 +70,7 @@ public function getPipelines() * The requested pipelines, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Pipeline pipelines = 1; - * @param array<\Google\Cloud\Eventarc\V1\Pipeline>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\Pipeline[] $var * @return $this */ public function setPipelines($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/Eventarc/src/V1/ListProvidersRequest.php b/Eventarc/src/V1/ListProvidersRequest.php index e95fa3d2cde7..2df550197afe 100644 --- a/Eventarc/src/V1/ListProvidersRequest.php +++ b/Eventarc/src/V1/ListProvidersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListProviders method. diff --git a/Eventarc/src/V1/ListProvidersResponse.php b/Eventarc/src/V1/ListProvidersResponse.php index d1bf4a8f1e6b..b2d8029634c2 100644 --- a/Eventarc/src/V1/ListProvidersResponse.php +++ b/Eventarc/src/V1/ListProvidersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListProviders` method. @@ -41,12 +41,12 @@ class ListProvidersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\Provider>|\Google\Protobuf\Internal\RepeatedField $providers + * @type \Google\Cloud\Eventarc\V1\Provider[] $providers * The requested providers, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListProviders` to request the next page. * If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested providers, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Provider providers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\Provider> */ public function getProviders() { @@ -70,7 +70,7 @@ public function getProviders() * The requested providers, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Provider providers = 1; - * @param array<\Google\Cloud\Eventarc\V1\Provider>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\Provider[] $var * @return $this */ public function setProviders($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/Eventarc/src/V1/ListTriggersRequest.php b/Eventarc/src/V1/ListTriggersRequest.php index 822bf71ff9c0..12e7c19b4df8 100644 --- a/Eventarc/src/V1/ListTriggersRequest.php +++ b/Eventarc/src/V1/ListTriggersRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 ListTriggers method. diff --git a/Eventarc/src/V1/ListTriggersResponse.php b/Eventarc/src/V1/ListTriggersResponse.php index ee71a58af28b..26fb8bfe195b 100644 --- a/Eventarc/src/V1/ListTriggersResponse.php +++ b/Eventarc/src/V1/ListTriggersResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 `ListTriggers` method. @@ -41,12 +41,12 @@ class ListTriggersResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Eventarc\V1\Trigger>|\Google\Protobuf\Internal\RepeatedField $triggers + * @type \Google\Cloud\Eventarc\V1\Trigger[] $triggers * The requested triggers, up to the number specified in `page_size`. * @type string $next_page_token * A page token that can be sent to `ListTriggers` to request the next page. * If this is empty, then there are no more pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unreachable resources, if any. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * The requested triggers, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Trigger triggers = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\Trigger> */ public function getTriggers() { @@ -70,7 +70,7 @@ public function getTriggers() * The requested triggers, up to the number specified in `page_size`. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Trigger triggers = 1; - * @param array<\Google\Cloud\Eventarc\V1\Trigger>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\Trigger[] $var * @return $this */ public function setTriggers($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/Eventarc/src/V1/LoggingConfig.php b/Eventarc/src/V1/LoggingConfig.php index ea682518ebc4..6deebd920f64 100644 --- a/Eventarc/src/V1/LoggingConfig.php +++ b/Eventarc/src/V1/LoggingConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration for Platform Telemetry logging for Eventarc Advanced diff --git a/Eventarc/src/V1/LoggingConfig/LogSeverity.php b/Eventarc/src/V1/LoggingConfig/LogSeverity.php index 24c24b89c169..d3415defd41f 100644 --- a/Eventarc/src/V1/LoggingConfig/LogSeverity.php +++ b/Eventarc/src/V1/LoggingConfig/LogSeverity.php @@ -115,4 +115,3 @@ public static function value($name) } } - diff --git a/Eventarc/src/V1/MessageBus.php b/Eventarc/src/V1/MessageBus.php index 125bd3c86db6..53e353c055f1 100644 --- a/Eventarc/src/V1/MessageBus.php +++ b/Eventarc/src/V1/MessageBus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * MessageBus for the messages flowing through the system. The admin has @@ -75,7 +75,7 @@ class MessageBus extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { */ @@ -120,7 +120,7 @@ class MessageBus extends \Google\Protobuf\Internal\Message * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * @type \Google\Cloud\Eventarc\V1\LoggingConfig $logging_config * Optional. Config to control Platform logging for the Message Bus. This log * configuration is applied to the Message Bus itself, and all the Enrollments @@ -374,7 +374,7 @@ public function setDisplayName($var) * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @return string @@ -388,7 +388,7 @@ public function getCryptoKeyName() * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. * It must match the pattern - * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*`. * * Generated from protobuf field string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @param string $var diff --git a/Eventarc/src/V1/NetworkConfig.php b/Eventarc/src/V1/NetworkConfig.php index 715d1d668793..487c3d0c1791 100644 --- a/Eventarc/src/V1/NetworkConfig.php +++ b/Eventarc/src/V1/NetworkConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Network Configuration that can be inherited by other protos. diff --git a/Eventarc/src/V1/OperationMetadata.php b/Eventarc/src/V1/OperationMetadata.php index bb3d67a302da..c7ebf8e7f0ca 100644 --- a/Eventarc/src/V1/OperationMetadata.php +++ b/Eventarc/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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/Eventarc/src/V1/Pipeline.php b/Eventarc/src/V1/Pipeline.php index 360d4f2876ba..0e55dd2c0741 100644 --- a/Eventarc/src/V1/Pipeline.php +++ b/Eventarc/src/V1/Pipeline.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of the Pipeline resource. @@ -167,10 +167,10 @@ class Pipeline extends \Google\Protobuf\Internal\Message * https://google.aip.dev/128#annotations. * @type string $display_name * Optional. Display name of resource. - * @type array<\Google\Cloud\Eventarc\V1\Pipeline\Destination>|\Google\Protobuf\Internal\RepeatedField $destinations + * @type \Google\Cloud\Eventarc\V1\Pipeline\Destination[] $destinations * Required. List of destinations to which messages will be forwarded. * Currently, exactly one destination is supported per Pipeline. - * @type array<\Google\Cloud\Eventarc\V1\Pipeline\Mediation>|\Google\Protobuf\Internal\RepeatedField $mediations + * @type \Google\Cloud\Eventarc\V1\Pipeline\Mediation[] $mediations * Optional. List of mediation operations to be performed on the message. * Currently, only one Transformation operation is allowed in each Pipeline. * @type string $crypto_key_name @@ -438,7 +438,7 @@ public function setDisplayName($var) * Currently, exactly one destination is supported per Pipeline. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\Pipeline\Destination> */ public function getDestinations() { @@ -450,7 +450,7 @@ public function getDestinations() * Currently, exactly one destination is supported per Pipeline. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Pipeline.Destination destinations = 8 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Eventarc\V1\Pipeline\Destination>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\Pipeline\Destination[] $var * @return $this */ public function setDestinations($var) @@ -466,7 +466,7 @@ public function setDestinations($var) * Currently, only one Transformation operation is allowed in each Pipeline. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\Pipeline\Mediation> */ public function getMediations() { @@ -478,7 +478,7 @@ public function getMediations() * Currently, only one Transformation operation is allowed in each Pipeline. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.Pipeline.Mediation mediations = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Eventarc\V1\Pipeline\Mediation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\Pipeline\Mediation[] $var * @return $this */ public function setMediations($var) diff --git a/Eventarc/src/V1/Pipeline/Destination.php b/Eventarc/src/V1/Pipeline/Destination.php index 57600fe4881f..fe90bff8f1ee 100644 --- a/Eventarc/src/V1/Pipeline/Destination.php +++ b/Eventarc/src/V1/Pipeline/Destination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a target of an invocation over HTTP. @@ -372,4 +372,3 @@ public function getDestinationDescriptor() } - diff --git a/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig.php b/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig.php index 057a81de1ac4..7c223773f7e9 100644 --- a/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig.php +++ b/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\Destination; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a config used to authenticate message requests. @@ -124,4 +124,3 @@ public function getAuthenticationMethodDescriptor() } - diff --git a/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OAuthToken.php b/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OAuthToken.php index 2aa10af3e990..77e9a64121cf 100644 --- a/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OAuthToken.php +++ b/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OAuthToken.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\Destination\AuthenticationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains information needed for generating an @@ -138,4 +138,3 @@ public function setScope($var) } - diff --git a/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OidcToken.php b/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OidcToken.php index b0682333f782..8f3883aa14a1 100644 --- a/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OidcToken.php +++ b/Eventarc/src/V1/Pipeline/Destination/AuthenticationConfig/OidcToken.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\Destination\AuthenticationConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a config used to authenticate with a Google OIDC token using @@ -134,4 +134,3 @@ public function setAudience($var) } - diff --git a/Eventarc/src/V1/Pipeline/Destination/HttpEndpoint.php b/Eventarc/src/V1/Pipeline/Destination/HttpEndpoint.php index a4e5819317bd..7651a44a414a 100644 --- a/Eventarc/src/V1/Pipeline/Destination/HttpEndpoint.php +++ b/Eventarc/src/V1/Pipeline/Destination/HttpEndpoint.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\Destination; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a HTTP endpoint destination. @@ -739,4 +739,3 @@ public function setMessageBindingTemplate($var) } - diff --git a/Eventarc/src/V1/Pipeline/Destination/NetworkConfig.php b/Eventarc/src/V1/Pipeline/Destination/NetworkConfig.php index eaede052b443..2234c4b3be5a 100644 --- a/Eventarc/src/V1/Pipeline/Destination/NetworkConfig.php +++ b/Eventarc/src/V1/Pipeline/Destination/NetworkConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\Destination; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a network config to be used for destination resolution and @@ -74,4 +74,3 @@ public function setNetworkAttachment($var) } - diff --git a/Eventarc/src/V1/Pipeline/Mediation.php b/Eventarc/src/V1/Pipeline/Mediation.php index 026629778c07..c58e10a035b3 100644 --- a/Eventarc/src/V1/Pipeline/Mediation.php +++ b/Eventarc/src/V1/Pipeline/Mediation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Mediation defines different ways to modify the Pipeline. @@ -73,4 +73,3 @@ public function getMediationDescriptor() } - diff --git a/Eventarc/src/V1/Pipeline/Mediation/Transformation.php b/Eventarc/src/V1/Pipeline/Mediation/Transformation.php index 7cfac5d66f21..905c186e9b0d 100644 --- a/Eventarc/src/V1/Pipeline/Mediation/Transformation.php +++ b/Eventarc/src/V1/Pipeline/Mediation/Transformation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\Mediation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Transformation defines the way to transform an incoming message. @@ -365,4 +365,3 @@ public function setTransformationTemplate($var) } - diff --git a/Eventarc/src/V1/Pipeline/MessagePayloadFormat.php b/Eventarc/src/V1/Pipeline/MessagePayloadFormat.php index 34a284ece569..a7e5d61c429e 100644 --- a/Eventarc/src/V1/Pipeline/MessagePayloadFormat.php +++ b/Eventarc/src/V1/Pipeline/MessagePayloadFormat.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the format of message data. @@ -139,4 +139,3 @@ public function getKind() } - diff --git a/Eventarc/src/V1/Pipeline/MessagePayloadFormat/AvroFormat.php b/Eventarc/src/V1/Pipeline/MessagePayloadFormat/AvroFormat.php index b992b9198ef6..685cd35df17a 100644 --- a/Eventarc/src/V1/Pipeline/MessagePayloadFormat/AvroFormat.php +++ b/Eventarc/src/V1/Pipeline/MessagePayloadFormat/AvroFormat.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\MessagePayloadFormat; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The format of an AVRO message payload. @@ -65,4 +65,3 @@ public function setSchemaDefinition($var) } - diff --git a/Eventarc/src/V1/Pipeline/MessagePayloadFormat/JsonFormat.php b/Eventarc/src/V1/Pipeline/MessagePayloadFormat/JsonFormat.php index 49534a82ce76..3f82db506181 100644 --- a/Eventarc/src/V1/Pipeline/MessagePayloadFormat/JsonFormat.php +++ b/Eventarc/src/V1/Pipeline/MessagePayloadFormat/JsonFormat.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\MessagePayloadFormat; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The format of a JSON message payload. @@ -31,4 +31,3 @@ public function __construct($data = NULL) { } - diff --git a/Eventarc/src/V1/Pipeline/MessagePayloadFormat/ProtobufFormat.php b/Eventarc/src/V1/Pipeline/MessagePayloadFormat/ProtobufFormat.php index bdb6f706b7dc..9a04d776c67f 100644 --- a/Eventarc/src/V1/Pipeline/MessagePayloadFormat/ProtobufFormat.php +++ b/Eventarc/src/V1/Pipeline/MessagePayloadFormat/ProtobufFormat.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline\MessagePayloadFormat; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The format of a Protobuf message payload. @@ -65,4 +65,3 @@ public function setSchemaDefinition($var) } - diff --git a/Eventarc/src/V1/Pipeline/RetryPolicy.php b/Eventarc/src/V1/Pipeline/RetryPolicy.php index af44930dedca..08c38eb9ab37 100644 --- a/Eventarc/src/V1/Pipeline/RetryPolicy.php +++ b/Eventarc/src/V1/Pipeline/RetryPolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Pipeline; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The retry policy configuration for the Pipeline. The pipeline @@ -180,4 +180,3 @@ public function setMaxRetryDelay($var) } - diff --git a/Eventarc/src/V1/Provider.php b/Eventarc/src/V1/Provider.php index 6afe5e7cb8af..722054c79d31 100644 --- a/Eventarc/src/V1/Provider.php +++ b/Eventarc/src/V1/Provider.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of the Provider resource. @@ -48,7 +48,7 @@ class Provider extends \Google\Protobuf\Internal\Message * @type string $display_name * Output only. Human friendly name for the Provider. For example "Cloud * Storage". - * @type array<\Google\Cloud\Eventarc\V1\EventType>|\Google\Protobuf\Internal\RepeatedField $event_types + * @type \Google\Cloud\Eventarc\V1\EventType[] $event_types * Output only. Event types for this provider. * } */ @@ -117,7 +117,7 @@ public function setDisplayName($var) * Output only. Event types for this provider. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\EventType> */ public function getEventTypes() { @@ -128,7 +128,7 @@ public function getEventTypes() * Output only. Event types for this provider. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Eventarc\V1\EventType>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\EventType[] $var * @return $this */ public function setEventTypes($var) diff --git a/Eventarc/src/V1/Pubsub.php b/Eventarc/src/V1/Pubsub.php index 651c38bc08f3..e342daaffa82 100644 --- a/Eventarc/src/V1/Pubsub.php +++ b/Eventarc/src/V1/Pubsub.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a Pub/Sub transport. diff --git a/Eventarc/src/V1/StateCondition.php b/Eventarc/src/V1/StateCondition.php index 3c68f4ea51cd..952a0b8b72e5 100644 --- a/Eventarc/src/V1/StateCondition.php +++ b/Eventarc/src/V1/StateCondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A condition that is part of the trigger state computation. diff --git a/Eventarc/src/V1/Transport.php b/Eventarc/src/V1/Transport.php index 0d7bd861e1e0..54474dff01f2 100644 --- a/Eventarc/src/V1/Transport.php +++ b/Eventarc/src/V1/Transport.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the transport intermediaries created for the trigger to diff --git a/Eventarc/src/V1/Trigger.php b/Eventarc/src/V1/Trigger.php index fdb60379e7ce..b7a6d455576c 100644 --- a/Eventarc/src/V1/Trigger.php +++ b/Eventarc/src/V1/Trigger.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A representation of the trigger resource. @@ -149,7 +149,7 @@ class Trigger extends \Google\Protobuf\Internal\Message * Output only. The creation time. * @type \Google\Protobuf\Timestamp $update_time * Output only. The last-modified time. - * @type array<\Google\Cloud\Eventarc\V1\EventFilter>|\Google\Protobuf\Internal\RepeatedField $event_filters + * @type \Google\Cloud\Eventarc\V1\EventFilter[] $event_filters * Required. Unordered list. The list of filters that applies to event * attributes. Only events that match all the provided filters are sent to the * destination. @@ -337,7 +337,7 @@ public function setUpdateTime($var) * destination. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Eventarc\V1\EventFilter> */ public function getEventFilters() { @@ -350,7 +350,7 @@ public function getEventFilters() * destination. * * Generated from protobuf field repeated .google.cloud.eventarc.v1.EventFilter event_filters = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Eventarc\V1\EventFilter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Eventarc\V1\EventFilter[] $var * @return $this */ public function setEventFilters($var) diff --git a/Eventarc/src/V1/Trigger/RetryPolicy.php b/Eventarc/src/V1/Trigger/RetryPolicy.php index 603b6eb18276..f277c8b3ca8f 100644 --- a/Eventarc/src/V1/Trigger/RetryPolicy.php +++ b/Eventarc/src/V1/Trigger/RetryPolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\V1\Trigger; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The retry policy configuration for the Trigger. @@ -70,4 +70,3 @@ public function setMaxAttempts($var) } - diff --git a/Eventarc/src/V1/UpdateChannelRequest.php b/Eventarc/src/V1/UpdateChannelRequest.php index 3cee00e08c23..f6d067e166ac 100644 --- a/Eventarc/src/V1/UpdateChannelRequest.php +++ b/Eventarc/src/V1/UpdateChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 UpdateChannel method. diff --git a/Eventarc/src/V1/UpdateEnrollmentRequest.php b/Eventarc/src/V1/UpdateEnrollmentRequest.php index 70255d125bfe..eb435f5b7d1e 100644 --- a/Eventarc/src/V1/UpdateEnrollmentRequest.php +++ b/Eventarc/src/V1/UpdateEnrollmentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 UpdateEnrollment method. diff --git a/Eventarc/src/V1/UpdateGoogleApiSourceRequest.php b/Eventarc/src/V1/UpdateGoogleApiSourceRequest.php index 420c284a32ab..0c5fb2d60afd 100644 --- a/Eventarc/src/V1/UpdateGoogleApiSourceRequest.php +++ b/Eventarc/src/V1/UpdateGoogleApiSourceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 UpdateGoogleApiSource method. diff --git a/Eventarc/src/V1/UpdateGoogleChannelConfigRequest.php b/Eventarc/src/V1/UpdateGoogleChannelConfigRequest.php index 86a9f6b4dfdf..18b845bd5bd0 100644 --- a/Eventarc/src/V1/UpdateGoogleChannelConfigRequest.php +++ b/Eventarc/src/V1/UpdateGoogleChannelConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 UpdateGoogleChannelConfig method. diff --git a/Eventarc/src/V1/UpdateMessageBusRequest.php b/Eventarc/src/V1/UpdateMessageBusRequest.php index 0699200ebaf8..3df6121dfbf5 100644 --- a/Eventarc/src/V1/UpdateMessageBusRequest.php +++ b/Eventarc/src/V1/UpdateMessageBusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 UpdateMessageBus method. diff --git a/Eventarc/src/V1/UpdatePipelineRequest.php b/Eventarc/src/V1/UpdatePipelineRequest.php index 05d4848fe829..d3fc77490e3a 100644 --- a/Eventarc/src/V1/UpdatePipelineRequest.php +++ b/Eventarc/src/V1/UpdatePipelineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 UpdatePipeline method. diff --git a/Eventarc/src/V1/UpdateTriggerRequest.php b/Eventarc/src/V1/UpdateTriggerRequest.php index 6091f1a892eb..9c8f5fd9c458 100644 --- a/Eventarc/src/V1/UpdateTriggerRequest.php +++ b/Eventarc/src/V1/UpdateTriggerRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\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 UpdateTrigger method. diff --git a/EventarcPublishing/metadata/V1/CloudEvent.php b/EventarcPublishing/metadata/V1/CloudEvent.php index 406503720aea..33aa9f6e83c8 100644 Binary files a/EventarcPublishing/metadata/V1/CloudEvent.php and b/EventarcPublishing/metadata/V1/CloudEvent.php differ diff --git a/EventarcPublishing/metadata/V1/Publisher.php b/EventarcPublishing/metadata/V1/Publisher.php index e9952863ea77..c3f9af9b4dfb 100644 Binary files a/EventarcPublishing/metadata/V1/Publisher.php and b/EventarcPublishing/metadata/V1/Publisher.php differ diff --git a/EventarcPublishing/src/V1/CloudEvent.php b/EventarcPublishing/src/V1/CloudEvent.php index 03dddd75fe4e..ece6911bcf4f 100644 --- a/EventarcPublishing/src/V1/CloudEvent.php +++ b/EventarcPublishing/src/V1/CloudEvent.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CloudEvent represents a vendor-neutral specification for defining the format diff --git a/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php b/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php index 226c118df6f1..0bd6aca54188 100644 --- a/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php +++ b/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\V1\CloudEvent; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The following abstract data types are available for use in attributes. @@ -271,4 +271,3 @@ public function getAttr() } - diff --git a/EventarcPublishing/src/V1/PublishChannelConnectionEventsRequest.php b/EventarcPublishing/src/V1/PublishChannelConnectionEventsRequest.php index 79180267cebb..c12d5c9be8d5 100644 --- a/EventarcPublishing/src/V1/PublishChannelConnectionEventsRequest.php +++ b/EventarcPublishing/src/V1/PublishChannelConnectionEventsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\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 PublishChannelConnectionEvents method. @@ -49,10 +49,10 @@ class PublishChannelConnectionEventsRequest extends \Google\Protobuf\Internal\Me * @type string $channel_connection * The channel_connection that the events are published from. For example: * `projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`. - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $events + * @type \Google\Protobuf\Any[] $events * The CloudEvents v1.0 events to publish. No other types are allowed. * If this field is set, then the `text_events` fields must not be set. - * @type array|\Google\Protobuf\Internal\RepeatedField $text_events + * @type string[] $text_events * The text representation of events to publish. * CloudEvent v1.0 in JSON format is the only allowed type. Refer to * https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md @@ -98,7 +98,7 @@ public function setChannelConnection($var) * If this field is set, then the `text_events` fields must not be set. * * Generated from protobuf field repeated .google.protobuf.Any events = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Any> */ public function getEvents() { @@ -110,7 +110,7 @@ public function getEvents() * If this field is set, then the `text_events` fields must not be set. * * Generated from protobuf field repeated .google.protobuf.Any events = 2; - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Any[] $var * @return $this */ public function setEvents($var) @@ -129,7 +129,7 @@ public function setEvents($var) * If this field is set, then the `events` fields must not be set. * * Generated from protobuf field repeated string text_events = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTextEvents() { @@ -144,7 +144,7 @@ public function getTextEvents() * If this field is set, then the `events` fields must not be set. * * Generated from protobuf field repeated string text_events = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTextEvents($var) diff --git a/EventarcPublishing/src/V1/PublishChannelConnectionEventsResponse.php b/EventarcPublishing/src/V1/PublishChannelConnectionEventsResponse.php index 6a7494facfc6..b1c6087c6a03 100644 --- a/EventarcPublishing/src/V1/PublishChannelConnectionEventsResponse.php +++ b/EventarcPublishing/src/V1/PublishChannelConnectionEventsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\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 PublishChannelConnectionEvents method. diff --git a/EventarcPublishing/src/V1/PublishEventsRequest.php b/EventarcPublishing/src/V1/PublishEventsRequest.php index f5c6a6cfa164..eebb8e1bd622 100644 --- a/EventarcPublishing/src/V1/PublishEventsRequest.php +++ b/EventarcPublishing/src/V1/PublishEventsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\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 PublishEvents method. @@ -49,10 +49,10 @@ class PublishEventsRequest extends \Google\Protobuf\Internal\Message * @type string $channel * The full name of the channel to publish to. For example: * `projects/{project}/locations/{location}/channels/{channel-id}`. - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $events + * @type \Google\Protobuf\Any[] $events * The CloudEvents v1.0 events to publish. No other types are allowed. * If this field is set, then the `text_events` fields must not be set. - * @type array|\Google\Protobuf\Internal\RepeatedField $text_events + * @type string[] $text_events * The text representation of events to publish. * CloudEvent v1.0 in JSON format is the only allowed type. Refer to * https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md @@ -98,7 +98,7 @@ public function setChannel($var) * If this field is set, then the `text_events` fields must not be set. * * Generated from protobuf field repeated .google.protobuf.Any events = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Any> */ public function getEvents() { @@ -110,7 +110,7 @@ public function getEvents() * If this field is set, then the `text_events` fields must not be set. * * Generated from protobuf field repeated .google.protobuf.Any events = 2; - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Any[] $var * @return $this */ public function setEvents($var) @@ -129,7 +129,7 @@ public function setEvents($var) * If this field is set, then the `events` fields must not be set. * * Generated from protobuf field repeated string text_events = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTextEvents() { @@ -144,7 +144,7 @@ public function getTextEvents() * If this field is set, then the `events` fields must not be set. * * Generated from protobuf field repeated string text_events = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTextEvents($var) diff --git a/EventarcPublishing/src/V1/PublishEventsResponse.php b/EventarcPublishing/src/V1/PublishEventsResponse.php index 4291ac3bfd78..7df47c5992c0 100644 --- a/EventarcPublishing/src/V1/PublishEventsResponse.php +++ b/EventarcPublishing/src/V1/PublishEventsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\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 PublishEvents method. diff --git a/EventarcPublishing/src/V1/PublishRequest.php b/EventarcPublishing/src/V1/PublishRequest.php index ce20979caf11..985eb39b3bd3 100644 --- a/EventarcPublishing/src/V1/PublishRequest.php +++ b/EventarcPublishing/src/V1/PublishRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\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 Publish method. diff --git a/EventarcPublishing/src/V1/PublishResponse.php b/EventarcPublishing/src/V1/PublishResponse.php index 76e083aea440..b5742280c18a 100644 --- a/EventarcPublishing/src/V1/PublishResponse.php +++ b/EventarcPublishing/src/V1/PublishResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Eventarc\Publishing\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 Publish method. diff --git a/Filestore/metadata/V1/CloudFilestoreService.php b/Filestore/metadata/V1/CloudFilestoreService.php index 68de63ec9fc6..09628506404f 100644 Binary files a/Filestore/metadata/V1/CloudFilestoreService.php and b/Filestore/metadata/V1/CloudFilestoreService.php differ diff --git a/Filestore/src/V1/Backup.php b/Filestore/src/V1/Backup.php index ec543a620f09..a7536ce090e2 100644 --- a/Filestore/src/V1/Backup.php +++ b/Filestore/src/V1/Backup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Filestore backup. diff --git a/Filestore/src/V1/Backup/State.php b/Filestore/src/V1/Backup/State.php index a2187268316c..f2dc406c1297 100644 --- a/Filestore/src/V1/Backup/State.php +++ b/Filestore/src/V1/Backup/State.php @@ -82,4 +82,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/CreateBackupRequest.php b/Filestore/src/V1/CreateBackupRequest.php index 424464671ce1..a7eb7a24fde9 100644 --- a/Filestore/src/V1/CreateBackupRequest.php +++ b/Filestore/src/V1/CreateBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CreateBackupRequest creates a backup. diff --git a/Filestore/src/V1/CreateInstanceRequest.php b/Filestore/src/V1/CreateInstanceRequest.php index 1e1334b891cb..96ab62f5b1ef 100644 --- a/Filestore/src/V1/CreateInstanceRequest.php +++ b/Filestore/src/V1/CreateInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CreateInstanceRequest creates an instance. diff --git a/Filestore/src/V1/CreateSnapshotRequest.php b/Filestore/src/V1/CreateSnapshotRequest.php index 314fbaba9cc4..3e4fac052c61 100644 --- a/Filestore/src/V1/CreateSnapshotRequest.php +++ b/Filestore/src/V1/CreateSnapshotRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * CreateSnapshotRequest creates a snapshot. diff --git a/Filestore/src/V1/DeleteBackupRequest.php b/Filestore/src/V1/DeleteBackupRequest.php index 62048dd9520f..452926bb635a 100644 --- a/Filestore/src/V1/DeleteBackupRequest.php +++ b/Filestore/src/V1/DeleteBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DeleteBackupRequest deletes a backup. diff --git a/Filestore/src/V1/DeleteInstanceRequest.php b/Filestore/src/V1/DeleteInstanceRequest.php index 02964f58e99a..e30be6979362 100644 --- a/Filestore/src/V1/DeleteInstanceRequest.php +++ b/Filestore/src/V1/DeleteInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DeleteInstanceRequest deletes an instance. diff --git a/Filestore/src/V1/DeleteSnapshotRequest.php b/Filestore/src/V1/DeleteSnapshotRequest.php index ef16ddaceaf3..7e5b972e6dd6 100644 --- a/Filestore/src/V1/DeleteSnapshotRequest.php +++ b/Filestore/src/V1/DeleteSnapshotRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * DeleteSnapshotRequest deletes a snapshot. diff --git a/Filestore/src/V1/FileShareConfig.php b/Filestore/src/V1/FileShareConfig.php index dc1cb573dd40..0757ee19fd64 100644 --- a/Filestore/src/V1/FileShareConfig.php +++ b/Filestore/src/V1/FileShareConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * File share configuration for the instance. @@ -58,7 +58,7 @@ class FileShareConfig extends \Google\Protobuf\Internal\Message * The resource name of the backup, in the format * `projects/{project_number}/locations/{location_id}/backups/{backup_id}`, * that this file share has been restored from. - * @type array<\Google\Cloud\Filestore\V1\NfsExportOptions>|\Google\Protobuf\Internal\RepeatedField $nfs_export_options + * @type \Google\Cloud\Filestore\V1\NfsExportOptions[] $nfs_export_options * Nfs Export Options. * There is a limit of 10 export options per file share. * } @@ -168,7 +168,7 @@ public function setSourceBackup($var) * There is a limit of 10 export options per file share. * * Generated from protobuf field repeated .google.cloud.filestore.v1.NfsExportOptions nfs_export_options = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Filestore\V1\NfsExportOptions> */ public function getNfsExportOptions() { @@ -180,7 +180,7 @@ public function getNfsExportOptions() * There is a limit of 10 export options per file share. * * Generated from protobuf field repeated .google.cloud.filestore.v1.NfsExportOptions nfs_export_options = 7; - * @param array<\Google\Cloud\Filestore\V1\NfsExportOptions>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Filestore\V1\NfsExportOptions[] $var * @return $this */ public function setNfsExportOptions($var) diff --git a/Filestore/src/V1/GetBackupRequest.php b/Filestore/src/V1/GetBackupRequest.php index 89d8bdb44e69..db9774c5261f 100644 --- a/Filestore/src/V1/GetBackupRequest.php +++ b/Filestore/src/V1/GetBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * GetBackupRequest gets the state of a backup. diff --git a/Filestore/src/V1/GetInstanceRequest.php b/Filestore/src/V1/GetInstanceRequest.php index a034a1692709..3f25ccfbef61 100644 --- a/Filestore/src/V1/GetInstanceRequest.php +++ b/Filestore/src/V1/GetInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * GetInstanceRequest gets the state of an instance. diff --git a/Filestore/src/V1/GetSnapshotRequest.php b/Filestore/src/V1/GetSnapshotRequest.php index a5831ec43669..509672ca278a 100644 --- a/Filestore/src/V1/GetSnapshotRequest.php +++ b/Filestore/src/V1/GetSnapshotRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * GetSnapshotRequest gets the state of a snapshot. diff --git a/Filestore/src/V1/Instance.php b/Filestore/src/V1/Instance.php index 583c2498865e..e182d0af3e69 100644 --- a/Filestore/src/V1/Instance.php +++ b/Filestore/src/V1/Instance.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Filestore instance. @@ -187,10 +187,10 @@ class Instance extends \Google\Protobuf\Internal\Message * The service tier of the instance. * @type array|\Google\Protobuf\Internal\MapField $labels * Resource labels to represent user provided metadata. - * @type array<\Google\Cloud\Filestore\V1\FileShareConfig>|\Google\Protobuf\Internal\RepeatedField $file_shares + * @type \Google\Cloud\Filestore\V1\FileShareConfig[] $file_shares * File system shares on the instance. * For this version, only a single file share is supported. - * @type array<\Google\Cloud\Filestore\V1\NetworkConfig>|\Google\Protobuf\Internal\RepeatedField $networks + * @type \Google\Cloud\Filestore\V1\NetworkConfig[] $networks * VPC networks to which the instance is connected. * For this version, only a single network is supported. * @type string $etag @@ -202,7 +202,7 @@ class Instance extends \Google\Protobuf\Internal\Message * Output only. Reserved for future use. * @type string $kms_key_name * KMS key name used for data encryption. - * @type array|\Google\Protobuf\Internal\RepeatedField $suspension_reasons + * @type int[] $suspension_reasons * Output only. Field indicates all the reasons the instance is in "SUSPENDED" * state. * @type \Google\Cloud\Filestore\V1\Replication $replication @@ -440,7 +440,7 @@ public function setLabels($var) * For this version, only a single file share is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.FileShareConfig file_shares = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Filestore\V1\FileShareConfig> */ public function getFileShares() { @@ -452,7 +452,7 @@ public function getFileShares() * For this version, only a single file share is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.FileShareConfig file_shares = 10; - * @param array<\Google\Cloud\Filestore\V1\FileShareConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Filestore\V1\FileShareConfig[] $var * @return $this */ public function setFileShares($var) @@ -468,7 +468,7 @@ public function setFileShares($var) * For this version, only a single network is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.NetworkConfig networks = 11; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Filestore\V1\NetworkConfig> */ public function getNetworks() { @@ -480,7 +480,7 @@ public function getNetworks() * For this version, only a single network is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.NetworkConfig networks = 11; - * @param array<\Google\Cloud\Filestore\V1\NetworkConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Filestore\V1\NetworkConfig[] $var * @return $this */ public function setNetworks($var) @@ -639,7 +639,7 @@ public function setKmsKeyName($var) * state. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSuspensionReasons() { @@ -651,7 +651,7 @@ public function getSuspensionReasons() * state. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setSuspensionReasons($var) diff --git a/Filestore/src/V1/Instance/FileProtocol.php b/Filestore/src/V1/Instance/FileProtocol.php index 6459f2c13c79..835dffb2d379 100644 --- a/Filestore/src/V1/Instance/FileProtocol.php +++ b/Filestore/src/V1/Instance/FileProtocol.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/Instance/FixedIOPS.php b/Filestore/src/V1/Instance/FixedIOPS.php index 19cda1354969..9a670f997543 100644 --- a/Filestore/src/V1/Instance/FixedIOPS.php +++ b/Filestore/src/V1/Instance/FixedIOPS.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1\Instance; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Fixed IOPS (input/output operations per second) parameters. @@ -65,4 +65,3 @@ public function setMaxIops($var) } - diff --git a/Filestore/src/V1/Instance/IOPSPerTB.php b/Filestore/src/V1/Instance/IOPSPerTB.php index 1c8aedc2d17a..40228f3efdfd 100644 --- a/Filestore/src/V1/Instance/IOPSPerTB.php +++ b/Filestore/src/V1/Instance/IOPSPerTB.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1\Instance; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * IOPS per TB. @@ -66,4 +66,3 @@ public function setMaxIopsPerTb($var) } - diff --git a/Filestore/src/V1/Instance/PerformanceConfig.php b/Filestore/src/V1/Instance/PerformanceConfig.php index e54bceaa68f7..0f3afb92196c 100644 --- a/Filestore/src/V1/Instance/PerformanceConfig.php +++ b/Filestore/src/V1/Instance/PerformanceConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1\Instance; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Used for setting the performance configuration. @@ -160,4 +160,3 @@ public function getMode() } - diff --git a/Filestore/src/V1/Instance/PerformanceLimits.php b/Filestore/src/V1/Instance/PerformanceLimits.php index 5991823e77a7..ab351ce45f0a 100644 --- a/Filestore/src/V1/Instance/PerformanceLimits.php +++ b/Filestore/src/V1/Instance/PerformanceLimits.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1\Instance; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The enforced performance limits, calculated from the instance's performance @@ -202,4 +202,3 @@ public function setMaxWriteThroughputBps($var) } - diff --git a/Filestore/src/V1/Instance/State.php b/Filestore/src/V1/Instance/State.php index 6bc770f4f031..da6a9d187d0e 100644 --- a/Filestore/src/V1/Instance/State.php +++ b/Filestore/src/V1/Instance/State.php @@ -127,4 +127,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/Instance/SuspensionReason.php b/Filestore/src/V1/Instance/SuspensionReason.php index 12fd8ca8238f..1e5b1ff2c651 100644 --- a/Filestore/src/V1/Instance/SuspensionReason.php +++ b/Filestore/src/V1/Instance/SuspensionReason.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/Instance/Tier.php b/Filestore/src/V1/Instance/Tier.php index e4257c033079..d79d25a07616 100644 --- a/Filestore/src/V1/Instance/Tier.php +++ b/Filestore/src/V1/Instance/Tier.php @@ -109,4 +109,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/ListBackupsRequest.php b/Filestore/src/V1/ListBackupsRequest.php index 2e8d840adf8e..b397a47bb892 100644 --- a/Filestore/src/V1/ListBackupsRequest.php +++ b/Filestore/src/V1/ListBackupsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ListBackupsRequest lists backups. diff --git a/Filestore/src/V1/ListBackupsResponse.php b/Filestore/src/V1/ListBackupsResponse.php index 689e3bd02e0a..5b69d52dd967 100644 --- a/Filestore/src/V1/ListBackupsResponse.php +++ b/Filestore/src/V1/ListBackupsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ListBackupsResponse is the result of ListBackupsRequest. @@ -46,7 +46,7 @@ class ListBackupsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Filestore\V1\Backup>|\Google\Protobuf\Internal\RepeatedField $backups + * @type \Google\Cloud\Filestore\V1\Backup[] $backups * A list of backups in the project for the specified location. * If the `{location}` value in the request is "-", the response contains a * list of backups from all locations. If any location is unreachable, the @@ -56,7 +56,7 @@ class ListBackupsResponse extends \Google\Protobuf\Internal\Message * @type string $next_page_token * The token you can use to retrieve the next page of results. Not returned * if there are no more results in the list. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -74,7 +74,7 @@ public function __construct($data = NULL) { * locations. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Backup backups = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Filestore\V1\Backup> */ public function getBackups() { @@ -90,7 +90,7 @@ public function getBackups() * locations. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Backup backups = 1; - * @param array<\Google\Cloud\Filestore\V1\Backup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Filestore\V1\Backup[] $var * @return $this */ public function setBackups($var) @@ -133,7 +133,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() { @@ -144,7 +144,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/Filestore/src/V1/ListInstancesRequest.php b/Filestore/src/V1/ListInstancesRequest.php index 07408da70f18..f0fb84eeb3f0 100644 --- a/Filestore/src/V1/ListInstancesRequest.php +++ b/Filestore/src/V1/ListInstancesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ListInstancesRequest lists instances. diff --git a/Filestore/src/V1/ListInstancesResponse.php b/Filestore/src/V1/ListInstancesResponse.php index 153d6374e7d5..8417df7d83da 100644 --- a/Filestore/src/V1/ListInstancesResponse.php +++ b/Filestore/src/V1/ListInstancesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ListInstancesResponse is the result of ListInstancesRequest. @@ -45,7 +45,7 @@ class ListInstancesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Filestore\V1\Instance>|\Google\Protobuf\Internal\RepeatedField $instances + * @type \Google\Cloud\Filestore\V1\Instance[] $instances * A list of instances in the project for the specified location. * If the `{location}` value in the request is "-", the response contains a * list of instances from all locations. If any location is unreachable, the @@ -54,7 +54,7 @@ class ListInstancesResponse extends \Google\Protobuf\Internal\Message * @type string $next_page_token * The token you can use to retrieve the next page of results. Not returned * if there are no more results in the list. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -71,7 +71,7 @@ public function __construct($data = NULL) { * "unreachable" field will be populated with a list of unreachable locations. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Instance instances = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Filestore\V1\Instance> */ public function getInstances() { @@ -86,7 +86,7 @@ public function getInstances() * "unreachable" field will be populated with a list of unreachable locations. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Instance instances = 1; - * @param array<\Google\Cloud\Filestore\V1\Instance>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Filestore\V1\Instance[] $var * @return $this */ public function setInstances($var) @@ -129,7 +129,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() { @@ -140,7 +140,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/Filestore/src/V1/ListSnapshotsRequest.php b/Filestore/src/V1/ListSnapshotsRequest.php index f965396c4b26..f400f546f539 100644 --- a/Filestore/src/V1/ListSnapshotsRequest.php +++ b/Filestore/src/V1/ListSnapshotsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ListSnapshotsRequest lists snapshots. diff --git a/Filestore/src/V1/ListSnapshotsResponse.php b/Filestore/src/V1/ListSnapshotsResponse.php index a1e4aaf69b01..78961f86aa71 100644 --- a/Filestore/src/V1/ListSnapshotsResponse.php +++ b/Filestore/src/V1/ListSnapshotsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ListSnapshotsResponse is the result of ListSnapshotsRequest. @@ -41,12 +41,12 @@ class ListSnapshotsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Filestore\V1\Snapshot>|\Google\Protobuf\Internal\RepeatedField $snapshots + * @type \Google\Cloud\Filestore\V1\Snapshot[] $snapshots * A list of snapshots in the project for the specified instance. * @type string $next_page_token * The token you can use to retrieve the next page of results. Not returned * if there are no more results in the list. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * A list of snapshots in the project for the specified instance. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Snapshot snapshots = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Filestore\V1\Snapshot> */ public function getSnapshots() { @@ -70,7 +70,7 @@ public function getSnapshots() * A list of snapshots in the project for the specified instance. * * Generated from protobuf field repeated .google.cloud.filestore.v1.Snapshot snapshots = 1; - * @param array<\Google\Cloud\Filestore\V1\Snapshot>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Filestore\V1\Snapshot[] $var * @return $this */ public function setSnapshots($var) @@ -113,7 +113,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() { @@ -124,7 +124,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/Filestore/src/V1/NetworkConfig.php b/Filestore/src/V1/NetworkConfig.php index 201ade29815d..10538f87f028 100644 --- a/Filestore/src/V1/NetworkConfig.php +++ b/Filestore/src/V1/NetworkConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Network configuration for the instance. @@ -78,7 +78,7 @@ class NetworkConfig extends \Google\Protobuf\Internal\Message * The name of the Google Compute Engine * [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the * instance is connected. - * @type array|\Google\Protobuf\Internal\RepeatedField $modes + * @type int[] $modes * Internet protocol versions for which the instance has IP addresses * assigned. For this version, only MODE_IPV4 is supported. * @type string $reserved_ip_range @@ -99,7 +99,7 @@ class NetworkConfig extends \Google\Protobuf\Internal\Message * range you specify can't overlap with either existing subnets or assigned IP * address ranges for other Filestore instances in the selected VPC * network. - * @type array|\Google\Protobuf\Internal\RepeatedField $ip_addresses + * @type string[] $ip_addresses * Output only. IPv4 addresses in the format * `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format * `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`. @@ -148,7 +148,7 @@ public function setNetwork($var) * assigned. For this version, only MODE_IPV4 is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getModes() { @@ -160,7 +160,7 @@ public function getModes() * assigned. For this version, only MODE_IPV4 is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.NetworkConfig.AddressMode modes = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setModes($var) @@ -235,7 +235,7 @@ public function setReservedIpRange($var) * `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`. * * Generated from protobuf field repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIpAddresses() { @@ -248,7 +248,7 @@ public function getIpAddresses() * `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`. * * Generated from protobuf field repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIpAddresses($var) diff --git a/Filestore/src/V1/NetworkConfig/AddressMode.php b/Filestore/src/V1/NetworkConfig/AddressMode.php index 87bb549763c1..545eacaac7d6 100644 --- a/Filestore/src/V1/NetworkConfig/AddressMode.php +++ b/Filestore/src/V1/NetworkConfig/AddressMode.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/NetworkConfig/ConnectMode.php b/Filestore/src/V1/NetworkConfig/ConnectMode.php index ec79bedd5bbd..a0efdcd6785a 100644 --- a/Filestore/src/V1/NetworkConfig/ConnectMode.php +++ b/Filestore/src/V1/NetworkConfig/ConnectMode.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/NfsExportOptions.php b/Filestore/src/V1/NfsExportOptions.php index 9e58d779e63d..1b45ae255251 100644 --- a/Filestore/src/V1/NfsExportOptions.php +++ b/Filestore/src/V1/NfsExportOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * NFS export options specifications. @@ -69,7 +69,7 @@ class NfsExportOptions extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $ip_ranges + * @type string[] $ip_ranges * List of either an IPv4 addresses in the format * `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format * `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the @@ -114,7 +114,7 @@ public function __construct($data = NULL) { * NfsExportOptions. * * Generated from protobuf field repeated string ip_ranges = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getIpRanges() { @@ -132,7 +132,7 @@ public function getIpRanges() * NfsExportOptions. * * Generated from protobuf field repeated string ip_ranges = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setIpRanges($var) diff --git a/Filestore/src/V1/NfsExportOptions/AccessMode.php b/Filestore/src/V1/NfsExportOptions/AccessMode.php index 16141313e879..8fd7a234fe74 100644 --- a/Filestore/src/V1/NfsExportOptions/AccessMode.php +++ b/Filestore/src/V1/NfsExportOptions/AccessMode.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/NfsExportOptions/SquashMode.php b/Filestore/src/V1/NfsExportOptions/SquashMode.php index bb4b3ca7dc2b..78dd136c8b09 100644 --- a/Filestore/src/V1/NfsExportOptions/SquashMode.php +++ b/Filestore/src/V1/NfsExportOptions/SquashMode.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/PromoteReplicaRequest.php b/Filestore/src/V1/PromoteReplicaRequest.php index cce4d1557237..8c1d45bab698 100644 --- a/Filestore/src/V1/PromoteReplicaRequest.php +++ b/Filestore/src/V1/PromoteReplicaRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * PromoteReplicaRequest promotes a Filestore standby instance (replica). diff --git a/Filestore/src/V1/ReplicaConfig.php b/Filestore/src/V1/ReplicaConfig.php index 7e449196d06c..82522986f2fd 100644 --- a/Filestore/src/V1/ReplicaConfig.php +++ b/Filestore/src/V1/ReplicaConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Replica configuration for the instance. @@ -50,7 +50,7 @@ class ReplicaConfig extends \Google\Protobuf\Internal\Message * * @type int $state * Output only. The replica state. - * @type array|\Google\Protobuf\Internal\RepeatedField $state_reasons + * @type int[] $state_reasons * Output only. Additional information about the replication state, if * available. * @type string $peer_instance @@ -96,7 +96,7 @@ public function setState($var) * available. * * Generated from protobuf field repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getStateReasons() { @@ -108,7 +108,7 @@ public function getStateReasons() * available. * * Generated from protobuf field repeated .google.cloud.filestore.v1.ReplicaConfig.StateReason state_reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setStateReasons($var) diff --git a/Filestore/src/V1/ReplicaConfig/State.php b/Filestore/src/V1/ReplicaConfig/State.php index cc45c4abbb7c..b43bc3124d42 100644 --- a/Filestore/src/V1/ReplicaConfig/State.php +++ b/Filestore/src/V1/ReplicaConfig/State.php @@ -75,4 +75,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/ReplicaConfig/StateReason.php b/Filestore/src/V1/ReplicaConfig/StateReason.php index 0e625e0e13ec..b81763fcca72 100644 --- a/Filestore/src/V1/ReplicaConfig/StateReason.php +++ b/Filestore/src/V1/ReplicaConfig/StateReason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/Replication.php b/Filestore/src/V1/Replication.php index 476868013e38..313358540074 100644 --- a/Filestore/src/V1/Replication.php +++ b/Filestore/src/V1/Replication.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Replication specifications. @@ -37,7 +37,7 @@ class Replication extends \Google\Protobuf\Internal\Message * * @type int $role * Optional. The replication role. - * @type array<\Google\Cloud\Filestore\V1\ReplicaConfig>|\Google\Protobuf\Internal\RepeatedField $replicas + * @type \Google\Cloud\Filestore\V1\ReplicaConfig[] $replicas * Optional. Replication configuration for the replica instance associated * with this instance. Only a single replica is supported. * } @@ -78,7 +78,7 @@ public function setRole($var) * with this instance. Only a single replica is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.ReplicaConfig replicas = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Filestore\V1\ReplicaConfig> */ public function getReplicas() { @@ -90,7 +90,7 @@ public function getReplicas() * with this instance. Only a single replica is supported. * * Generated from protobuf field repeated .google.cloud.filestore.v1.ReplicaConfig replicas = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Filestore\V1\ReplicaConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Filestore\V1\ReplicaConfig[] $var * @return $this */ public function setReplicas($var) diff --git a/Filestore/src/V1/Replication/Role.php b/Filestore/src/V1/Replication/Role.php index 9c309ec763a9..7fe1b8bafa45 100644 --- a/Filestore/src/V1/Replication/Role.php +++ b/Filestore/src/V1/Replication/Role.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/RestoreInstanceRequest.php b/Filestore/src/V1/RestoreInstanceRequest.php index 85a76b2484c5..a39c3eca4ed8 100644 --- a/Filestore/src/V1/RestoreInstanceRequest.php +++ b/Filestore/src/V1/RestoreInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RestoreInstanceRequest restores an existing instance's file share from a diff --git a/Filestore/src/V1/RevertInstanceRequest.php b/Filestore/src/V1/RevertInstanceRequest.php index 1b77a2e26578..50f74b6dc4b0 100644 --- a/Filestore/src/V1/RevertInstanceRequest.php +++ b/Filestore/src/V1/RevertInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RevertInstanceRequest reverts the given instance's file share to the diff --git a/Filestore/src/V1/Snapshot.php b/Filestore/src/V1/Snapshot.php index 899920450bc7..145841e5ed98 100644 --- a/Filestore/src/V1/Snapshot.php +++ b/Filestore/src/V1/Snapshot.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Filestore snapshot. diff --git a/Filestore/src/V1/Snapshot/State.php b/Filestore/src/V1/Snapshot/State.php index 55144e2b8439..2cdafd14a82c 100644 --- a/Filestore/src/V1/Snapshot/State.php +++ b/Filestore/src/V1/Snapshot/State.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Filestore/src/V1/UpdateBackupRequest.php b/Filestore/src/V1/UpdateBackupRequest.php index 1af115b57bb8..582d93965619 100644 --- a/Filestore/src/V1/UpdateBackupRequest.php +++ b/Filestore/src/V1/UpdateBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * UpdateBackupRequest updates description and/or labels for a backup. diff --git a/Filestore/src/V1/UpdateInstanceRequest.php b/Filestore/src/V1/UpdateInstanceRequest.php index bf73c0261666..9739e974f011 100644 --- a/Filestore/src/V1/UpdateInstanceRequest.php +++ b/Filestore/src/V1/UpdateInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * UpdateInstanceRequest updates the settings of an instance. diff --git a/Filestore/src/V1/UpdateSnapshotRequest.php b/Filestore/src/V1/UpdateSnapshotRequest.php index a2afac066a32..7583c45d56a9 100644 --- a/Filestore/src/V1/UpdateSnapshotRequest.php +++ b/Filestore/src/V1/UpdateSnapshotRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Filestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * UpdateSnapshotRequest updates description and/or labels for a snapshot. diff --git a/FinancialServices/metadata/V1/BacktestResult.php b/FinancialServices/metadata/V1/BacktestResult.php index 843aa037c462..2ba89a547e54 100644 Binary files a/FinancialServices/metadata/V1/BacktestResult.php and b/FinancialServices/metadata/V1/BacktestResult.php differ diff --git a/FinancialServices/metadata/V1/BigqueryDestination.php b/FinancialServices/metadata/V1/BigqueryDestination.php index a2446159bd84..962852689ce3 100644 Binary files a/FinancialServices/metadata/V1/BigqueryDestination.php and b/FinancialServices/metadata/V1/BigqueryDestination.php differ diff --git a/FinancialServices/metadata/V1/Dataset.php b/FinancialServices/metadata/V1/Dataset.php index 7679f23c38a7..9f2c1bbfcc08 100644 Binary files a/FinancialServices/metadata/V1/Dataset.php and b/FinancialServices/metadata/V1/Dataset.php differ diff --git a/FinancialServices/metadata/V1/EngineConfig.php b/FinancialServices/metadata/V1/EngineConfig.php index 1473adcfacd8..3f1257b86362 100644 Binary files a/FinancialServices/metadata/V1/EngineConfig.php and b/FinancialServices/metadata/V1/EngineConfig.php differ diff --git a/FinancialServices/metadata/V1/EngineVersion.php b/FinancialServices/metadata/V1/EngineVersion.php index 216077372051..16e3c0f4d2be 100644 Binary files a/FinancialServices/metadata/V1/EngineVersion.php and b/FinancialServices/metadata/V1/EngineVersion.php differ diff --git a/FinancialServices/metadata/V1/Instance.php b/FinancialServices/metadata/V1/Instance.php index e2a17aac32b5..3377c52147ca 100644 Binary files a/FinancialServices/metadata/V1/Instance.php and b/FinancialServices/metadata/V1/Instance.php differ diff --git a/FinancialServices/metadata/V1/LineOfBusiness.php b/FinancialServices/metadata/V1/LineOfBusiness.php index f94e0d79fdb1..a527ba0f46c9 100644 Binary files a/FinancialServices/metadata/V1/LineOfBusiness.php and b/FinancialServices/metadata/V1/LineOfBusiness.php differ diff --git a/FinancialServices/metadata/V1/Model.php b/FinancialServices/metadata/V1/Model.php index a984a0414b15..a5191350b5d4 100644 Binary files a/FinancialServices/metadata/V1/Model.php and b/FinancialServices/metadata/V1/Model.php differ diff --git a/FinancialServices/metadata/V1/PredictionResult.php b/FinancialServices/metadata/V1/PredictionResult.php index 8a3c126a647a..0fe31765fc19 100644 Binary files a/FinancialServices/metadata/V1/PredictionResult.php and b/FinancialServices/metadata/V1/PredictionResult.php differ diff --git a/FinancialServices/metadata/V1/Service.php b/FinancialServices/metadata/V1/Service.php index 5427f47b173a..10116836d147 100644 --- a/FinancialServices/metadata/V1/Service.php +++ b/FinancialServices/metadata/V1/Service.php @@ -28,83 +28,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' -S -/google/cloud/financialservices/v1/service.proto!google.cloud.financialservices.v1google/api/client.protogoogle/api/field_behavior.proto7google/cloud/financialservices/v1/backtest_result.proto/google/cloud/financialservices/v1/dataset.proto5google/cloud/financialservices/v1/engine_config.proto6google/cloud/financialservices/v1/engine_version.proto0google/cloud/financialservices/v1/instance.proto-google/cloud/financialservices/v1/model.proto9google/cloud/financialservices/v1/prediction_result.proto#google/longrunning/operations.protogoogle/protobuf/empty.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 ( BA2J -AML - ListInstances7.google.cloud.financialservices.v1.ListInstancesRequest8.google.cloud.financialservices.v1.ListInstancesResponse">Aparent/-/v1/{parent=projects/*/locations/*}/instances - GetInstance5.google.cloud.financialservices.v1.GetInstanceRequest+.google.cloud.financialservices.v1.Instance"/v1/{name=projects/*/locations/*/instances/*/engineVersions/*} -ListEngineVersions<.google.cloud.financialservices.v1.ListEngineVersionsRequest=.google.cloud.financialservices.v1.ListEngineVersionsResponse"OAparent@>/v1/{parent=projects/*/locations/*/instances/*}/engineVersions -ListPredictionResults?.google.cloud.financialservices.v1.ListPredictionResultsRequest@.google.cloud.financialservices.v1.ListPredictionResultsResponse"RAparentCA/v1/{parent=projects/*/locations/*/instances/*}/predictionResults -GetPredictionResult=.google.cloud.financialservices.v1.GetPredictionResultRequest3.google.cloud.financialservices.v1.PredictionResult"PAnameCA/v1/{name=projects/*/locations/*/instances/*/predictionResults/*} -CreatePredictionResult@.google.cloud.financialservices.v1.CreatePredictionResultRequest.google.longrunning.Operation"A% -PredictionResultOperationMetadataA-parent,prediction_result,prediction_result_idV"A/v1/{parent=projects/*/locations/*/instances/*}/predictionResults:prediction_result -UpdatePredictionResult@.google.cloud.financialservices.v1.UpdatePredictionResultRequest.google.longrunning.Operation"A% -PredictionResultOperationMetadataAprediction_result,update_maskh2S/v1/{prediction_result.name=projects/*/locations/*/instances/*/predictionResults/*}:prediction_result -ExportPredictionResultMetadataH.google.cloud.financialservices.v1.ExportPredictionResultMetadataRequest.google.longrunning.Operation"A; -&ExportPredictionResultMetadataResponseOperationMetadataA1prediction_result,structured_metadata_destinationb"]/v1/{prediction_result=projects/*/locations/*/instances/*/predictionResults/*}:exportMetadata:* -DeletePredictionResult@.google.cloud.financialservices.v1.DeletePredictionResultRequest.google.longrunning.Operation"}A* -google.protobuf.EmptyOperationMetadataAnameC*A/v1/{name=projects/*/locations/*/instances/*/predictionResults/*} -ListBacktestResults=.google.cloud.financialservices.v1.ListBacktestResultsRequest>.google.cloud.financialservices.v1.ListBacktestResultsResponse"PAparentA?/v1/{parent=projects/*/locations/*/instances/*}/backtestResults -GetBacktestResult;.google.cloud.financialservices.v1.GetBacktestResultRequest1.google.cloud.financialservices.v1.BacktestResult"NAnameA?/v1/{name=projects/*/locations/*/instances/*/backtestResults/*} -CreateBacktestResult>.google.cloud.financialservices.v1.CreateBacktestResultRequest.google.longrunning.Operation"A# -BacktestResultOperationMetadataA)parent,backtest_result,backtest_result_idR"?/v1/{parent=projects/*/locations/*/instances/*}/backtestResults:backtest_result -UpdateBacktestResult>.google.cloud.financialservices.v1.UpdateBacktestResultRequest.google.longrunning.Operation"A# -BacktestResultOperationMetadataAbacktest_result,update_maskb2O/v1/{backtest_result.name=projects/*/locations/*/instances/*/backtestResults/*}:backtest_result -ExportBacktestResultMetadataF.google.cloud.financialservices.v1.ExportBacktestResultMetadataRequest.google.longrunning.Operation"A9 -$ExportBacktestResultMetadataResponseOperationMetadataA/backtest_result,structured_metadata_destination^"Y/v1/{backtest_result=projects/*/locations/*/instances/*/backtestResults/*}:exportMetadata:* -DeleteBacktestResult>.google.cloud.financialservices.v1.DeleteBacktestResultRequest.google.longrunning.Operation"{A* -google.protobuf.EmptyOperationMetadataAnameA*?/v1/{name=projects/*/locations/*/instances/*/backtestResults/*}TA financialservices.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -%com.google.cloud.financialservices.v1B ServiceProtoPZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb!Google.Cloud.FinancialServices.V1!Google\\Cloud\\FinancialServices\\V1$Google::Cloud::FinancialServices::V1bproto3' + "\x0A\xA2S\x0A/google/cloud/financialservices/v1/service.proto\x12!google.cloud.financialservices.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A7google/cloud/financialservices/v1/backtest_result.proto\x1A/google/cloud/financialservices/v1/dataset.proto\x1A5google/cloud/financialservices/v1/engine_config.proto\x1A6google/cloud/financialservices/v1/engine_version.proto\x1A0google/cloud/financialservices/v1/instance.proto\x1A-google/cloud/financialservices/v1/model.proto\x1A9google/cloud/financialservices/v1/prediction_result.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.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\x032\xB0J\x0A\x03AML\x12\xC2\x01\x0A\x0DListInstances\x127.google.cloud.financialservices.v1.ListInstancesRequest\x1A8.google.cloud.financialservices.v1.ListInstancesResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\xAF\x01\x0A\x0BGetInstance\x125.google.cloud.financialservices.v1.GetInstanceRequest\x1A+.google.cloud.financialservices.v1.Instance\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xE8\x01\x0A\x0ECreateInstance\x128.google.cloud.financialservices.v1.CreateInstanceRequest\x1A\x1D.google.longrunning.Operation\"}\xCAA\x1D\x0A\x08Instance\x12\x11OperationMetadata\xDAA\x1Bparent,instance,instance_id\x82\xD3\xE4\x93\x029\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xEA\x01\x0A\x0EUpdateInstance\x128.google.cloud.financialservices.v1.UpdateInstanceRequest\x1A\x1D.google.longrunning.Operation\"\x7F\xCAA\x1D\x0A\x08Instance\x12\x11OperationMetadata\xDAA\x14instance,update_mask\x82\xD3\xE4\x93\x02B26/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xD4\x01\x0A\x0EDeleteInstance\x128.google.cloud.financialservices.v1.DeleteInstanceRequest\x1A\x1D.google.longrunning.Operation\"i\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xAF\x02\x0A\x17ImportRegisteredParties\x12A.google.cloud.financialservices.v1.ImportRegisteredPartiesRequest\x1A\x1D.google.longrunning.Operation\"\xB1\x01\xCAA4\x0A\x1FImportRegisteredPartiesResponse\x12\x11OperationMetadata\xDAA'name,mode,line_of_business,party_tables\x82\xD3\xE4\x93\x02J\"E/v1/{name=projects/*/locations/*/instances/*}:importRegisteredParties:\x01*\x12\xA5\x02\x0A\x17ExportRegisteredParties\x12A.google.cloud.financialservices.v1.ExportRegisteredPartiesRequest\x1A\x1D.google.longrunning.Operation\"\xA7\x01\xCAA4\x0A\x1FExportRegisteredPartiesResponse\x12\x11OperationMetadata\xDAA\x1Dname,dataset,line_of_business\x82\xD3\xE4\x93\x02J\"E/v1/{name=projects/*/locations/*/instances/*}:exportRegisteredParties:\x01*\x12\xCA\x01\x0A\x0CListDatasets\x126.google.cloud.financialservices.v1.ListDatasetsRequest\x1A7.google.cloud.financialservices.v1.ListDatasetsResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1/{parent=projects/*/locations/*/instances/*}/datasets\x12\xB7\x01\x0A\x0AGetDataset\x124.google.cloud.financialservices.v1.GetDatasetRequest\x1A*.google.cloud.financialservices.v1.Dataset\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1/{name=projects/*/locations/*/instances/*/datasets/*}\x12\xEE\x01\x0A\x0DCreateDataset\x127.google.cloud.financialservices.v1.CreateDatasetRequest\x1A\x1D.google.longrunning.Operation\"\x84\x01\xCAA\x1C\x0A\x07Dataset\x12\x11OperationMetadata\xDAA\x19parent,dataset,dataset_id\x82\xD3\xE4\x93\x02C\"8/v1/{parent=projects/*/locations/*/instances/*}/datasets:\x07dataset\x12\xF0\x01\x0A\x0DUpdateDataset\x127.google.cloud.financialservices.v1.UpdateDatasetRequest\x1A\x1D.google.longrunning.Operation\"\x86\x01\xCAA\x1C\x0A\x07Dataset\x12\x11OperationMetadata\xDAA\x13dataset,update_mask\x82\xD3\xE4\x93\x02K2@/v1/{dataset.name=projects/*/locations/*/instances/*/datasets/*}:\x07dataset\x12\xDD\x01\x0A\x0DDeleteDataset\x127.google.cloud.financialservices.v1.DeleteDatasetRequest\x1A\x1D.google.longrunning.Operation\"t\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1/{name=projects/*/locations/*/instances/*/datasets/*}\x12\xC2\x01\x0A\x0AListModels\x124.google.cloud.financialservices.v1.ListModelsRequest\x1A5.google.cloud.financialservices.v1.ListModelsResponse\"G\xDAA\x06parent\x82\xD3\xE4\x93\x028\x126/v1/{parent=projects/*/locations/*/instances/*}/models\x12\xAF\x01\x0A\x08GetModel\x122.google.cloud.financialservices.v1.GetModelRequest\x1A(.google.cloud.financialservices.v1.Model\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1/{name=projects/*/locations/*/instances/*/models/*}\x12\xDF\x01\x0A\x0BCreateModel\x125.google.cloud.financialservices.v1.CreateModelRequest\x1A\x1D.google.longrunning.Operation\"z\xCAA\x1A\x0A\x05Model\x12\x11OperationMetadata\xDAA\x15parent,model,model_id\x82\xD3\xE4\x93\x02?\"6/v1/{parent=projects/*/locations/*/instances/*}/models:\x05model\x12\xE1\x01\x0A\x0BUpdateModel\x125.google.cloud.financialservices.v1.UpdateModelRequest\x1A\x1D.google.longrunning.Operation\"|\xCAA\x1A\x0A\x05Model\x12\x11OperationMetadata\xDAA\x11model,update_mask\x82\xD3\xE4\x93\x02E2/v1/{name=projects/*/locations/*/instances/*/engineVersions/*}\x12\xE2\x01\x0A\x12ListEngineVersions\x12<.google.cloud.financialservices.v1.ListEngineVersionsRequest\x1A=.google.cloud.financialservices.v1.ListEngineVersionsResponse\"O\xDAA\x06parent\x82\xD3\xE4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/instances/*}/engineVersions\x12\xEE\x01\x0A\x15ListPredictionResults\x12?.google.cloud.financialservices.v1.ListPredictionResultsRequest\x1A@.google.cloud.financialservices.v1.ListPredictionResultsResponse\"R\xDAA\x06parent\x82\xD3\xE4\x93\x02C\x12A/v1/{parent=projects/*/locations/*/instances/*}/predictionResults\x12\xDB\x01\x0A\x13GetPredictionResult\x12=.google.cloud.financialservices.v1.GetPredictionResultRequest\x1A3.google.cloud.financialservices.v1.PredictionResult\"P\xDAA\x04name\x82\xD3\xE4\x93\x02C\x12A/v1/{name=projects/*/locations/*/instances/*/predictionResults/*}\x12\xB0\x02\x0A\x16CreatePredictionResult\x12@.google.cloud.financialservices.v1.CreatePredictionResultRequest\x1A\x1D.google.longrunning.Operation\"\xB4\x01\xCAA%\x0A\x10PredictionResult\x12\x11OperationMetadata\xDAA-parent,prediction_result,prediction_result_id\x82\xD3\xE4\x93\x02V\"A/v1/{parent=projects/*/locations/*/instances/*}/predictionResults:\x11prediction_result\x12\xB2\x02\x0A\x16UpdatePredictionResult\x12@.google.cloud.financialservices.v1.UpdatePredictionResultRequest\x1A\x1D.google.longrunning.Operation\"\xB6\x01\xCAA%\x0A\x10PredictionResult\x12\x11OperationMetadata\xDAA\x1Dprediction_result,update_mask\x82\xD3\xE4\x93\x02h2S/v1/{prediction_result.name=projects/*/locations/*/instances/*/predictionResults/*}:\x11prediction_result\x12\xE6\x02\x0A\x1EExportPredictionResultMetadata\x12H.google.cloud.financialservices.v1.ExportPredictionResultMetadataRequest\x1A\x1D.google.longrunning.Operation\"\xDA\x01\xCAA;\x0A&ExportPredictionResultMetadataResponse\x12\x11OperationMetadata\xDAA1prediction_result,structured_metadata_destination\x82\xD3\xE4\x93\x02b\"]/v1/{prediction_result=projects/*/locations/*/instances/*/predictionResults/*}:exportMetadata:\x01*\x12\xF8\x01\x0A\x16DeletePredictionResult\x12@.google.cloud.financialservices.v1.DeletePredictionResultRequest\x1A\x1D.google.longrunning.Operation\"}\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02C*A/v1/{name=projects/*/locations/*/instances/*/predictionResults/*}\x12\xE6\x01\x0A\x13ListBacktestResults\x12=.google.cloud.financialservices.v1.ListBacktestResultsRequest\x1A>.google.cloud.financialservices.v1.ListBacktestResultsResponse\"P\xDAA\x06parent\x82\xD3\xE4\x93\x02A\x12?/v1/{parent=projects/*/locations/*/instances/*}/backtestResults\x12\xD3\x01\x0A\x11GetBacktestResult\x12;.google.cloud.financialservices.v1.GetBacktestResultRequest\x1A1.google.cloud.financialservices.v1.BacktestResult\"N\xDAA\x04name\x82\xD3\xE4\x93\x02A\x12?/v1/{name=projects/*/locations/*/instances/*/backtestResults/*}\x12\xA2\x02\x0A\x14CreateBacktestResult\x12>.google.cloud.financialservices.v1.CreateBacktestResultRequest\x1A\x1D.google.longrunning.Operation\"\xAA\x01\xCAA#\x0A\x0EBacktestResult\x12\x11OperationMetadata\xDAA)parent,backtest_result,backtest_result_id\x82\xD3\xE4\x93\x02R\"?/v1/{parent=projects/*/locations/*/instances/*}/backtestResults:\x0Fbacktest_result\x12\xA4\x02\x0A\x14UpdateBacktestResult\x12>.google.cloud.financialservices.v1.UpdateBacktestResultRequest\x1A\x1D.google.longrunning.Operation\"\xAC\x01\xCAA#\x0A\x0EBacktestResult\x12\x11OperationMetadata\xDAA\x1Bbacktest_result,update_mask\x82\xD3\xE4\x93\x02b2O/v1/{backtest_result.name=projects/*/locations/*/instances/*/backtestResults/*}:\x0Fbacktest_result\x12\xDA\x02\x0A\x1CExportBacktestResultMetadata\x12F.google.cloud.financialservices.v1.ExportBacktestResultMetadataRequest\x1A\x1D.google.longrunning.Operation\"\xD2\x01\xCAA9\x0A\$ExportBacktestResultMetadataResponse\x12\x11OperationMetadata\xDAA/backtest_result,structured_metadata_destination\x82\xD3\xE4\x93\x02^\"Y/v1/{backtest_result=projects/*/locations/*/instances/*/backtestResults/*}:exportMetadata:\x01*\x12\xF2\x01\x0A\x14DeleteBacktestResult\x12>.google.cloud.financialservices.v1.DeleteBacktestResultRequest\x1A\x1D.google.longrunning.Operation\"{\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02A*?/v1/{name=projects/*/locations/*/instances/*/backtestResults/*}\x1AT\xCAA financialservices.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xFB\x01\x0A%com.google.cloud.financialservices.v1B\x0CServiceProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xAA\x02!Google.Cloud.FinancialServices.V1\xCA\x02!Google\\Cloud\\FinancialServices\\V1\xEA\x02\$Google::Cloud::FinancialServices::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/FinancialServices/src/V1/BacktestResult.php b/FinancialServices/src/V1/BacktestResult.php index 2fb3280e7466..63d60c44905b 100644 --- a/FinancialServices/src/V1/BacktestResult.php +++ b/FinancialServices/src/V1/BacktestResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BacktestResult is created to test the performance of a model on a dataset. diff --git a/FinancialServices/src/V1/BacktestResult/PerformanceTarget.php b/FinancialServices/src/V1/BacktestResult/PerformanceTarget.php index c5aa1a3e6073..c599fe3bc85c 100644 --- a/FinancialServices/src/V1/BacktestResult/PerformanceTarget.php +++ b/FinancialServices/src/V1/BacktestResult/PerformanceTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1\BacktestResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * PerformanceTarget gives hints on how to evaluate the performance of a @@ -86,4 +86,3 @@ public function setPartyInvestigationsPerPeriodHint($var) } - diff --git a/FinancialServices/src/V1/BacktestResult/State.php b/FinancialServices/src/V1/BacktestResult/State.php index 389d74ee468d..145757bf839c 100644 --- a/FinancialServices/src/V1/BacktestResult/State.php +++ b/FinancialServices/src/V1/BacktestResult/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/BigQueryDestination.php b/FinancialServices/src/V1/BigQueryDestination.php index ac294882ac3a..5fc6e5c34b56 100644 --- a/FinancialServices/src/V1/BigQueryDestination.php +++ b/FinancialServices/src/V1/BigQueryDestination.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BigQueryDestination is a wrapper for BigQuery output information. diff --git a/FinancialServices/src/V1/BigQueryDestination/WriteDisposition.php b/FinancialServices/src/V1/BigQueryDestination/WriteDisposition.php index ec4711b07f43..f4f32b734346 100644 --- a/FinancialServices/src/V1/BigQueryDestination/WriteDisposition.php +++ b/FinancialServices/src/V1/BigQueryDestination/WriteDisposition.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/CreateBacktestResultRequest.php b/FinancialServices/src/V1/CreateBacktestResultRequest.php index e1d13ba27ae6..c218de9fe29d 100644 --- a/FinancialServices/src/V1/CreateBacktestResultRequest.php +++ b/FinancialServices/src/V1/CreateBacktestResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for creating a BacktestResult resource. diff --git a/FinancialServices/src/V1/CreateDatasetRequest.php b/FinancialServices/src/V1/CreateDatasetRequest.php index fe5d8b36f906..d48c22415b5b 100644 --- a/FinancialServices/src/V1/CreateDatasetRequest.php +++ b/FinancialServices/src/V1/CreateDatasetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for creating a Dataset resource. diff --git a/FinancialServices/src/V1/CreateEngineConfigRequest.php b/FinancialServices/src/V1/CreateEngineConfigRequest.php index 5a88a3192ca3..16c4d987794e 100644 --- a/FinancialServices/src/V1/CreateEngineConfigRequest.php +++ b/FinancialServices/src/V1/CreateEngineConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for creating an EngineConfig resource. diff --git a/FinancialServices/src/V1/CreateInstanceRequest.php b/FinancialServices/src/V1/CreateInstanceRequest.php index 3455d2ff331d..d750391e0e1d 100644 --- a/FinancialServices/src/V1/CreateInstanceRequest.php +++ b/FinancialServices/src/V1/CreateInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for creating a Instance resource. diff --git a/FinancialServices/src/V1/CreateModelRequest.php b/FinancialServices/src/V1/CreateModelRequest.php index a7a874084815..d0239234eb96 100644 --- a/FinancialServices/src/V1/CreateModelRequest.php +++ b/FinancialServices/src/V1/CreateModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for creating a Model resource. diff --git a/FinancialServices/src/V1/CreatePredictionResultRequest.php b/FinancialServices/src/V1/CreatePredictionResultRequest.php index bcc865f2e291..8d356f7c8995 100644 --- a/FinancialServices/src/V1/CreatePredictionResultRequest.php +++ b/FinancialServices/src/V1/CreatePredictionResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for creating a PredictionResult resource. diff --git a/FinancialServices/src/V1/Dataset.php b/FinancialServices/src/V1/Dataset.php index f2e1641ecafa..19f2189e7153 100644 --- a/FinancialServices/src/V1/Dataset.php +++ b/FinancialServices/src/V1/Dataset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The Dataset resource contains summary information about a dataset. diff --git a/FinancialServices/src/V1/Dataset/State.php b/FinancialServices/src/V1/Dataset/State.php index a63e60609b2a..4a435ef6aa72 100644 --- a/FinancialServices/src/V1/Dataset/State.php +++ b/FinancialServices/src/V1/Dataset/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/DeleteBacktestResultRequest.php b/FinancialServices/src/V1/DeleteBacktestResultRequest.php index c11d36c568fa..24a783909833 100644 --- a/FinancialServices/src/V1/DeleteBacktestResultRequest.php +++ b/FinancialServices/src/V1/DeleteBacktestResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for deleting a BacktestResult. diff --git a/FinancialServices/src/V1/DeleteDatasetRequest.php b/FinancialServices/src/V1/DeleteDatasetRequest.php index 5356b9d8ccbe..45347dc9d4e6 100644 --- a/FinancialServices/src/V1/DeleteDatasetRequest.php +++ b/FinancialServices/src/V1/DeleteDatasetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for deleting a Dataset. diff --git a/FinancialServices/src/V1/DeleteEngineConfigRequest.php b/FinancialServices/src/V1/DeleteEngineConfigRequest.php index 2723a27a3195..5ac0bce0abf4 100644 --- a/FinancialServices/src/V1/DeleteEngineConfigRequest.php +++ b/FinancialServices/src/V1/DeleteEngineConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for deleting an EngineConfig. diff --git a/FinancialServices/src/V1/DeleteInstanceRequest.php b/FinancialServices/src/V1/DeleteInstanceRequest.php index 6429211e0ad6..789bb91f0c23 100644 --- a/FinancialServices/src/V1/DeleteInstanceRequest.php +++ b/FinancialServices/src/V1/DeleteInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for deleting a Instance. diff --git a/FinancialServices/src/V1/DeleteModelRequest.php b/FinancialServices/src/V1/DeleteModelRequest.php index 3704536d61c7..0af7ad759b73 100644 --- a/FinancialServices/src/V1/DeleteModelRequest.php +++ b/FinancialServices/src/V1/DeleteModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for deleting a Model. diff --git a/FinancialServices/src/V1/DeletePredictionResultRequest.php b/FinancialServices/src/V1/DeletePredictionResultRequest.php index 3dfea806ef60..1e16b9e55f04 100644 --- a/FinancialServices/src/V1/DeletePredictionResultRequest.php +++ b/FinancialServices/src/V1/DeletePredictionResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for deleting a PredictionResult. diff --git a/FinancialServices/src/V1/EngineConfig.php b/FinancialServices/src/V1/EngineConfig.php index 9f61dd7a8b78..4535cf2b4658 100644 --- a/FinancialServices/src/V1/EngineConfig.php +++ b/FinancialServices/src/V1/EngineConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The EngineConfig resource creates the configuration for training a model. diff --git a/FinancialServices/src/V1/EngineConfig/HyperparameterSource.php b/FinancialServices/src/V1/EngineConfig/HyperparameterSource.php index fe634c9a59d6..c140b6d7902d 100644 --- a/FinancialServices/src/V1/EngineConfig/HyperparameterSource.php +++ b/FinancialServices/src/V1/EngineConfig/HyperparameterSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1\EngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Parameters for bootstrapping an Engine Config with the results of another @@ -116,4 +116,3 @@ public function setSourceEngineVersion($var) } - diff --git a/FinancialServices/src/V1/EngineConfig/HyperparameterSourceType.php b/FinancialServices/src/V1/EngineConfig/HyperparameterSourceType.php index 4e2bb8dae967..9b2e0d325695 100644 --- a/FinancialServices/src/V1/EngineConfig/HyperparameterSourceType.php +++ b/FinancialServices/src/V1/EngineConfig/HyperparameterSourceType.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/EngineConfig/PerformanceTarget.php b/FinancialServices/src/V1/EngineConfig/PerformanceTarget.php index 9a8fab9b9ac5..15ea2d1e8fc4 100644 --- a/FinancialServices/src/V1/EngineConfig/PerformanceTarget.php +++ b/FinancialServices/src/V1/EngineConfig/PerformanceTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1\EngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * PerformanceTarget gives hints on how to evaluate the performance of a @@ -86,4 +86,3 @@ public function setPartyInvestigationsPerPeriodHint($var) } - diff --git a/FinancialServices/src/V1/EngineConfig/State.php b/FinancialServices/src/V1/EngineConfig/State.php index 3a6caad1de75..c716511190e4 100644 --- a/FinancialServices/src/V1/EngineConfig/State.php +++ b/FinancialServices/src/V1/EngineConfig/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/EngineConfig/Tuning.php b/FinancialServices/src/V1/EngineConfig/Tuning.php index e7acd4766c37..e85ff4f55e8f 100644 --- a/FinancialServices/src/V1/EngineConfig/Tuning.php +++ b/FinancialServices/src/V1/EngineConfig/Tuning.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1\EngineConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The parameters needed for the tuning operation, these are used only in @@ -130,4 +130,3 @@ public function setEndTime($var) } - diff --git a/FinancialServices/src/V1/EngineVersion.php b/FinancialServices/src/V1/EngineVersion.php index d763498c8c44..5ea74fc3f222 100644 --- a/FinancialServices/src/V1/EngineVersion.php +++ b/FinancialServices/src/V1/EngineVersion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * EngineVersion controls which version of the engine is used to tune, train, diff --git a/FinancialServices/src/V1/EngineVersion/State.php b/FinancialServices/src/V1/EngineVersion/State.php index 64eb39e6d57d..ea6b35743b76 100644 --- a/FinancialServices/src/V1/EngineVersion/State.php +++ b/FinancialServices/src/V1/EngineVersion/State.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/ExportBacktestResultMetadataRequest.php b/FinancialServices/src/V1/ExportBacktestResultMetadataRequest.php index 00613bc3fc31..eae5c5b4f233 100644 --- a/FinancialServices/src/V1/ExportBacktestResultMetadataRequest.php +++ b/FinancialServices/src/V1/ExportBacktestResultMetadataRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for exporting BacktestResult metadata. diff --git a/FinancialServices/src/V1/ExportBacktestResultMetadataResponse.php b/FinancialServices/src/V1/ExportBacktestResultMetadataResponse.php index 8335f8a79986..fa1a41874e6d 100644 --- a/FinancialServices/src/V1/ExportBacktestResultMetadataResponse.php +++ b/FinancialServices/src/V1/ExportBacktestResultMetadataResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for exporting BacktestResult metadata. diff --git a/FinancialServices/src/V1/ExportEngineConfigMetadataRequest.php b/FinancialServices/src/V1/ExportEngineConfigMetadataRequest.php index 5a95bfe7a159..dadce193de81 100644 --- a/FinancialServices/src/V1/ExportEngineConfigMetadataRequest.php +++ b/FinancialServices/src/V1/ExportEngineConfigMetadataRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for exporting EngineConfig metadata. diff --git a/FinancialServices/src/V1/ExportEngineConfigMetadataResponse.php b/FinancialServices/src/V1/ExportEngineConfigMetadataResponse.php index 14ab030c15b3..58a55d78b082 100644 --- a/FinancialServices/src/V1/ExportEngineConfigMetadataResponse.php +++ b/FinancialServices/src/V1/ExportEngineConfigMetadataResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for exporting EngineConfig metadata. diff --git a/FinancialServices/src/V1/ExportModelMetadataRequest.php b/FinancialServices/src/V1/ExportModelMetadataRequest.php index 756726557e38..34703ac45a98 100644 --- a/FinancialServices/src/V1/ExportModelMetadataRequest.php +++ b/FinancialServices/src/V1/ExportModelMetadataRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for exporting Model metadata. diff --git a/FinancialServices/src/V1/ExportModelMetadataResponse.php b/FinancialServices/src/V1/ExportModelMetadataResponse.php index f5d45b2934d1..88fa5ce91777 100644 --- a/FinancialServices/src/V1/ExportModelMetadataResponse.php +++ b/FinancialServices/src/V1/ExportModelMetadataResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for exporting Model metadata. diff --git a/FinancialServices/src/V1/ExportPredictionResultMetadataRequest.php b/FinancialServices/src/V1/ExportPredictionResultMetadataRequest.php index eadf92d926ec..ac97ba6b04ee 100644 --- a/FinancialServices/src/V1/ExportPredictionResultMetadataRequest.php +++ b/FinancialServices/src/V1/ExportPredictionResultMetadataRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for exporting PredictionResult metadata. diff --git a/FinancialServices/src/V1/ExportPredictionResultMetadataResponse.php b/FinancialServices/src/V1/ExportPredictionResultMetadataResponse.php index 860b3bf5d5e1..28923ca75e70 100644 --- a/FinancialServices/src/V1/ExportPredictionResultMetadataResponse.php +++ b/FinancialServices/src/V1/ExportPredictionResultMetadataResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for exporting PredictionResult metadata. diff --git a/FinancialServices/src/V1/ExportRegisteredPartiesRequest.php b/FinancialServices/src/V1/ExportRegisteredPartiesRequest.php index afb9a1a2e580..3b3a2b08efca 100644 --- a/FinancialServices/src/V1/ExportRegisteredPartiesRequest.php +++ b/FinancialServices/src/V1/ExportRegisteredPartiesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request to export a list of currently registered parties. diff --git a/FinancialServices/src/V1/ExportRegisteredPartiesResponse.php b/FinancialServices/src/V1/ExportRegisteredPartiesResponse.php index a69ef53019d9..727da24aff2c 100644 --- a/FinancialServices/src/V1/ExportRegisteredPartiesResponse.php +++ b/FinancialServices/src/V1/ExportRegisteredPartiesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response to export registered parties request. diff --git a/FinancialServices/src/V1/GetBacktestResultRequest.php b/FinancialServices/src/V1/GetBacktestResultRequest.php index 6a237b5ec0f6..7a9032435dfc 100644 --- a/FinancialServices/src/V1/GetBacktestResultRequest.php +++ b/FinancialServices/src/V1/GetBacktestResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a specific BacktestResult resource. diff --git a/FinancialServices/src/V1/GetDatasetRequest.php b/FinancialServices/src/V1/GetDatasetRequest.php index de9084801326..1ec34fef20ca 100644 --- a/FinancialServices/src/V1/GetDatasetRequest.php +++ b/FinancialServices/src/V1/GetDatasetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a specific Dataset resource. diff --git a/FinancialServices/src/V1/GetEngineConfigRequest.php b/FinancialServices/src/V1/GetEngineConfigRequest.php index 3225d87d36ae..5a2c49cab5ce 100644 --- a/FinancialServices/src/V1/GetEngineConfigRequest.php +++ b/FinancialServices/src/V1/GetEngineConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a specific EngineConfig resource. diff --git a/FinancialServices/src/V1/GetEngineVersionRequest.php b/FinancialServices/src/V1/GetEngineVersionRequest.php index f74372b839ef..0de7d1c884e4 100644 --- a/FinancialServices/src/V1/GetEngineVersionRequest.php +++ b/FinancialServices/src/V1/GetEngineVersionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a specific EngineVersion resource. diff --git a/FinancialServices/src/V1/GetInstanceRequest.php b/FinancialServices/src/V1/GetInstanceRequest.php index 23b504d93881..00ac9c820e63 100644 --- a/FinancialServices/src/V1/GetInstanceRequest.php +++ b/FinancialServices/src/V1/GetInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a specific Instance resource. diff --git a/FinancialServices/src/V1/GetModelRequest.php b/FinancialServices/src/V1/GetModelRequest.php index aa40e5557837..5c94e459c051 100644 --- a/FinancialServices/src/V1/GetModelRequest.php +++ b/FinancialServices/src/V1/GetModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a specific Model resource. diff --git a/FinancialServices/src/V1/GetPredictionResultRequest.php b/FinancialServices/src/V1/GetPredictionResultRequest.php index f29e14dc12f5..5357b4d90738 100644 --- a/FinancialServices/src/V1/GetPredictionResultRequest.php +++ b/FinancialServices/src/V1/GetPredictionResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a specific PredictionResult resource. diff --git a/FinancialServices/src/V1/ImportRegisteredPartiesRequest.php b/FinancialServices/src/V1/ImportRegisteredPartiesRequest.php index dc160b00b459..7bebb6c8c6d7 100644 --- a/FinancialServices/src/V1/ImportRegisteredPartiesRequest.php +++ b/FinancialServices/src/V1/ImportRegisteredPartiesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for adding/removing registered parties from BigQuery tables @@ -91,7 +91,7 @@ public static function build(string $name, int $mode, int $lineOfBusiness, array * @type string $name * Required. The full path to the Instance resource in this API. * format: `projects/{project}/locations/{location}/instances/{instance}` - * @type array|\Google\Protobuf\Internal\RepeatedField $party_tables + * @type string[] $party_tables * Optional. List of BigQuery tables. Union of tables will be taken if there * is more than one table. VPC-SC restrictions apply. format: * `bq://{project}.{bqDatasetID}.{bqTableID}` Use of `datasets` is preferred @@ -149,7 +149,7 @@ public function setName($var) * same time * * Generated from protobuf field repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPartyTables() { @@ -165,7 +165,7 @@ public function getPartyTables() * same time * * Generated from protobuf field repeated string party_tables = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPartyTables($var) diff --git a/FinancialServices/src/V1/ImportRegisteredPartiesRequest/UpdateMode.php b/FinancialServices/src/V1/ImportRegisteredPartiesRequest/UpdateMode.php index 735a5bcb5418..ecc61101cc05 100644 --- a/FinancialServices/src/V1/ImportRegisteredPartiesRequest/UpdateMode.php +++ b/FinancialServices/src/V1/ImportRegisteredPartiesRequest/UpdateMode.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/ImportRegisteredPartiesResponse.php b/FinancialServices/src/V1/ImportRegisteredPartiesResponse.php index f6ea837b5f0a..b9c72b635e5a 100644 --- a/FinancialServices/src/V1/ImportRegisteredPartiesResponse.php +++ b/FinancialServices/src/V1/ImportRegisteredPartiesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for adding/removing registered parties from BigQuery tables. diff --git a/FinancialServices/src/V1/Instance.php b/FinancialServices/src/V1/Instance.php index afd52085a499..b4a2605c849c 100644 --- a/FinancialServices/src/V1/Instance.php +++ b/FinancialServices/src/V1/Instance.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Instance is a container for the rest of API resources. diff --git a/FinancialServices/src/V1/Instance/State.php b/FinancialServices/src/V1/Instance/State.php index 7a7ef685e451..03660a778f77 100644 --- a/FinancialServices/src/V1/Instance/State.php +++ b/FinancialServices/src/V1/Instance/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/ListBacktestResultsRequest.php b/FinancialServices/src/V1/ListBacktestResultsRequest.php index dabf15680a2a..e6078a7c0f12 100644 --- a/FinancialServices/src/V1/ListBacktestResultsRequest.php +++ b/FinancialServices/src/V1/ListBacktestResultsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a paginated list of BacktestResult resources that diff --git a/FinancialServices/src/V1/ListBacktestResultsResponse.php b/FinancialServices/src/V1/ListBacktestResultsResponse.php index 6fd6131d18f7..7236f09a3d66 100644 --- a/FinancialServices/src/V1/ListBacktestResultsResponse.php +++ b/FinancialServices/src/V1/ListBacktestResultsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for retrieving a list of BacktestResults @@ -42,13 +42,13 @@ class ListBacktestResultsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\FinancialServices\V1\BacktestResult>|\Google\Protobuf\Internal\RepeatedField $backtest_results + * @type \Google\Cloud\FinancialServices\V1\BacktestResult[] $backtest_results * List of BacktestResult resources * @type string $next_page_token * This token should be passed to the next ListBacktestResultsRequest to * retrieve the next page of BacktestResults (empty indicates we are * done). - * @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 BacktestResult resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.BacktestResult backtest_results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\FinancialServices\V1\BacktestResult> */ public function getBacktestResults() { @@ -72,7 +72,7 @@ public function getBacktestResults() * List of BacktestResult resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.BacktestResult backtest_results = 1; - * @param array<\Google\Cloud\FinancialServices\V1\BacktestResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\FinancialServices\V1\BacktestResult[] $var * @return $this */ public function setBacktestResults($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/FinancialServices/src/V1/ListDatasetsRequest.php b/FinancialServices/src/V1/ListDatasetsRequest.php index db11bb2392f2..d94f9c0c3755 100644 --- a/FinancialServices/src/V1/ListDatasetsRequest.php +++ b/FinancialServices/src/V1/ListDatasetsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a paginated list of Dataset resources that meet the diff --git a/FinancialServices/src/V1/ListDatasetsResponse.php b/FinancialServices/src/V1/ListDatasetsResponse.php index 59c9f6966dd0..1a695fa1fef0 100644 --- a/FinancialServices/src/V1/ListDatasetsResponse.php +++ b/FinancialServices/src/V1/ListDatasetsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for retrieving a list of Datasets @@ -41,12 +41,12 @@ class ListDatasetsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\FinancialServices\V1\Dataset>|\Google\Protobuf\Internal\RepeatedField $datasets + * @type \Google\Cloud\FinancialServices\V1\Dataset[] $datasets * List of Dataset resources * @type string $next_page_token * This token should be passed to the next ListDatasetsRequest to retrieve * the next page of Datasets (empty indicates we are done). - * @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 Dataset resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.Dataset datasets = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\FinancialServices\V1\Dataset> */ public function getDatasets() { @@ -70,7 +70,7 @@ public function getDatasets() * List of Dataset resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.Dataset datasets = 1; - * @param array<\Google\Cloud\FinancialServices\V1\Dataset>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\FinancialServices\V1\Dataset[] $var * @return $this */ public function setDatasets($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/FinancialServices/src/V1/ListEngineConfigsRequest.php b/FinancialServices/src/V1/ListEngineConfigsRequest.php index d81556def471..c0d7fd8384ef 100644 --- a/FinancialServices/src/V1/ListEngineConfigsRequest.php +++ b/FinancialServices/src/V1/ListEngineConfigsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a paginated list of EngineConfig resources that diff --git a/FinancialServices/src/V1/ListEngineConfigsResponse.php b/FinancialServices/src/V1/ListEngineConfigsResponse.php index b169bccf12f6..4e11c2a8a775 100644 --- a/FinancialServices/src/V1/ListEngineConfigsResponse.php +++ b/FinancialServices/src/V1/ListEngineConfigsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for retrieving a list of EngineConfigs @@ -41,12 +41,12 @@ class ListEngineConfigsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\FinancialServices\V1\EngineConfig>|\Google\Protobuf\Internal\RepeatedField $engine_configs + * @type \Google\Cloud\FinancialServices\V1\EngineConfig[] $engine_configs * List of EngineConfig resources * @type string $next_page_token * This token should be passed to the next ListEngineConfigsRequest to * retrieve the next page of EngineConfigs (empty indicates we are done). - * @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 EngineConfig resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.EngineConfig engine_configs = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\FinancialServices\V1\EngineConfig> */ public function getEngineConfigs() { @@ -70,7 +70,7 @@ public function getEngineConfigs() * List of EngineConfig resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.EngineConfig engine_configs = 1; - * @param array<\Google\Cloud\FinancialServices\V1\EngineConfig>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\FinancialServices\V1\EngineConfig[] $var * @return $this */ public function setEngineConfigs($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/FinancialServices/src/V1/ListEngineVersionsRequest.php b/FinancialServices/src/V1/ListEngineVersionsRequest.php index c4278e76ff99..439de5f1911e 100644 --- a/FinancialServices/src/V1/ListEngineVersionsRequest.php +++ b/FinancialServices/src/V1/ListEngineVersionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a paginated list of EngineVersion resources that meet diff --git a/FinancialServices/src/V1/ListEngineVersionsResponse.php b/FinancialServices/src/V1/ListEngineVersionsResponse.php index 3c952438b4e8..1c4529f200a9 100644 --- a/FinancialServices/src/V1/ListEngineVersionsResponse.php +++ b/FinancialServices/src/V1/ListEngineVersionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response to a list call containing the list of engine versions. @@ -41,12 +41,12 @@ class ListEngineVersionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\FinancialServices\V1\EngineVersion>|\Google\Protobuf\Internal\RepeatedField $engine_versions + * @type \Google\Cloud\FinancialServices\V1\EngineVersion[] $engine_versions * List of EngineVersion resources * @type string $next_page_token * This token should be passed to the next EngineVersionsRequest to retrieve * the next page of EngineVersions (empty indicates we are done). - * @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 EngineVersion resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.EngineVersion engine_versions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\FinancialServices\V1\EngineVersion> */ public function getEngineVersions() { @@ -70,7 +70,7 @@ public function getEngineVersions() * List of EngineVersion resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.EngineVersion engine_versions = 1; - * @param array<\Google\Cloud\FinancialServices\V1\EngineVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\FinancialServices\V1\EngineVersion[] $var * @return $this */ public function setEngineVersions($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/FinancialServices/src/V1/ListInstancesRequest.php b/FinancialServices/src/V1/ListInstancesRequest.php index 2b79269ee374..ad37a61525a5 100644 --- a/FinancialServices/src/V1/ListInstancesRequest.php +++ b/FinancialServices/src/V1/ListInstancesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a paginated list of Instance resources that meet the diff --git a/FinancialServices/src/V1/ListInstancesResponse.php b/FinancialServices/src/V1/ListInstancesResponse.php index 19354648a512..640dd5143369 100644 --- a/FinancialServices/src/V1/ListInstancesResponse.php +++ b/FinancialServices/src/V1/ListInstancesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for retrieving a list of Instances @@ -41,12 +41,12 @@ class ListInstancesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\FinancialServices\V1\Instance>|\Google\Protobuf\Internal\RepeatedField $instances + * @type \Google\Cloud\FinancialServices\V1\Instance[] $instances * List of Instance resources * @type string $next_page_token * This token should be passed to the next ListInstancesRequest to retrieve * the next page of Instances. - * @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 Instance resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.Instance instances = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\FinancialServices\V1\Instance> */ public function getInstances() { @@ -70,7 +70,7 @@ public function getInstances() * List of Instance resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.Instance instances = 1; - * @param array<\Google\Cloud\FinancialServices\V1\Instance>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\FinancialServices\V1\Instance[] $var * @return $this */ public function setInstances($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/FinancialServices/src/V1/ListModelsRequest.php b/FinancialServices/src/V1/ListModelsRequest.php index 7e769593345a..ea79e62494f7 100644 --- a/FinancialServices/src/V1/ListModelsRequest.php +++ b/FinancialServices/src/V1/ListModelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a paginated list of Model resources that meet the diff --git a/FinancialServices/src/V1/ListModelsResponse.php b/FinancialServices/src/V1/ListModelsResponse.php index 2a0c6c4e8327..2ed0e27e6cb8 100644 --- a/FinancialServices/src/V1/ListModelsResponse.php +++ b/FinancialServices/src/V1/ListModelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for retrieving a list of Models @@ -41,12 +41,12 @@ class ListModelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\FinancialServices\V1\Model>|\Google\Protobuf\Internal\RepeatedField $models + * @type \Google\Cloud\FinancialServices\V1\Model[] $models * List of Model resources * @type string $next_page_token * This token should be passed to the next ListModelsRequest to * retrieve the next page of Models (empty indicicates we are done). - * @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 Model resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.Model models = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\FinancialServices\V1\Model> */ public function getModels() { @@ -70,7 +70,7 @@ public function getModels() * List of Model resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.Model models = 1; - * @param array<\Google\Cloud\FinancialServices\V1\Model>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\FinancialServices\V1\Model[] $var * @return $this */ public function setModels($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/FinancialServices/src/V1/ListPredictionResultsRequest.php b/FinancialServices/src/V1/ListPredictionResultsRequest.php index 71bb5f24b8f7..a2d4115bee40 100644 --- a/FinancialServices/src/V1/ListPredictionResultsRequest.php +++ b/FinancialServices/src/V1/ListPredictionResultsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for retrieving a paginated list of PredictionResult resources that diff --git a/FinancialServices/src/V1/ListPredictionResultsResponse.php b/FinancialServices/src/V1/ListPredictionResultsResponse.php index ea0f6cd8490f..7aa2fe6f779f 100644 --- a/FinancialServices/src/V1/ListPredictionResultsResponse.php +++ b/FinancialServices/src/V1/ListPredictionResultsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for retrieving a list of PredictionResults @@ -42,13 +42,13 @@ class ListPredictionResultsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\FinancialServices\V1\PredictionResult>|\Google\Protobuf\Internal\RepeatedField $prediction_results + * @type \Google\Cloud\FinancialServices\V1\PredictionResult[] $prediction_results * List of PredictionResult resources * @type string $next_page_token * This token should be passed to the next ListPredictionResultsRequest to * retrieve the next page of PredictionResults (empty indicicates we are * done). - * @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 PredictionResult resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\FinancialServices\V1\PredictionResult> */ public function getPredictionResults() { @@ -72,7 +72,7 @@ public function getPredictionResults() * List of PredictionResult resources * * Generated from protobuf field repeated .google.cloud.financialservices.v1.PredictionResult prediction_results = 1; - * @param array<\Google\Cloud\FinancialServices\V1\PredictionResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\FinancialServices\V1\PredictionResult[] $var * @return $this */ public function setPredictionResults($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/FinancialServices/src/V1/Model.php b/FinancialServices/src/V1/Model.php index 6152480cc9ce..627df68ff753 100644 --- a/FinancialServices/src/V1/Model.php +++ b/FinancialServices/src/V1/Model.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model represents a trained model. diff --git a/FinancialServices/src/V1/Model/State.php b/FinancialServices/src/V1/Model/State.php index d16e858fc7d5..e5de2021b82e 100644 --- a/FinancialServices/src/V1/Model/State.php +++ b/FinancialServices/src/V1/Model/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/OperationMetadata.php b/FinancialServices/src/V1/OperationMetadata.php index e9d5686fb0f6..9ea996284b7d 100644 --- a/FinancialServices/src/V1/OperationMetadata.php +++ b/FinancialServices/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\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/FinancialServices/src/V1/PredictionResult.php b/FinancialServices/src/V1/PredictionResult.php index b4e549ad385f..7593d653541d 100644 --- a/FinancialServices/src/V1/PredictionResult.php +++ b/FinancialServices/src/V1/PredictionResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * PredictionResult is the result of using a model to create predictions. diff --git a/FinancialServices/src/V1/PredictionResult/Outputs.php b/FinancialServices/src/V1/PredictionResult/Outputs.php index 7d76b3bbdcb3..a9faa6e4b962 100644 --- a/FinancialServices/src/V1/PredictionResult/Outputs.php +++ b/FinancialServices/src/V1/PredictionResult/Outputs.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1\PredictionResult; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Outputs is a list of places where the operation will write results. @@ -123,4 +123,3 @@ public function setExplainabilityDestination($var) } - diff --git a/FinancialServices/src/V1/PredictionResult/State.php b/FinancialServices/src/V1/PredictionResult/State.php index 571d63697cc0..f84f2be1b666 100644 --- a/FinancialServices/src/V1/PredictionResult/State.php +++ b/FinancialServices/src/V1/PredictionResult/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/FinancialServices/src/V1/UpdateBacktestResultRequest.php b/FinancialServices/src/V1/UpdateBacktestResultRequest.php index 00ef48a0af5b..d65c8f2a3c8e 100644 --- a/FinancialServices/src/V1/UpdateBacktestResultRequest.php +++ b/FinancialServices/src/V1/UpdateBacktestResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for updating a BacktestResult diff --git a/FinancialServices/src/V1/UpdateDatasetRequest.php b/FinancialServices/src/V1/UpdateDatasetRequest.php index c0de8654bcbe..8a192bc45b17 100644 --- a/FinancialServices/src/V1/UpdateDatasetRequest.php +++ b/FinancialServices/src/V1/UpdateDatasetRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for updating a Dataset diff --git a/FinancialServices/src/V1/UpdateEngineConfigRequest.php b/FinancialServices/src/V1/UpdateEngineConfigRequest.php index ddf083d9dc8b..0dd77e6c52fe 100644 --- a/FinancialServices/src/V1/UpdateEngineConfigRequest.php +++ b/FinancialServices/src/V1/UpdateEngineConfigRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for updating an EngineConfig diff --git a/FinancialServices/src/V1/UpdateInstanceRequest.php b/FinancialServices/src/V1/UpdateInstanceRequest.php index 33412f718d1d..7ac3ccd72c3d 100644 --- a/FinancialServices/src/V1/UpdateInstanceRequest.php +++ b/FinancialServices/src/V1/UpdateInstanceRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for updating a Instance diff --git a/FinancialServices/src/V1/UpdateModelRequest.php b/FinancialServices/src/V1/UpdateModelRequest.php index d41cbdaec01f..03b434037510 100644 --- a/FinancialServices/src/V1/UpdateModelRequest.php +++ b/FinancialServices/src/V1/UpdateModelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for updating a Model diff --git a/FinancialServices/src/V1/UpdatePredictionResultRequest.php b/FinancialServices/src/V1/UpdatePredictionResultRequest.php index 76aa6fbb92d2..9681bc3f8591 100644 --- a/FinancialServices/src/V1/UpdatePredictionResultRequest.php +++ b/FinancialServices/src/V1/UpdatePredictionResultRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\FinancialServices\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for updating a PredictionResult diff --git a/Firestore/metadata/Admin/V1/Backup.php b/Firestore/metadata/Admin/V1/Backup.php index fe3fbc3e94b3..7863bdb50960 100644 Binary files a/Firestore/metadata/Admin/V1/Backup.php and b/Firestore/metadata/Admin/V1/Backup.php differ diff --git a/Firestore/metadata/Admin/V1/Database.php b/Firestore/metadata/Admin/V1/Database.php index 59ff0e6825c8..7e56dd37b714 100644 Binary files a/Firestore/metadata/Admin/V1/Database.php and b/Firestore/metadata/Admin/V1/Database.php differ diff --git a/Firestore/metadata/Admin/V1/Field.php b/Firestore/metadata/Admin/V1/Field.php index f9245a9df940..a663f8c6d9cd 100644 Binary files a/Firestore/metadata/Admin/V1/Field.php and b/Firestore/metadata/Admin/V1/Field.php differ diff --git a/Firestore/metadata/Admin/V1/FirestoreAdmin.php b/Firestore/metadata/Admin/V1/FirestoreAdmin.php index d7018b01ae9c..4958902fc482 100644 --- a/Firestore/metadata/Admin/V1/FirestoreAdmin.php +++ b/Firestore/metadata/Admin/V1/FirestoreAdmin.php @@ -32,213 +32,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' -` -/google/firestore/admin/v1/firestore_admin.protogoogle.firestore.admin.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/api/routing.proto&google/firestore/admin/v1/backup.proto(google/firestore/admin/v1/database.proto%google/firestore/admin/v1/field.proto%google/firestore/admin/v1/index.proto)google/firestore/admin/v1/operation.proto(google/firestore/admin/v1/schedule.proto(google/firestore/admin/v1/snapshot.proto*google/firestore/admin/v1/user_creds.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"g -ListDatabasesRequest9 -parent ( B)AA#!firestore.googleapis.com/Database - show_deleted (" -CreateDatabaseRequest9 -parent ( B)AA#!firestore.googleapis.com/Database: -database ( 2#.google.firestore.admin.v1.DatabaseBA - database_id ( BA" -CreateDatabaseMetadata"d -ListDatabasesResponse6 - databases ( 2#.google.firestore.admin.v1.Database - unreachable ( "M -GetDatabaseRequest7 -name ( B)AA# -!firestore.googleapis.com/Database" -UpdateDatabaseRequest: -database ( 2#.google.firestore.admin.v1.DatabaseBA/ - update_mask ( 2.google.protobuf.FieldMask" -UpdateDatabaseMetadata"^ -DeleteDatabaseRequest7 -name ( B)AA# -!firestore.googleapis.com/Database -etag ( " -DeleteDatabaseMetadata" -CreateUserCredsRequest: -parent ( B*AA$"firestore.googleapis.com/UserCreds= - -user_creds ( 2$.google.firestore.admin.v1.UserCredsBA - user_creds_id ( BA"O -GetUserCredsRequest8 -name ( B*AA$ -"firestore.googleapis.com/UserCreds"R -ListUserCredsRequest: -parent ( B*AA$"firestore.googleapis.com/UserCreds"Q -ListUserCredsResponse8 - -user_creds ( 2$.google.firestore.admin.v1.UserCreds"R -EnableUserCredsRequest8 -name ( B*AA$ -"firestore.googleapis.com/UserCreds"S -DisableUserCredsRequest8 -name ( B*AA$ -"firestore.googleapis.com/UserCreds"T -ResetUserPasswordRequest8 -name ( B*AA$ -"firestore.googleapis.com/UserCreds"R -DeleteUserCredsRequest8 -name ( B*AA$ -"firestore.googleapis.com/UserCreds" -CreateBackupScheduleRequest9 -parent ( B)AA# -!firestore.googleapis.com/DatabaseG -backup_schedule ( 2).google.firestore.admin.v1.BackupScheduleBA"Y -GetBackupScheduleRequest= -name ( B/AA) -\'firestore.googleapis.com/BackupSchedule" -UpdateBackupScheduleRequestG -backup_schedule ( 2).google.firestore.admin.v1.BackupScheduleBA/ - update_mask ( 2.google.protobuf.FieldMask"W -ListBackupSchedulesRequest9 -parent ( B)AA# -!firestore.googleapis.com/Database"b -ListBackupSchedulesResponseC -backup_schedules ( 2).google.firestore.admin.v1.BackupSchedule"\\ -DeleteBackupScheduleRequest= -name ( B/AA) -\'firestore.googleapis.com/BackupSchedule" -CreateIndexRequest@ -parent ( B0AA* -(firestore.googleapis.com/CollectionGroup4 -index ( 2 .google.firestore.admin.v1.IndexBA" -ListIndexesRequest@ -parent ( B0AA* -(firestore.googleapis.com/CollectionGroup -filter (  - page_size ( - -page_token ( "a -ListIndexesResponse1 -indexes ( 2 .google.firestore.admin.v1.Index -next_page_token ( "G -GetIndexRequest4 -name ( B&AA -firestore.googleapis.com/Index"J -DeleteIndexRequest4 -name ( B&AA -firestore.googleapis.com/Index"{ -UpdateFieldRequest4 -field ( 2 .google.firestore.admin.v1.FieldBA/ - update_mask ( 2.google.protobuf.FieldMask"G -GetFieldRequest4 -name ( B&AA -firestore.googleapis.com/Field" -ListFieldsRequest@ -parent ( B0AA* -(firestore.googleapis.com/CollectionGroup -filter (  - page_size ( - -page_token ( "_ -ListFieldsResponse0 -fields ( 2 .google.firestore.admin.v1.Field -next_page_token ( " -ExportDocumentsRequest7 -name ( B)AA# -!firestore.googleapis.com/Database -collection_ids (  -output_uri_prefix (  - namespace_ids ( 1 - snapshot_time ( 2.google.protobuf.Timestamp" -ImportDocumentsRequest7 -name ( B)AA# -!firestore.googleapis.com/Database -collection_ids (  -input_uri_prefix (  - namespace_ids ( " -BulkDeleteDocumentsRequest7 -name ( B)AA# -!firestore.googleapis.com/Database -collection_ids ( BA - namespace_ids ( BA" -BulkDeleteDocumentsResponse"I -GetBackupRequest5 -name ( B\'AA! -firestore.googleapis.com/Backup"_ -ListBackupsRequest9 -parent ( B)AA# -!firestore.googleapis.com/Location -filter ( "^ -ListBackupsResponse2 -backups ( 2!.google.firestore.admin.v1.Backup - unreachable ( "L -DeleteBackupRequest5 -name ( B\'AA! -firestore.googleapis.com/Backup" -RestoreDatabaseRequest9 -parent ( B)AA#!firestore.googleapis.com/Database - database_id ( BA7 -backup ( B\'AA! -firestore.googleapis.com/BackupT -encryption_config ( 24.google.firestore.admin.v1.Database.EncryptionConfigBAQ -tags - ( 2;.google.firestore.admin.v1.RestoreDatabaseRequest.TagsEntryBAA+ - TagsEntry -key (  -value ( :8" -CloneDatabaseRequest9 -parent ( B)AA#!firestore.googleapis.com/Database - database_id ( BAC - pitr_snapshot ( 2\'.google.firestore.admin.v1.PitrSnapshotBAT -encryption_config ( 24.google.firestore.admin.v1.Database.EncryptionConfigBAO -tags ( 29.google.firestore.admin.v1.CloneDatabaseRequest.TagsEntryBAA+ - TagsEntry -key (  -value ( :821 -FirestoreAdmin - CreateIndex-.google.firestore.admin.v1.CreateIndexRequest.google.longrunning.Operation"~A -IndexIndexOperationMetadataA parent,indexG">/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes:index - ListIndexes-.google.firestore.admin.v1.ListIndexesRequest..google.firestore.admin.v1.ListIndexesResponse"OAparent@>/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes -GetIndex*.google.firestore.admin.v1.GetIndexRequest .google.firestore.admin.v1.Index"MAname@>/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*} - DeleteIndex-.google.firestore.admin.v1.DeleteIndexRequest.google.protobuf.Empty"MAname@*>/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*} -GetField*.google.firestore.admin.v1.GetFieldRequest .google.firestore.admin.v1.Field"LAname?=/v1/{name=projects/*/databases/*/collectionGroups/*/fields/*} - UpdateField-.google.firestore.admin.v1.UpdateFieldRequest.google.longrunning.Operation"|A -FieldFieldOperationMetadataAfieldL2C/v1/{field.name=projects/*/databases/*/collectionGroups/*/fields/*}:field - -ListFields,.google.firestore.admin.v1.ListFieldsRequest-.google.firestore.admin.v1.ListFieldsResponse"NAparent?=/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields -ExportDocuments1.google.firestore.admin.v1.ExportDocumentsRequest.google.longrunning.Operation"xA2 -ExportDocumentsResponseExportDocumentsMetadataAname6"1/v1/{name=projects/*/databases/*}:exportDocuments:* -ImportDocuments1.google.firestore.admin.v1.ImportDocumentsRequest.google.longrunning.Operation"vA0 -google.protobuf.EmptyImportDocumentsMetadataAname6"1/v1/{name=projects/*/databases/*}:importDocuments:* -BulkDeleteDocuments5.google.firestore.admin.v1.BulkDeleteDocumentsRequest.google.longrunning.Operation"A: -BulkDeleteDocumentsResponseBulkDeleteDocumentsMetadataAname:"5/v1/{name=projects/*/databases/*}:bulkDeleteDocuments:* -CreateDatabase0.google.firestore.admin.v1.CreateDatabaseRequest.google.longrunning.Operation"vA" -DatabaseCreateDatabaseMetadataAparent,database,database_id-"!/v1/{parent=projects/*}/databases:database - GetDatabase-.google.firestore.admin.v1.GetDatabaseRequest#.google.firestore.admin.v1.Database"0Aname#!/v1/{name=projects/*/databases/*} - ListDatabases/.google.firestore.admin.v1.ListDatabasesRequest0.google.firestore.admin.v1.ListDatabasesResponse"2Aparent#!/v1/{parent=projects/*}/databases -UpdateDatabase0.google.firestore.admin.v1.UpdateDatabaseRequest.google.longrunning.Operation"xA" -DatabaseUpdateDatabaseMetadataAdatabase,update_mask62*/v1/{database.name=projects/*/databases/*}:database -DeleteDatabase0.google.firestore.admin.v1.DeleteDatabaseRequest.google.longrunning.Operation"UA" -DatabaseDeleteDatabaseMetadataAname#*!/v1/{name=projects/*/databases/*} -CreateUserCreds1.google.firestore.admin.v1.CreateUserCredsRequest$.google.firestore.admin.v1.UserCreds"cAparent,user_creds,user_creds_id;"-/v1/{parent=projects/*/databases/*}/userCreds: -user_creds - GetUserCreds..google.firestore.admin.v1.GetUserCredsRequest$.google.firestore.admin.v1.UserCreds"Aparent/-/v1/{parent=projects/*/databases/*}/userCreds -EnableUserCreds1.google.firestore.admin.v1.EnableUserCredsRequest$.google.firestore.admin.v1.UserCreds"FAname9"4/v1/{name=projects/*/databases/*/userCreds/*}:enable:* -DisableUserCreds2.google.firestore.admin.v1.DisableUserCredsRequest$.google.firestore.admin.v1.UserCreds"GAname:"5/v1/{name=projects/*/databases/*/userCreds/*}:disable:* -ResetUserPassword3.google.firestore.admin.v1.ResetUserPasswordRequest$.google.firestore.admin.v1.UserCreds"MAname@";/v1/{name=projects/*/databases/*/userCreds/*}:resetPassword:* -DeleteUserCreds1.google.firestore.admin.v1.DeleteUserCredsRequest.google.protobuf.Empty"/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes:\x05index\x12\xBD\x01\x0A\x0BListIndexes\x12-.google.firestore.admin.v1.ListIndexesRequest\x1A..google.firestore.admin.v1.ListIndexesResponse\"O\xDAA\x06parent\x82\xD3\xE4\x93\x02@\x12>/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes\x12\xA7\x01\x0A\x08GetIndex\x12*.google.firestore.admin.v1.GetIndexRequest\x1A .google.firestore.admin.v1.Index\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\x12>/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}\x12\xA3\x01\x0A\x0BDeleteIndex\x12-.google.firestore.admin.v1.DeleteIndexRequest\x1A\x16.google.protobuf.Empty\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@*>/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}\x12\xA6\x01\x0A\x08GetField\x12*.google.firestore.admin.v1.GetFieldRequest\x1A .google.firestore.admin.v1.Field\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1/{name=projects/*/databases/*/collectionGroups/*/fields/*}\x12\xD9\x01\x0A\x0BUpdateField\x12-.google.firestore.admin.v1.UpdateFieldRequest\x1A\x1D.google.longrunning.Operation\"|\xCAA\x1F\x0A\x05Field\x12\x16FieldOperationMetadata\xDAA\x05field\x82\xD3\xE4\x93\x02L2C/v1/{field.name=projects/*/databases/*/collectionGroups/*/fields/*}:\x05field\x12\xB9\x01\x0A\x0AListFields\x12,.google.firestore.admin.v1.ListFieldsRequest\x1A-.google.firestore.admin.v1.ListFieldsResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields\x12\xDD\x01\x0A\x0FExportDocuments\x121.google.firestore.admin.v1.ExportDocumentsRequest\x1A\x1D.google.longrunning.Operation\"x\xCAA2\x0A\x17ExportDocumentsResponse\x12\x17ExportDocumentsMetadata\xDAA\x04name\x82\xD3\xE4\x93\x026\"1/v1/{name=projects/*/databases/*}:exportDocuments:\x01*\x12\xDB\x01\x0A\x0FImportDocuments\x121.google.firestore.admin.v1.ImportDocumentsRequest\x1A\x1D.google.longrunning.Operation\"v\xCAA0\x0A\x15google.protobuf.Empty\x12\x17ImportDocumentsMetadata\xDAA\x04name\x82\xD3\xE4\x93\x026\"1/v1/{name=projects/*/databases/*}:importDocuments:\x01*\x12\xF2\x01\x0A\x13BulkDeleteDocuments\x125.google.firestore.admin.v1.BulkDeleteDocumentsRequest\x1A\x1D.google.longrunning.Operation\"\x84\x01\xCAA:\x0A\x1BBulkDeleteDocumentsResponse\x12\x1BBulkDeleteDocumentsMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02:\"5/v1/{name=projects/*/databases/*}:bulkDeleteDocuments:\x01*\x12\xD9\x01\x0A\x0ECreateDatabase\x120.google.firestore.admin.v1.CreateDatabaseRequest\x1A\x1D.google.longrunning.Operation\"v\xCAA\"\x0A\x08Database\x12\x16CreateDatabaseMetadata\xDAA\x1Bparent,database,database_id\x82\xD3\xE4\x93\x02-\"!/v1/{parent=projects/*}/databases:\x08database\x12\x93\x01\x0A\x0BGetDatabase\x12-.google.firestore.admin.v1.GetDatabaseRequest\x1A#.google.firestore.admin.v1.Database\"0\xDAA\x04name\x82\xD3\xE4\x93\x02#\x12!/v1/{name=projects/*/databases/*}\x12\xA6\x01\x0A\x0DListDatabases\x12/.google.firestore.admin.v1.ListDatabasesRequest\x1A0.google.firestore.admin.v1.ListDatabasesResponse\"2\xDAA\x06parent\x82\xD3\xE4\x93\x02#\x12!/v1/{parent=projects/*}/databases\x12\xDB\x01\x0A\x0EUpdateDatabase\x120.google.firestore.admin.v1.UpdateDatabaseRequest\x1A\x1D.google.longrunning.Operation\"x\xCAA\"\x0A\x08Database\x12\x16UpdateDatabaseMetadata\xDAA\x14database,update_mask\x82\xD3\xE4\x93\x0262*/v1/{database.name=projects/*/databases/*}:\x08database\x12\xB8\x01\x0A\x0EDeleteDatabase\x120.google.firestore.admin.v1.DeleteDatabaseRequest\x1A\x1D.google.longrunning.Operation\"U\xCAA\"\x0A\x08Database\x12\x16DeleteDatabaseMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02#*!/v1/{name=projects/*/databases/*}\x12\xCF\x01\x0A\x0FCreateUserCreds\x121.google.firestore.admin.v1.CreateUserCredsRequest\x1A\$.google.firestore.admin.v1.UserCreds\"c\xDAA\x1Fparent,user_creds,user_creds_id\x82\xD3\xE4\x93\x02;\"-/v1/{parent=projects/*/databases/*}/userCreds:\x0Auser_creds\x12\xA2\x01\x0A\x0CGetUserCreds\x12..google.firestore.admin.v1.GetUserCredsRequest\x1A\$.google.firestore.admin.v1.UserCreds\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/databases/*/userCreds/*}\x12\xB2\x01\x0A\x0DListUserCreds\x12/.google.firestore.admin.v1.ListUserCredsRequest\x1A0.google.firestore.admin.v1.ListUserCredsResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/databases/*}/userCreds\x12\xB2\x01\x0A\x0FEnableUserCreds\x121.google.firestore.admin.v1.EnableUserCredsRequest\x1A\$.google.firestore.admin.v1.UserCreds\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\"4/v1/{name=projects/*/databases/*/userCreds/*}:enable:\x01*\x12\xB5\x01\x0A\x10DisableUserCreds\x122.google.firestore.admin.v1.DisableUserCredsRequest\x1A\$.google.firestore.admin.v1.UserCreds\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\"5/v1/{name=projects/*/databases/*/userCreds/*}:disable:\x01*\x12\xBD\x01\x0A\x11ResetUserPassword\x123.google.firestore.admin.v1.ResetUserPasswordRequest\x1A\$.google.firestore.admin.v1.UserCreds\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\";/v1/{name=projects/*/databases/*/userCreds/*}:resetPassword:\x01*\x12\x9A\x01\x0A\x0FDeleteUserCreds\x121.google.firestore.admin.v1.DeleteUserCredsRequest\x1A\x16.google.protobuf.Empty\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1/{name=projects/*/databases/*/userCreds/*}\x12\x97\x01\x0A\x09GetBackup\x12+.google.firestore.admin.v1.GetBackupRequest\x1A!.google.firestore.admin.v1.Backup\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1/{name=projects/*/locations/*/backups/*}\x12\xAA\x01\x0A\x0BListBackups\x12-.google.firestore.admin.v1.ListBackupsRequest\x1A..google.firestore.admin.v1.ListBackupsResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/backups\x12\x92\x01\x0A\x0CDeleteBackup\x12..google.firestore.admin.v1.DeleteBackupRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1/{name=projects/*/locations/*/backups/*}\x12\xBF\x01\x0A\x0FRestoreDatabase\x121.google.firestore.admin.v1.RestoreDatabaseRequest\x1A\x1D.google.longrunning.Operation\"Z\xCAA#\x0A\x08Database\x12\x17RestoreDatabaseMetadata\x82\xD3\xE4\x93\x02.\")/v1/{parent=projects/*}/databases:restore:\x01*\x12\xE0\x01\x0A\x14CreateBackupSchedule\x126.google.firestore.admin.v1.CreateBackupScheduleRequest\x1A).google.firestore.admin.v1.BackupSchedule\"e\xDAA\x16parent,backup_schedule\x82\xD3\xE4\x93\x02F\"3/v1/{parent=projects/*/databases/*}/backupSchedules:\x0Fbackup_schedule\x12\xB7\x01\x0A\x11GetBackupSchedule\x123.google.firestore.admin.v1.GetBackupScheduleRequest\x1A).google.firestore.admin.v1.BackupSchedule\"B\xDAA\x04name\x82\xD3\xE4\x93\x025\x123/v1/{name=projects/*/databases/*/backupSchedules/*}\x12\xCA\x01\x0A\x13ListBackupSchedules\x125.google.firestore.admin.v1.ListBackupSchedulesRequest\x1A6.google.firestore.admin.v1.ListBackupSchedulesResponse\"D\xDAA\x06parent\x82\xD3\xE4\x93\x025\x123/v1/{parent=projects/*/databases/*}/backupSchedules\x12\xF5\x01\x0A\x14UpdateBackupSchedule\x126.google.firestore.admin.v1.UpdateBackupScheduleRequest\x1A).google.firestore.admin.v1.BackupSchedule\"z\xDAA\x1Bbackup_schedule,update_mask\x82\xD3\xE4\x93\x02V2C/v1/{backup_schedule.name=projects/*/databases/*/backupSchedules/*}:\x0Fbackup_schedule\x12\xAA\x01\x0A\x14DeleteBackupSchedule\x126.google.firestore.admin.v1.DeleteBackupScheduleRequest\x1A\x16.google.protobuf.Empty\"B\xDAA\x04name\x82\xD3\xE4\x93\x025*3/v1/{name=projects/*/databases/*/backupSchedules/*}\x12\xB7\x02\x0A\x0DCloneDatabase\x12/.google.firestore.admin.v1.CloneDatabaseRequest\x1A\x1D.google.longrunning.Operation\"\xD5\x01\xCAA!\x0A\x08Database\x12\x15CloneDatabaseMetadata\x82\xD3\xE4\x93\x02,\"'/v1/{parent=projects/*}/databases:clone:\x01*\x8A\xD3\xE4\x93\x02y\x124\x0A\x16pitr_snapshot.database\x12\x1Aprojects/{project_id=*}/**\x12A\x0A\x16pitr_snapshot.database\x12'projects/*/databases/{database_id=*}/**\x1Av\xCAA\x18firestore.googleapis.com\xD2AXhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/datastoreB\xA5\x03\x0A\x1Dcom.google.firestore.admin.v1B\x13FirestoreAdminProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xA2\x02\x04GCFS\xAA\x02\x1FGoogle.Cloud.Firestore.Admin.V1\xCA\x02\x1FGoogle\\Cloud\\Firestore\\Admin\\V1\xEA\x02#Google::Cloud::Firestore::Admin::V1\xEAAL\x0A!firestore.googleapis.com/Location\x12'projects/{project}/locations/{location}\xEAAq\x0A(firestore.googleapis.com/CollectionGroup\x12Eprojects/{project}/databases/{database}/collectionGroups/{collection}b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/Admin/V1/Index.php b/Firestore/metadata/Admin/V1/Index.php index d9c999ef3706..7832c5a6f905 100644 Binary files a/Firestore/metadata/Admin/V1/Index.php and b/Firestore/metadata/Admin/V1/Index.php differ diff --git a/Firestore/metadata/Admin/V1/Location.php b/Firestore/metadata/Admin/V1/Location.php index 3c93ac4fddbd..95b567f8eaae 100644 --- a/Firestore/metadata/Admin/V1/Location.php +++ b/Firestore/metadata/Admin/V1/Location.php @@ -15,11 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -(google/firestore/admin/v1/location.protogoogle.firestore.admin.v1" -LocationMetadataB -com.google.firestore.admin.v1B LocationProtoPZ9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpbGCFSGoogle.Cloud.Firestore.Admin.V1Google\\Cloud\\Firestore\\Admin\\V1#Google::Cloud::Firestore::Admin::V1bproto3' + "\x0A\xC0\x02\x0A(google/firestore/admin/v1/location.proto\x12\x19google.firestore.admin.v1\"\x12\x0A\x10LocationMetadataB\xDC\x01\x0A\x1Dcom.google.firestore.admin.v1B\x0DLocationProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xA2\x02\x04GCFS\xAA\x02\x1FGoogle.Cloud.Firestore.Admin.V1\xCA\x02\x1FGoogle\\Cloud\\Firestore\\Admin\\V1\xEA\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/Admin/V1/Operation.php b/Firestore/metadata/Admin/V1/Operation.php index 6796aad2caf5..2cdcea36ae31 100644 Binary files a/Firestore/metadata/Admin/V1/Operation.php and b/Firestore/metadata/Admin/V1/Operation.php differ diff --git a/Firestore/metadata/Admin/V1/RealtimeUpdates.php b/Firestore/metadata/Admin/V1/RealtimeUpdates.php index 4b66a40ee5f0..554a536be61d 100644 Binary files a/Firestore/metadata/Admin/V1/RealtimeUpdates.php and b/Firestore/metadata/Admin/V1/RealtimeUpdates.php differ diff --git a/Firestore/metadata/Admin/V1/Schedule.php b/Firestore/metadata/Admin/V1/Schedule.php index 6b7a44d3274c..045809417af4 100644 Binary files a/Firestore/metadata/Admin/V1/Schedule.php and b/Firestore/metadata/Admin/V1/Schedule.php differ diff --git a/Firestore/metadata/Admin/V1/Snapshot.php b/Firestore/metadata/Admin/V1/Snapshot.php index 3015a4d75665..ae50af2b85eb 100644 --- a/Firestore/metadata/Admin/V1/Snapshot.php +++ b/Firestore/metadata/Admin/V1/Snapshot.php @@ -18,15 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -(google/firestore/admin/v1/snapshot.protogoogle.firestore.admin.v1google/api/resource.protogoogle/protobuf/timestamp.proto" - PitrSnapshot; -database ( B)AA# -!firestore.googleapis.com/Database - database_uid ( BA6 - snapshot_time ( 2.google.protobuf.TimestampBAB -com.google.firestore.admin.v1BPitrSnapshotProtoPZ9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpbGCFSGoogle.Cloud.Firestore.Admin.V1Google\\Cloud\\Firestore\\Admin\\V1#Google::Cloud::Firestore::Admin::V1bproto3' + "\x0A\x8D\x04\x0A(google/firestore/admin/v1/snapshot.proto\x12\x19google.firestore.admin.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x9E\x01\x0A\x0CPitrSnapshot\x12;\x0A\x08database\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!firestore.googleapis.com/Database\x12\x19\x0A\x0Cdatabase_uid\x18\x02 \x01(\x0CB\x03\xE0A\x03\x126\x0A\x0Dsnapshot_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02B\xE0\x01\x0A\x1Dcom.google.firestore.admin.v1B\x11PitrSnapshotProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xA2\x02\x04GCFS\xAA\x02\x1FGoogle.Cloud.Firestore.Admin.V1\xCA\x02\x1FGoogle\\Cloud\\Firestore\\Admin\\V1\xEA\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/Admin/V1/UserCreds.php b/Firestore/metadata/Admin/V1/UserCreds.php index c6316e69bacd..801548a219df 100644 Binary files a/Firestore/metadata/Admin/V1/UserCreds.php and b/Firestore/metadata/Admin/V1/UserCreds.php differ diff --git a/Firestore/metadata/V1/AggregationResult.php b/Firestore/metadata/V1/AggregationResult.php index 5f249ebfc8d4..b1b788bc4187 100644 --- a/Firestore/metadata/V1/AggregationResult.php +++ b/Firestore/metadata/V1/AggregationResult.php @@ -16,15 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Firestore\V1\Document::initOnce(); $pool->internalAddGeneratedFile( - ' - -,google/firestore/v1/aggregation_result.protogoogle.firestore.v1" -AggregationResultU -aggregate_fields ( 2;.google.firestore.v1.AggregationResult.AggregateFieldsEntryR -AggregateFieldsEntry -key ( ) -value ( 2.google.firestore.v1.Value:8B -com.google.firestore.v1BAggregationResultProtoPZ;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepbGCFSGoogle.Cloud.Firestore.V1Google\\Cloud\\Firestore\\V1Google::Cloud::Firestore::V1bproto3' + "\x0A\xDD\x03\x0A,google/firestore/v1/aggregation_result.proto\x12\x13google.firestore.v1\"\xBE\x01\x0A\x11AggregationResult\x12U\x0A\x10aggregate_fields\x18\x02 \x03(\x0B2;.google.firestore.v1.AggregationResult.AggregateFieldsEntry\x1AR\x0A\x14AggregateFieldsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12)\x0A\x05value\x18\x02 \x01(\x0B2\x1A.google.firestore.v1.Value:\x028\x01B\xCE\x01\x0A\x17com.google.firestore.v1B\x16AggregationResultProtoP\x01Z;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb\xA2\x02\x04GCFS\xAA\x02\x19Google.Cloud.Firestore.V1\xCA\x02\x19Google\\Cloud\\Firestore\\V1\xEA\x02\x1CGoogle::Cloud::Firestore::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/V1/BloomFilter.php b/Firestore/metadata/V1/BloomFilter.php index 84249064625d..a7f1ca1fe6ef 100644 --- a/Firestore/metadata/V1/BloomFilter.php +++ b/Firestore/metadata/V1/BloomFilter.php @@ -15,17 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - ' - -&google/firestore/v1/bloom_filter.protogoogle.firestore.v1". - BitSequence -bitmap (  -padding ("Q - BloomFilter. -bits ( 2 .google.firestore.v1.BitSequence - -hash_count (B -com.google.firestore.v1BBloomFilterProtoPZ;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepbGCFSGoogle.Cloud.Firestore.V1Google\\Cloud\\Firestore\\V1Google::Cloud::Firestore::V1bproto3' + "\x0A\x93\x03\x0A&google/firestore/v1/bloom_filter.proto\x12\x13google.firestore.v1\".\x0A\x0BBitSequence\x12\x0E\x0A\x06bitmap\x18\x01 \x01(\x0C\x12\x0F\x0A\x07padding\x18\x02 \x01(\x05\"Q\x0A\x0BBloomFilter\x12.\x0A\x04bits\x18\x01 \x01(\x0B2 .google.firestore.v1.BitSequence\x12\x12\x0A\x0Ahash_count\x18\x02 \x01(\x05B\xC8\x01\x0A\x17com.google.firestore.v1B\x10BloomFilterProtoP\x01Z;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb\xA2\x02\x04GCFS\xAA\x02\x19Google.Cloud.Firestore.V1\xCA\x02\x19Google\\Cloud\\Firestore\\V1\xEA\x02\x1CGoogle::Cloud::Firestore::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/V1/Common.php b/Firestore/metadata/V1/Common.php index 57fc24775305..7e8aea52f92e 100644 Binary files a/Firestore/metadata/V1/Common.php and b/Firestore/metadata/V1/Common.php differ diff --git a/Firestore/metadata/V1/Document.php b/Firestore/metadata/V1/Document.php index cd8fa76af451..64e7b3cca1d6 100644 Binary files a/Firestore/metadata/V1/Document.php and b/Firestore/metadata/V1/Document.php differ diff --git a/Firestore/metadata/V1/ExplainStats.php b/Firestore/metadata/V1/ExplainStats.php index 80e234c6acef..bd54bc8f349b 100644 --- a/Firestore/metadata/V1/ExplainStats.php +++ b/Firestore/metadata/V1/ExplainStats.php @@ -16,12 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Protobuf\Any::initOnce(); $pool->internalAddGeneratedFile( - ' - -\'google/firestore/v1/explain_stats.protogoogle.firestore.v1"2 - ExplainStats" -data ( 2.google.protobuf.AnyB -com.google.firestore.v1BExplainStatsProtoPZ;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepbGoogle.Cloud.Firestore.V1Google\\Cloud\\Firestore\\V1Google::Cloud::Firestore::V1bproto3' + "\x0A\xBF\x02\x0A'google/firestore/v1/explain_stats.proto\x12\x13google.firestore.v1\"2\x0A\x0CExplainStats\x12\"\x0A\x04data\x18\x01 \x01(\x0B2\x14.google.protobuf.AnyB\xC2\x01\x0A\x17com.google.firestore.v1B\x11ExplainStatsProtoP\x01Z;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb\xAA\x02\x19Google.Cloud.Firestore.V1\xCA\x02\x19Google\\Cloud\\Firestore\\V1\xEA\x02\x1CGoogle::Cloud::Firestore::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/V1/Firestore.php b/Firestore/metadata/V1/Firestore.php index 68dbd04d5006..d18d15619ddc 100644 Binary files a/Firestore/metadata/V1/Firestore.php and b/Firestore/metadata/V1/Firestore.php differ diff --git a/Firestore/metadata/V1/Pipeline.php b/Firestore/metadata/V1/Pipeline.php index d23f3adc6f44..990bc168c8ea 100644 --- a/Firestore/metadata/V1/Pipeline.php +++ b/Firestore/metadata/V1/Pipeline.php @@ -17,16 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Firestore\V1\Document::initOnce(); $pool->internalAddGeneratedFile( - ' - -"google/firestore/v1/pipeline.protogoogle.firestore.v1"google/firestore/v1/document.proto" -StructuredPipeline4 -pipeline ( 2.google.firestore.v1.PipelineBAJ -options ( 24.google.firestore.v1.StructuredPipeline.OptionsEntryBAJ - OptionsEntry -key ( ) -value ( 2.google.firestore.v1.Value:8B -com.google.firestore.v1B PipelineProtoPZ;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepbGCFSGoogle.Cloud.Firestore.V1Google\\Cloud\\Firestore\\V1Google::Cloud::Firestore::V1bproto3' + "\x0A\x92\x04\x0A\"google/firestore/v1/pipeline.proto\x12\x13google.firestore.v1\x1A\"google/firestore/v1/document.proto\"\xE2\x01\x0A\x12StructuredPipeline\x124\x0A\x08pipeline\x18\x01 \x01(\x0B2\x1D.google.firestore.v1.PipelineB\x03\xE0A\x02\x12J\x0A\x07options\x18\x02 \x03(\x0B24.google.firestore.v1.StructuredPipeline.OptionsEntryB\x03\xE0A\x01\x1AJ\x0A\x0COptionsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12)\x0A\x05value\x18\x02 \x01(\x0B2\x1A.google.firestore.v1.Value:\x028\x01B\xC5\x01\x0A\x17com.google.firestore.v1B\x0DPipelineProtoP\x01Z;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb\xA2\x02\x04GCFS\xAA\x02\x19Google.Cloud.Firestore.V1\xCA\x02\x19Google\\Cloud\\Firestore\\V1\xEA\x02\x1CGoogle::Cloud::Firestore::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/V1/Query.php b/Firestore/metadata/V1/Query.php index 5e45bd4eea7e..7b9b9c57d1aa 100644 Binary files a/Firestore/metadata/V1/Query.php and b/Firestore/metadata/V1/Query.php differ diff --git a/Firestore/metadata/V1/QueryProfile.php b/Firestore/metadata/V1/QueryProfile.php index 515fe852eabe..76b015b86594 100644 --- a/Firestore/metadata/V1/QueryProfile.php +++ b/Firestore/metadata/V1/QueryProfile.php @@ -18,22 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\Duration::initOnce(); \GPBMetadata\Google\Protobuf\Struct::initOnce(); $pool->internalAddGeneratedFile( - ' - -\'google/firestore/v1/query_profile.protogoogle.firestore.v1google/protobuf/duration.protogoogle/protobuf/struct.proto"& -ExplainOptions -analyze (BA" -ExplainMetrics6 - plan_summary ( 2 .google.firestore.v1.PlanSummary< -execution_stats ( 2#.google.firestore.v1.ExecutionStats"< - PlanSummary- - indexes_used ( 2.google.protobuf.Struct" -ExecutionStats -results_returned (5 -execution_duration ( 2.google.protobuf.Duration -read_operations (, - debug_stats ( 2.google.protobuf.StructB -com.google.firestore.v1BQueryProfileProtoPZ;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepbGCFSGoogle.Cloud.Firestore.V1Google\\Cloud\\Firestore\\V1Google::Cloud::Firestore::V1bproto3' + "\x0A\xEA\x05\x0A'google/firestore/v1/query_profile.proto\x12\x13google.firestore.v1\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Cgoogle/protobuf/struct.proto\"&\x0A\x0EExplainOptions\x12\x14\x0A\x07analyze\x18\x01 \x01(\x08B\x03\xE0A\x01\"\x86\x01\x0A\x0EExplainMetrics\x126\x0A\x0Cplan_summary\x18\x01 \x01(\x0B2 .google.firestore.v1.PlanSummary\x12<\x0A\x0Fexecution_stats\x18\x02 \x01(\x0B2#.google.firestore.v1.ExecutionStats\"<\x0A\x0BPlanSummary\x12-\x0A\x0Cindexes_used\x18\x01 \x03(\x0B2\x17.google.protobuf.Struct\"\xA8\x01\x0A\x0EExecutionStats\x12\x18\x0A\x10results_returned\x18\x01 \x01(\x03\x125\x0A\x12execution_duration\x18\x03 \x01(\x0B2\x19.google.protobuf.Duration\x12\x17\x0A\x0Fread_operations\x18\x04 \x01(\x03\x12,\x0A\x0Bdebug_stats\x18\x05 \x01(\x0B2\x17.google.protobuf.StructB\xC9\x01\x0A\x17com.google.firestore.v1B\x11QueryProfileProtoP\x01Z;cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb\xA2\x02\x04GCFS\xAA\x02\x19Google.Cloud.Firestore.V1\xCA\x02\x19Google\\Cloud\\Firestore\\V1\xEA\x02\x1CGoogle::Cloud::Firestore::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/Firestore/metadata/V1/Write.php b/Firestore/metadata/V1/Write.php index abcc4fb4abf9..d8c00fd19204 100644 Binary files a/Firestore/metadata/V1/Write.php and b/Firestore/metadata/V1/Write.php differ diff --git a/Firestore/src/Admin/V1/Backup.php b/Firestore/src/Admin/V1/Backup.php index b004f7ab89f6..05241f9bd5cb 100644 --- a/Firestore/src/Admin/V1/Backup.php +++ b/Firestore/src/Admin/V1/Backup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Backup of a Cloud Firestore Database. diff --git a/Firestore/src/Admin/V1/Backup/State.php b/Firestore/src/Admin/V1/Backup/State.php index b868abc36995..a88be83f7339 100644 --- a/Firestore/src/Admin/V1/Backup/State.php +++ b/Firestore/src/Admin/V1/Backup/State.php @@ -67,6 +67,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Firestore\Admin\V1\Backup_State::class); - diff --git a/Firestore/src/Admin/V1/Backup/Stats.php b/Firestore/src/Admin/V1/Backup/Stats.php index 4132e9fbd381..50044ce0c5d7 100644 --- a/Firestore/src/Admin/V1/Backup/Stats.php +++ b/Firestore/src/Admin/V1/Backup/Stats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Backup; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Backup specific statistics. @@ -137,6 +137,3 @@ public function setIndexCount($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Stats::class, \Google\Cloud\Firestore\Admin\V1\Backup_Stats::class); - diff --git a/Firestore/src/Admin/V1/BackupSchedule.php b/Firestore/src/Admin/V1/BackupSchedule.php index 1d6007e439dc..c10f8e98dbf8 100644 --- a/Firestore/src/Admin/V1/BackupSchedule.php +++ b/Firestore/src/Admin/V1/BackupSchedule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A backup schedule for a Cloud Firestore Database. diff --git a/Firestore/src/Admin/V1/BulkDeleteDocumentsMetadata.php b/Firestore/src/Admin/V1/BulkDeleteDocumentsMetadata.php index 8ca0e5a4a950..3153004fc1e7 100644 --- a/Firestore/src/Admin/V1/BulkDeleteDocumentsMetadata.php +++ b/Firestore/src/Admin/V1/BulkDeleteDocumentsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for [google.longrunning.Operation][google.longrunning.Operation] @@ -87,9 +87,9 @@ class BulkDeleteDocumentsMetadata extends \Google\Protobuf\Internal\Message * The progress, in documents, of this operation. * @type \Google\Cloud\Firestore\Admin\V1\Progress $progress_bytes * The progress, in bytes, of this operation. - * @type array|\Google\Protobuf\Internal\RepeatedField $collection_ids + * @type string[] $collection_ids * The IDs of the collection groups that are being deleted. - * @type array|\Google\Protobuf\Internal\RepeatedField $namespace_ids + * @type string[] $namespace_ids * Which namespace IDs are being deleted. * @type \Google\Protobuf\Timestamp $snapshot_time * The timestamp that corresponds to the version of the database that is being @@ -279,7 +279,7 @@ public function setProgressBytes($var) * The IDs of the collection groups that are being deleted. * * Generated from protobuf field repeated string collection_ids = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCollectionIds() { @@ -290,7 +290,7 @@ public function getCollectionIds() * The IDs of the collection groups that are being deleted. * * Generated from protobuf field repeated string collection_ids = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCollectionIds($var) @@ -305,7 +305,7 @@ public function setCollectionIds($var) * Which namespace IDs are being deleted. * * Generated from protobuf field repeated string namespace_ids = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaceIds() { @@ -316,7 +316,7 @@ public function getNamespaceIds() * Which namespace IDs are being deleted. * * Generated from protobuf field repeated string namespace_ids = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaceIds($var) diff --git a/Firestore/src/Admin/V1/BulkDeleteDocumentsRequest.php b/Firestore/src/Admin/V1/BulkDeleteDocumentsRequest.php index b17510e2e594..acfbb32be963 100644 --- a/Firestore/src/Admin/V1/BulkDeleteDocumentsRequest.php +++ b/Firestore/src/Admin/V1/BulkDeleteDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for @@ -74,11 +74,11 @@ public static function build(string $name): self * @type string $name * Required. Database to operate. Should be of the form: * `projects/{project_id}/databases/{database_id}`. - * @type array|\Google\Protobuf\Internal\RepeatedField $collection_ids + * @type string[] $collection_ids * Optional. IDs of the collection groups to delete. Unspecified means all * collection groups. * Each collection group in this list must be unique. - * @type array|\Google\Protobuf\Internal\RepeatedField $namespace_ids + * @type string[] $namespace_ids * Optional. Namespaces to delete. * An empty list means all namespaces. This is the recommended * usage for databases that don't use namespaces. @@ -127,7 +127,7 @@ public function setName($var) * Each collection group in this list must be unique. * * Generated from protobuf field repeated string collection_ids = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCollectionIds() { @@ -140,7 +140,7 @@ public function getCollectionIds() * Each collection group in this list must be unique. * * Generated from protobuf field repeated string collection_ids = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCollectionIds($var) @@ -161,7 +161,7 @@ public function setCollectionIds($var) * Each namespace in this list must be unique. * * Generated from protobuf field repeated string namespace_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaceIds() { @@ -178,7 +178,7 @@ public function getNamespaceIds() * Each namespace in this list must be unique. * * Generated from protobuf field repeated string namespace_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaceIds($var) diff --git a/Firestore/src/Admin/V1/BulkDeleteDocumentsResponse.php b/Firestore/src/Admin/V1/BulkDeleteDocumentsResponse.php index a1d244d022c1..7a6fa0418629 100644 --- a/Firestore/src/Admin/V1/BulkDeleteDocumentsResponse.php +++ b/Firestore/src/Admin/V1/BulkDeleteDocumentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for diff --git a/Firestore/src/Admin/V1/CloneDatabaseMetadata.php b/Firestore/src/Admin/V1/CloneDatabaseMetadata.php index c2a12887b119..ebef6f888b8f 100644 --- a/Firestore/src/Admin/V1/CloneDatabaseMetadata.php +++ b/Firestore/src/Admin/V1/CloneDatabaseMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for the [long-running operation][google.longrunning.Operation] from diff --git a/Firestore/src/Admin/V1/CloneDatabaseRequest.php b/Firestore/src/Admin/V1/CloneDatabaseRequest.php index 03d5ac2a9a1d..ba7b58a0f69e 100644 --- a/Firestore/src/Admin/V1/CloneDatabaseRequest.php +++ b/Firestore/src/Admin/V1/CloneDatabaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for diff --git a/Firestore/src/Admin/V1/CreateBackupScheduleRequest.php b/Firestore/src/Admin/V1/CreateBackupScheduleRequest.php index 14adbde97da2..1d286df43451 100644 --- a/Firestore/src/Admin/V1/CreateBackupScheduleRequest.php +++ b/Firestore/src/Admin/V1/CreateBackupScheduleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/CreateDatabaseMetadata.php b/Firestore/src/Admin/V1/CreateDatabaseMetadata.php index 3a33d72e60b6..6d7f95468786 100644 --- a/Firestore/src/Admin/V1/CreateDatabaseMetadata.php +++ b/Firestore/src/Admin/V1/CreateDatabaseMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the create database operation. diff --git a/Firestore/src/Admin/V1/CreateDatabaseRequest.php b/Firestore/src/Admin/V1/CreateDatabaseRequest.php index 3c062b793b89..1f347ac3696e 100644 --- a/Firestore/src/Admin/V1/CreateDatabaseRequest.php +++ b/Firestore/src/Admin/V1/CreateDatabaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/CreateIndexRequest.php b/Firestore/src/Admin/V1/CreateIndexRequest.php index e2398eeb3126..8a8e55c4bc64 100644 --- a/Firestore/src/Admin/V1/CreateIndexRequest.php +++ b/Firestore/src/Admin/V1/CreateIndexRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/CreateUserCredsRequest.php b/Firestore/src/Admin/V1/CreateUserCredsRequest.php index 4beaf92dcfb5..4cfb2cbafb13 100644 --- a/Firestore/src/Admin/V1/CreateUserCredsRequest.php +++ b/Firestore/src/Admin/V1/CreateUserCredsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/DailyRecurrence.php b/Firestore/src/Admin/V1/DailyRecurrence.php index 0e6c88db898c..4f94e4e67e80 100644 --- a/Firestore/src/Admin/V1/DailyRecurrence.php +++ b/Firestore/src/Admin/V1/DailyRecurrence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a recurring schedule that runs every day. diff --git a/Firestore/src/Admin/V1/Database.php b/Firestore/src/Admin/V1/Database.php index 3667fb48418d..70fb85e0a314 100644 --- a/Firestore/src/Admin/V1/Database.php +++ b/Firestore/src/Admin/V1/Database.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Cloud Firestore Database. diff --git a/Firestore/src/Admin/V1/Database/AppEngineIntegrationMode.php b/Firestore/src/Admin/V1/Database/AppEngineIntegrationMode.php index 2a871f5971f6..f81ca80beab3 100644 --- a/Firestore/src/Admin/V1/Database/AppEngineIntegrationMode.php +++ b/Firestore/src/Admin/V1/Database/AppEngineIntegrationMode.php @@ -64,6 +64,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppEngineIntegrationMode::class, \Google\Cloud\Firestore\Admin\V1\Database_AppEngineIntegrationMode::class); - diff --git a/Firestore/src/Admin/V1/Database/CmekConfig.php b/Firestore/src/Admin/V1/Database/CmekConfig.php index 9cd3559a230c..37d93b1920ad 100644 --- a/Firestore/src/Admin/V1/Database/CmekConfig.php +++ b/Firestore/src/Admin/V1/Database/CmekConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Database; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The CMEK (Customer Managed Encryption Key) configuration for a Firestore @@ -57,7 +57,7 @@ class CmekConfig extends \Google\Protobuf\Internal\Message * https://cloud.google.com/kms/docs/locations. * The expected format is * `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. - * @type array|\Google\Protobuf\Internal\RepeatedField $active_key_version + * @type string[] $active_key_version * Output only. Currently in-use [KMS key * versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). * During [key rotation](https://cloud.google.com/kms/docs/key-rotation), @@ -120,7 +120,7 @@ public function setKmsKeyName($var) * `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`. * * Generated from protobuf field repeated string active_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getActiveKeyVersion() { @@ -136,7 +136,7 @@ public function getActiveKeyVersion() * `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`. * * Generated from protobuf field repeated string active_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setActiveKeyVersion($var) @@ -149,6 +149,3 @@ public function setActiveKeyVersion($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CmekConfig::class, \Google\Cloud\Firestore\Admin\V1\Database_CmekConfig::class); - diff --git a/Firestore/src/Admin/V1/Database/ConcurrencyMode.php b/Firestore/src/Admin/V1/Database/ConcurrencyMode.php index 16479bd92fbd..f34e9bce6751 100644 --- a/Firestore/src/Admin/V1/Database/ConcurrencyMode.php +++ b/Firestore/src/Admin/V1/Database/ConcurrencyMode.php @@ -76,6 +76,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConcurrencyMode::class, \Google\Cloud\Firestore\Admin\V1\Database_ConcurrencyMode::class); - diff --git a/Firestore/src/Admin/V1/Database/DataAccessMode.php b/Firestore/src/Admin/V1/Database/DataAccessMode.php index 6d0702762192..1768bbfdf76f 100644 --- a/Firestore/src/Admin/V1/Database/DataAccessMode.php +++ b/Firestore/src/Admin/V1/Database/DataAccessMode.php @@ -59,6 +59,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DataAccessMode::class, \Google\Cloud\Firestore\Admin\V1\Database_DataAccessMode::class); - diff --git a/Firestore/src/Admin/V1/Database/DatabaseEdition.php b/Firestore/src/Admin/V1/Database/DatabaseEdition.php index 93b437846f9d..9102fcdc721b 100644 --- a/Firestore/src/Admin/V1/Database/DatabaseEdition.php +++ b/Firestore/src/Admin/V1/Database/DatabaseEdition.php @@ -60,6 +60,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DatabaseEdition::class, \Google\Cloud\Firestore\Admin\V1\Database_DatabaseEdition::class); - diff --git a/Firestore/src/Admin/V1/Database/DatabaseType.php b/Firestore/src/Admin/V1/Database/DatabaseType.php index 8fed66a0fc28..930fddf71f6f 100644 --- a/Firestore/src/Admin/V1/Database/DatabaseType.php +++ b/Firestore/src/Admin/V1/Database/DatabaseType.php @@ -62,6 +62,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DatabaseType::class, \Google\Cloud\Firestore\Admin\V1\Database_DatabaseType::class); - diff --git a/Firestore/src/Admin/V1/Database/DeleteProtectionState.php b/Firestore/src/Admin/V1/Database/DeleteProtectionState.php index 34ade3e23333..299230749a07 100644 --- a/Firestore/src/Admin/V1/Database/DeleteProtectionState.php +++ b/Firestore/src/Admin/V1/Database/DeleteProtectionState.php @@ -59,6 +59,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DeleteProtectionState::class, \Google\Cloud\Firestore\Admin\V1\Database_DeleteProtectionState::class); - diff --git a/Firestore/src/Admin/V1/Database/EncryptionConfig.php b/Firestore/src/Admin/V1/Database/EncryptionConfig.php index 5471409640b1..510f8a24fa1d 100644 --- a/Firestore/src/Admin/V1/Database/EncryptionConfig.php +++ b/Firestore/src/Admin/V1/Database/EncryptionConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Database; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encryption configuration for a new database being created from another @@ -142,6 +142,3 @@ public function getEncryptionType() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EncryptionConfig::class, \Google\Cloud\Firestore\Admin\V1\Database_EncryptionConfig::class); - diff --git a/Firestore/src/Admin/V1/Database/EncryptionConfig/CustomerManagedEncryptionOptions.php b/Firestore/src/Admin/V1/Database/EncryptionConfig/CustomerManagedEncryptionOptions.php index f1282fb6d37b..09c85f9bff8b 100644 --- a/Firestore/src/Admin/V1/Database/EncryptionConfig/CustomerManagedEncryptionOptions.php +++ b/Firestore/src/Admin/V1/Database/EncryptionConfig/CustomerManagedEncryptionOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Database\EncryptionConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration options for using CMEK (Customer Managed Encryption @@ -94,6 +94,3 @@ public function setKmsKeyName($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerManagedEncryptionOptions::class, \Google\Cloud\Firestore\Admin\V1\Database_EncryptionConfig_CustomerManagedEncryptionOptions::class); - diff --git a/Firestore/src/Admin/V1/Database/EncryptionConfig/GoogleDefaultEncryptionOptions.php b/Firestore/src/Admin/V1/Database/EncryptionConfig/GoogleDefaultEncryptionOptions.php index 6a47d15b6b48..3c68de993d27 100644 --- a/Firestore/src/Admin/V1/Database/EncryptionConfig/GoogleDefaultEncryptionOptions.php +++ b/Firestore/src/Admin/V1/Database/EncryptionConfig/GoogleDefaultEncryptionOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Database\EncryptionConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration options for using Google default encryption. @@ -31,6 +31,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GoogleDefaultEncryptionOptions::class, \Google\Cloud\Firestore\Admin\V1\Database_EncryptionConfig_GoogleDefaultEncryptionOptions::class); - diff --git a/Firestore/src/Admin/V1/Database/EncryptionConfig/SourceEncryptionOptions.php b/Firestore/src/Admin/V1/Database/EncryptionConfig/SourceEncryptionOptions.php index 6bf765a0fb15..245e680690bc 100644 --- a/Firestore/src/Admin/V1/Database/EncryptionConfig/SourceEncryptionOptions.php +++ b/Firestore/src/Admin/V1/Database/EncryptionConfig/SourceEncryptionOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Database\EncryptionConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration options for using the same encryption method as the @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SourceEncryptionOptions::class, \Google\Cloud\Firestore\Admin\V1\Database_EncryptionConfig_SourceEncryptionOptions::class); - diff --git a/Firestore/src/Admin/V1/Database/PointInTimeRecoveryEnablement.php b/Firestore/src/Admin/V1/Database/PointInTimeRecoveryEnablement.php index 14a69b79b174..fff9f69765f7 100644 --- a/Firestore/src/Admin/V1/Database/PointInTimeRecoveryEnablement.php +++ b/Firestore/src/Admin/V1/Database/PointInTimeRecoveryEnablement.php @@ -65,6 +65,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PointInTimeRecoveryEnablement::class, \Google\Cloud\Firestore\Admin\V1\Database_PointInTimeRecoveryEnablement::class); - diff --git a/Firestore/src/Admin/V1/Database/SourceInfo.php b/Firestore/src/Admin/V1/Database/SourceInfo.php index 32aa35749e2f..650c9cda73f7 100644 --- a/Firestore/src/Admin/V1/Database/SourceInfo.php +++ b/Firestore/src/Admin/V1/Database/SourceInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Database; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the provenance of this database. @@ -118,6 +118,3 @@ public function getSource() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SourceInfo::class, \Google\Cloud\Firestore\Admin\V1\Database_SourceInfo::class); - diff --git a/Firestore/src/Admin/V1/Database/SourceInfo/BackupSource.php b/Firestore/src/Admin/V1/Database/SourceInfo/BackupSource.php index 0faf2b1b5484..5f8b50139916 100644 --- a/Firestore/src/Admin/V1/Database/SourceInfo/BackupSource.php +++ b/Firestore/src/Admin/V1/Database/SourceInfo/BackupSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Database\SourceInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about a backup that was used to restore a database. @@ -73,6 +73,3 @@ public function setBackup($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BackupSource::class, \Google\Cloud\Firestore\Admin\V1\Database_SourceInfo_BackupSource::class); - diff --git a/Firestore/src/Admin/V1/DeleteBackupRequest.php b/Firestore/src/Admin/V1/DeleteBackupRequest.php index a6d551361615..7162d852aca8 100644 --- a/Firestore/src/Admin/V1/DeleteBackupRequest.php +++ b/Firestore/src/Admin/V1/DeleteBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/DeleteBackupScheduleRequest.php b/Firestore/src/Admin/V1/DeleteBackupScheduleRequest.php index 088449a9b01c..9796b7bbc2fa 100644 --- a/Firestore/src/Admin/V1/DeleteBackupScheduleRequest.php +++ b/Firestore/src/Admin/V1/DeleteBackupScheduleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for [FirestoreAdmin.DeleteBackupSchedules][]. diff --git a/Firestore/src/Admin/V1/DeleteDatabaseMetadata.php b/Firestore/src/Admin/V1/DeleteDatabaseMetadata.php index c411410ff5b5..a1573dc43b4c 100644 --- a/Firestore/src/Admin/V1/DeleteDatabaseMetadata.php +++ b/Firestore/src/Admin/V1/DeleteDatabaseMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the delete database operation. diff --git a/Firestore/src/Admin/V1/DeleteDatabaseRequest.php b/Firestore/src/Admin/V1/DeleteDatabaseRequest.php index c23e839eb172..3dd4b3b3c0f3 100644 --- a/Firestore/src/Admin/V1/DeleteDatabaseRequest.php +++ b/Firestore/src/Admin/V1/DeleteDatabaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/DeleteIndexRequest.php b/Firestore/src/Admin/V1/DeleteIndexRequest.php index 1aa929dc36c6..4c80b00d672a 100644 --- a/Firestore/src/Admin/V1/DeleteIndexRequest.php +++ b/Firestore/src/Admin/V1/DeleteIndexRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/DeleteUserCredsRequest.php b/Firestore/src/Admin/V1/DeleteUserCredsRequest.php index 9867b77e395b..f1114e182505 100644 --- a/Firestore/src/Admin/V1/DeleteUserCredsRequest.php +++ b/Firestore/src/Admin/V1/DeleteUserCredsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/DisableUserCredsRequest.php b/Firestore/src/Admin/V1/DisableUserCredsRequest.php index c49eb5d13ebc..15f6e5a58874 100644 --- a/Firestore/src/Admin/V1/DisableUserCredsRequest.php +++ b/Firestore/src/Admin/V1/DisableUserCredsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/EnableUserCredsRequest.php b/Firestore/src/Admin/V1/EnableUserCredsRequest.php index 745a557d00d5..0a2ce8239b15 100644 --- a/Firestore/src/Admin/V1/EnableUserCredsRequest.php +++ b/Firestore/src/Admin/V1/EnableUserCredsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/ExportDocumentsMetadata.php b/Firestore/src/Admin/V1/ExportDocumentsMetadata.php index a77e2ea19e7f..8b752e66038e 100644 --- a/Firestore/src/Admin/V1/ExportDocumentsMetadata.php +++ b/Firestore/src/Admin/V1/ExportDocumentsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for [google.longrunning.Operation][google.longrunning.Operation] @@ -92,11 +92,11 @@ class ExportDocumentsMetadata extends \Google\Protobuf\Internal\Message * The progress, in documents, of this operation. * @type \Google\Cloud\Firestore\Admin\V1\Progress $progress_bytes * The progress, in bytes, of this operation. - * @type array|\Google\Protobuf\Internal\RepeatedField $collection_ids + * @type string[] $collection_ids * Which collection IDs are being exported. * @type string $output_uri_prefix * Where the documents are being exported to. - * @type array|\Google\Protobuf\Internal\RepeatedField $namespace_ids + * @type string[] $namespace_ids * Which namespace IDs are being exported. * @type \Google\Protobuf\Timestamp $snapshot_time * The timestamp that corresponds to the version of the database that is being @@ -285,7 +285,7 @@ public function setProgressBytes($var) * Which collection IDs are being exported. * * Generated from protobuf field repeated string collection_ids = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCollectionIds() { @@ -296,7 +296,7 @@ public function getCollectionIds() * Which collection IDs are being exported. * * Generated from protobuf field repeated string collection_ids = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCollectionIds($var) @@ -337,7 +337,7 @@ public function setOutputUriPrefix($var) * Which namespace IDs are being exported. * * Generated from protobuf field repeated string namespace_ids = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaceIds() { @@ -348,7 +348,7 @@ public function getNamespaceIds() * Which namespace IDs are being exported. * * Generated from protobuf field repeated string namespace_ids = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaceIds($var) diff --git a/Firestore/src/Admin/V1/ExportDocumentsRequest.php b/Firestore/src/Admin/V1/ExportDocumentsRequest.php index 69a1914465a7..217751093276 100644 --- a/Firestore/src/Admin/V1/ExportDocumentsRequest.php +++ b/Firestore/src/Admin/V1/ExportDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for @@ -90,7 +90,7 @@ public static function build(string $name): self * @type string $name * Required. Database to export. Should be of the form: * `projects/{project_id}/databases/{database_id}`. - * @type array|\Google\Protobuf\Internal\RepeatedField $collection_ids + * @type string[] $collection_ids * IDs of the collection groups to export. Unspecified means all * collection groups. Each collection group in this list must be unique. * @type string $output_uri_prefix @@ -102,7 +102,7 @@ public static function build(string $name): self * guidelines: https://cloud.google.com/storage/docs/naming. * If the URI is a bucket (without a namespace path), a prefix will be * generated based on the start time. - * @type array|\Google\Protobuf\Internal\RepeatedField $namespace_ids + * @type string[] $namespace_ids * An empty list represents all namespaces. This is the preferred * usage for databases that don't use namespaces. * An empty string element represents the default namespace. This should be @@ -156,7 +156,7 @@ public function setName($var) * collection groups. Each collection group in this list must be unique. * * Generated from protobuf field repeated string collection_ids = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCollectionIds() { @@ -168,7 +168,7 @@ public function getCollectionIds() * collection groups. Each collection group in this list must be unique. * * Generated from protobuf field repeated string collection_ids = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCollectionIds($var) @@ -227,7 +227,7 @@ public function setOutputUriPrefix($var) * to include them. Each namespace in this list must be unique. * * Generated from protobuf field repeated string namespace_ids = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaceIds() { @@ -242,7 +242,7 @@ public function getNamespaceIds() * to include them. Each namespace in this list must be unique. * * Generated from protobuf field repeated string namespace_ids = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaceIds($var) diff --git a/Firestore/src/Admin/V1/ExportDocumentsResponse.php b/Firestore/src/Admin/V1/ExportDocumentsResponse.php index 73d16865af31..7a9df2fcdb7c 100644 --- a/Firestore/src/Admin/V1/ExportDocumentsResponse.php +++ b/Firestore/src/Admin/V1/ExportDocumentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Returned in the [google.longrunning.Operation][google.longrunning.Operation] diff --git a/Firestore/src/Admin/V1/Field.php b/Firestore/src/Admin/V1/Field.php index 5ad7306e5f76..4aabe7e16a12 100644 --- a/Firestore/src/Admin/V1/Field.php +++ b/Firestore/src/Admin/V1/Field.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a single field in the database. @@ -35,7 +35,7 @@ class Field extends \Google\Protobuf\Internal\Message * not any field. * A special `Field` contains the default indexing settings for all fields. * This field's resource name is: - * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` + * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` * Indexes defined on this `Field` will be applied to all fields which do not * have their own `Field` index configuration. * @@ -84,7 +84,7 @@ class Field extends \Google\Protobuf\Internal\Message * not any field. * A special `Field` contains the default indexing settings for all fields. * This field's resource name is: - * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` + * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` * Indexes defined on this `Field` will be applied to all fields which do not * have their own `Field` index configuration. * @type \Google\Cloud\Firestore\Admin\V1\Field\IndexConfig $index_config @@ -121,7 +121,7 @@ public function __construct($data = NULL) { * not any field. * A special `Field` contains the default indexing settings for all fields. * This field's resource name is: - * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` + * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` * Indexes defined on this `Field` will be applied to all fields which do not * have their own `Field` index configuration. * @@ -151,7 +151,7 @@ public function getName() * not any field. * A special `Field` contains the default indexing settings for all fields. * This field's resource name is: - * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` + * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` * Indexes defined on this `Field` will be applied to all fields which do not * have their own `Field` index configuration. * diff --git a/Firestore/src/Admin/V1/Field/IndexConfig.php b/Firestore/src/Admin/V1/Field/IndexConfig.php index c02707a43b16..8a656a7d529d 100644 --- a/Firestore/src/Admin/V1/Field/IndexConfig.php +++ b/Firestore/src/Admin/V1/Field/IndexConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Field; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The index configuration for this field. @@ -55,7 +55,7 @@ class IndexConfig extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\Admin\V1\Index>|\Google\Protobuf\Internal\RepeatedField $indexes + * @type \Google\Cloud\Firestore\Admin\V1\Index[] $indexes * The indexes supported for this field. * @type bool $uses_ancestor_config * Output only. When true, the `Field`'s index configuration is set from the @@ -83,7 +83,7 @@ public function __construct($data = NULL) { * The indexes supported for this field. * * Generated from protobuf field repeated .google.firestore.admin.v1.Index indexes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\Index> */ public function getIndexes() { @@ -94,7 +94,7 @@ public function getIndexes() * The indexes supported for this field. * * Generated from protobuf field repeated .google.firestore.admin.v1.Index indexes = 1; - * @param array<\Google\Cloud\Firestore\Admin\V1\Index>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\Index[] $var * @return $this */ public function setIndexes($var) @@ -203,6 +203,3 @@ public function setReverting($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IndexConfig::class, \Google\Cloud\Firestore\Admin\V1\Field_IndexConfig::class); - diff --git a/Firestore/src/Admin/V1/Field/TtlConfig.php b/Firestore/src/Admin/V1/Field/TtlConfig.php index b0909d7da880..6a7353dd8c2f 100644 --- a/Firestore/src/Admin/V1/Field/TtlConfig.php +++ b/Firestore/src/Admin/V1/Field/TtlConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Field; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The TTL (time-to-live) configuration for documents that have this `Field` @@ -73,6 +73,3 @@ public function setState($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TtlConfig::class, \Google\Cloud\Firestore\Admin\V1\Field_TtlConfig::class); - diff --git a/Firestore/src/Admin/V1/Field/TtlConfig/State.php b/Firestore/src/Admin/V1/Field/TtlConfig/State.php index 7722ca6e7e0a..3f5647cd9139 100644 --- a/Firestore/src/Admin/V1/Field/TtlConfig/State.php +++ b/Firestore/src/Admin/V1/Field/TtlConfig/State.php @@ -73,6 +73,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Firestore\Admin\V1\Field_TtlConfig_State::class); - diff --git a/Firestore/src/Admin/V1/FieldOperationMetadata.php b/Firestore/src/Admin/V1/FieldOperationMetadata.php index 02a39204875f..57bf886ef72b 100644 --- a/Firestore/src/Admin/V1/FieldOperationMetadata.php +++ b/Firestore/src/Admin/V1/FieldOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for [google.longrunning.Operation][google.longrunning.Operation] @@ -84,7 +84,7 @@ class FieldOperationMetadata extends \Google\Protobuf\Internal\Message * @type string $field * The field resource that this operation is acting on. For example: * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` - * @type array<\Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata\IndexConfigDelta>|\Google\Protobuf\Internal\RepeatedField $index_config_deltas + * @type \Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata\IndexConfigDelta[] $index_config_deltas * A list of * [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], * which describe the intent of this operation. @@ -211,7 +211,7 @@ public function setField($var) * which describe the intent of this operation. * * Generated from protobuf field repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata\IndexConfigDelta> */ public function getIndexConfigDeltas() { @@ -224,7 +224,7 @@ public function getIndexConfigDeltas() * which describe the intent of this operation. * * Generated from protobuf field repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * @param array<\Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata\IndexConfigDelta>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata\IndexConfigDelta[] $var * @return $this */ public function setIndexConfigDeltas($var) diff --git a/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta.php b/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta.php index 7cfbddcf8715..377dae5144b6 100644 --- a/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta.php +++ b/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about an index configuration change. @@ -109,6 +109,3 @@ public function setIndex($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IndexConfigDelta::class, \Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata_IndexConfigDelta::class); - diff --git a/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta/ChangeType.php b/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta/ChangeType.php index df7d29035371..cf7058555cad 100644 --- a/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta/ChangeType.php +++ b/Firestore/src/Admin/V1/FieldOperationMetadata/IndexConfigDelta/ChangeType.php @@ -59,6 +59,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeType::class, \Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata_IndexConfigDelta_ChangeType::class); - diff --git a/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta.php b/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta.php index 1307b9be1da4..7c610bfb44cb 100644 --- a/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta.php +++ b/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about a TTL configuration change. @@ -65,6 +65,3 @@ public function setChangeType($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TtlConfigDelta::class, \Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata_TtlConfigDelta::class); - diff --git a/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta/ChangeType.php b/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta/ChangeType.php index 600dbab57322..ce9d1598e609 100644 --- a/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta/ChangeType.php +++ b/Firestore/src/Admin/V1/FieldOperationMetadata/TtlConfigDelta/ChangeType.php @@ -59,6 +59,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeType::class, \Google\Cloud\Firestore\Admin\V1\FieldOperationMetadata_TtlConfigDelta_ChangeType::class); - diff --git a/Firestore/src/Admin/V1/GetBackupRequest.php b/Firestore/src/Admin/V1/GetBackupRequest.php index 90b609c6e261..846e88353da5 100644 --- a/Firestore/src/Admin/V1/GetBackupRequest.php +++ b/Firestore/src/Admin/V1/GetBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/GetBackupScheduleRequest.php b/Firestore/src/Admin/V1/GetBackupScheduleRequest.php index 6614d13f3baa..e125b200e0d5 100644 --- a/Firestore/src/Admin/V1/GetBackupScheduleRequest.php +++ b/Firestore/src/Admin/V1/GetBackupScheduleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/GetDatabaseRequest.php b/Firestore/src/Admin/V1/GetDatabaseRequest.php index 132af3884735..e417c4810ca7 100644 --- a/Firestore/src/Admin/V1/GetDatabaseRequest.php +++ b/Firestore/src/Admin/V1/GetDatabaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/GetFieldRequest.php b/Firestore/src/Admin/V1/GetFieldRequest.php index cfea7b408e8d..698600d492b0 100644 --- a/Firestore/src/Admin/V1/GetFieldRequest.php +++ b/Firestore/src/Admin/V1/GetFieldRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/GetIndexRequest.php b/Firestore/src/Admin/V1/GetIndexRequest.php index fc6487cafbce..0f1be17c39e0 100644 --- a/Firestore/src/Admin/V1/GetIndexRequest.php +++ b/Firestore/src/Admin/V1/GetIndexRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/GetUserCredsRequest.php b/Firestore/src/Admin/V1/GetUserCredsRequest.php index 8c75c0ecf665..a9f972bb8ca6 100644 --- a/Firestore/src/Admin/V1/GetUserCredsRequest.php +++ b/Firestore/src/Admin/V1/GetUserCredsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/ImportDocumentsMetadata.php b/Firestore/src/Admin/V1/ImportDocumentsMetadata.php index 6b7f1ebe7501..7e88a390c05e 100644 --- a/Firestore/src/Admin/V1/ImportDocumentsMetadata.php +++ b/Firestore/src/Admin/V1/ImportDocumentsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for [google.longrunning.Operation][google.longrunning.Operation] @@ -84,11 +84,11 @@ class ImportDocumentsMetadata extends \Google\Protobuf\Internal\Message * The progress, in documents, of this operation. * @type \Google\Cloud\Firestore\Admin\V1\Progress $progress_bytes * The progress, in bytes, of this operation. - * @type array|\Google\Protobuf\Internal\RepeatedField $collection_ids + * @type string[] $collection_ids * Which collection IDs are being imported. * @type string $input_uri_prefix * The location of the documents being imported. - * @type array|\Google\Protobuf\Internal\RepeatedField $namespace_ids + * @type string[] $namespace_ids * Which namespace IDs are being imported. * } */ @@ -273,7 +273,7 @@ public function setProgressBytes($var) * Which collection IDs are being imported. * * Generated from protobuf field repeated string collection_ids = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCollectionIds() { @@ -284,7 +284,7 @@ public function getCollectionIds() * Which collection IDs are being imported. * * Generated from protobuf field repeated string collection_ids = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCollectionIds($var) @@ -325,7 +325,7 @@ public function setInputUriPrefix($var) * Which namespace IDs are being imported. * * Generated from protobuf field repeated string namespace_ids = 8; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaceIds() { @@ -336,7 +336,7 @@ public function getNamespaceIds() * Which namespace IDs are being imported. * * Generated from protobuf field repeated string namespace_ids = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaceIds($var) diff --git a/Firestore/src/Admin/V1/ImportDocumentsRequest.php b/Firestore/src/Admin/V1/ImportDocumentsRequest.php index 036f3d1f480d..5e08ee555812 100644 --- a/Firestore/src/Admin/V1/ImportDocumentsRequest.php +++ b/Firestore/src/Admin/V1/ImportDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for @@ -76,7 +76,7 @@ public static function build(string $name): self * @type string $name * Required. Database to import into. Should be of the form: * `projects/{project_id}/databases/{database_id}`. - * @type array|\Google\Protobuf\Internal\RepeatedField $collection_ids + * @type string[] $collection_ids * IDs of the collection groups to import. Unspecified means all collection * groups that were included in the export. Each collection group in this list * must be unique. @@ -86,7 +86,7 @@ public static function build(string $name): self * an export that has completed successfully. * See: * [google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix]. - * @type array|\Google\Protobuf\Internal\RepeatedField $namespace_ids + * @type string[] $namespace_ids * An empty list represents all namespaces. This is the preferred * usage for databases that don't use namespaces. * An empty string element represents the default namespace. This should be @@ -133,7 +133,7 @@ public function setName($var) * must be unique. * * Generated from protobuf field repeated string collection_ids = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCollectionIds() { @@ -146,7 +146,7 @@ public function getCollectionIds() * must be unique. * * Generated from protobuf field repeated string collection_ids = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCollectionIds($var) @@ -199,7 +199,7 @@ public function setInputUriPrefix($var) * to include them. Each namespace in this list must be unique. * * Generated from protobuf field repeated string namespace_ids = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaceIds() { @@ -214,7 +214,7 @@ public function getNamespaceIds() * to include them. Each namespace in this list must be unique. * * Generated from protobuf field repeated string namespace_ids = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaceIds($var) diff --git a/Firestore/src/Admin/V1/Index.php b/Firestore/src/Admin/V1/Index.php index 716af175f6b2..fe840ca7bf44 100644 --- a/Firestore/src/Admin/V1/Index.php +++ b/Firestore/src/Admin/V1/Index.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Cloud Firestore indexes enable simple and complex queries against @@ -114,7 +114,7 @@ class Index extends \Google\Protobuf\Internal\Message * time, and that have the same collection ID as this index. * @type int $api_scope * The API scope supported by this index. - * @type array<\Google\Cloud\Firestore\Admin\V1\Index\IndexField>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\Firestore\Admin\V1\Index\IndexField[] $fields * The fields supported by this index. * For composite indexes, this requires a minimum of 2 and a maximum of 100 * fields. The last field entry is always for the field path `__name__`. If, @@ -254,7 +254,7 @@ public function setApiScope($var) * field path equal to the field path of the associated field. * * Generated from protobuf field repeated .google.firestore.admin.v1.Index.IndexField fields = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\Index\IndexField> */ public function getFields() { @@ -273,7 +273,7 @@ public function getFields() * field path equal to the field path of the associated field. * * Generated from protobuf field repeated .google.firestore.admin.v1.Index.IndexField fields = 3; - * @param array<\Google\Cloud\Firestore\Admin\V1\Index\IndexField>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\Index\IndexField[] $var * @return $this */ public function setFields($var) diff --git a/Firestore/src/Admin/V1/Index/ApiScope.php b/Firestore/src/Admin/V1/Index/ApiScope.php index fe666f8562b9..82f955ef90e9 100644 --- a/Firestore/src/Admin/V1/Index/ApiScope.php +++ b/Firestore/src/Admin/V1/Index/ApiScope.php @@ -61,6 +61,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ApiScope::class, \Google\Cloud\Firestore\Admin\V1\Index_ApiScope::class); - diff --git a/Firestore/src/Admin/V1/Index/Density.php b/Firestore/src/Admin/V1/Index/Density.php index 0e907cd78b0e..1ceec9170909 100644 --- a/Firestore/src/Admin/V1/Index/Density.php +++ b/Firestore/src/Admin/V1/Index/Density.php @@ -107,6 +107,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Density::class, \Google\Cloud\Firestore\Admin\V1\Index_Density::class); - diff --git a/Firestore/src/Admin/V1/Index/IndexField.php b/Firestore/src/Admin/V1/Index/IndexField.php index 8e637c0df9ca..fed937ea6614 100644 --- a/Firestore/src/Admin/V1/Index/IndexField.php +++ b/Firestore/src/Admin/V1/Index/IndexField.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Index; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A field in an index. @@ -189,6 +189,3 @@ public function getValueMode() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IndexField::class, \Google\Cloud\Firestore\Admin\V1\Index_IndexField::class); - diff --git a/Firestore/src/Admin/V1/Index/IndexField/ArrayConfig.php b/Firestore/src/Admin/V1/Index/IndexField/ArrayConfig.php index e7ba6fe94de4..e44e7c449bba 100644 --- a/Firestore/src/Admin/V1/Index/IndexField/ArrayConfig.php +++ b/Firestore/src/Admin/V1/Index/IndexField/ArrayConfig.php @@ -52,6 +52,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ArrayConfig::class, \Google\Cloud\Firestore\Admin\V1\Index_IndexField_ArrayConfig::class); - diff --git a/Firestore/src/Admin/V1/Index/IndexField/Order.php b/Firestore/src/Admin/V1/Index/IndexField/Order.php index d523938322b4..6c7b3ab13bc3 100644 --- a/Firestore/src/Admin/V1/Index/IndexField/Order.php +++ b/Firestore/src/Admin/V1/Index/IndexField/Order.php @@ -59,6 +59,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Order::class, \Google\Cloud\Firestore\Admin\V1\Index_IndexField_Order::class); - diff --git a/Firestore/src/Admin/V1/Index/IndexField/VectorConfig.php b/Firestore/src/Admin/V1/Index/IndexField/VectorConfig.php index 5becff1bee63..1da87045e8d2 100644 --- a/Firestore/src/Admin/V1/Index/IndexField/VectorConfig.php +++ b/Firestore/src/Admin/V1/Index/IndexField/VectorConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Index\IndexField; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The index configuration to support vector search operations @@ -115,6 +115,3 @@ public function getType() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(VectorConfig::class, \Google\Cloud\Firestore\Admin\V1\Index_IndexField_VectorConfig::class); - diff --git a/Firestore/src/Admin/V1/Index/IndexField/VectorConfig/FlatIndex.php b/Firestore/src/Admin/V1/Index/IndexField/VectorConfig/FlatIndex.php index b2321214c64d..6247e505d63a 100644 --- a/Firestore/src/Admin/V1/Index/IndexField/VectorConfig/FlatIndex.php +++ b/Firestore/src/Admin/V1/Index/IndexField/VectorConfig/FlatIndex.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\Index\IndexField\VectorConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An index that stores vectors in a flat data structure, and supports @@ -32,6 +32,3 @@ public function __construct($data = NULL) { } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FlatIndex::class, \Google\Cloud\Firestore\Admin\V1\Index_IndexField_VectorConfig_FlatIndex::class); - diff --git a/Firestore/src/Admin/V1/Index/QueryScope.php b/Firestore/src/Admin/V1/Index/QueryScope.php index f368fa80f89d..a2bee11d68a8 100644 --- a/Firestore/src/Admin/V1/Index/QueryScope.php +++ b/Firestore/src/Admin/V1/Index/QueryScope.php @@ -72,6 +72,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QueryScope::class, \Google\Cloud\Firestore\Admin\V1\Index_QueryScope::class); - diff --git a/Firestore/src/Admin/V1/Index/State.php b/Firestore/src/Admin/V1/Index/State.php index d9f96475cd8e..bf31eec158a0 100644 --- a/Firestore/src/Admin/V1/Index/State.php +++ b/Firestore/src/Admin/V1/Index/State.php @@ -81,6 +81,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Firestore\Admin\V1\Index_State::class); - diff --git a/Firestore/src/Admin/V1/IndexOperationMetadata.php b/Firestore/src/Admin/V1/IndexOperationMetadata.php index b4930a15dcb4..72329f534c73 100644 --- a/Firestore/src/Admin/V1/IndexOperationMetadata.php +++ b/Firestore/src/Admin/V1/IndexOperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for [google.longrunning.Operation][google.longrunning.Operation] diff --git a/Firestore/src/Admin/V1/ListBackupSchedulesRequest.php b/Firestore/src/Admin/V1/ListBackupSchedulesRequest.php index b8e3d201b97d..07fbf77f5e87 100644 --- a/Firestore/src/Admin/V1/ListBackupSchedulesRequest.php +++ b/Firestore/src/Admin/V1/ListBackupSchedulesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/ListBackupSchedulesResponse.php b/Firestore/src/Admin/V1/ListBackupSchedulesResponse.php index bda082e013e8..230e34ceb900 100644 --- a/Firestore/src/Admin/V1/ListBackupSchedulesResponse.php +++ b/Firestore/src/Admin/V1/ListBackupSchedulesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for @@ -29,7 +29,7 @@ class ListBackupSchedulesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\Admin\V1\BackupSchedule>|\Google\Protobuf\Internal\RepeatedField $backup_schedules + * @type \Google\Cloud\Firestore\Admin\V1\BackupSchedule[] $backup_schedules * List of all backup schedules. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * List of all backup schedules. * * Generated from protobuf field repeated .google.firestore.admin.v1.BackupSchedule backup_schedules = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\BackupSchedule> */ public function getBackupSchedules() { @@ -53,7 +53,7 @@ public function getBackupSchedules() * List of all backup schedules. * * Generated from protobuf field repeated .google.firestore.admin.v1.BackupSchedule backup_schedules = 1; - * @param array<\Google\Cloud\Firestore\Admin\V1\BackupSchedule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\BackupSchedule[] $var * @return $this */ public function setBackupSchedules($var) diff --git a/Firestore/src/Admin/V1/ListBackupsRequest.php b/Firestore/src/Admin/V1/ListBackupsRequest.php index 53afabebd7b6..b50a334f763f 100644 --- a/Firestore/src/Admin/V1/ListBackupsRequest.php +++ b/Firestore/src/Admin/V1/ListBackupsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/ListBackupsResponse.php b/Firestore/src/Admin/V1/ListBackupsResponse.php index b3fa74286dcb..8b2b6447cb77 100644 --- a/Firestore/src/Admin/V1/ListBackupsResponse.php +++ b/Firestore/src/Admin/V1/ListBackupsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for @@ -39,9 +39,9 @@ class ListBackupsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\Admin\V1\Backup>|\Google\Protobuf\Internal\RepeatedField $backups + * @type \Google\Cloud\Firestore\Admin\V1\Backup[] $backups * List of all backups for the project. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * List of locations that existing backups were not able to be fetched from. * Instead of failing the entire requests when a single location is * unreachable, this response returns a partial result set and list of @@ -58,7 +58,7 @@ public function __construct($data = NULL) { * List of all backups for the project. * * Generated from protobuf field repeated .google.firestore.admin.v1.Backup backups = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\Backup> */ public function getBackups() { @@ -69,7 +69,7 @@ public function getBackups() * List of all backups for the project. * * Generated from protobuf field repeated .google.firestore.admin.v1.Backup backups = 1; - * @param array<\Google\Cloud\Firestore\Admin\V1\Backup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\Backup[] $var * @return $this */ public function setBackups($var) @@ -88,7 +88,7 @@ public function setBackups($var) * single location to get a concrete error. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -103,7 +103,7 @@ public function getUnreachable() * single location to get a concrete error. * * 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/Firestore/src/Admin/V1/ListDatabasesRequest.php b/Firestore/src/Admin/V1/ListDatabasesRequest.php index 9f175c6314aa..31a8dc7063f8 100644 --- a/Firestore/src/Admin/V1/ListDatabasesRequest.php +++ b/Firestore/src/Admin/V1/ListDatabasesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request to list the Firestore Databases in all locations for a project. diff --git a/Firestore/src/Admin/V1/ListDatabasesResponse.php b/Firestore/src/Admin/V1/ListDatabasesResponse.php index efe6b7b4ae83..f3a9c42afa12 100644 --- a/Firestore/src/Admin/V1/ListDatabasesResponse.php +++ b/Firestore/src/Admin/V1/ListDatabasesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The list of databases for a project. @@ -41,9 +41,9 @@ class ListDatabasesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\Admin\V1\Database>|\Google\Protobuf\Internal\RepeatedField $databases + * @type \Google\Cloud\Firestore\Admin\V1\Database[] $databases * The databases in the project. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * In the event that data about individual databases cannot be listed they * will be recorded here. * An example entry might be: projects/some_project/locations/some_location @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * The databases in the project. * * Generated from protobuf field repeated .google.firestore.admin.v1.Database databases = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\Database> */ public function getDatabases() { @@ -74,7 +74,7 @@ public function getDatabases() * The databases in the project. * * Generated from protobuf field repeated .google.firestore.admin.v1.Database databases = 1; - * @param array<\Google\Cloud\Firestore\Admin\V1\Database>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\Database[] $var * @return $this */ public function setDatabases($var) @@ -96,7 +96,7 @@ public function setDatabases($var) * resource or a 'List' request for the specific location. * * Generated from protobuf field repeated string unreachable = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getUnreachable() { @@ -114,7 +114,7 @@ public function getUnreachable() * resource or a 'List' request for the specific location. * * 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/Firestore/src/Admin/V1/ListFieldsRequest.php b/Firestore/src/Admin/V1/ListFieldsRequest.php index fd57e71f5b80..99060c08cc27 100644 --- a/Firestore/src/Admin/V1/ListFieldsRequest.php +++ b/Firestore/src/Admin/V1/ListFieldsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/ListFieldsResponse.php b/Firestore/src/Admin/V1/ListFieldsResponse.php index 5fa49b89ce31..d8135339c552 100644 --- a/Firestore/src/Admin/V1/ListFieldsResponse.php +++ b/Firestore/src/Admin/V1/ListFieldsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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 ListFieldsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\Admin\V1\Field>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\Firestore\Admin\V1\Field[] $fields * The requested fields. * @type string $next_page_token * A page token that may be used to request another page of results. If blank, @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The requested fields. * * Generated from protobuf field repeated .google.firestore.admin.v1.Field fields = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\Field> */ public function getFields() { @@ -63,7 +63,7 @@ public function getFields() * The requested fields. * * Generated from protobuf field repeated .google.firestore.admin.v1.Field fields = 1; - * @param array<\Google\Cloud\Firestore\Admin\V1\Field>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\Field[] $var * @return $this */ public function setFields($var) diff --git a/Firestore/src/Admin/V1/ListIndexesRequest.php b/Firestore/src/Admin/V1/ListIndexesRequest.php index 7d1538005648..c7fd4d0f9d6b 100644 --- a/Firestore/src/Admin/V1/ListIndexesRequest.php +++ b/Firestore/src/Admin/V1/ListIndexesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/ListIndexesResponse.php b/Firestore/src/Admin/V1/ListIndexesResponse.php index 4dbd85da2df9..595585e92535 100644 --- a/Firestore/src/Admin/V1/ListIndexesResponse.php +++ b/Firestore/src/Admin/V1/ListIndexesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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 ListIndexesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\Admin\V1\Index>|\Google\Protobuf\Internal\RepeatedField $indexes + * @type \Google\Cloud\Firestore\Admin\V1\Index[] $indexes * The requested indexes. * @type string $next_page_token * A page token that may be used to request another page of results. If blank, @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The requested indexes. * * Generated from protobuf field repeated .google.firestore.admin.v1.Index indexes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\Index> */ public function getIndexes() { @@ -63,7 +63,7 @@ public function getIndexes() * The requested indexes. * * Generated from protobuf field repeated .google.firestore.admin.v1.Index indexes = 1; - * @param array<\Google\Cloud\Firestore\Admin\V1\Index>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\Index[] $var * @return $this */ public function setIndexes($var) diff --git a/Firestore/src/Admin/V1/ListUserCredsRequest.php b/Firestore/src/Admin/V1/ListUserCredsRequest.php index 7765894cc01f..2fa4fce36567 100644 --- a/Firestore/src/Admin/V1/ListUserCredsRequest.php +++ b/Firestore/src/Admin/V1/ListUserCredsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/ListUserCredsResponse.php b/Firestore/src/Admin/V1/ListUserCredsResponse.php index 2f9093f1dd63..af839e0ebc78 100644 --- a/Firestore/src/Admin/V1/ListUserCredsResponse.php +++ b/Firestore/src/Admin/V1/ListUserCredsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for @@ -29,7 +29,7 @@ class ListUserCredsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\Admin\V1\UserCreds>|\Google\Protobuf\Internal\RepeatedField $user_creds + * @type \Google\Cloud\Firestore\Admin\V1\UserCreds[] $user_creds * The user creds for the database. * } */ @@ -42,7 +42,7 @@ public function __construct($data = NULL) { * The user creds for the database. * * Generated from protobuf field repeated .google.firestore.admin.v1.UserCreds user_creds = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\Admin\V1\UserCreds> */ public function getUserCreds() { @@ -53,7 +53,7 @@ public function getUserCreds() * The user creds for the database. * * Generated from protobuf field repeated .google.firestore.admin.v1.UserCreds user_creds = 1; - * @param array<\Google\Cloud\Firestore\Admin\V1\UserCreds>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\Admin\V1\UserCreds[] $var * @return $this */ public function setUserCreds($var) diff --git a/Firestore/src/Admin/V1/LocationMetadata.php b/Firestore/src/Admin/V1/LocationMetadata.php index 36d656955673..995a7845b650 100644 --- a/Firestore/src/Admin/V1/LocationMetadata.php +++ b/Firestore/src/Admin/V1/LocationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The metadata message for diff --git a/Firestore/src/Admin/V1/PitrSnapshot.php b/Firestore/src/Admin/V1/PitrSnapshot.php index 59be582d88aa..97d38419083e 100644 --- a/Firestore/src/Admin/V1/PitrSnapshot.php +++ b/Firestore/src/Admin/V1/PitrSnapshot.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A consistent snapshot of a database at a specific point in time. diff --git a/Firestore/src/Admin/V1/Progress.php b/Firestore/src/Admin/V1/Progress.php index b7c74d515a89..3bf4b9739acf 100644 --- a/Firestore/src/Admin/V1/Progress.php +++ b/Firestore/src/Admin/V1/Progress.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the progress of the operation. diff --git a/Firestore/src/Admin/V1/ResetUserPasswordRequest.php b/Firestore/src/Admin/V1/ResetUserPasswordRequest.php index 30eac297b61e..588c9ce05682 100644 --- a/Firestore/src/Admin/V1/ResetUserPasswordRequest.php +++ b/Firestore/src/Admin/V1/ResetUserPasswordRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/RestoreDatabaseMetadata.php b/Firestore/src/Admin/V1/RestoreDatabaseMetadata.php index f8508c5ba142..54b5b0c10dd2 100644 --- a/Firestore/src/Admin/V1/RestoreDatabaseMetadata.php +++ b/Firestore/src/Admin/V1/RestoreDatabaseMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata for the [long-running operation][google.longrunning.Operation] from diff --git a/Firestore/src/Admin/V1/RestoreDatabaseRequest.php b/Firestore/src/Admin/V1/RestoreDatabaseRequest.php index c49ce85b0067..76e7e4c9e03a 100644 --- a/Firestore/src/Admin/V1/RestoreDatabaseRequest.php +++ b/Firestore/src/Admin/V1/RestoreDatabaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request message for diff --git a/Firestore/src/Admin/V1/UpdateBackupScheduleRequest.php b/Firestore/src/Admin/V1/UpdateBackupScheduleRequest.php index dac04ccf58c5..ff86ac767ff6 100644 --- a/Firestore/src/Admin/V1/UpdateBackupScheduleRequest.php +++ b/Firestore/src/Admin/V1/UpdateBackupScheduleRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/UpdateDatabaseMetadata.php b/Firestore/src/Admin/V1/UpdateDatabaseMetadata.php index bc68c8671ec8..189e1d6c5a6c 100644 --- a/Firestore/src/Admin/V1/UpdateDatabaseMetadata.php +++ b/Firestore/src/Admin/V1/UpdateDatabaseMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata related to the update database operation. diff --git a/Firestore/src/Admin/V1/UpdateDatabaseRequest.php b/Firestore/src/Admin/V1/UpdateDatabaseRequest.php index ce0e426cccc8..161fc2078073 100644 --- a/Firestore/src/Admin/V1/UpdateDatabaseRequest.php +++ b/Firestore/src/Admin/V1/UpdateDatabaseRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/UpdateFieldRequest.php b/Firestore/src/Admin/V1/UpdateFieldRequest.php index 3acb65e2e463..5a40e4215887 100644 --- a/Firestore/src/Admin/V1/UpdateFieldRequest.php +++ b/Firestore/src/Admin/V1/UpdateFieldRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; 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/Firestore/src/Admin/V1/UserCreds.php b/Firestore/src/Admin/V1/UserCreds.php index e8aae8c759c6..20b29f3d38f9 100644 --- a/Firestore/src/Admin/V1/UserCreds.php +++ b/Firestore/src/Admin/V1/UserCreds.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Cloud Firestore User Creds. diff --git a/Firestore/src/Admin/V1/UserCreds/ResourceIdentity.php b/Firestore/src/Admin/V1/UserCreds/ResourceIdentity.php index 058efe3d5c1d..2eb14cb9a112 100644 --- a/Firestore/src/Admin/V1/UserCreds/ResourceIdentity.php +++ b/Firestore/src/Admin/V1/UserCreds/ResourceIdentity.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1\UserCreds; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a Resource Identity principal. @@ -69,6 +69,3 @@ public function setPrincipal($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResourceIdentity::class, \Google\Cloud\Firestore\Admin\V1\UserCreds_ResourceIdentity::class); - diff --git a/Firestore/src/Admin/V1/UserCreds/State.php b/Firestore/src/Admin/V1/UserCreds/State.php index 506842c44b5c..87e4f2a1a39b 100644 --- a/Firestore/src/Admin/V1/UserCreds/State.php +++ b/Firestore/src/Admin/V1/UserCreds/State.php @@ -59,6 +59,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\Firestore\Admin\V1\UserCreds_State::class); - diff --git a/Firestore/src/Admin/V1/WeeklyRecurrence.php b/Firestore/src/Admin/V1/WeeklyRecurrence.php index 79887eb68469..42bd9d4acfc7 100644 --- a/Firestore/src/Admin/V1/WeeklyRecurrence.php +++ b/Firestore/src/Admin/V1/WeeklyRecurrence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\Admin\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a recurring schedule that runs on a specified day of the week. diff --git a/Firestore/src/V1/AggregationResult.php b/Firestore/src/V1/AggregationResult.php index d98419955554..f7296b1c7d2e 100644 --- a/Firestore/src/V1/AggregationResult.php +++ b/Firestore/src/V1/AggregationResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The result of a single bucket from a Firestore aggregation query. diff --git a/Firestore/src/V1/ArrayValue.php b/Firestore/src/V1/ArrayValue.php index a5e67239f7a8..8d770c6e90db 100644 --- a/Firestore/src/V1/ArrayValue.php +++ b/Firestore/src/V1/ArrayValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An array 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\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Cloud\Firestore\V1\Value[] $values * Values in the array. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Values in the array. * * Generated from protobuf field repeated .google.firestore.v1.Value values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Value> */ public function getValues() { @@ -52,7 +52,7 @@ public function getValues() * Values in the array. * * Generated from protobuf field repeated .google.firestore.v1.Value values = 1; - * @param array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Value[] $var * @return $this */ public function setValues($var) diff --git a/Firestore/src/V1/BatchGetDocumentsRequest.php b/Firestore/src/V1/BatchGetDocumentsRequest.php index 1c0071eabfac..7f00ed2e6366 100644 --- a/Firestore/src/V1/BatchGetDocumentsRequest.php +++ b/Firestore/src/V1/BatchGetDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for @@ -51,7 +51,7 @@ class BatchGetDocumentsRequest extends \Google\Protobuf\Internal\Message * @type string $database * Required. The database name. In the format: * `projects/{project_id}/databases/{database_id}`. - * @type array|\Google\Protobuf\Internal\RepeatedField $documents + * @type string[] $documents * The names of the documents to retrieve. In the format: * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. * The request will fail if any of the document is not a child resource of the @@ -114,7 +114,7 @@ public function setDatabase($var) * given `database`. Duplicate names will be elided. * * Generated from protobuf field repeated string documents = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDocuments() { @@ -128,7 +128,7 @@ public function getDocuments() * given `database`. Duplicate names will be elided. * * Generated from protobuf field repeated string documents = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDocuments($var) diff --git a/Firestore/src/V1/BatchGetDocumentsResponse.php b/Firestore/src/V1/BatchGetDocumentsResponse.php index f20a348a5ace..7fe8df80e14e 100644 --- a/Firestore/src/V1/BatchGetDocumentsResponse.php +++ b/Firestore/src/V1/BatchGetDocumentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The streamed response for diff --git a/Firestore/src/V1/BatchWriteRequest.php b/Firestore/src/V1/BatchWriteRequest.php index 9595ddc3cc17..e1e668e664be 100644 --- a/Firestore/src/V1/BatchWriteRequest.php +++ b/Firestore/src/V1/BatchWriteRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for @@ -48,7 +48,7 @@ class BatchWriteRequest extends \Google\Protobuf\Internal\Message * @type string $database * Required. The database name. In the format: * `projects/{project_id}/databases/{database_id}`. - * @type array<\Google\Cloud\Firestore\V1\Write>|\Google\Protobuf\Internal\RepeatedField $writes + * @type \Google\Cloud\Firestore\V1\Write[] $writes * The writes to apply. * Method does not apply writes atomically and does not guarantee ordering. * Each write succeeds or fails independently. You cannot write to the same @@ -97,7 +97,7 @@ public function setDatabase($var) * document more than once per request. * * Generated from protobuf field repeated .google.firestore.v1.Write writes = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Write> */ public function getWrites() { @@ -111,7 +111,7 @@ public function getWrites() * document more than once per request. * * Generated from protobuf field repeated .google.firestore.v1.Write writes = 2; - * @param array<\Google\Cloud\Firestore\V1\Write>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Write[] $var * @return $this */ public function setWrites($var) diff --git a/Firestore/src/V1/BatchWriteResponse.php b/Firestore/src/V1/BatchWriteResponse.php index da43ca0a535b..b2da372d7a45 100644 --- a/Firestore/src/V1/BatchWriteResponse.php +++ b/Firestore/src/V1/BatchWriteResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response from @@ -39,11 +39,11 @@ class BatchWriteResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\V1\WriteResult>|\Google\Protobuf\Internal\RepeatedField $write_results + * @type \Google\Cloud\Firestore\V1\WriteResult[] $write_results * The result of applying the writes. * This i-th write result corresponds to the i-th write in the * request. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $status + * @type \Google\Rpc\Status[] $status * The status of applying the writes. * This i-th write status corresponds to the i-th write in the * request. @@ -60,7 +60,7 @@ public function __construct($data = NULL) { * request. * * Generated from protobuf field repeated .google.firestore.v1.WriteResult write_results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\WriteResult> */ public function getWriteResults() { @@ -73,7 +73,7 @@ public function getWriteResults() * request. * * Generated from protobuf field repeated .google.firestore.v1.WriteResult write_results = 1; - * @param array<\Google\Cloud\Firestore\V1\WriteResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\WriteResult[] $var * @return $this */ public function setWriteResults($var) @@ -90,7 +90,7 @@ public function setWriteResults($var) * request. * * Generated from protobuf field repeated .google.rpc.Status status = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getStatus() { @@ -103,7 +103,7 @@ public function getStatus() * request. * * Generated from protobuf field repeated .google.rpc.Status status = 2; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setStatus($var) diff --git a/Firestore/src/V1/BeginTransactionRequest.php b/Firestore/src/V1/BeginTransactionRequest.php index 13208ed67dea..3593ca5b771d 100644 --- a/Firestore/src/V1/BeginTransactionRequest.php +++ b/Firestore/src/V1/BeginTransactionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/BeginTransactionResponse.php b/Firestore/src/V1/BeginTransactionResponse.php index 6be847eb648b..b84cba4eb677 100644 --- a/Firestore/src/V1/BeginTransactionResponse.php +++ b/Firestore/src/V1/BeginTransactionResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for diff --git a/Firestore/src/V1/BitSequence.php b/Firestore/src/V1/BitSequence.php index bb145468cc80..398a868c4609 100644 --- a/Firestore/src/V1/BitSequence.php +++ b/Firestore/src/V1/BitSequence.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A sequence of bits, encoded in a byte array. diff --git a/Firestore/src/V1/BloomFilter.php b/Firestore/src/V1/BloomFilter.php index bab94da9f788..440476aed03a 100644 --- a/Firestore/src/V1/BloomFilter.php +++ b/Firestore/src/V1/BloomFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A bloom filter (https://en.wikipedia.org/wiki/Bloom_filter). diff --git a/Firestore/src/V1/CommitRequest.php b/Firestore/src/V1/CommitRequest.php index 1d51eb21bae7..10ce01ff8dd5 100644 --- a/Firestore/src/V1/CommitRequest.php +++ b/Firestore/src/V1/CommitRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit]. @@ -63,7 +63,7 @@ public static function build(string $database, array $writes): self * @type string $database * Required. The database name. In the format: * `projects/{project_id}/databases/{database_id}`. - * @type array<\Google\Cloud\Firestore\V1\Write>|\Google\Protobuf\Internal\RepeatedField $writes + * @type \Google\Cloud\Firestore\V1\Write[] $writes * The writes to apply. * Always executed atomically and in order. * @type string $transaction @@ -108,7 +108,7 @@ public function setDatabase($var) * Always executed atomically and in order. * * Generated from protobuf field repeated .google.firestore.v1.Write writes = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Write> */ public function getWrites() { @@ -120,7 +120,7 @@ public function getWrites() * Always executed atomically and in order. * * Generated from protobuf field repeated .google.firestore.v1.Write writes = 2; - * @param array<\Google\Cloud\Firestore\V1\Write>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Write[] $var * @return $this */ public function setWrites($var) diff --git a/Firestore/src/V1/CommitResponse.php b/Firestore/src/V1/CommitResponse.php index af66801a40e7..b7b5966a39f6 100644 --- a/Firestore/src/V1/CommitResponse.php +++ b/Firestore/src/V1/CommitResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit]. @@ -37,7 +37,7 @@ class CommitResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\V1\WriteResult>|\Google\Protobuf\Internal\RepeatedField $write_results + * @type \Google\Cloud\Firestore\V1\WriteResult[] $write_results * The result of applying the writes. * This i-th write result corresponds to the i-th write in the * request. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * request. * * Generated from protobuf field repeated .google.firestore.v1.WriteResult write_results = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\WriteResult> */ public function getWriteResults() { @@ -70,7 +70,7 @@ public function getWriteResults() * request. * * Generated from protobuf field repeated .google.firestore.v1.WriteResult write_results = 1; - * @param array<\Google\Cloud\Firestore\V1\WriteResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\WriteResult[] $var * @return $this */ public function setWriteResults($var) diff --git a/Firestore/src/V1/CreateDocumentRequest.php b/Firestore/src/V1/CreateDocumentRequest.php index 92d0e17100ee..8276fdaf7d21 100644 --- a/Firestore/src/V1/CreateDocumentRequest.php +++ b/Firestore/src/V1/CreateDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/Cursor.php b/Firestore/src/V1/Cursor.php index b41af18ec0b3..f6fb2a08492a 100644 --- a/Firestore/src/V1/Cursor.php +++ b/Firestore/src/V1/Cursor.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A position in a query result set. @@ -37,7 +37,7 @@ class Cursor extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $values + * @type \Google\Cloud\Firestore\V1\Value[] $values * The values that represent a position, in the order they appear in * the order by clause of a query. * Can contain fewer values than specified in the order by clause. @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * Can contain fewer values than specified in the order by clause. * * Generated from protobuf field repeated .google.firestore.v1.Value values = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Value> */ public function getValues() { @@ -70,7 +70,7 @@ public function getValues() * Can contain fewer values than specified in the order by clause. * * Generated from protobuf field repeated .google.firestore.v1.Value values = 1; - * @param array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Value[] $var * @return $this */ public function setValues($var) diff --git a/Firestore/src/V1/DeleteDocumentRequest.php b/Firestore/src/V1/DeleteDocumentRequest.php index cdddfc4ae108..864d17908659 100644 --- a/Firestore/src/V1/DeleteDocumentRequest.php +++ b/Firestore/src/V1/DeleteDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/Document.php b/Firestore/src/V1/Document.php index f626c2195ccf..d07ead6ef3de 100644 --- a/Firestore/src/V1/Document.php +++ b/Firestore/src/V1/Document.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Firestore document. diff --git a/Firestore/src/V1/DocumentChange.php b/Firestore/src/V1/DocumentChange.php index f908e73347a2..98fdac2fcd31 100644 --- a/Firestore/src/V1/DocumentChange.php +++ b/Firestore/src/V1/DocumentChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A [Document][google.firestore.v1.Document] has changed. @@ -49,9 +49,9 @@ class DocumentChange extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Firestore\V1\Document $document * The new state of the [Document][google.firestore.v1.Document]. * If `mask` is set, contains only fields that were updated or added. - * @type array|\Google\Protobuf\Internal\RepeatedField $target_ids + * @type int[] $target_ids * A set of target IDs of targets that match this document. - * @type array|\Google\Protobuf\Internal\RepeatedField $removed_target_ids + * @type int[] $removed_target_ids * A set of target IDs for targets that no longer match this document. * } */ @@ -102,7 +102,7 @@ public function setDocument($var) * A set of target IDs of targets that match this document. * * Generated from protobuf field repeated int32 target_ids = 5; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTargetIds() { @@ -113,7 +113,7 @@ public function getTargetIds() * A set of target IDs of targets that match this document. * * Generated from protobuf field repeated int32 target_ids = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTargetIds($var) @@ -128,7 +128,7 @@ public function setTargetIds($var) * A set of target IDs for targets that no longer match this document. * * Generated from protobuf field repeated int32 removed_target_ids = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRemovedTargetIds() { @@ -139,7 +139,7 @@ public function getRemovedTargetIds() * A set of target IDs for targets that no longer match this document. * * Generated from protobuf field repeated int32 removed_target_ids = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setRemovedTargetIds($var) diff --git a/Firestore/src/V1/DocumentDelete.php b/Firestore/src/V1/DocumentDelete.php index e5e9bfca4631..a85fae62dd18 100644 --- a/Firestore/src/V1/DocumentDelete.php +++ b/Firestore/src/V1/DocumentDelete.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A [Document][google.firestore.v1.Document] has been deleted. @@ -50,7 +50,7 @@ class DocumentDelete extends \Google\Protobuf\Internal\Message * @type string $document * The resource name of the [Document][google.firestore.v1.Document] that was * deleted. - * @type array|\Google\Protobuf\Internal\RepeatedField $removed_target_ids + * @type int[] $removed_target_ids * A set of target IDs for targets that previously matched this entity. * @type \Google\Protobuf\Timestamp $read_time * The read timestamp at which the delete was observed. @@ -94,7 +94,7 @@ public function setDocument($var) * A set of target IDs for targets that previously matched this entity. * * Generated from protobuf field repeated int32 removed_target_ids = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRemovedTargetIds() { @@ -105,7 +105,7 @@ public function getRemovedTargetIds() * A set of target IDs for targets that previously matched this entity. * * Generated from protobuf field repeated int32 removed_target_ids = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setRemovedTargetIds($var) diff --git a/Firestore/src/V1/DocumentMask.php b/Firestore/src/V1/DocumentMask.php index 10644f490192..9f4e56639765 100644 --- a/Firestore/src/V1/DocumentMask.php +++ b/Firestore/src/V1/DocumentMask.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A set of field paths on a document. @@ -35,7 +35,7 @@ class DocumentMask extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $field_paths + * @type string[] $field_paths * The list of field paths in the mask. See * [Document.fields][google.firestore.v1.Document.fields] for a field path * syntax reference. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * syntax reference. * * Generated from protobuf field repeated string field_paths = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFieldPaths() { @@ -65,7 +65,7 @@ public function getFieldPaths() * syntax reference. * * Generated from protobuf field repeated string field_paths = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFieldPaths($var) diff --git a/Firestore/src/V1/DocumentRemove.php b/Firestore/src/V1/DocumentRemove.php index ace1ac53f3b6..38235531b8ab 100644 --- a/Firestore/src/V1/DocumentRemove.php +++ b/Firestore/src/V1/DocumentRemove.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A [Document][google.firestore.v1.Document] has been removed from the view of @@ -52,7 +52,7 @@ class DocumentRemove extends \Google\Protobuf\Internal\Message * @type string $document * The resource name of the [Document][google.firestore.v1.Document] that has * gone out of view. - * @type array|\Google\Protobuf\Internal\RepeatedField $removed_target_ids + * @type int[] $removed_target_ids * A set of target IDs for targets that previously matched this document. * @type \Google\Protobuf\Timestamp $read_time * The read timestamp at which the remove was observed. @@ -96,7 +96,7 @@ public function setDocument($var) * A set of target IDs for targets that previously matched this document. * * Generated from protobuf field repeated int32 removed_target_ids = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getRemovedTargetIds() { @@ -107,7 +107,7 @@ public function getRemovedTargetIds() * A set of target IDs for targets that previously matched this document. * * Generated from protobuf field repeated int32 removed_target_ids = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setRemovedTargetIds($var) diff --git a/Firestore/src/V1/DocumentTransform.php b/Firestore/src/V1/DocumentTransform.php index efcc7199fde2..ef87d1e33bd8 100644 --- a/Firestore/src/V1/DocumentTransform.php +++ b/Firestore/src/V1/DocumentTransform.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A transformation of a document. @@ -38,7 +38,7 @@ class DocumentTransform extends \Google\Protobuf\Internal\Message * * @type string $document * The name of the document to transform. - * @type array<\Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform>|\Google\Protobuf\Internal\RepeatedField $field_transforms + * @type \Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform[] $field_transforms * The list of transformations to apply to the fields of the document, in * order. * This must not be empty. @@ -81,7 +81,7 @@ public function setDocument($var) * This must not be empty. * * Generated from protobuf field repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform> */ public function getFieldTransforms() { @@ -94,7 +94,7 @@ public function getFieldTransforms() * This must not be empty. * * Generated from protobuf field repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * @param array<\Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform[] $var * @return $this */ public function setFieldTransforms($var) diff --git a/Firestore/src/V1/DocumentTransform/FieldTransform.php b/Firestore/src/V1/DocumentTransform/FieldTransform.php index 3374ff310f08..85cded5b3132 100644 --- a/Firestore/src/V1/DocumentTransform/FieldTransform.php +++ b/Firestore/src/V1/DocumentTransform/FieldTransform.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\DocumentTransform; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A transformation of a field of the document. @@ -412,6 +412,3 @@ public function getTransformType() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FieldTransform::class, \Google\Cloud\Firestore\V1\DocumentTransform_FieldTransform::class); - diff --git a/Firestore/src/V1/DocumentTransform/FieldTransform/ServerValue.php b/Firestore/src/V1/DocumentTransform/FieldTransform/ServerValue.php index 47d3356c025d..32444539ac62 100644 --- a/Firestore/src/V1/DocumentTransform/FieldTransform/ServerValue.php +++ b/Firestore/src/V1/DocumentTransform/FieldTransform/ServerValue.php @@ -54,6 +54,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ServerValue::class, \Google\Cloud\Firestore\V1\DocumentTransform_FieldTransform_ServerValue::class); - diff --git a/Firestore/src/V1/ExecutePipelineRequest.php b/Firestore/src/V1/ExecutePipelineRequest.php index bc41d1747c47..b20af9ba7614 100644 --- a/Firestore/src/V1/ExecutePipelineRequest.php +++ b/Firestore/src/V1/ExecutePipelineRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/ExecutePipelineResponse.php b/Firestore/src/V1/ExecutePipelineResponse.php index db8f0c18373d..678d21735829 100644 --- a/Firestore/src/V1/ExecutePipelineResponse.php +++ b/Firestore/src/V1/ExecutePipelineResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for [Firestore.Execute][]. @@ -75,7 +75,7 @@ class ExecutePipelineResponse extends \Google\Protobuf\Internal\Message * This field is only specified as part of the first response from the server, * alongside the `results` field when the original request specified * [ExecuteRequest.new_transaction][]. - * @type array<\Google\Cloud\Firestore\V1\Document>|\Google\Protobuf\Internal\RepeatedField $results + * @type \Google\Cloud\Firestore\V1\Document[] $results * An ordered batch of results returned executing a pipeline. * The batch size is variable, and can even be zero for when only a partial * progress message is returned. @@ -154,7 +154,7 @@ public function setTransaction($var) * the [`mask`][google.firestore.v1.DocumentMask]. * * Generated from protobuf field repeated .google.firestore.v1.Document results = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Document> */ public function getResults() { @@ -174,7 +174,7 @@ public function getResults() * the [`mask`][google.firestore.v1.DocumentMask]. * * Generated from protobuf field repeated .google.firestore.v1.Document results = 2; - * @param array<\Google\Cloud\Firestore\V1\Document>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Document[] $var * @return $this */ public function setResults($var) diff --git a/Firestore/src/V1/ExecutionStats.php b/Firestore/src/V1/ExecutionStats.php index 65f6f114515a..62d131881eca 100644 --- a/Firestore/src/V1/ExecutionStats.php +++ b/Firestore/src/V1/ExecutionStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Execution statistics for the query. diff --git a/Firestore/src/V1/ExistenceFilter.php b/Firestore/src/V1/ExistenceFilter.php index 1400be30923c..795b83075f56 100644 --- a/Firestore/src/V1/ExistenceFilter.php +++ b/Firestore/src/V1/ExistenceFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A digest of all the documents that match a given target. diff --git a/Firestore/src/V1/ExplainMetrics.php b/Firestore/src/V1/ExplainMetrics.php index b0d84a9861d4..77720effc9e6 100644 --- a/Firestore/src/V1/ExplainMetrics.php +++ b/Firestore/src/V1/ExplainMetrics.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Explain metrics for the query. diff --git a/Firestore/src/V1/ExplainOptions.php b/Firestore/src/V1/ExplainOptions.php index 7da186433785..f7927b3d7fae 100644 --- a/Firestore/src/V1/ExplainOptions.php +++ b/Firestore/src/V1/ExplainOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Explain options for the query. diff --git a/Firestore/src/V1/ExplainStats.php b/Firestore/src/V1/ExplainStats.php index aeafa5672bd1..f3cc0584c767 100644 --- a/Firestore/src/V1/ExplainStats.php +++ b/Firestore/src/V1/ExplainStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Pipeline explain stats. diff --git a/Firestore/src/V1/GetDocumentRequest.php b/Firestore/src/V1/GetDocumentRequest.php index 6f4d164da0ce..e8faca62f431 100644 --- a/Firestore/src/V1/GetDocumentRequest.php +++ b/Firestore/src/V1/GetDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/ListCollectionIdsRequest.php b/Firestore/src/V1/ListCollectionIdsRequest.php index a28e9247565f..7b003e6ded7d 100644 --- a/Firestore/src/V1/ListCollectionIdsRequest.php +++ b/Firestore/src/V1/ListCollectionIdsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/ListCollectionIdsResponse.php b/Firestore/src/V1/ListCollectionIdsResponse.php index 06dad43b77f2..630cbabf906a 100644 --- a/Firestore/src/V1/ListCollectionIdsResponse.php +++ b/Firestore/src/V1/ListCollectionIdsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response from @@ -35,7 +35,7 @@ class ListCollectionIdsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $collection_ids + * @type string[] $collection_ids * The collection ids. * @type string $next_page_token * A page token that may be used to continue the list. @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * The collection ids. * * Generated from protobuf field repeated string collection_ids = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCollectionIds() { @@ -61,7 +61,7 @@ public function getCollectionIds() * The collection ids. * * Generated from protobuf field repeated string collection_ids = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCollectionIds($var) diff --git a/Firestore/src/V1/ListDocumentsRequest.php b/Firestore/src/V1/ListDocumentsRequest.php index 98f7b5aed5e2..92a3423e8b3f 100644 --- a/Firestore/src/V1/ListDocumentsRequest.php +++ b/Firestore/src/V1/ListDocumentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/ListDocumentsResponse.php b/Firestore/src/V1/ListDocumentsResponse.php index 556d8ad963c1..762623745072 100644 --- a/Firestore/src/V1/ListDocumentsResponse.php +++ b/Firestore/src/V1/ListDocumentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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 ListDocumentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\V1\Document>|\Google\Protobuf\Internal\RepeatedField $documents + * @type \Google\Cloud\Firestore\V1\Document[] $documents * The Documents found. * @type string $next_page_token * A token to retrieve the next page of documents. @@ -52,7 +52,7 @@ public function __construct($data = NULL) { * The Documents found. * * Generated from protobuf field repeated .google.firestore.v1.Document documents = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Document> */ public function getDocuments() { @@ -63,7 +63,7 @@ public function getDocuments() * The Documents found. * * Generated from protobuf field repeated .google.firestore.v1.Document documents = 1; - * @param array<\Google\Cloud\Firestore\V1\Document>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Document[] $var * @return $this */ public function setDocuments($var) diff --git a/Firestore/src/V1/ListenRequest.php b/Firestore/src/V1/ListenRequest.php index 41eca25c8944..de1415daabc7 100644 --- a/Firestore/src/V1/ListenRequest.php +++ b/Firestore/src/V1/ListenRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen] diff --git a/Firestore/src/V1/ListenResponse.php b/Firestore/src/V1/ListenResponse.php index 64234422f378..1848b4a3012f 100644 --- a/Firestore/src/V1/ListenResponse.php +++ b/Firestore/src/V1/ListenResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen]. diff --git a/Firestore/src/V1/MapValue.php b/Firestore/src/V1/MapValue.php index fa811000207c..23d448dfcd95 100644 --- a/Firestore/src/V1/MapValue.php +++ b/Firestore/src/V1/MapValue.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A map value. diff --git a/Firestore/src/V1/PBFunction.php b/Firestore/src/V1/PBFunction.php index 14bab949de52..606613dda54d 100644 --- a/Firestore/src/V1/PBFunction.php +++ b/Firestore/src/V1/PBFunction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents an unevaluated scalar expression. @@ -52,7 +52,7 @@ class PBFunction extends \Google\Protobuf\Internal\Message * Required. The name of the function to evaluate. * **Requires:** * * must be in snake case (lower case with underscore separator). - * @type array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $args + * @type \Google\Cloud\Firestore\V1\Value[] $args * Optional. Ordered list of arguments the given function expects. * @type array|\Google\Protobuf\Internal\MapField $options * Optional. Optional named arguments that certain functions may support. @@ -97,7 +97,7 @@ public function setName($var) * Optional. Ordered list of arguments the given function expects. * * Generated from protobuf field repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Value> */ public function getArgs() { @@ -108,7 +108,7 @@ public function getArgs() * Optional. Ordered list of arguments the given function expects. * * Generated from protobuf field repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Value[] $var * @return $this */ public function setArgs($var) diff --git a/Firestore/src/V1/PartitionQueryRequest.php b/Firestore/src/V1/PartitionQueryRequest.php index 90e34f698b48..1b5cdfa5f893 100644 --- a/Firestore/src/V1/PartitionQueryRequest.php +++ b/Firestore/src/V1/PartitionQueryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/PartitionQueryResponse.php b/Firestore/src/V1/PartitionQueryResponse.php index afa65cefa425..c4c41d4e6604 100644 --- a/Firestore/src/V1/PartitionQueryResponse.php +++ b/Firestore/src/V1/PartitionQueryResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for @@ -50,7 +50,7 @@ class PartitionQueryResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\V1\Cursor>|\Google\Protobuf\Internal\RepeatedField $partitions + * @type \Google\Cloud\Firestore\V1\Cursor[] $partitions * Partition results. * Each partition is a split point that can be used by RunQuery as a starting * or end point for the query results. The RunQuery requests must be made with @@ -93,7 +93,7 @@ public function __construct($data = NULL) { * partitioned, or that the query is not yet supported for partitioning. * * Generated from protobuf field repeated .google.firestore.v1.Cursor partitions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Cursor> */ public function getPartitions() { @@ -117,7 +117,7 @@ public function getPartitions() * partitioned, or that the query is not yet supported for partitioning. * * Generated from protobuf field repeated .google.firestore.v1.Cursor partitions = 1; - * @param array<\Google\Cloud\Firestore\V1\Cursor>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Cursor[] $var * @return $this */ public function setPartitions($var) diff --git a/Firestore/src/V1/Pipeline.php b/Firestore/src/V1/Pipeline.php index 45e63f9eecdc..8d5c8afc6abc 100644 --- a/Firestore/src/V1/Pipeline.php +++ b/Firestore/src/V1/Pipeline.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Firestore query represented as an ordered list of operations / stages. @@ -28,7 +28,7 @@ class Pipeline extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\V1\Pipeline\Stage>|\Google\Protobuf\Internal\RepeatedField $stages + * @type \Google\Cloud\Firestore\V1\Pipeline\Stage[] $stages * Required. Ordered list of stages to evaluate. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Required. Ordered list of stages to evaluate. * * Generated from protobuf field repeated .google.firestore.v1.Pipeline.Stage stages = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Pipeline\Stage> */ public function getStages() { @@ -52,7 +52,7 @@ public function getStages() * Required. Ordered list of stages to evaluate. * * Generated from protobuf field repeated .google.firestore.v1.Pipeline.Stage stages = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\Firestore\V1\Pipeline\Stage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Pipeline\Stage[] $var * @return $this */ public function setStages($var) diff --git a/Firestore/src/V1/Pipeline/Stage.php b/Firestore/src/V1/Pipeline/Stage.php index 798c38b3ae66..b9766b5eaf88 100644 --- a/Firestore/src/V1/Pipeline/Stage.php +++ b/Firestore/src/V1/Pipeline/Stage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\Pipeline; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A single operation within a pipeline. @@ -60,7 +60,7 @@ class Stage extends \Google\Protobuf\Internal\Message * Required. The name of the stage to evaluate. * **Requires:** * * must be in snake case (lower case with underscore separator). - * @type array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $args + * @type \Google\Cloud\Firestore\V1\Value[] $args * Optional. Ordered list of arguments the given stage expects. * @type array|\Google\Protobuf\Internal\MapField $options * Optional. Optional named arguments that certain functions may support. @@ -105,7 +105,7 @@ public function setName($var) * Optional. Ordered list of arguments the given stage expects. * * Generated from protobuf field repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Value> */ public function getArgs() { @@ -116,7 +116,7 @@ public function getArgs() * Optional. Ordered list of arguments the given stage expects. * * Generated from protobuf field repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Value[] $var * @return $this */ public function setArgs($var) @@ -155,6 +155,3 @@ public function setOptions($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Stage::class, \Google\Cloud\Firestore\V1\Pipeline_Stage::class); - diff --git a/Firestore/src/V1/PlanSummary.php b/Firestore/src/V1/PlanSummary.php index 5e86c432c547..517cd29d648f 100644 --- a/Firestore/src/V1/PlanSummary.php +++ b/Firestore/src/V1/PlanSummary.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Planning phase information for the query. @@ -32,7 +32,7 @@ class PlanSummary extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Protobuf\Struct>|\Google\Protobuf\Internal\RepeatedField $indexes_used + * @type \Google\Protobuf\Struct[] $indexes_used * The indexes selected for the query. For example: * [ * {"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"}, @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * ] * * Generated from protobuf field repeated .google.protobuf.Struct indexes_used = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Protobuf\Struct> */ public function getIndexesUsed() { @@ -68,7 +68,7 @@ public function getIndexesUsed() * ] * * Generated from protobuf field repeated .google.protobuf.Struct indexes_used = 1; - * @param array<\Google\Protobuf\Struct>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Protobuf\Struct[] $var * @return $this */ public function setIndexesUsed($var) diff --git a/Firestore/src/V1/Precondition.php b/Firestore/src/V1/Precondition.php index 7f7b92595750..a78e481b7ad5 100644 --- a/Firestore/src/V1/Precondition.php +++ b/Firestore/src/V1/Precondition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A precondition on a document, used for conditional operations. diff --git a/Firestore/src/V1/RollbackRequest.php b/Firestore/src/V1/RollbackRequest.php index 03616575b028..b933b7581011 100644 --- a/Firestore/src/V1/RollbackRequest.php +++ b/Firestore/src/V1/RollbackRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback]. diff --git a/Firestore/src/V1/RunAggregationQueryRequest.php b/Firestore/src/V1/RunAggregationQueryRequest.php index 6352675aa2a0..bc25360efef2 100644 --- a/Firestore/src/V1/RunAggregationQueryRequest.php +++ b/Firestore/src/V1/RunAggregationQueryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/RunAggregationQueryResponse.php b/Firestore/src/V1/RunAggregationQueryResponse.php index 9ac0bb6411fc..2482abae3f30 100644 --- a/Firestore/src/V1/RunAggregationQueryResponse.php +++ b/Firestore/src/V1/RunAggregationQueryResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for diff --git a/Firestore/src/V1/RunQueryRequest.php b/Firestore/src/V1/RunQueryRequest.php index f04076d3de59..1ee8a4fefb35 100644 --- a/Firestore/src/V1/RunQueryRequest.php +++ b/Firestore/src/V1/RunQueryRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. diff --git a/Firestore/src/V1/RunQueryResponse.php b/Firestore/src/V1/RunQueryResponse.php index f3bdad2f7a82..d4b26e0bcb61 100644 --- a/Firestore/src/V1/RunQueryResponse.php +++ b/Firestore/src/V1/RunQueryResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for diff --git a/Firestore/src/V1/StructuredAggregationQuery.php b/Firestore/src/V1/StructuredAggregationQuery.php index 513a7aeb0f84..38f437249c88 100644 --- a/Firestore/src/V1/StructuredAggregationQuery.php +++ b/Firestore/src/V1/StructuredAggregationQuery.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Firestore query for running an aggregation over a @@ -35,7 +35,7 @@ class StructuredAggregationQuery extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Firestore\V1\StructuredQuery $structured_query * Nested structured query. - * @type array<\Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation>|\Google\Protobuf\Internal\RepeatedField $aggregations + * @type \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation[] $aggregations * Optional. Series of aggregations to apply over the results of the * `structured_query`. * Requires: @@ -85,7 +85,7 @@ public function setStructuredQuery($var) * * A minimum of one and maximum of five aggregations per query. * * Generated from protobuf field repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation> */ public function getAggregations() { @@ -99,7 +99,7 @@ public function getAggregations() * * A minimum of one and maximum of five aggregations per query. * * Generated from protobuf field repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation[] $var * @return $this */ public function setAggregations($var) diff --git a/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php b/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php index f41b6446d08a..dbcaae36b1f6 100644 --- a/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php +++ b/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredAggregationQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines an aggregation that produces a single result. @@ -285,6 +285,3 @@ public function getOperator() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Aggregation::class, \Google\Cloud\Firestore\V1\StructuredAggregationQuery_Aggregation::class); - diff --git a/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Avg.php b/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Avg.php index 95d43be48596..7b3d8bf77414 100644 --- a/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Avg.php +++ b/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Avg.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Average of the values of the requested field. @@ -81,6 +81,3 @@ public function setField($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Avg::class, \Google\Cloud\Firestore\V1\StructuredAggregationQuery_Aggregation_Avg::class); - diff --git a/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Count.php b/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Count.php index d677245f938a..62d1f29948e3 100644 --- a/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Count.php +++ b/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Count.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Count of documents that match the query. @@ -164,6 +164,3 @@ public function setUpToValue($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Count::class, \Google\Cloud\Firestore\V1\StructuredAggregationQuery_Aggregation_Count::class); - diff --git a/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Sum.php b/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Sum.php index a4a17ff5405f..d746c84b594e 100644 --- a/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Sum.php +++ b/Firestore/src/V1/StructuredAggregationQuery/Aggregation/Sum.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Sum of the values of the requested field. @@ -90,6 +90,3 @@ public function setField($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Sum::class, \Google\Cloud\Firestore\V1\StructuredAggregationQuery_Aggregation_Sum::class); - diff --git a/Firestore/src/V1/StructuredPipeline.php b/Firestore/src/V1/StructuredPipeline.php index bddec916b1e3..fe5104a7316b 100644 --- a/Firestore/src/V1/StructuredPipeline.php +++ b/Firestore/src/V1/StructuredPipeline.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Firestore query represented as an ordered list of operations / stages. diff --git a/Firestore/src/V1/StructuredQuery.php b/Firestore/src/V1/StructuredQuery.php index 8b7e6709bb49..438fef0759b4 100644 --- a/Firestore/src/V1/StructuredQuery.php +++ b/Firestore/src/V1/StructuredQuery.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Firestore query. @@ -142,11 +142,11 @@ class StructuredQuery extends \Google\Protobuf\Internal\Message * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the * documents returned from a query. When not set, assumes that the caller * wants all fields returned. - * @type array<\Google\Cloud\Firestore\V1\StructuredQuery\CollectionSelector>|\Google\Protobuf\Internal\RepeatedField $from + * @type \Google\Cloud\Firestore\V1\StructuredQuery\CollectionSelector[] $from * The collections to query. * @type \Google\Cloud\Firestore\V1\StructuredQuery\Filter $where * The filter to apply. - * @type array<\Google\Cloud\Firestore\V1\StructuredQuery\Order>|\Google\Protobuf\Internal\RepeatedField $order_by + * @type \Google\Cloud\Firestore\V1\StructuredQuery\Order[] $order_by * The order to apply to the query results. * Firestore allows callers to provide a full ordering, a partial ordering, or * no ordering at all. In all cases, Firestore guarantees a stable ordering @@ -261,7 +261,7 @@ public function setSelect($var) * The collections to query. * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\StructuredQuery\CollectionSelector> */ public function getFrom() { @@ -272,7 +272,7 @@ public function getFrom() * The collections to query. * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; - * @param array<\Google\Cloud\Firestore\V1\StructuredQuery\CollectionSelector>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\StructuredQuery\CollectionSelector[] $var * @return $this */ public function setFrom($var) @@ -338,7 +338,7 @@ public function setWhere($var) * `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC` * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\StructuredQuery\Order> */ public function getOrderBy() { @@ -364,7 +364,7 @@ public function getOrderBy() * `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC` * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.Order order_by = 4; - * @param array<\Google\Cloud\Firestore\V1\StructuredQuery\Order>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\StructuredQuery\Order[] $var * @return $this */ public function setOrderBy($var) diff --git a/Firestore/src/V1/StructuredQuery/CollectionSelector.php b/Firestore/src/V1/StructuredQuery/CollectionSelector.php index d02f82a80217..9ebbf64bcd02 100644 --- a/Firestore/src/V1/StructuredQuery/CollectionSelector.php +++ b/Firestore/src/V1/StructuredQuery/CollectionSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A selection of a collection, such as `messages as m1`. @@ -111,6 +111,3 @@ public function setAllDescendants($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CollectionSelector::class, \Google\Cloud\Firestore\V1\StructuredQuery_CollectionSelector::class); - diff --git a/Firestore/src/V1/StructuredQuery/CompositeFilter.php b/Firestore/src/V1/StructuredQuery/CompositeFilter.php index c6544362d36b..e762c9115848 100644 --- a/Firestore/src/V1/StructuredQuery/CompositeFilter.php +++ b/Firestore/src/V1/StructuredQuery/CompositeFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A filter that merges multiple other filters using the given operator. @@ -38,7 +38,7 @@ class CompositeFilter extends \Google\Protobuf\Internal\Message * * @type int $op * The operator for combining multiple filters. - * @type array<\Google\Cloud\Firestore\V1\StructuredQuery\Filter>|\Google\Protobuf\Internal\RepeatedField $filters + * @type \Google\Cloud\Firestore\V1\StructuredQuery\Filter[] $filters * The list of filters to combine. * Requires: * * At least one filter is present. @@ -81,7 +81,7 @@ public function setOp($var) * * At least one filter is present. * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\StructuredQuery\Filter> */ public function getFilters() { @@ -94,7 +94,7 @@ public function getFilters() * * At least one filter is present. * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.Filter filters = 2; - * @param array<\Google\Cloud\Firestore\V1\StructuredQuery\Filter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\StructuredQuery\Filter[] $var * @return $this */ public function setFilters($var) @@ -107,6 +107,3 @@ public function setFilters($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CompositeFilter::class, \Google\Cloud\Firestore\V1\StructuredQuery_CompositeFilter::class); - diff --git a/Firestore/src/V1/StructuredQuery/CompositeFilter/Operator.php b/Firestore/src/V1/StructuredQuery/CompositeFilter/Operator.php index b603b83dc965..ae6554be217b 100644 --- a/Firestore/src/V1/StructuredQuery/CompositeFilter/Operator.php +++ b/Firestore/src/V1/StructuredQuery/CompositeFilter/Operator.php @@ -63,6 +63,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Operator::class, \Google\Cloud\Firestore\V1\StructuredQuery_CompositeFilter_Operator::class); - diff --git a/Firestore/src/V1/StructuredQuery/Direction.php b/Firestore/src/V1/StructuredQuery/Direction.php index 70989c758cf2..0c598d813733 100644 --- a/Firestore/src/V1/StructuredQuery/Direction.php +++ b/Firestore/src/V1/StructuredQuery/Direction.php @@ -59,6 +59,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Direction::class, \Google\Cloud\Firestore\V1\StructuredQuery_Direction::class); - diff --git a/Firestore/src/V1/StructuredQuery/FieldFilter.php b/Firestore/src/V1/StructuredQuery/FieldFilter.php index 8557114cd482..5d98ddb05ac4 100644 --- a/Firestore/src/V1/StructuredQuery/FieldFilter.php +++ b/Firestore/src/V1/StructuredQuery/FieldFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A filter on a specific field. @@ -153,6 +153,3 @@ public function setValue($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FieldFilter::class, \Google\Cloud\Firestore\V1\StructuredQuery_FieldFilter::class); - diff --git a/Firestore/src/V1/StructuredQuery/FieldFilter/Operator.php b/Firestore/src/V1/StructuredQuery/FieldFilter/Operator.php index 9721e2039d04..23eae118d8f1 100644 --- a/Firestore/src/V1/StructuredQuery/FieldFilter/Operator.php +++ b/Firestore/src/V1/StructuredQuery/FieldFilter/Operator.php @@ -141,6 +141,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Operator::class, \Google\Cloud\Firestore\V1\StructuredQuery_FieldFilter_Operator::class); - diff --git a/Firestore/src/V1/StructuredQuery/FieldReference.php b/Firestore/src/V1/StructuredQuery/FieldReference.php index 90c70fb21a9a..5b8d7359c038 100644 --- a/Firestore/src/V1/StructuredQuery/FieldReference.php +++ b/Firestore/src/V1/StructuredQuery/FieldReference.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A reference to a field in a document, ex: `stats.operations`. @@ -81,6 +81,3 @@ public function setFieldPath($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FieldReference::class, \Google\Cloud\Firestore\V1\StructuredQuery_FieldReference::class); - diff --git a/Firestore/src/V1/StructuredQuery/Filter.php b/Firestore/src/V1/StructuredQuery/Filter.php index dc43c16b7859..3a0beed1562c 100644 --- a/Firestore/src/V1/StructuredQuery/Filter.php +++ b/Firestore/src/V1/StructuredQuery/Filter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A filter. @@ -139,6 +139,3 @@ public function getFilterType() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Filter::class, \Google\Cloud\Firestore\V1\StructuredQuery_Filter::class); - diff --git a/Firestore/src/V1/StructuredQuery/FindNearest.php b/Firestore/src/V1/StructuredQuery/FindNearest.php index 5c594d1f8930..cd2e12f2ad31 100644 --- a/Firestore/src/V1/StructuredQuery/FindNearest.php +++ b/Firestore/src/V1/StructuredQuery/FindNearest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Nearest Neighbors search config. The ordering provided by FindNearest @@ -394,6 +394,3 @@ public function setDistanceThresholdValue($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FindNearest::class, \Google\Cloud\Firestore\V1\StructuredQuery_FindNearest::class); - diff --git a/Firestore/src/V1/StructuredQuery/FindNearest/DistanceMeasure.php b/Firestore/src/V1/StructuredQuery/FindNearest/DistanceMeasure.php index f50ed905abcd..27f0c9d19df1 100644 --- a/Firestore/src/V1/StructuredQuery/FindNearest/DistanceMeasure.php +++ b/Firestore/src/V1/StructuredQuery/FindNearest/DistanceMeasure.php @@ -78,6 +78,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DistanceMeasure::class, \Google\Cloud\Firestore\V1\StructuredQuery_FindNearest_DistanceMeasure::class); - diff --git a/Firestore/src/V1/StructuredQuery/Order.php b/Firestore/src/V1/StructuredQuery/Order.php index b8a82946db0c..8fbd3df5829e 100644 --- a/Firestore/src/V1/StructuredQuery/Order.php +++ b/Firestore/src/V1/StructuredQuery/Order.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An order on a field. @@ -109,6 +109,3 @@ public function setDirection($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Order::class, \Google\Cloud\Firestore\V1\StructuredQuery_Order::class); - diff --git a/Firestore/src/V1/StructuredQuery/Projection.php b/Firestore/src/V1/StructuredQuery/Projection.php index 36909ca38947..07788a015d64 100644 --- a/Firestore/src/V1/StructuredQuery/Projection.php +++ b/Firestore/src/V1/StructuredQuery/Projection.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The projection of document's fields to return. @@ -30,7 +30,7 @@ class Projection extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Firestore\V1\StructuredQuery\FieldReference>|\Google\Protobuf\Internal\RepeatedField $fields + * @type \Google\Cloud\Firestore\V1\StructuredQuery\FieldReference[] $fields * The fields to return. * If empty, all fields are returned. To only return the name * of the document, use `['__name__']`. @@ -47,7 +47,7 @@ public function __construct($data = NULL) { * of the document, use `['__name__']`. * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\StructuredQuery\FieldReference> */ public function getFields() { @@ -60,7 +60,7 @@ public function getFields() * of the document, use `['__name__']`. * * Generated from protobuf field repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2; - * @param array<\Google\Cloud\Firestore\V1\StructuredQuery\FieldReference>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\StructuredQuery\FieldReference[] $var * @return $this */ public function setFields($var) @@ -73,6 +73,3 @@ public function setFields($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Projection::class, \Google\Cloud\Firestore\V1\StructuredQuery_Projection::class); - diff --git a/Firestore/src/V1/StructuredQuery/UnaryFilter.php b/Firestore/src/V1/StructuredQuery/UnaryFilter.php index 08c1e0008b03..faea2fe6ec1a 100644 --- a/Firestore/src/V1/StructuredQuery/UnaryFilter.php +++ b/Firestore/src/V1/StructuredQuery/UnaryFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\StructuredQuery; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A filter with a single operand. @@ -107,6 +107,3 @@ public function getOperandType() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UnaryFilter::class, \Google\Cloud\Firestore\V1\StructuredQuery_UnaryFilter::class); - diff --git a/Firestore/src/V1/StructuredQuery/UnaryFilter/Operator.php b/Firestore/src/V1/StructuredQuery/UnaryFilter/Operator.php index d8a8dffc6d00..4c991e2fd636 100644 --- a/Firestore/src/V1/StructuredQuery/UnaryFilter/Operator.php +++ b/Firestore/src/V1/StructuredQuery/UnaryFilter/Operator.php @@ -79,6 +79,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Operator::class, \Google\Cloud\Firestore\V1\StructuredQuery_UnaryFilter_Operator::class); - diff --git a/Firestore/src/V1/Target.php b/Firestore/src/V1/Target.php index 7ff063fa895f..b389efb878bd 100644 --- a/Firestore/src/V1/Target.php +++ b/Firestore/src/V1/Target.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A specification of a set of documents to listen to. diff --git a/Firestore/src/V1/Target/DocumentsTarget.php b/Firestore/src/V1/Target/DocumentsTarget.php index b96562c648cf..b4cab2dfd941 100644 --- a/Firestore/src/V1/Target/DocumentsTarget.php +++ b/Firestore/src/V1/Target/DocumentsTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\Target; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A target specified by a set of documents names. @@ -31,7 +31,7 @@ class DocumentsTarget extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $documents + * @type string[] $documents * The names of the documents to retrieve. In the format: * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. * The request will fail if any of the document is not a child resource of @@ -50,7 +50,7 @@ public function __construct($data = NULL) { * the given `database`. Duplicate names will be elided. * * Generated from protobuf field repeated string documents = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDocuments() { @@ -64,7 +64,7 @@ public function getDocuments() * the given `database`. Duplicate names will be elided. * * Generated from protobuf field repeated string documents = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDocuments($var) @@ -77,6 +77,3 @@ public function setDocuments($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DocumentsTarget::class, \Google\Cloud\Firestore\V1\Target_DocumentsTarget::class); - diff --git a/Firestore/src/V1/Target/QueryTarget.php b/Firestore/src/V1/Target/QueryTarget.php index e348fdafdb85..0b85a3b0444a 100644 --- a/Firestore/src/V1/Target/QueryTarget.php +++ b/Firestore/src/V1/Target/QueryTarget.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\Target; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A target specified by a query. @@ -127,6 +127,3 @@ public function getQueryType() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QueryTarget::class, \Google\Cloud\Firestore\V1\Target_QueryTarget::class); - diff --git a/Firestore/src/V1/TargetChange.php b/Firestore/src/V1/TargetChange.php index 8ae1857db80a..76f4082b2001 100644 --- a/Firestore/src/V1/TargetChange.php +++ b/Firestore/src/V1/TargetChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Targets being watched have changed. @@ -65,7 +65,7 @@ class TargetChange extends \Google\Protobuf\Internal\Message * * @type int $target_change_type * The type of change that occurred. - * @type array|\Google\Protobuf\Internal\RepeatedField $target_ids + * @type int[] $target_ids * The target IDs of targets that have changed. * If empty, the change applies to all targets. * The order of the target IDs is not defined. @@ -123,7 +123,7 @@ public function setTargetChangeType($var) * The order of the target IDs is not defined. * * Generated from protobuf field repeated int32 target_ids = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTargetIds() { @@ -136,7 +136,7 @@ public function getTargetIds() * The order of the target IDs is not defined. * * Generated from protobuf field repeated int32 target_ids = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setTargetIds($var) diff --git a/Firestore/src/V1/TargetChange/TargetChangeType.php b/Firestore/src/V1/TargetChange/TargetChangeType.php index 23694a75db2e..0971283f5a47 100644 --- a/Firestore/src/V1/TargetChange/TargetChangeType.php +++ b/Firestore/src/V1/TargetChange/TargetChangeType.php @@ -81,6 +81,3 @@ public static function value($name) } } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetChangeType::class, \Google\Cloud\Firestore\V1\TargetChange_TargetChangeType::class); - diff --git a/Firestore/src/V1/TransactionOptions.php b/Firestore/src/V1/TransactionOptions.php index 07498e58f517..d35fb47e9cdb 100644 --- a/Firestore/src/V1/TransactionOptions.php +++ b/Firestore/src/V1/TransactionOptions.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options for creating a new transaction. diff --git a/Firestore/src/V1/TransactionOptions/PBReadOnly.php b/Firestore/src/V1/TransactionOptions/PBReadOnly.php index 932fdc38e1ad..dde09490ca47 100644 --- a/Firestore/src/V1/TransactionOptions/PBReadOnly.php +++ b/Firestore/src/V1/TransactionOptions/PBReadOnly.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\TransactionOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options for a transaction that can only be used to read documents. @@ -82,7 +82,3 @@ public function getConsistencySelector() } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PBReadOnly::class, \Google\Cloud\Firestore\V1\TransactionOptions_ReadOnly::class); - - diff --git a/Firestore/src/V1/TransactionOptions/ReadWrite.php b/Firestore/src/V1/TransactionOptions/ReadWrite.php index 2160b84124ab..5cbf2c3a6b28 100644 --- a/Firestore/src/V1/TransactionOptions/ReadWrite.php +++ b/Firestore/src/V1/TransactionOptions/ReadWrite.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1\TransactionOptions; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Options for a transaction that can be used to read and write documents. @@ -67,6 +67,3 @@ public function setRetryTransaction($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ReadWrite::class, \Google\Cloud\Firestore\V1\TransactionOptions_ReadWrite::class); - diff --git a/Firestore/src/V1/UpdateDocumentRequest.php b/Firestore/src/V1/UpdateDocumentRequest.php index 73d86df72fbc..e17f9737c269 100644 --- a/Firestore/src/V1/UpdateDocumentRequest.php +++ b/Firestore/src/V1/UpdateDocumentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; 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/Firestore/src/V1/Value.php b/Firestore/src/V1/Value.php index 9a5c3dca680a..db0784d64e76 100644 --- a/Firestore/src/V1/Value.php +++ b/Firestore/src/V1/Value.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A message that can hold any of the supported value types. diff --git a/Firestore/src/V1/Write.php b/Firestore/src/V1/Write.php index 42dd6545d1f4..606a6e127446 100644 --- a/Firestore/src/V1/Write.php +++ b/Firestore/src/V1/Write.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A write on a document. @@ -70,7 +70,7 @@ class Write extends \Google\Protobuf\Internal\Message * Fields referenced in the mask, but not present in the input document, are * deleted from the document on the server. * The field paths in this mask must not contain a reserved field name. - * @type array<\Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform>|\Google\Protobuf\Internal\RepeatedField $update_transforms + * @type \Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform[] $update_transforms * The transforms to perform after update. * This field can be set only when the operation is `update`. If present, this * write is equivalent to performing `update` and `transform` to the same @@ -239,7 +239,7 @@ public function setUpdateMask($var) * document atomically and in order. * * Generated from protobuf field repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform> */ public function getUpdateTransforms() { @@ -253,7 +253,7 @@ public function getUpdateTransforms() * document atomically and in order. * * Generated from protobuf field repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * @param array<\Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform[] $var * @return $this */ public function setUpdateTransforms($var) diff --git a/Firestore/src/V1/WriteRequest.php b/Firestore/src/V1/WriteRequest.php index 71a96dfa81ca..e4751b03fa2d 100644 --- a/Firestore/src/V1/WriteRequest.php +++ b/Firestore/src/V1/WriteRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The request for [Firestore.Write][google.firestore.v1.Firestore.Write]. @@ -83,7 +83,7 @@ class WriteRequest extends \Google\Protobuf\Internal\Message * The ID of the write stream to resume. * This may only be set in the first message. When left empty, a new write * stream will be created. - * @type array<\Google\Cloud\Firestore\V1\Write>|\Google\Protobuf\Internal\RepeatedField $writes + * @type \Google\Cloud\Firestore\V1\Write[] $writes * The writes to apply. * Always executed atomically and in order. * This must be empty on the first request. @@ -177,7 +177,7 @@ public function setStreamId($var) * This must not be empty on all other requests. * * Generated from protobuf field repeated .google.firestore.v1.Write writes = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Write> */ public function getWrites() { @@ -192,7 +192,7 @@ public function getWrites() * This must not be empty on all other requests. * * Generated from protobuf field repeated .google.firestore.v1.Write writes = 3; - * @param array<\Google\Cloud\Firestore\V1\Write>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Write[] $var * @return $this */ public function setWrites($var) diff --git a/Firestore/src/V1/WriteResponse.php b/Firestore/src/V1/WriteResponse.php index 21af5f955b85..78241540e293 100644 --- a/Firestore/src/V1/WriteResponse.php +++ b/Firestore/src/V1/WriteResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The response for [Firestore.Write][google.firestore.v1.Firestore.Write]. @@ -59,7 +59,7 @@ class WriteResponse extends \Google\Protobuf\Internal\Message * A token that represents the position of this response in the stream. * This can be used by a client to resume the stream at this point. * This field is always set. - * @type array<\Google\Cloud\Firestore\V1\WriteResult>|\Google\Protobuf\Internal\RepeatedField $write_results + * @type \Google\Cloud\Firestore\V1\WriteResult[] $write_results * The result of applying the writes. * This i-th write result corresponds to the i-th write in the * request. @@ -137,7 +137,7 @@ public function setStreamToken($var) * request. * * Generated from protobuf field repeated .google.firestore.v1.WriteResult write_results = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\WriteResult> */ public function getWriteResults() { @@ -150,7 +150,7 @@ public function getWriteResults() * request. * * Generated from protobuf field repeated .google.firestore.v1.WriteResult write_results = 3; - * @param array<\Google\Cloud\Firestore\V1\WriteResult>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\WriteResult[] $var * @return $this */ public function setWriteResults($var) diff --git a/Firestore/src/V1/WriteResult.php b/Firestore/src/V1/WriteResult.php index 9a180204f5bf..5fd3daac9f94 100644 --- a/Firestore/src/V1/WriteResult.php +++ b/Firestore/src/V1/WriteResult.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Firestore\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The result of applying a write. @@ -44,7 +44,7 @@ class WriteResult extends \Google\Protobuf\Internal\Message * after a `delete`. * If the write did not actually change the document, this will be the * previous update_time. - * @type array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $transform_results + * @type \Google\Cloud\Firestore\V1\Value[] $transform_results * The results of applying each * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], * in the same order. @@ -103,7 +103,7 @@ public function setUpdateTime($var) * in the same order. * * Generated from protobuf field repeated .google.firestore.v1.Value transform_results = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Firestore\V1\Value> */ public function getTransformResults() { @@ -116,7 +116,7 @@ public function getTransformResults() * in the same order. * * Generated from protobuf field repeated .google.firestore.v1.Value transform_results = 2; - * @param array<\Google\Cloud\Firestore\V1\Value>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Firestore\V1\Value[] $var * @return $this */ public function setTransformResults($var) diff --git a/Functions/metadata/V2/Functions.php b/Functions/metadata/V2/Functions.php index 50b4c3f57eb7..99dd7696f65d 100644 Binary files a/Functions/metadata/V2/Functions.php and b/Functions/metadata/V2/Functions.php differ diff --git a/Functions/src/V2/AutomaticUpdatePolicy.php b/Functions/src/V2/AutomaticUpdatePolicy.php index b30ace2a41a9..0d256a46d53f 100644 --- a/Functions/src/V2/AutomaticUpdatePolicy.php +++ b/Functions/src/V2/AutomaticUpdatePolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Security patches are applied automatically to the runtime without requiring diff --git a/Functions/src/V2/BuildConfig.php b/Functions/src/V2/BuildConfig.php index 49678f0b275a..5fc526a75c4c 100644 --- a/Functions/src/V2/BuildConfig.php +++ b/Functions/src/V2/BuildConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the Build step of the function that builds a container from the @@ -65,7 +65,7 @@ class BuildConfig extends \Google\Protobuf\Internal\Message * pool. * If the project id is not the same as the function, then the Cloud * Functions Service Agent - * (service-@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role Cloud Build Custom Workers Builder * (roles/cloudbuild.customworkers.builder) in the project. * @@ -153,7 +153,7 @@ class BuildConfig extends \Google\Protobuf\Internal\Message * pool. * If the project id is not the same as the function, then the Cloud * Functions Service Agent - * (service-@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role Cloud Build Custom Workers Builder * (roles/cloudbuild.customworkers.builder) in the project. * @type array|\Google\Protobuf\Internal\MapField $environment_variables @@ -421,7 +421,7 @@ public function setSourceProvenance($var) * pool. * If the project id is not the same as the function, then the Cloud * Functions Service Agent - * (service-@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role Cloud Build Custom Workers Builder * (roles/cloudbuild.customworkers.builder) in the project. * @@ -442,7 +442,7 @@ public function getWorkerPool() * pool. * If the project id is not the same as the function, then the Cloud * Functions Service Agent - * (service-@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role Cloud Build Custom Workers Builder * (roles/cloudbuild.customworkers.builder) in the project. * diff --git a/Functions/src/V2/BuildConfig/DockerRegistry.php b/Functions/src/V2/BuildConfig/DockerRegistry.php index 3e2af6069b66..ce4c63f2f3c1 100644 --- a/Functions/src/V2/BuildConfig/DockerRegistry.php +++ b/Functions/src/V2/BuildConfig/DockerRegistry.php @@ -64,4 +64,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/CreateFunctionRequest.php b/Functions/src/V2/CreateFunctionRequest.php index 903e08f50551..f86c73976cd6 100644 --- a/Functions/src/V2/CreateFunctionRequest.php +++ b/Functions/src/V2/CreateFunctionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `CreateFunction` method. @@ -17,7 +17,7 @@ class CreateFunctionRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location in which the function should be created, - * specified in the format `projects/*/locations/*` + * specified in the format `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -69,7 +69,7 @@ public static function build(string $parent, \Google\Cloud\Functions\V2\PBFuncti * * @type string $parent * Required. The project and location in which the function should be created, - * specified in the format `projects/*/locations/*` + * specified in the format `projects/{@*}locations/*` * @type \Google\Cloud\Functions\V2\PBFunction $function * Required. Function to be created. * @type string $function_id @@ -86,7 +86,7 @@ public function __construct($data = NULL) { /** * Required. The project and location in which the function should be created, - * specified in the format `projects/*/locations/*` + * specified in the format `projects/{@*}locations/*` * * 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 project and location in which the function should be created, - * specified in the format `projects/*/locations/*` + * 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/Functions/src/V2/DeleteFunctionRequest.php b/Functions/src/V2/DeleteFunctionRequest.php index cd7afb9522a6..f0d521463c46 100644 --- a/Functions/src/V2/DeleteFunctionRequest.php +++ b/Functions/src/V2/DeleteFunctionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `DeleteFunction` method. diff --git a/Functions/src/V2/EventFilter.php b/Functions/src/V2/EventFilter.php index 15ec540f1dd6..efce291afe57 100644 --- a/Functions/src/V2/EventFilter.php +++ b/Functions/src/V2/EventFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Filters events based on exact matches on the CloudEvents attributes. diff --git a/Functions/src/V2/EventTrigger.php b/Functions/src/V2/EventTrigger.php index 62813744547d..75966248c554 100644 --- a/Functions/src/V2/EventTrigger.php +++ b/Functions/src/V2/EventTrigger.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes EventTrigger, used to request events to be sent from another @@ -62,7 +62,7 @@ class EventTrigger extends \Google\Protobuf\Internal\Message * must have permission to invoke Cloud Run services, the permission is * `run.routes.invoke`. * If empty, defaults to the Compute Engine default service account: - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * * Generated from protobuf field string service_account_email = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -112,7 +112,7 @@ class EventTrigger extends \Google\Protobuf\Internal\Message * Required. The type of event to observe. For example: * `google.cloud.audit.log.v1.written` or * `google.cloud.pubsub.topic.v1.messagePublished`. - * @type array<\Google\Cloud\Functions\V2\EventFilter>|\Google\Protobuf\Internal\RepeatedField $event_filters + * @type \Google\Cloud\Functions\V2\EventFilter[] $event_filters * Criteria used to filter events. * @type string $pubsub_topic * Optional. The name of a Pub/Sub topic in the same project that will be used @@ -126,7 +126,7 @@ class EventTrigger extends \Google\Protobuf\Internal\Message * must have permission to invoke Cloud Run services, the permission is * `run.routes.invoke`. * If empty, defaults to the Compute Engine default service account: - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * @type int $retry_policy * Optional. If unset, then defaults to ignoring failures (i.e. not retrying * them). @@ -242,7 +242,7 @@ public function setEventType($var) * Criteria used to filter events. * * Generated from protobuf field repeated .google.cloud.functions.v2.EventFilter event_filters = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\EventFilter> */ public function getEventFilters() { @@ -253,7 +253,7 @@ public function getEventFilters() * Criteria used to filter events. * * Generated from protobuf field repeated .google.cloud.functions.v2.EventFilter event_filters = 4; - * @param array<\Google\Cloud\Functions\V2\EventFilter>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\EventFilter[] $var * @return $this */ public function setEventFilters($var) @@ -305,7 +305,7 @@ public function setPubsubTopic($var) * must have permission to invoke Cloud Run services, the permission is * `run.routes.invoke`. * If empty, defaults to the Compute Engine default service account: - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * * Generated from protobuf field string service_account_email = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -320,7 +320,7 @@ public function getServiceAccountEmail() * must have permission to invoke Cloud Run services, the permission is * `run.routes.invoke`. * If empty, defaults to the Compute Engine default service account: - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * * Generated from protobuf field string service_account_email = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var diff --git a/Functions/src/V2/EventTrigger/RetryPolicy.php b/Functions/src/V2/EventTrigger/RetryPolicy.php index 8acd3cff99cf..fc5f7c8d234a 100644 --- a/Functions/src/V2/EventTrigger/RetryPolicy.php +++ b/Functions/src/V2/EventTrigger/RetryPolicy.php @@ -61,4 +61,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/GenerateDownloadUrlRequest.php b/Functions/src/V2/GenerateDownloadUrlRequest.php index 6e003ddc46aa..2de0fcfb7b63 100644 --- a/Functions/src/V2/GenerateDownloadUrlRequest.php +++ b/Functions/src/V2/GenerateDownloadUrlRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request of `GenerateDownloadUrl` method. diff --git a/Functions/src/V2/GenerateDownloadUrlResponse.php b/Functions/src/V2/GenerateDownloadUrlResponse.php index c49cbe0ed3f5..59087a081df9 100644 --- a/Functions/src/V2/GenerateDownloadUrlResponse.php +++ b/Functions/src/V2/GenerateDownloadUrlResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of `GenerateDownloadUrl` method. diff --git a/Functions/src/V2/GenerateUploadUrlRequest.php b/Functions/src/V2/GenerateUploadUrlRequest.php index 99ecaab79770..df48767769e5 100644 --- a/Functions/src/V2/GenerateUploadUrlRequest.php +++ b/Functions/src/V2/GenerateUploadUrlRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request of `GenerateSourceUploadUrl` method. @@ -17,7 +17,7 @@ class GenerateUploadUrlRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location in which the Google Cloud Storage signed - * URL should be generated, specified in the format `projects/*/locations/*`. + * URL should be generated, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -32,7 +32,7 @@ class GenerateUploadUrlRequest extends \Google\Protobuf\Internal\Message * It must match the pattern * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. * The Google Cloud Functions service account - * (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-{project_number}\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the * Key/KeyRing/Project/Organization (least access preferred). @@ -58,7 +58,7 @@ class GenerateUploadUrlRequest extends \Google\Protobuf\Internal\Message * * @type string $parent * Required. The project and location in which the Google Cloud Storage signed - * URL should be generated, specified in the format `projects/*/locations/*`. + * URL should be generated, specified in the format `projects/{@*}locations/*`. * @type string $kms_key_name * Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt function source code objects in intermediate Cloud Storage @@ -69,7 +69,7 @@ class GenerateUploadUrlRequest extends \Google\Protobuf\Internal\Message * It must match the pattern * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. * The Google Cloud Functions service account - * (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-{project_number}\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the * Key/KeyRing/Project/Organization (least access preferred). @@ -87,7 +87,7 @@ public function __construct($data = NULL) { /** * Required. The project and location in which the Google Cloud Storage signed - * URL should be generated, specified in the format `projects/*/locations/*`. + * URL should be generated, specified in the format `projects/{@*}locations/*`. * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -99,7 +99,7 @@ public function getParent() /** * Required. The project and location in which the Google Cloud Storage signed - * URL should be generated, specified in the format `projects/*/locations/*`. + * URL should be generated, 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 @@ -123,7 +123,7 @@ public function setParent($var) * It must match the pattern * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. * The Google Cloud Functions service account - * (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-{project_number}\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the * Key/KeyRing/Project/Organization (least access preferred). @@ -146,7 +146,7 @@ public function getKmsKeyName() * It must match the pattern * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. * The Google Cloud Functions service account - * (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be + * (service-{project_number}\@gcf-admin-robot.iam.gserviceaccount.com) must be * granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the * Key/KeyRing/Project/Organization (least access preferred). diff --git a/Functions/src/V2/GenerateUploadUrlResponse.php b/Functions/src/V2/GenerateUploadUrlResponse.php index ec4ee0a82cfa..0e5dc05972dd 100644 --- a/Functions/src/V2/GenerateUploadUrlResponse.php +++ b/Functions/src/V2/GenerateUploadUrlResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response of `GenerateSourceUploadUrl` method. diff --git a/Functions/src/V2/GetFunctionRequest.php b/Functions/src/V2/GetFunctionRequest.php index 696d3868a778..434723f95eba 100644 --- a/Functions/src/V2/GetFunctionRequest.php +++ b/Functions/src/V2/GetFunctionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `GetFunction` method. diff --git a/Functions/src/V2/ListFunctionsRequest.php b/Functions/src/V2/ListFunctionsRequest.php index 73bd69251581..002bc24bd79a 100644 --- a/Functions/src/V2/ListFunctionsRequest.php +++ b/Functions/src/V2/ListFunctionsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListFunctions` method. @@ -17,7 +17,7 @@ class ListFunctionsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location from which the function should be - * listed, specified in the format `projects/*/locations/*` If you want to + * listed, specified in the format `projects/{@*}locations/*` If you want to * list functions in all locations, use "-" in place of a location. When * listing functions in all locations, if one or more location(s) are * unreachable, the response will contain functions from all reachable @@ -87,7 +87,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which the function should be - * listed, specified in the format `projects/*/locations/*` If you want to + * listed, specified in the format `projects/{@*}locations/*` If you want to * list functions in all locations, use "-" in place of a location. When * listing functions in all locations, if one or more location(s) are * unreachable, the response will contain functions from all reachable @@ -118,7 +118,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which the function should be - * listed, specified in the format `projects/*/locations/*` If you want to + * listed, specified in the format `projects/{@*}locations/*` If you want to * list functions in all locations, use "-" in place of a location. When * listing functions in all locations, if one or more location(s) are * unreachable, the response will contain functions from all reachable @@ -134,7 +134,7 @@ public function getParent() /** * Required. The project and location from which the function should be - * listed, specified in the format `projects/*/locations/*` If you want to + * listed, specified in the format `projects/{@*}locations/*` If you want to * list functions in all locations, use "-" in place of a location. When * listing functions in all locations, if one or more location(s) are * unreachable, the response will contain functions from all reachable diff --git a/Functions/src/V2/ListFunctionsResponse.php b/Functions/src/V2/ListFunctionsResponse.php index edfa21aa7abe..c280b9de5488 100644 --- a/Functions/src/V2/ListFunctionsResponse.php +++ b/Functions/src/V2/ListFunctionsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListFunctions` method. @@ -42,12 +42,12 @@ class ListFunctionsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Functions\V2\PBFunction>|\Google\Protobuf\Internal\RepeatedField $functions + * @type \Google\Cloud\Functions\V2\PBFunction[] $functions * The functions that match the request. * @type string $next_page_token * A token, which can be sent as `page_token` to retrieve the next page. * If this field is omitted, there are no subsequent pages. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. The response does not include any * functions from these locations. * } @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * The functions that match the request. * * Generated from protobuf field repeated .google.cloud.functions.v2.Function functions = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\PBFunction> */ public function getFunctions() { @@ -72,7 +72,7 @@ public function getFunctions() * The functions that match the request. * * Generated from protobuf field repeated .google.cloud.functions.v2.Function functions = 1; - * @param array<\Google\Cloud\Functions\V2\PBFunction>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\PBFunction[] $var * @return $this */ public function setFunctions($var) @@ -116,7 +116,7 @@ public function setNextPageToken($var) * functions from these locations. * * 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() * functions from these locations. * * 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/Functions/src/V2/ListRuntimesRequest.php b/Functions/src/V2/ListRuntimesRequest.php index 7b4e50584294..7516f14281ee 100644 --- a/Functions/src/V2/ListRuntimesRequest.php +++ b/Functions/src/V2/ListRuntimesRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `ListRuntimes` method. @@ -17,7 +17,7 @@ class ListRuntimesRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project and location from which the runtimes 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) = { */ @@ -53,7 +53,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The project and location from which the runtimes should be - * listed, specified in the format `projects/*/locations/*` + * listed, specified in the format `projects/{@*}locations/*` * @type string $filter * The filter for Runtimes that match the filter expression, * following the syntax outlined in https://google.aip.dev/160. @@ -66,7 +66,7 @@ public function __construct($data = NULL) { /** * Required. The project and location from which the runtimes 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 @@ -78,7 +78,7 @@ public function getParent() /** * Required. The project and location from which the runtimes 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/Functions/src/V2/ListRuntimesResponse.php b/Functions/src/V2/ListRuntimesResponse.php index b833f9d472e1..cb9f639c3254 100644 --- a/Functions/src/V2/ListRuntimesResponse.php +++ b/Functions/src/V2/ListRuntimesResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response for the `ListRuntimes` method. @@ -28,7 +28,7 @@ class ListRuntimesResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Functions\V2\ListRuntimesResponse\Runtime>|\Google\Protobuf\Internal\RepeatedField $runtimes + * @type \Google\Cloud\Functions\V2\ListRuntimesResponse\Runtime[] $runtimes * The runtimes that match the request. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The runtimes that match the request. * * Generated from protobuf field repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\ListRuntimesResponse\Runtime> */ public function getRuntimes() { @@ -52,7 +52,7 @@ public function getRuntimes() * The runtimes that match the request. * * Generated from protobuf field repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1; - * @param array<\Google\Cloud\Functions\V2\ListRuntimesResponse\Runtime>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\ListRuntimesResponse\Runtime[] $var * @return $this */ public function setRuntimes($var) diff --git a/Functions/src/V2/ListRuntimesResponse/Runtime.php b/Functions/src/V2/ListRuntimesResponse/Runtime.php index 4e802b99eb2b..2a20e4fdd8d5 100644 --- a/Functions/src/V2/ListRuntimesResponse/Runtime.php +++ b/Functions/src/V2/ListRuntimesResponse/Runtime.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2\ListRuntimesResponse; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a runtime and any special information (e.g., deprecation status) @@ -71,7 +71,7 @@ class Runtime extends \Google\Protobuf\Internal\Message * The user facing name, eg 'Go 1.13', 'Node.js 12', etc. * @type int $stage * The stage of life this runtime is in, e.g., BETA, GA, etc. - * @type array|\Google\Protobuf\Internal\RepeatedField $warnings + * @type string[] $warnings * Warning messages, e.g., a deprecation warning. * @type int $environment * The environment for the runtime. @@ -168,7 +168,7 @@ public function setStage($var) * Warning messages, e.g., a deprecation warning. * * Generated from protobuf field repeated string warnings = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getWarnings() { @@ -179,7 +179,7 @@ public function getWarnings() * Warning messages, e.g., a deprecation warning. * * Generated from protobuf field repeated string warnings = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setWarnings($var) @@ -290,4 +290,3 @@ public function setDecommissionDate($var) } - diff --git a/Functions/src/V2/ListRuntimesResponse/RuntimeStage.php b/Functions/src/V2/ListRuntimesResponse/RuntimeStage.php index fbc5e3108a8e..ee7779e6f095 100644 --- a/Functions/src/V2/ListRuntimesResponse/RuntimeStage.php +++ b/Functions/src/V2/ListRuntimesResponse/RuntimeStage.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/LocationMetadata.php b/Functions/src/V2/LocationMetadata.php index f6f8e06ea974..64f365b9aa2e 100644 --- a/Functions/src/V2/LocationMetadata.php +++ b/Functions/src/V2/LocationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Extra GCF specific location information. @@ -28,7 +28,7 @@ class LocationMetadata extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $environments + * @type int[] $environments * The Cloud Function environments this location supports. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * The Cloud Function environments this location supports. * * Generated from protobuf field repeated .google.cloud.functions.v2.Environment environments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getEnvironments() { @@ -52,7 +52,7 @@ public function getEnvironments() * The Cloud Function environments this location supports. * * Generated from protobuf field repeated .google.cloud.functions.v2.Environment environments = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setEnvironments($var) diff --git a/Functions/src/V2/OnDeployUpdatePolicy.php b/Functions/src/V2/OnDeployUpdatePolicy.php index 471df8d867e2..654ad7c1bb43 100644 --- a/Functions/src/V2/OnDeployUpdatePolicy.php +++ b/Functions/src/V2/OnDeployUpdatePolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Security patches are only applied when a function is redeployed. diff --git a/Functions/src/V2/OperationMetadata.php b/Functions/src/V2/OperationMetadata.php index b6394ceb74f7..d57d83fd0ef3 100644 --- a/Functions/src/V2/OperationMetadata.php +++ b/Functions/src/V2/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\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. @@ -121,7 +121,7 @@ class OperationMetadata extends \Google\Protobuf\Internal\Message * API version used to start the operation. * @type \Google\Protobuf\Any $request_resource * The original request that started the operation. - * @type array<\Google\Cloud\Functions\V2\Stage>|\Google\Protobuf\Internal\RepeatedField $stages + * @type \Google\Cloud\Functions\V2\Stage[] $stages * Mechanism for reporting in-progress stages * @type string $source_token * An identifier for Firebase function sources. Disclaimer: This field is only @@ -389,7 +389,7 @@ public function setRequestResource($var) * Mechanism for reporting in-progress stages * * Generated from protobuf field repeated .google.cloud.functions.v2.Stage stages = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\Stage> */ public function getStages() { @@ -400,7 +400,7 @@ public function getStages() * Mechanism for reporting in-progress stages * * Generated from protobuf field repeated .google.cloud.functions.v2.Stage stages = 9; - * @param array<\Google\Cloud\Functions\V2\Stage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\Stage[] $var * @return $this */ public function setStages($var) diff --git a/Functions/src/V2/PBFunction.php b/Functions/src/V2/PBFunction.php index 2cd283d55971..4c5a88cc88da 100644 --- a/Functions/src/V2/PBFunction.php +++ b/Functions/src/V2/PBFunction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes a Cloud Function that contains user computation executed in @@ -18,7 +18,7 @@ class PBFunction extends \Google\Protobuf\Internal\Message { /** * A user-defined name of the function. Function names must be unique - * globally and match pattern `projects/*/locations/*/functions/*` + * globally and match pattern `projects/{@*}locations/{@*}functions/*` * * Generated from protobuf field string name = 1; */ @@ -117,7 +117,7 @@ class PBFunction extends \Google\Protobuf\Internal\Message * * @type string $name * A user-defined name of the function. Function names must be unique - * globally and match pattern `projects/*/locations/*/functions/*` + * globally and match pattern `projects/{@*}locations/{@*}functions/*` * @type string $description * User-provided description of a function. * @type \Google\Cloud\Functions\V2\BuildConfig $build_config @@ -135,7 +135,7 @@ class PBFunction extends \Google\Protobuf\Internal\Message * Output only. The last update timestamp of a Cloud Function. * @type array|\Google\Protobuf\Internal\MapField $labels * Labels associated with this Cloud Function. - * @type array<\Google\Cloud\Functions\V2\StateMessage>|\Google\Protobuf\Internal\RepeatedField $state_messages + * @type \Google\Cloud\Functions\V2\StateMessage[] $state_messages * Output only. State Messages for this Cloud Function. * @type int $environment * Describe whether the function is 1st Gen or 2nd Gen. @@ -160,7 +160,7 @@ public function __construct($data = NULL) { /** * A user-defined name of the function. Function names must be unique - * globally and match pattern `projects/*/locations/*/functions/*` + * globally and match pattern `projects/{@*}locations/{@*}functions/*` * * Generated from protobuf field string name = 1; * @return string @@ -172,7 +172,7 @@ public function getName() /** * A user-defined name of the function. Function names must be unique - * globally and match pattern `projects/*/locations/*/functions/*` + * globally and match pattern `projects/{@*}locations/{@*}functions/*` * * Generated from protobuf field string name = 1; * @param string $var @@ -418,7 +418,7 @@ public function setLabels($var) * Output only. State Messages for this Cloud Function. * * Generated from protobuf field repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\StateMessage> */ public function getStateMessages() { @@ -429,7 +429,7 @@ public function getStateMessages() * Output only. State Messages for this Cloud Function. * * Generated from protobuf field repeated .google.cloud.functions.v2.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\Functions\V2\StateMessage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\StateMessage[] $var * @return $this */ public function setStateMessages($var) diff --git a/Functions/src/V2/PBFunction/State.php b/Functions/src/V2/PBFunction/State.php index 9370dd8f1b5b..920a3ea11312 100644 --- a/Functions/src/V2/PBFunction/State.php +++ b/Functions/src/V2/PBFunction/State.php @@ -81,4 +81,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/RepoSource.php b/Functions/src/V2/RepoSource.php index 5326f62530e6..e039264fd4f3 100644 --- a/Functions/src/V2/RepoSource.php +++ b/Functions/src/V2/RepoSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of the source in a Google Cloud Source Repository. diff --git a/Functions/src/V2/SecretEnvVar.php b/Functions/src/V2/SecretEnvVar.php index d14b7f6d187b..afbccb62ee0b 100644 --- a/Functions/src/V2/SecretEnvVar.php +++ b/Functions/src/V2/SecretEnvVar.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for a secret environment variable. It has the information diff --git a/Functions/src/V2/SecretVolume.php b/Functions/src/V2/SecretVolume.php index 505db9251bf8..22cffe4ddd20 100644 --- a/Functions/src/V2/SecretVolume.php +++ b/Functions/src/V2/SecretVolume.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for a secret volume. It has the information necessary to fetch @@ -68,7 +68,7 @@ class SecretVolume extends \Google\Protobuf\Internal\Message * assumed that the secret is in the same project as the function. * @type string $secret * Name of the secret in secret manager (not the full resource name). - * @type array<\Google\Cloud\Functions\V2\SecretVolume\SecretVersion>|\Google\Protobuf\Internal\RepeatedField $versions + * @type \Google\Cloud\Functions\V2\SecretVolume\SecretVersion[] $versions * List of secret versions to mount for this secret. If empty, the `latest` * version of the secret will be made available in a file named after the * secret under the mount point. @@ -175,7 +175,7 @@ public function setSecret($var) * secret under the mount point. * * Generated from protobuf field repeated .google.cloud.functions.v2.SecretVolume.SecretVersion versions = 4; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\SecretVolume\SecretVersion> */ public function getVersions() { @@ -188,7 +188,7 @@ public function getVersions() * secret under the mount point. * * Generated from protobuf field repeated .google.cloud.functions.v2.SecretVolume.SecretVersion versions = 4; - * @param array<\Google\Cloud\Functions\V2\SecretVolume\SecretVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\SecretVolume\SecretVersion[] $var * @return $this */ public function setVersions($var) diff --git a/Functions/src/V2/SecretVolume/SecretVersion.php b/Functions/src/V2/SecretVolume/SecretVersion.php index 76bb702ff133..a419933ad0d6 100644 --- a/Functions/src/V2/SecretVolume/SecretVersion.php +++ b/Functions/src/V2/SecretVolume/SecretVersion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2\SecretVolume; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration for a single version. @@ -119,4 +119,3 @@ public function setPath($var) } - diff --git a/Functions/src/V2/ServiceConfig.php b/Functions/src/V2/ServiceConfig.php index d0d031b1c59c..f5d5d6b486b7 100644 --- a/Functions/src/V2/ServiceConfig.php +++ b/Functions/src/V2/ServiceConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Describes the Service being deployed. @@ -89,7 +89,7 @@ class ServiceConfig extends \Google\Protobuf\Internal\Message protected $min_instance_count = 0; /** * The Serverless VPC Access connector that this cloud function can connect - * to. The format of this field is `projects/*/locations/*/connectors/*`. + * to. The format of this field is `projects/{@*}locations/{@*}connectors/*`. * * Generated from protobuf field string vpc_connector = 6 [(.google.api.resource_reference) = { */ @@ -116,7 +116,7 @@ class ServiceConfig extends \Google\Protobuf\Internal\Message protected $uri = ''; /** * The email of the service's service account. If empty, defaults to - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * * Generated from protobuf field string service_account_email = 10; */ @@ -224,7 +224,7 @@ class ServiceConfig extends \Google\Protobuf\Internal\Message * idle instance would have been stopped in the default case. * @type string $vpc_connector * The Serverless VPC Access connector that this cloud function can connect - * to. The format of this field is `projects/*/locations/*/connectors/*`. + * to. The format of this field is `projects/{@*}locations/{@*}connectors/*`. * @type int $vpc_connector_egress_settings * The egress settings for the connector, controlling what traffic is diverted * through it. @@ -235,16 +235,16 @@ class ServiceConfig extends \Google\Protobuf\Internal\Message * Output only. URI of the Service deployed. * @type string $service_account_email * The email of the service's service account. If empty, defaults to - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * @type bool $all_traffic_on_latest_revision * Whether 100% of traffic is routed to the latest revision. * On CreateFunction and UpdateFunction, when set to true, the revision being * deployed will serve 100% of traffic, ignoring any traffic split settings, * if any. On GetFunction, true will be returned if the latest revision is * serving 100% of traffic. - * @type array<\Google\Cloud\Functions\V2\SecretEnvVar>|\Google\Protobuf\Internal\RepeatedField $secret_environment_variables + * @type \Google\Cloud\Functions\V2\SecretEnvVar[] $secret_environment_variables * Secret environment variables configuration. - * @type array<\Google\Cloud\Functions\V2\SecretVolume>|\Google\Protobuf\Internal\RepeatedField $secret_volumes + * @type \Google\Cloud\Functions\V2\SecretVolume[] $secret_volumes * Secret volumes configuration. * @type string $revision * Output only. The name of service revision. @@ -508,7 +508,7 @@ public function setMinInstanceCount($var) /** * The Serverless VPC Access connector that this cloud function can connect - * to. The format of this field is `projects/*/locations/*/connectors/*`. + * to. The format of this field is `projects/{@*}locations/{@*}connectors/*`. * * Generated from protobuf field string vpc_connector = 6 [(.google.api.resource_reference) = { * @return string @@ -520,7 +520,7 @@ public function getVpcConnector() /** * The Serverless VPC Access connector that this cloud function can connect - * to. The format of this field is `projects/*/locations/*/connectors/*`. + * to. The format of this field is `projects/{@*}locations/{@*}connectors/*`. * * Generated from protobuf field string vpc_connector = 6 [(.google.api.resource_reference) = { * @param string $var @@ -618,7 +618,7 @@ public function setUri($var) /** * The email of the service's service account. If empty, defaults to - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * * Generated from protobuf field string service_account_email = 10; * @return string @@ -630,7 +630,7 @@ public function getServiceAccountEmail() /** * The email of the service's service account. If empty, defaults to - * `{project_number}-compute@developer.gserviceaccount.com`. + * `{project_number}-compute\@developer.gserviceaccount.com`. * * Generated from protobuf field string service_account_email = 10; * @param string $var @@ -682,7 +682,7 @@ public function setAllTrafficOnLatestRevision($var) * Secret environment variables configuration. * * Generated from protobuf field repeated .google.cloud.functions.v2.SecretEnvVar secret_environment_variables = 17; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\SecretEnvVar> */ public function getSecretEnvironmentVariables() { @@ -693,7 +693,7 @@ public function getSecretEnvironmentVariables() * Secret environment variables configuration. * * Generated from protobuf field repeated .google.cloud.functions.v2.SecretEnvVar secret_environment_variables = 17; - * @param array<\Google\Cloud\Functions\V2\SecretEnvVar>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\SecretEnvVar[] $var * @return $this */ public function setSecretEnvironmentVariables($var) @@ -708,7 +708,7 @@ public function setSecretEnvironmentVariables($var) * Secret volumes configuration. * * Generated from protobuf field repeated .google.cloud.functions.v2.SecretVolume secret_volumes = 19; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\SecretVolume> */ public function getSecretVolumes() { @@ -719,7 +719,7 @@ public function getSecretVolumes() * Secret volumes configuration. * * Generated from protobuf field repeated .google.cloud.functions.v2.SecretVolume secret_volumes = 19; - * @param array<\Google\Cloud\Functions\V2\SecretVolume>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\SecretVolume[] $var * @return $this */ public function setSecretVolumes($var) diff --git a/Functions/src/V2/ServiceConfig/IngressSettings.php b/Functions/src/V2/ServiceConfig/IngressSettings.php index c35207b7d3d9..f38118487052 100644 --- a/Functions/src/V2/ServiceConfig/IngressSettings.php +++ b/Functions/src/V2/ServiceConfig/IngressSettings.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/ServiceConfig/SecurityLevel.php b/Functions/src/V2/ServiceConfig/SecurityLevel.php index 4cf70e2ee0e7..58ba5678e770 100644 --- a/Functions/src/V2/ServiceConfig/SecurityLevel.php +++ b/Functions/src/V2/ServiceConfig/SecurityLevel.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/ServiceConfig/VpcConnectorEgressSettings.php b/Functions/src/V2/ServiceConfig/VpcConnectorEgressSettings.php index c6223aaf7834..e01b71c1b078 100644 --- a/Functions/src/V2/ServiceConfig/VpcConnectorEgressSettings.php +++ b/Functions/src/V2/ServiceConfig/VpcConnectorEgressSettings.php @@ -62,4 +62,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/Source.php b/Functions/src/V2/Source.php index b16cd2dea16e..e9220b60fef2 100644 --- a/Functions/src/V2/Source.php +++ b/Functions/src/V2/Source.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The location of the function source code. diff --git a/Functions/src/V2/SourceProvenance.php b/Functions/src/V2/SourceProvenance.php index 0b1954543663..a292da9abfd2 100644 --- a/Functions/src/V2/SourceProvenance.php +++ b/Functions/src/V2/SourceProvenance.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Provenance of the source. Ways to find the original source, or verify that diff --git a/Functions/src/V2/Stage.php b/Functions/src/V2/Stage.php index e965c5a3023b..15c3632008c1 100644 --- a/Functions/src/V2/Stage.php +++ b/Functions/src/V2/Stage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Each Stage of the deployment process @@ -68,7 +68,7 @@ class Stage extends \Google\Protobuf\Internal\Message * Resource of the Stage * @type string $resource_uri * Link to the current Stage resource - * @type array<\Google\Cloud\Functions\V2\StateMessage>|\Google\Protobuf\Internal\RepeatedField $state_messages + * @type \Google\Cloud\Functions\V2\StateMessage[] $state_messages * State messages from the current Stage. * } */ @@ -211,7 +211,7 @@ public function setResourceUri($var) * State messages from the current Stage. * * Generated from protobuf field repeated .google.cloud.functions.v2.StateMessage state_messages = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Functions\V2\StateMessage> */ public function getStateMessages() { @@ -222,7 +222,7 @@ public function getStateMessages() * State messages from the current Stage. * * Generated from protobuf field repeated .google.cloud.functions.v2.StateMessage state_messages = 6; - * @param array<\Google\Cloud\Functions\V2\StateMessage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Functions\V2\StateMessage[] $var * @return $this */ public function setStateMessages($var) diff --git a/Functions/src/V2/Stage/Name.php b/Functions/src/V2/Stage/Name.php index 12150e8c6de5..debe09c1cfbe 100644 --- a/Functions/src/V2/Stage/Name.php +++ b/Functions/src/V2/Stage/Name.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/Stage/State.php b/Functions/src/V2/Stage/State.php index 22eb0e19dea3..a25951aa4e2c 100644 --- a/Functions/src/V2/Stage/State.php +++ b/Functions/src/V2/Stage/State.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/StateMessage.php b/Functions/src/V2/StateMessage.php index 9e318e5af10f..f1f92d966220 100644 --- a/Functions/src/V2/StateMessage.php +++ b/Functions/src/V2/StateMessage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Informational messages about the state of the Cloud Function or Operation. diff --git a/Functions/src/V2/StateMessage/Severity.php b/Functions/src/V2/StateMessage/Severity.php index 1c4e1d431628..2e90621a003a 100644 --- a/Functions/src/V2/StateMessage/Severity.php +++ b/Functions/src/V2/StateMessage/Severity.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/Functions/src/V2/StorageSource.php b/Functions/src/V2/StorageSource.php index ddeebbd71e96..91e8a9153c29 100644 --- a/Functions/src/V2/StorageSource.php +++ b/Functions/src/V2/StorageSource.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location of the source in an archive file in Google Cloud Storage. diff --git a/Functions/src/V2/UpdateFunctionRequest.php b/Functions/src/V2/UpdateFunctionRequest.php index 3834e2723d6e..feb7f9f2890f 100644 --- a/Functions/src/V2/UpdateFunctionRequest.php +++ b/Functions/src/V2/UpdateFunctionRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Functions\V2; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request for the `UpdateFunction` method. diff --git a/GSuiteAddOns/metadata/V1/Gsuiteaddons.php b/GSuiteAddOns/metadata/V1/Gsuiteaddons.php index 3d90bfa2c635..6b785a75a424 100644 --- a/GSuiteAddOns/metadata/V1/Gsuiteaddons.php +++ b/GSuiteAddOns/metadata/V1/Gsuiteaddons.php @@ -28,86 +28,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); $pool->internalAddGeneratedFile( - ' -% -/google/cloud/gsuiteaddons/v1/gsuiteaddons.protogoogle.cloud.gsuiteaddons.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto>google/apps/script/type/calendar/calendar_addon_manifest.proto6google/apps/script/type/docs/docs_addon_manifest.proto8google/apps/script/type/drive/drive_addon_manifest.proto8google/apps/script/type/gmail/gmail_addon_manifest.proto-google/apps/script/type/script_manifest.proto:google/apps/script/type/sheets/sheets_addon_manifest.proto:google/apps/script/type/slides/slides_addon_manifest.protogoogle/protobuf/empty.protogoogle/protobuf/wrappers.proto"Z -GetAuthorizationRequest? -name ( B1AA+ -)gsuiteaddons.googleapis.com/Authorization" - Authorization -name (  -service_account_email (  -oauth_client_id ( :PAM -)gsuiteaddons.googleapis.com/Authorization projects/{project}/authorization" -CreateDeploymentRequestC -parent ( B3AA- -+cloudresourcemanager.googleapis.com/Project - deployment_id ( BAA - -deployment ( 2(.google.cloud.gsuiteaddons.v1.DeploymentBA"] -ReplaceDeploymentRequestA - -deployment ( 2(.google.cloud.gsuiteaddons.v1.DeploymentBA"T -GetDeploymentRequest< -name ( B.AA( -&gsuiteaddons.googleapis.com/Deployment" -ListDeploymentsRequestC -parent ( B3AA- -+cloudresourcemanager.googleapis.com/Project - page_size ( - -page_token ( "q -ListDeploymentsResponse= - deployments ( 2(.google.cloud.gsuiteaddons.v1.Deployment -next_page_token ( "e -DeleteDeploymentRequest< -name ( B.AA( -&gsuiteaddons.googleapis.com/Deployment -etag ( "X -InstallDeploymentRequest< -name ( B.AA( -&gsuiteaddons.googleapis.com/Deployment"Z -UninstallDeploymentRequest< -name ( B.AA( -&gsuiteaddons.googleapis.com/Deployment"Z -GetInstallStatusRequest? -name ( B1AA+ -)gsuiteaddons.googleapis.com/InstallStatus" - InstallStatus -name ( - - installed ( 2.google.protobuf.BoolValue:iAf -)gsuiteaddons.googleapis.com/InstallStatus9projects/{project}/deployments/{deployment}/installStatus" - -Deployment -name (  - oauth_scopes ( 5 -add_ons ( 2$.google.cloud.gsuiteaddons.v1.AddOns -etag ( :XAU -&gsuiteaddons.googleapis.com/Deployment+projects/{project}/deployments/{deployment}" -AddOns< -common ( 2,.google.apps.script.type.CommonAddOnManifest@ -gmail ( 21.google.apps.script.type.gmail.GmailAddOnManifest@ -drive ( 21.google.apps.script.type.drive.DriveAddOnManifestI -calendar ( 27.google.apps.script.type.calendar.CalendarAddOnManifest= -docs ( 2/.google.apps.script.type.docs.DocsAddOnManifestC -sheets ( 23.google.apps.script.type.sheets.SheetsAddOnManifestC -slides - ( 23.google.apps.script.type.slides.SlidesAddOnManifest: - http_options ( 2$.google.apps.script.type.HttpOptions2 - GSuiteAddOns -GetAuthorization5.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest+.google.cloud.gsuiteaddons.v1.Authorization"2Aname%#/v1/{name=projects/*/authorization} -CreateDeployment5.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest(.google.cloud.gsuiteaddons.v1.Deployment"YAparent,deployment,deployment_id1"#/v1/{parent=projects/*}/deployments: -deployment -ReplaceDeployment6.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest(.google.cloud.gsuiteaddons.v1.Deployment"OA -deployment<./v1/{deployment.name=projects/*/deployments/*}: -deployment - GetDeployment2.google.cloud.gsuiteaddons.v1.GetDeploymentRequest(.google.cloud.gsuiteaddons.v1.Deployment"2Aname%#/v1/{name=projects/*/deployments/*} -ListDeployments4.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest5.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse"4Aparent%#/v1/{parent=projects/*}/deployments -DeleteDeployment5.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.google.protobuf.Empty"2Aname%*#/v1/{name=projects/*/deployments/*} -InstallDeployment6.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.google.protobuf.Empty"=Aname0"+/v1/{name=projects/*/deployments/*}:install:* -UninstallDeployment8.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.google.protobuf.Empty"?Aname2"-/v1/{name=projects/*/deployments/*}:uninstall:* -GetInstallStatus5.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest+.google.cloud.gsuiteaddons.v1.InstallStatus"@Aname31/v1/{name=projects/*/deployments/*/installStatus}OAgsuiteaddons.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB - com.google.cloud.gsuiteaddons.v1BGSuiteAddOnsProtoPZDcloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb;gsuiteaddonspbGoogle.Cloud.GSuiteAddOns.V1Google\\Cloud\\GSuiteAddOns\\V1Google::Cloud::GSuiteAddOns::V1bproto3' + "\x0A\x9A%\x0A/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto\x12\x1Cgoogle.cloud.gsuiteaddons.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A>google/apps/script/type/calendar/calendar_addon_manifest.proto\x1A6google/apps/script/type/docs/docs_addon_manifest.proto\x1A8google/apps/script/type/drive/drive_addon_manifest.proto\x1A8google/apps/script/type/gmail/gmail_addon_manifest.proto\x1A-google/apps/script/type/script_manifest.proto\x1A:google/apps/script/type/sheets/sheets_addon_manifest.proto\x1A:google/apps/script/type/slides/slides_addon_manifest.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"Z\x0A\x17GetAuthorizationRequest\x12?\x0A\x04name\x18\x02 \x01(\x09B1\xE0A\x02\xFAA+\x0A)gsuiteaddons.googleapis.com/Authorization\"\xA7\x01\x0A\x0DAuthorization\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x1D\x0A\x15service_account_email\x18\x02 \x01(\x09\x12\x17\x0A\x0Foauth_client_id\x18\x03 \x01(\x09:P\xEAAM\x0A)gsuiteaddons.googleapis.com/Authorization\x12 projects/{project}/authorization\"\xBD\x01\x0A\x17CreateDeploymentRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+cloudresourcemanager.googleapis.com/Project\x12\x1A\x0A\x0Ddeployment_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12A\x0A\x0Adeployment\x18\x03 \x01(\x0B2(.google.cloud.gsuiteaddons.v1.DeploymentB\x03\xE0A\x02\"]\x0A\x18ReplaceDeploymentRequest\x12A\x0A\x0Adeployment\x18\x02 \x01(\x0B2(.google.cloud.gsuiteaddons.v1.DeploymentB\x03\xE0A\x02\"T\x0A\x14GetDeploymentRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gsuiteaddons.googleapis.com/Deployment\"\x84\x01\x0A\x16ListDeploymentsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+cloudresourcemanager.googleapis.com/Project\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"q\x0A\x17ListDeploymentsResponse\x12=\x0A\x0Bdeployments\x18\x01 \x03(\x0B2(.google.cloud.gsuiteaddons.v1.Deployment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"e\x0A\x17DeleteDeploymentRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gsuiteaddons.googleapis.com/Deployment\x12\x0C\x0A\x04etag\x18\x02 \x01(\x09\"X\x0A\x18InstallDeploymentRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gsuiteaddons.googleapis.com/Deployment\"Z\x0A\x1AUninstallDeploymentRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gsuiteaddons.googleapis.com/Deployment\"Z\x0A\x17GetInstallStatusRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)gsuiteaddons.googleapis.com/InstallStatus\"\xB7\x01\x0A\x0DInstallStatus\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12-\x0A\x09installed\x18\x02 \x01(\x0B2\x1A.google.protobuf.BoolValue:i\xEAAf\x0A)gsuiteaddons.googleapis.com/InstallStatus\x129projects/{project}/deployments/{deployment}/installStatus\"\xCF\x01\x0A\x0ADeployment\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x14\x0A\x0Coauth_scopes\x18\x02 \x03(\x09\x125\x0A\x07add_ons\x18\x03 \x01(\x0B2\$.google.cloud.gsuiteaddons.v1.AddOns\x12\x0C\x0A\x04etag\x18\x05 \x01(\x09:X\xEAAU\x0A&gsuiteaddons.googleapis.com/Deployment\x12+projects/{project}/deployments/{deployment}\"\x9A\x04\x0A\x06AddOns\x12<\x0A\x06common\x18\x01 \x01(\x0B2,.google.apps.script.type.CommonAddOnManifest\x12@\x0A\x05gmail\x18\x02 \x01(\x0B21.google.apps.script.type.gmail.GmailAddOnManifest\x12@\x0A\x05drive\x18\x05 \x01(\x0B21.google.apps.script.type.drive.DriveAddOnManifest\x12I\x0A\x08calendar\x18\x06 \x01(\x0B27.google.apps.script.type.calendar.CalendarAddOnManifest\x12=\x0A\x04docs\x18\x07 \x01(\x0B2/.google.apps.script.type.docs.DocsAddOnManifest\x12C\x0A\x06sheets\x18\x08 \x01(\x0B23.google.apps.script.type.sheets.SheetsAddOnManifest\x12C\x0A\x06slides\x18\x0A \x01(\x0B23.google.apps.script.type.slides.SlidesAddOnManifest\x12:\x0A\x0Chttp_options\x18\x0F \x01(\x0B2\$.google.apps.script.type.HttpOptions2\xA4\x0D\x0A\x0CGSuiteAddOns\x12\xAA\x01\x0A\x10GetAuthorization\x125.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest\x1A+.google.cloud.gsuiteaddons.v1.Authorization\"2\xDAA\x04name\x82\xD3\xE4\x93\x02%\x12#/v1/{name=projects/*/authorization}\x12\xCE\x01\x0A\x10CreateDeployment\x125.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest\x1A(.google.cloud.gsuiteaddons.v1.Deployment\"Y\xDAA\x1Fparent,deployment,deployment_id\x82\xD3\xE4\x93\x021\"#/v1/{parent=projects/*}/deployments:\x0Adeployment\x12\xC6\x01\x0A\x11ReplaceDeployment\x126.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest\x1A(.google.cloud.gsuiteaddons.v1.Deployment\"O\xDAA\x0Adeployment\x82\xD3\xE4\x93\x02<\x1A./v1/{deployment.name=projects/*/deployments/*}:\x0Adeployment\x12\xA1\x01\x0A\x0DGetDeployment\x122.google.cloud.gsuiteaddons.v1.GetDeploymentRequest\x1A(.google.cloud.gsuiteaddons.v1.Deployment\"2\xDAA\x04name\x82\xD3\xE4\x93\x02%\x12#/v1/{name=projects/*/deployments/*}\x12\xB4\x01\x0A\x0FListDeployments\x124.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest\x1A5.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse\"4\xDAA\x06parent\x82\xD3\xE4\x93\x02%\x12#/v1/{parent=projects/*}/deployments\x12\x95\x01\x0A\x10DeleteDeployment\x125.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest\x1A\x16.google.protobuf.Empty\"2\xDAA\x04name\x82\xD3\xE4\x93\x02%*#/v1/{name=projects/*/deployments/*}\x12\xA2\x01\x0A\x11InstallDeployment\x126.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest\x1A\x16.google.protobuf.Empty\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\"+/v1/{name=projects/*/deployments/*}:install:\x01*\x12\xA8\x01\x0A\x13UninstallDeployment\x128.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\"-/v1/{name=projects/*/deployments/*}:uninstall:\x01*\x12\xB8\x01\x0A\x10GetInstallStatus\x125.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest\x1A+.google.cloud.gsuiteaddons.v1.InstallStatus\"@\xDAA\x04name\x82\xD3\xE4\x93\x023\x121/v1/{name=projects/*/deployments/*/installStatus}\x1AO\xCAA\x1Bgsuiteaddons.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xDD\x01\x0A com.google.cloud.gsuiteaddons.v1B\x11GSuiteAddOnsProtoP\x01ZDcloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb;gsuiteaddonspb\xAA\x02\x1CGoogle.Cloud.GSuiteAddOns.V1\xCA\x02\x1CGoogle\\Cloud\\GSuiteAddOns\\V1\xEA\x02\x1FGoogle::Cloud::GSuiteAddOns::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/GSuiteAddOns/src/V1/AddOns.php b/GSuiteAddOns/src/V1/AddOns.php index dcb67a859ace..a064098f5446 100644 --- a/GSuiteAddOns/src/V1/AddOns.php +++ b/GSuiteAddOns/src/V1/AddOns.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Google Workspace add-on configuration. diff --git a/GSuiteAddOns/src/V1/Authorization.php b/GSuiteAddOns/src/V1/Authorization.php index 904cb85121ea..34c0babaab2c 100644 --- a/GSuiteAddOns/src/V1/Authorization.php +++ b/GSuiteAddOns/src/V1/Authorization.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The authorization information used when invoking deployment endpoints. diff --git a/GSuiteAddOns/src/V1/CreateDeploymentRequest.php b/GSuiteAddOns/src/V1/CreateDeploymentRequest.php index 58cf6cc05a17..0ec626179232 100644 --- a/GSuiteAddOns/src/V1/CreateDeploymentRequest.php +++ b/GSuiteAddOns/src/V1/CreateDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to create a deployment. diff --git a/GSuiteAddOns/src/V1/DeleteDeploymentRequest.php b/GSuiteAddOns/src/V1/DeleteDeploymentRequest.php index fd86c02f4bad..801e354be3d4 100644 --- a/GSuiteAddOns/src/V1/DeleteDeploymentRequest.php +++ b/GSuiteAddOns/src/V1/DeleteDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\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 deployment. diff --git a/GSuiteAddOns/src/V1/Deployment.php b/GSuiteAddOns/src/V1/Deployment.php index d367c920d8a6..8e8095b35377 100644 --- a/GSuiteAddOns/src/V1/Deployment.php +++ b/GSuiteAddOns/src/V1/Deployment.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A Google Workspace add-on deployment @@ -53,7 +53,7 @@ class Deployment extends \Google\Protobuf\Internal\Message * @type string $name * The deployment resource name. * Example: projects/123/deployments/my_deployment. - * @type array|\Google\Protobuf\Internal\RepeatedField $oauth_scopes + * @type string[] $oauth_scopes * The list of Google OAuth scopes for which to request consent from the end * user before executing an add-on endpoint. * @type \Google\Cloud\GSuiteAddOns\V1\AddOns $add_ons @@ -102,7 +102,7 @@ public function setName($var) * user before executing an add-on endpoint. * * Generated from protobuf field repeated string oauth_scopes = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getOauthScopes() { @@ -114,7 +114,7 @@ public function getOauthScopes() * user before executing an add-on endpoint. * * Generated from protobuf field repeated string oauth_scopes = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setOauthScopes($var) diff --git a/GSuiteAddOns/src/V1/GetAuthorizationRequest.php b/GSuiteAddOns/src/V1/GetAuthorizationRequest.php index 3ab6cad74856..0841e2328a5b 100644 --- a/GSuiteAddOns/src/V1/GetAuthorizationRequest.php +++ b/GSuiteAddOns/src/V1/GetAuthorizationRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to get Google Workspace add-ons authorization information. diff --git a/GSuiteAddOns/src/V1/GetDeploymentRequest.php b/GSuiteAddOns/src/V1/GetDeploymentRequest.php index 6de539926055..714146780454 100644 --- a/GSuiteAddOns/src/V1/GetDeploymentRequest.php +++ b/GSuiteAddOns/src/V1/GetDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to get a deployment. diff --git a/GSuiteAddOns/src/V1/GetInstallStatusRequest.php b/GSuiteAddOns/src/V1/GetInstallStatusRequest.php index e326d58f39be..3d6044e4277a 100644 --- a/GSuiteAddOns/src/V1/GetInstallStatusRequest.php +++ b/GSuiteAddOns/src/V1/GetInstallStatusRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to get the install status of a developer mode deployment. diff --git a/GSuiteAddOns/src/V1/InstallDeploymentRequest.php b/GSuiteAddOns/src/V1/InstallDeploymentRequest.php index c0cddef7f5b5..94e945379a19 100644 --- a/GSuiteAddOns/src/V1/InstallDeploymentRequest.php +++ b/GSuiteAddOns/src/V1/InstallDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to install a developer mode deployment. diff --git a/GSuiteAddOns/src/V1/InstallStatus.php b/GSuiteAddOns/src/V1/InstallStatus.php index d3636bd3028c..e837c77d74b1 100644 --- a/GSuiteAddOns/src/V1/InstallStatus.php +++ b/GSuiteAddOns/src/V1/InstallStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Developer mode install status of a deployment diff --git a/GSuiteAddOns/src/V1/ListDeploymentsRequest.php b/GSuiteAddOns/src/V1/ListDeploymentsRequest.php index 0d3789df7934..07a4ce3c7d1e 100644 --- a/GSuiteAddOns/src/V1/ListDeploymentsRequest.php +++ b/GSuiteAddOns/src/V1/ListDeploymentsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to list deployments for a project. diff --git a/GSuiteAddOns/src/V1/ListDeploymentsResponse.php b/GSuiteAddOns/src/V1/ListDeploymentsResponse.php index 4a2b06a63091..9006bdf51257 100644 --- a/GSuiteAddOns/src/V1/ListDeploymentsResponse.php +++ b/GSuiteAddOns/src/V1/ListDeploymentsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message to list deployments. @@ -35,7 +35,7 @@ class ListDeploymentsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GSuiteAddOns\V1\Deployment>|\Google\Protobuf\Internal\RepeatedField $deployments + * @type \Google\Cloud\GSuiteAddOns\V1\Deployment[] $deployments * The list of deployments for the given project. * @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 deployments for the given project. * * Generated from protobuf field repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GSuiteAddOns\V1\Deployment> */ public function getDeployments() { @@ -62,7 +62,7 @@ public function getDeployments() * The list of deployments for the given project. * * Generated from protobuf field repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; - * @param array<\Google\Cloud\GSuiteAddOns\V1\Deployment>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GSuiteAddOns\V1\Deployment[] $var * @return $this */ public function setDeployments($var) diff --git a/GSuiteAddOns/src/V1/ReplaceDeploymentRequest.php b/GSuiteAddOns/src/V1/ReplaceDeploymentRequest.php index 3a79b65b564f..9515e9c8679f 100644 --- a/GSuiteAddOns/src/V1/ReplaceDeploymentRequest.php +++ b/GSuiteAddOns/src/V1/ReplaceDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to create or replace a deployment. diff --git a/GSuiteAddOns/src/V1/UninstallDeploymentRequest.php b/GSuiteAddOns/src/V1/UninstallDeploymentRequest.php index 92f1cbe2a500..96e654e48e68 100644 --- a/GSuiteAddOns/src/V1/UninstallDeploymentRequest.php +++ b/GSuiteAddOns/src/V1/UninstallDeploymentRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GSuiteAddOns\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message to uninstall a developer mode deployment. diff --git a/GeoCommonProtos/metadata/Type/Viewport.php b/GeoCommonProtos/metadata/Type/Viewport.php index 457f841676a4..bdc707ea7869 100644 --- a/GeoCommonProtos/metadata/Type/Viewport.php +++ b/GeoCommonProtos/metadata/Type/Viewport.php @@ -16,13 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Type\Latlng::initOnce(); $pool->internalAddGeneratedFile( - ' - -google/geo/type/viewport.protogoogle.geo.type"O -Viewport -low ( 2.google.type.LatLng! -high ( 2.google.type.LatLngBo -com.google.geo.typeB ViewportProtoPZ@google.golang.org/genproto/googleapis/geo/type/viewport;viewportGGTPbproto3' + "\x0A\xFB\x01\x0A\x1Egoogle/geo/type/viewport.proto\x12\x0Fgoogle.geo.type\"O\x0A\x08Viewport\x12 \x0A\x03low\x18\x01 \x01(\x0B2\x13.google.type.LatLng\x12!\x0A\x04high\x18\x02 \x01(\x0B2\x13.google.type.LatLngBo\x0A\x13com.google.geo.typeB\x0DViewportProtoP\x01Z@google.golang.org/genproto/googleapis/geo/type/viewport;viewport\xA2\x02\x04GGTPb\x06proto3" , true); static::$is_initialized = true; diff --git a/GeoCommonProtos/src/Type/Viewport.php b/GeoCommonProtos/src/Type/Viewport.php index c10e8dd98047..20891fb1b352 100644 --- a/GeoCommonProtos/src/Type/Viewport.php +++ b/GeoCommonProtos/src/Type/Viewport.php @@ -5,8 +5,8 @@ namespace Google\Geo\Type; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A latitude-longitude viewport, represented as two diagonally opposite `low` diff --git a/GkeBackup/metadata/V1/Backup.php b/GkeBackup/metadata/V1/Backup.php index 173413eaad36..db364cf751c7 100644 Binary files a/GkeBackup/metadata/V1/Backup.php and b/GkeBackup/metadata/V1/Backup.php differ diff --git a/GkeBackup/metadata/V1/BackupChannel.php b/GkeBackup/metadata/V1/BackupChannel.php index 93d2dfe1c817..ed654d7fa3a2 100644 --- a/GkeBackup/metadata/V1/BackupChannel.php +++ b/GkeBackup/metadata/V1/BackupChannel.php @@ -19,24 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -.google/cloud/gkebackup/v1/backup_channel.protogoogle.cloud.gkebackup.v1google/api/field_info.protogoogle/api/resource.protogoogle/protobuf/timestamp.proto" - BackupChannel -name ( BA# -destination_project ( BAA -uid ( B A4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAI -labels ( 24.google.cloud.gkebackup.v1.BackupChannel.LabelsEntryBA - description ( BA -etag ( BA# -destination_project_id ( BA- - LabelsEntry -key (  -value ( :8:A -&gkebackup.googleapis.com/BackupChannelGprojects/{project}/locations/{location}/backupChannels/{backup_channel}*backupChannels2 backupChannelB -com.google.cloud.gkebackup.v1BBackupChannelProtoPZ;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppbGoogle.Cloud.GkeBackup.V1Google\\Cloud\\GkeBackup\\V1Google::Cloud::GkeBackup::V1bproto3' + "\x0A\xAB\x07\x0A.google/cloud/gkebackup/v1/backup_channel.proto\x12\x19google.cloud.gkebackup.v1\x1A\x1Bgoogle/api/field_info.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xB0\x04\x0A\x0DBackupChannel\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12#\x0A\x13destination_project\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\x12\x18\x0A\x03uid\x18\x03 \x01(\x09B\x0B\xE0A\x03\xE2\x8C\xCF\xD7\x08\x02\x08\x01\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\x12I\x0A\x06labels\x18\x06 \x03(\x0B24.google.cloud.gkebackup.v1.BackupChannel.LabelsEntryB\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x07 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04etag\x18\x08 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x16destination_project_id\x18\x09 \x01(\x09B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x94\x01\xEAA\x90\x01\x0A&gkebackup.googleapis.com/BackupChannel\x12Gprojects/{project}/locations/{location}/backupChannels/{backup_channel}*\x0EbackupChannels2\x0DbackupChannelB\xC9\x01\x0A\x1Dcom.google.cloud.gkebackup.v1B\x12BackupChannelProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xAA\x02\x19Google.Cloud.GkeBackup.V1\xCA\x02\x19Google\\Cloud\\GkeBackup\\V1\xEA\x02\x1CGoogle::Cloud::GkeBackup::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/GkeBackup/metadata/V1/BackupPlan.php b/GkeBackup/metadata/V1/BackupPlan.php index 987a0d062f80..80c38b848773 100644 Binary files a/GkeBackup/metadata/V1/BackupPlan.php and b/GkeBackup/metadata/V1/BackupPlan.php differ diff --git a/GkeBackup/metadata/V1/BackupPlanBinding.php b/GkeBackup/metadata/V1/BackupPlanBinding.php index 8eae62de0c50..b22068121394 100644 Binary files a/GkeBackup/metadata/V1/BackupPlanBinding.php and b/GkeBackup/metadata/V1/BackupPlanBinding.php differ diff --git a/GkeBackup/metadata/V1/Common.php b/GkeBackup/metadata/V1/Common.php index 033eea30b1d5..bbf51aa042f2 100644 Binary files a/GkeBackup/metadata/V1/Common.php and b/GkeBackup/metadata/V1/Common.php differ diff --git a/GkeBackup/metadata/V1/Gkebackup.php b/GkeBackup/metadata/V1/Gkebackup.php index cf2c9bc87eaf..499d79037951 100644 --- a/GkeBackup/metadata/V1/Gkebackup.php +++ b/GkeBackup/metadata/V1/Gkebackup.php @@ -32,313 +32,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -)google/cloud/gkebackup/v1/gkebackup.protogoogle.cloud.gkebackup.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto&google/cloud/gkebackup/v1/backup.proto.google/cloud/gkebackup/v1/backup_channel.proto+google/cloud/gkebackup/v1/backup_plan.proto3google/cloud/gkebackup/v1/backup_plan_binding.proto\'google/cloud/gkebackup/v1/restore.proto/google/cloud/gkebackup/v1/restore_channel.proto,google/cloud/gkebackup/v1/restore_plan.proto4google/cloud/gkebackup/v1/restore_plan_binding.proto&google/cloud/gkebackup/v1/volume.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.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" -CreateBackupPlanRequest9 -parent ( B)AA# -!locations.googleapis.com/Location? - backup_plan ( 2%.google.cloud.gkebackup.v1.BackupPlanBA -backup_plan_id ( BA" -ListBackupPlansRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA" -ListBackupPlansResponse; - backup_plans ( 2%.google.cloud.gkebackup.v1.BackupPlan -next_page_token (  - unreachable ( "Q -GetBackupPlanRequest9 -name ( B+AA% -#gkebackup.googleapis.com/BackupPlan" -UpdateBackupPlanRequest? - backup_plan ( 2%.google.cloud.gkebackup.v1.BackupPlanBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"g -DeleteBackupPlanRequest9 -name ( B+AA% -#gkebackup.googleapis.com/BackupPlan -etag ( BA" -CreateBackupChannelRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationE -backup_channel ( 2(.google.cloud.gkebackup.v1.BackupChannelBA -backup_channel_id ( BA" -ListBackupChannelsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA" -ListBackupChannelsResponseA -backup_channels ( 2(.google.cloud.gkebackup.v1.BackupChannel -next_page_token (  - unreachable ( "W -GetBackupChannelRequest< -name ( B.AA( -&gkebackup.googleapis.com/BackupChannel" -UpdateBackupChannelRequestE -backup_channel ( 2(.google.cloud.gkebackup.v1.BackupChannelBA4 - update_mask ( 2.google.protobuf.FieldMaskBA" -DeleteBackupChannelRequest< -name ( B.AA( -&gkebackup.googleapis.com/BackupChannel -etag ( BA -force (BA" -ListBackupPlanBindingsRequest> -parent ( B.AA( -&gkebackup.googleapis.com/BackupChannel - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA" -ListBackupPlanBindingsResponseJ -backup_plan_bindings ( 2,.google.cloud.gkebackup.v1.BackupPlanBinding -next_page_token (  - unreachable ( "_ -GetBackupPlanBindingRequest@ -name ( B2AA, -*gkebackup.googleapis.com/BackupPlanBinding" -CreateBackupRequest; -parent ( B+AA% -#gkebackup.googleapis.com/BackupPlan6 -backup ( 2!.google.cloud.gkebackup.v1.BackupBA - backup_id ( BA" -ListBackupsRequest; -parent ( B+AA% -#gkebackup.googleapis.com/BackupPlan - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA# -return_partial_success (BA"w -ListBackupsResponse2 -backups ( 2!.google.cloud.gkebackup.v1.Backup -next_page_token (  - unreachable ( "I -GetBackupRequest5 -name ( B\'AA! -gkebackup.googleapis.com/Backup" -UpdateBackupRequest6 -backup ( 2!.google.cloud.gkebackup.v1.BackupBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"s -DeleteBackupRequest5 -name ( B\'AA! -gkebackup.googleapis.com/Backup -etag ( BA -force (BA" -ListVolumeBackupsRequest7 -parent ( B\'AA! -gkebackup.googleapis.com/Backup - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA"u -ListVolumeBackupsResponse? -volume_backups ( 2\'.google.cloud.gkebackup.v1.VolumeBackup -next_page_token ( "U -GetVolumeBackupRequest; -name ( B-AA\' -%gkebackup.googleapis.com/VolumeBackup" -CreateRestorePlanRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationA - restore_plan ( 2&.google.cloud.gkebackup.v1.RestorePlanBA -restore_plan_id ( BA" -ListRestorePlansRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA" -ListRestorePlansResponse= - restore_plans ( 2&.google.cloud.gkebackup.v1.RestorePlan -next_page_token (  - unreachable ( "S -GetRestorePlanRequest: -name ( B,AA& -$gkebackup.googleapis.com/RestorePlan" -UpdateRestorePlanRequestA - restore_plan ( 2&.google.cloud.gkebackup.v1.RestorePlanBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"} -DeleteRestorePlanRequest: -name ( B,AA& -$gkebackup.googleapis.com/RestorePlan -etag ( BA -force (BA" -CreateRestoreChannelRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationG -restore_channel ( 2).google.cloud.gkebackup.v1.RestoreChannelBA -restore_channel_id ( BA" -ListRestoreChannelsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA" -ListRestoreChannelsResponseC -restore_channels ( 2).google.cloud.gkebackup.v1.RestoreChannel -next_page_token (  - unreachable ( "Y -GetRestoreChannelRequest= -name ( B/AA) -\'gkebackup.googleapis.com/RestoreChannel" -UpdateRestoreChannelRequestG -restore_channel ( 2).google.cloud.gkebackup.v1.RestoreChannelBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"o -DeleteRestoreChannelRequest= -name ( B/AA) -\'gkebackup.googleapis.com/RestoreChannel -etag ( BA" -ListRestorePlanBindingsRequest? -parent ( B/AA) -\'gkebackup.googleapis.com/RestoreChannel - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA" -ListRestorePlanBindingsResponseL -restore_plan_bindings ( 2-.google.cloud.gkebackup.v1.RestorePlanBinding -next_page_token (  - unreachable ( BA"a -GetRestorePlanBindingRequestA -name ( B3AA- -+gkebackup.googleapis.com/RestorePlanBinding" -CreateRestoreRequest< -parent ( B,AA& -$gkebackup.googleapis.com/RestorePlan8 -restore ( 2".google.cloud.gkebackup.v1.RestoreBA - -restore_id ( BA" -ListRestoresRequest< -parent ( B,AA& -$gkebackup.googleapis.com/RestorePlan - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA"z -ListRestoresResponse4 -restores ( 2".google.cloud.gkebackup.v1.Restore -next_page_token (  - unreachable ( "K -GetRestoreRequest6 -name ( B(AA" - gkebackup.googleapis.com/Restore" -UpdateRestoreRequest8 -restore ( 2".google.cloud.gkebackup.v1.RestoreBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"u -DeleteRestoreRequest6 -name ( B(AA" - gkebackup.googleapis.com/Restore -etag ( BA -force (BA" -ListVolumeRestoresRequest8 -parent ( B(AA" - gkebackup.googleapis.com/Restore - page_size (BA - -page_token ( BA -filter ( BA -order_by ( BA"x -ListVolumeRestoresResponseA -volume_restores ( 2(.google.cloud.gkebackup.v1.VolumeRestore -next_page_token ( "W -GetVolumeRestoreRequest< -name ( B.AA( -&gkebackup.googleapis.com/VolumeRestore"[ - GetBackupIndexDownloadUrlRequest7 -backup ( B\'AA! -gkebackup.googleapis.com/Backup"< -!GetBackupIndexDownloadUrlResponse - -signed_url ( BA2C - BackupForGKE -CreateBackupPlan2.google.cloud.gkebackup.v1.CreateBackupPlanRequest.google.longrunning.Operation"A - -BackupPlanOperationMetadataA!parent,backup_plan,backup_plan_id>"//v1/{parent=projects/*/locations/*}/backupPlans: backup_plan -ListBackupPlans1.google.cloud.gkebackup.v1.ListBackupPlansRequest2.google.cloud.gkebackup.v1.ListBackupPlansResponse"@Aparent1//v1/{parent=projects/*/locations/*}/backupPlans - GetBackupPlan/.google.cloud.gkebackup.v1.GetBackupPlanRequest%.google.cloud.gkebackup.v1.BackupPlan">Aname1//v1/{name=projects/*/locations/*/backupPlans/*} -UpdateBackupPlan2.google.cloud.gkebackup.v1.UpdateBackupPlanRequest.google.longrunning.Operation"A - -BackupPlanOperationMetadataAbackup_plan,update_maskJ2;/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}: backup_plan -DeleteBackupPlan2.google.cloud.gkebackup.v1.DeleteBackupPlanRequest.google.longrunning.Operation"kA* -google.protobuf.EmptyOperationMetadataAname1*//v1/{name=projects/*/locations/*/backupPlans/*} -CreateBackupChannel5.google.cloud.gkebackup.v1.CreateBackupChannelRequest.google.longrunning.Operation"A" - BackupChannelOperationMetadataA\'parent,backup_channel,backup_channel_idD"2/v1/{parent=projects/*/locations/*}/backupChannels:backup_channel -ListBackupChannels4.google.cloud.gkebackup.v1.ListBackupChannelsRequest5.google.cloud.gkebackup.v1.ListBackupChannelsResponse"CAparent42/v1/{parent=projects/*/locations/*}/backupChannels -GetBackupChannel2.google.cloud.gkebackup.v1.GetBackupChannelRequest(.google.cloud.gkebackup.v1.BackupChannel"AAname42/v1/{name=projects/*/locations/*/backupChannels/*} -UpdateBackupChannel5.google.cloud.gkebackup.v1.UpdateBackupChannelRequest.google.longrunning.Operation"A" - BackupChannelOperationMetadataAbackup_channel,update_maskS2A/v1/{backup_channel.name=projects/*/locations/*/backupChannels/*}:backup_channel -DeleteBackupChannel5.google.cloud.gkebackup.v1.DeleteBackupChannelRequest.google.longrunning.Operation"nA* -google.protobuf.EmptyOperationMetadataAname4*2/v1/{name=projects/*/locations/*/backupChannels/*} -ListBackupPlanBindings8.google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest9.google.cloud.gkebackup.v1.ListBackupPlanBindingsResponse"XAparentIG/v1/{parent=projects/*/locations/*/backupChannels/*}/backupPlanBindings -GetBackupPlanBinding6.google.cloud.gkebackup.v1.GetBackupPlanBindingRequest,.google.cloud.gkebackup.v1.BackupPlanBinding"VAnameIG/v1/{name=projects/*/locations/*/backupChannels/*/backupPlanBindings/*} - CreateBackup..google.cloud.gkebackup.v1.CreateBackupRequest.google.longrunning.Operation"A -BackupOperationMetadataAparent,backup,backup_idC"9/v1/{parent=projects/*/locations/*/backupPlans/*}/backups:backup - ListBackups-.google.cloud.gkebackup.v1.ListBackupsRequest..google.cloud.gkebackup.v1.ListBackupsResponse"JAparent;9/v1/{parent=projects/*/locations/*/backupPlans/*}/backups - GetBackup+.google.cloud.gkebackup.v1.GetBackupRequest!.google.cloud.gkebackup.v1.Backup"HAname;9/v1/{name=projects/*/locations/*/backupPlans/*/backups/*} - UpdateBackup..google.cloud.gkebackup.v1.UpdateBackupRequest.google.longrunning.Operation"A -BackupOperationMetadataAbackup,update_maskJ2@/v1/{backup.name=projects/*/locations/*/backupPlans/*/backups/*}:backup - DeleteBackup..google.cloud.gkebackup.v1.DeleteBackupRequest.google.longrunning.Operation"uA* -google.protobuf.EmptyOperationMetadataAname;*9/v1/{name=projects/*/locations/*/backupPlans/*/backups/*} -ListVolumeBackups3.google.cloud.gkebackup.v1.ListVolumeBackupsRequest4.google.cloud.gkebackup.v1.ListVolumeBackupsResponse"ZAparentKI/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups -GetVolumeBackup1.google.cloud.gkebackup.v1.GetVolumeBackupRequest\'.google.cloud.gkebackup.v1.VolumeBackup"XAnameKI/v1/{name=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*} -CreateRestorePlan3.google.cloud.gkebackup.v1.CreateRestorePlanRequest.google.longrunning.Operation"A - RestorePlanOperationMetadataA#parent,restore_plan,restore_plan_id@"0/v1/{parent=projects/*/locations/*}/restorePlans: restore_plan -ListRestorePlans2.google.cloud.gkebackup.v1.ListRestorePlansRequest3.google.cloud.gkebackup.v1.ListRestorePlansResponse"AAparent20/v1/{parent=projects/*/locations/*}/restorePlans -GetRestorePlan0.google.cloud.gkebackup.v1.GetRestorePlanRequest&.google.cloud.gkebackup.v1.RestorePlan"?Aname20/v1/{name=projects/*/locations/*/restorePlans/*} -UpdateRestorePlan3.google.cloud.gkebackup.v1.UpdateRestorePlanRequest.google.longrunning.Operation"A - RestorePlanOperationMetadataArestore_plan,update_maskM2=/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}: restore_plan -DeleteRestorePlan3.google.cloud.gkebackup.v1.DeleteRestorePlanRequest.google.longrunning.Operation"lA* -google.protobuf.EmptyOperationMetadataAname2*0/v1/{name=projects/*/locations/*/restorePlans/*} -CreateRestoreChannel6.google.cloud.gkebackup.v1.CreateRestoreChannelRequest.google.longrunning.Operation"A# -RestoreChannelOperationMetadataA)parent,restore_channel,restore_channel_idF"3/v1/{parent=projects/*/locations/*}/restoreChannels:restore_channel -ListRestoreChannels5.google.cloud.gkebackup.v1.ListRestoreChannelsRequest6.google.cloud.gkebackup.v1.ListRestoreChannelsResponse"DAparent53/v1/{parent=projects/*/locations/*}/restoreChannels -GetRestoreChannel3.google.cloud.gkebackup.v1.GetRestoreChannelRequest).google.cloud.gkebackup.v1.RestoreChannel"BAname53/v1/{name=projects/*/locations/*/restoreChannels/*} -UpdateRestoreChannel6.google.cloud.gkebackup.v1.UpdateRestoreChannelRequest.google.longrunning.Operation"A# -RestoreChannelOperationMetadataArestore_channel,update_maskV2C/v1/{restore_channel.name=projects/*/locations/*/restoreChannels/*}:restore_channel -DeleteRestoreChannel6.google.cloud.gkebackup.v1.DeleteRestoreChannelRequest.google.longrunning.Operation"oA* -google.protobuf.EmptyOperationMetadataAname5*3/v1/{name=projects/*/locations/*/restoreChannels/*} -ListRestorePlanBindings9.google.cloud.gkebackup.v1.ListRestorePlanBindingsRequest:.google.cloud.gkebackup.v1.ListRestorePlanBindingsResponse"ZAparentKI/v1/{parent=projects/*/locations/*/restoreChannels/*}/restorePlanBindings -GetRestorePlanBinding7.google.cloud.gkebackup.v1.GetRestorePlanBindingRequest-.google.cloud.gkebackup.v1.RestorePlanBinding"XAnameKI/v1/{name=projects/*/locations/*/restoreChannels/*/restorePlanBindings/*} - CreateRestore/.google.cloud.gkebackup.v1.CreateRestoreRequest.google.longrunning.Operation"A -RestoreOperationMetadataAparent,restore,restore_idF";/v1/{parent=projects/*/locations/*/restorePlans/*}/restores:restore - ListRestores..google.cloud.gkebackup.v1.ListRestoresRequest/.google.cloud.gkebackup.v1.ListRestoresResponse"LAparent=;/v1/{parent=projects/*/locations/*/restorePlans/*}/restores - -GetRestore,.google.cloud.gkebackup.v1.GetRestoreRequest".google.cloud.gkebackup.v1.Restore"JAname=;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*} - UpdateRestore/.google.cloud.gkebackup.v1.UpdateRestoreRequest.google.longrunning.Operation"A -RestoreOperationMetadataArestore,update_maskN2C/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}:restore - DeleteRestore/.google.cloud.gkebackup.v1.DeleteRestoreRequest.google.longrunning.Operation"wA* -google.protobuf.EmptyOperationMetadataAname=*;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*} -ListVolumeRestores4.google.cloud.gkebackup.v1.ListVolumeRestoresRequest5.google.cloud.gkebackup.v1.ListVolumeRestoresResponse"]AparentNL/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores -GetVolumeRestore2.google.cloud.gkebackup.v1.GetVolumeRestoreRequest(.google.cloud.gkebackup.v1.VolumeRestore"[AnameNL/v1/{name=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*} -GetBackupIndexDownloadUrl;.google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlRequest<.google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlResponse"fAbackupWU/v1/{backup=projects/*/locations/*/backupPlans/*/backups/*}:getBackupIndexDownloadUrlLAgkebackup.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.gkebackup.v1BGKEBackupProtoPZ;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppbGoogle.Cloud.GkeBackup.V1Google\\Cloud\\GkeBackup\\V1Google::Cloud::GkeBackup::V1A^ - container.googleapis.com/Cluster:projects/{project}/locations/{location}/clusters/{cluster}Ax -!cloudkms.googleapis.com/CryptoKeySprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}bproto3' + "\x0A\xE6\x84\x01\x0A)google/cloud/gkebackup/v1/gkebackup.proto\x12\x19google.cloud.gkebackup.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A&google/cloud/gkebackup/v1/backup.proto\x1A.google/cloud/gkebackup/v1/backup_channel.proto\x1A+google/cloud/gkebackup/v1/backup_plan.proto\x1A3google/cloud/gkebackup/v1/backup_plan_binding.proto\x1A'google/cloud/gkebackup/v1/restore.proto\x1A/google/cloud/gkebackup/v1/restore_channel.proto\x1A,google/cloud/gkebackup/v1/restore_plan.proto\x1A4google/cloud/gkebackup/v1/restore_plan_binding.proto\x1A&google/cloud/gkebackup/v1/volume.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.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\"\xB2\x01\x0A\x17CreateBackupPlanRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12?\x0A\x0Bbackup_plan\x18\x02 \x01(\x0B2%.google.cloud.gkebackup.v1.BackupPlanB\x03\xE0A\x02\x12\x1B\x0A\x0Ebackup_plan_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\xB0\x01\x0A\x16ListBackupPlansRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x84\x01\x0A\x17ListBackupPlansResponse\x12;\x0A\x0Cbackup_plans\x18\x01 \x03(\x0B2%.google.cloud.gkebackup.v1.BackupPlan\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"Q\x0A\x14GetBackupPlanRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#gkebackup.googleapis.com/BackupPlan\"\x90\x01\x0A\x17UpdateBackupPlanRequest\x12?\x0A\x0Bbackup_plan\x18\x01 \x01(\x0B2%.google.cloud.gkebackup.v1.BackupPlanB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"g\x0A\x17DeleteBackupPlanRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#gkebackup.googleapis.com/BackupPlan\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"\xBE\x01\x0A\x1ACreateBackupChannelRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12E\x0A\x0Ebackup_channel\x18\x02 \x01(\x0B2(.google.cloud.gkebackup.v1.BackupChannelB\x03\xE0A\x02\x12\x1E\x0A\x11backup_channel_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xB3\x01\x0A\x19ListBackupChannelsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x8D\x01\x0A\x1AListBackupChannelsResponse\x12A\x0A\x0Fbackup_channels\x18\x01 \x03(\x0B2(.google.cloud.gkebackup.v1.BackupChannel\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"W\x0A\x17GetBackupChannelRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gkebackup.googleapis.com/BackupChannel\"\x99\x01\x0A\x1AUpdateBackupChannelRequest\x12E\x0A\x0Ebackup_channel\x18\x01 \x01(\x0B2(.google.cloud.gkebackup.v1.BackupChannelB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x81\x01\x0A\x1ADeleteBackupChannelRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gkebackup.googleapis.com/BackupChannel\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"\xBC\x01\x0A\x1DListBackupPlanBindingsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gkebackup.googleapis.com/BackupChannel\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x9A\x01\x0A\x1EListBackupPlanBindingsResponse\x12J\x0A\x14backup_plan_bindings\x18\x01 \x03(\x0B2,.google.cloud.gkebackup.v1.BackupPlanBinding\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"_\x0A\x1BGetBackupPlanBindingRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*gkebackup.googleapis.com/BackupPlanBinding\"\xA2\x01\x0A\x13CreateBackupRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#gkebackup.googleapis.com/BackupPlan\x126\x0A\x06backup\x18\x02 \x01(\x0B2!.google.cloud.gkebackup.v1.BackupB\x03\xE0A\x01\x12\x16\x0A\x09backup_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xD3\x01\x0A\x12ListBackupsRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#gkebackup.googleapis.com/BackupPlan\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12#\x0A\x16return_partial_success\x18\x06 \x01(\x08B\x03\xE0A\x01\"w\x0A\x13ListBackupsResponse\x122\x0A\x07backups\x18\x01 \x03(\x0B2!.google.cloud.gkebackup.v1.Backup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"I\x0A\x10GetBackupRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fgkebackup.googleapis.com/Backup\"\x83\x01\x0A\x13UpdateBackupRequest\x126\x0A\x06backup\x18\x01 \x01(\x0B2!.google.cloud.gkebackup.v1.BackupB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"s\x0A\x13DeleteBackupRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fgkebackup.googleapis.com/Backup\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"\xB0\x01\x0A\x18ListVolumeBackupsRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fgkebackup.googleapis.com/Backup\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"u\x0A\x19ListVolumeBackupsResponse\x12?\x0A\x0Evolume_backups\x18\x01 \x03(\x0B2'.google.cloud.gkebackup.v1.VolumeBackup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"U\x0A\x16GetVolumeBackupRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%gkebackup.googleapis.com/VolumeBackup\"\xB6\x01\x0A\x18CreateRestorePlanRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12A\x0A\x0Crestore_plan\x18\x02 \x01(\x0B2&.google.cloud.gkebackup.v1.RestorePlanB\x03\xE0A\x02\x12\x1C\x0A\x0Frestore_plan_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\xB1\x01\x0A\x17ListRestorePlansRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x87\x01\x0A\x18ListRestorePlansResponse\x12=\x0A\x0Drestore_plans\x18\x01 \x03(\x0B2&.google.cloud.gkebackup.v1.RestorePlan\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"S\x0A\x15GetRestorePlanRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$gkebackup.googleapis.com/RestorePlan\"\x93\x01\x0A\x18UpdateRestorePlanRequest\x12A\x0A\x0Crestore_plan\x18\x01 \x01(\x0B2&.google.cloud.gkebackup.v1.RestorePlanB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"}\x0A\x18DeleteRestorePlanRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$gkebackup.googleapis.com/RestorePlan\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"\xC2\x01\x0A\x1BCreateRestoreChannelRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12G\x0A\x0Frestore_channel\x18\x02 \x01(\x0B2).google.cloud.gkebackup.v1.RestoreChannelB\x03\xE0A\x02\x12\x1F\x0A\x12restore_channel_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xB4\x01\x0A\x1AListRestoreChannelsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x90\x01\x0A\x1BListRestoreChannelsResponse\x12C\x0A\x10restore_channels\x18\x01 \x03(\x0B2).google.cloud.gkebackup.v1.RestoreChannel\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"Y\x0A\x18GetRestoreChannelRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'gkebackup.googleapis.com/RestoreChannel\"\x9C\x01\x0A\x1BUpdateRestoreChannelRequest\x12G\x0A\x0Frestore_channel\x18\x01 \x01(\x0B2).google.cloud.gkebackup.v1.RestoreChannelB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"o\x0A\x1BDeleteRestoreChannelRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'gkebackup.googleapis.com/RestoreChannel\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"\xBE\x01\x0A\x1EListRestorePlanBindingsRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'gkebackup.googleapis.com/RestoreChannel\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"\xA2\x01\x0A\x1FListRestorePlanBindingsResponse\x12L\x0A\x15restore_plan_bindings\x18\x01 \x03(\x0B2-.google.cloud.gkebackup.v1.RestorePlanBinding\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x18\x0A\x0Bunreachable\x18\x03 \x03(\x09B\x03\xE0A\x06\"a\x0A\x1CGetRestorePlanBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+gkebackup.googleapis.com/RestorePlanBinding\"\xA7\x01\x0A\x14CreateRestoreRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$gkebackup.googleapis.com/RestorePlan\x128\x0A\x07restore\x18\x02 \x01(\x0B2\".google.cloud.gkebackup.v1.RestoreB\x03\xE0A\x02\x12\x17\x0A\x0Arestore_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\xB0\x01\x0A\x13ListRestoresRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$gkebackup.googleapis.com/RestorePlan\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"z\x0A\x14ListRestoresResponse\x124\x0A\x08restores\x18\x01 \x03(\x0B2\".google.cloud.gkebackup.v1.Restore\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"K\x0A\x11GetRestoreRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A gkebackup.googleapis.com/Restore\"\x86\x01\x0A\x14UpdateRestoreRequest\x128\x0A\x07restore\x18\x01 \x01(\x0B2\".google.cloud.gkebackup.v1.RestoreB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"u\x0A\x14DeleteRestoreRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A gkebackup.googleapis.com/Restore\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"\xB2\x01\x0A\x19ListVolumeRestoresRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A gkebackup.googleapis.com/Restore\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"x\x0A\x1AListVolumeRestoresResponse\x12A\x0A\x0Fvolume_restores\x18\x01 \x03(\x0B2(.google.cloud.gkebackup.v1.VolumeRestore\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"W\x0A\x17GetVolumeRestoreRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&gkebackup.googleapis.com/VolumeRestore\"[\x0A GetBackupIndexDownloadUrlRequest\x127\x0A\x06backup\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Fgkebackup.googleapis.com/Backup\"<\x0A!GetBackupIndexDownloadUrlResponse\x12\x17\x0A\x0Asigned_url\x18\x01 \x01(\x09B\x03\xE0A\x022\xD1C\x0A\x0CBackupForGKE\x12\xF2\x01\x0A\x10CreateBackupPlan\x122.google.cloud.gkebackup.v1.CreateBackupPlanRequest\x1A\x1D.google.longrunning.Operation\"\x8A\x01\xCAA\x1F\x0A\x0ABackupPlan\x12\x11OperationMetadata\xDAA!parent,backup_plan,backup_plan_id\x82\xD3\xE4\x93\x02>\"//v1/{parent=projects/*/locations/*}/backupPlans:\x0Bbackup_plan\x12\xBA\x01\x0A\x0FListBackupPlans\x121.google.cloud.gkebackup.v1.ListBackupPlansRequest\x1A2.google.cloud.gkebackup.v1.ListBackupPlansResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1/{parent=projects/*/locations/*}/backupPlans\x12\xA7\x01\x0A\x0DGetBackupPlan\x12/.google.cloud.gkebackup.v1.GetBackupPlanRequest\x1A%.google.cloud.gkebackup.v1.BackupPlan\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1/{name=projects/*/locations/*/backupPlans/*}\x12\xF4\x01\x0A\x10UpdateBackupPlan\x122.google.cloud.gkebackup.v1.UpdateBackupPlanRequest\x1A\x1D.google.longrunning.Operation\"\x8C\x01\xCAA\x1F\x0A\x0ABackupPlan\x12\x11OperationMetadata\xDAA\x17backup_plan,update_mask\x82\xD3\xE4\x93\x02J2;/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}:\x0Bbackup_plan\x12\xD2\x01\x0A\x10DeleteBackupPlan\x122.google.cloud.gkebackup.v1.DeleteBackupPlanRequest\x1A\x1D.google.longrunning.Operation\"k\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1/{name=projects/*/locations/*/backupPlans/*}\x12\x87\x02\x0A\x13CreateBackupChannel\x125.google.cloud.gkebackup.v1.CreateBackupChannelRequest\x1A\x1D.google.longrunning.Operation\"\x99\x01\xCAA\"\x0A\x0DBackupChannel\x12\x11OperationMetadata\xDAA'parent,backup_channel,backup_channel_id\x82\xD3\xE4\x93\x02D\"2/v1/{parent=projects/*/locations/*}/backupChannels:\x0Ebackup_channel\x12\xC6\x01\x0A\x12ListBackupChannels\x124.google.cloud.gkebackup.v1.ListBackupChannelsRequest\x1A5.google.cloud.gkebackup.v1.ListBackupChannelsResponse\"C\xDAA\x06parent\x82\xD3\xE4\x93\x024\x122/v1/{parent=projects/*/locations/*}/backupChannels\x12\xB3\x01\x0A\x10GetBackupChannel\x122.google.cloud.gkebackup.v1.GetBackupChannelRequest\x1A(.google.cloud.gkebackup.v1.BackupChannel\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1/{name=projects/*/locations/*/backupChannels/*}\x12\x89\x02\x0A\x13UpdateBackupChannel\x125.google.cloud.gkebackup.v1.UpdateBackupChannelRequest\x1A\x1D.google.longrunning.Operation\"\x9B\x01\xCAA\"\x0A\x0DBackupChannel\x12\x11OperationMetadata\xDAA\x1Abackup_channel,update_mask\x82\xD3\xE4\x93\x02S2A/v1/{backup_channel.name=projects/*/locations/*/backupChannels/*}:\x0Ebackup_channel\x12\xDB\x01\x0A\x13DeleteBackupChannel\x125.google.cloud.gkebackup.v1.DeleteBackupChannelRequest\x1A\x1D.google.longrunning.Operation\"n\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x024*2/v1/{name=projects/*/locations/*/backupChannels/*}\x12\xE7\x01\x0A\x16ListBackupPlanBindings\x128.google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest\x1A9.google.cloud.gkebackup.v1.ListBackupPlanBindingsResponse\"X\xDAA\x06parent\x82\xD3\xE4\x93\x02I\x12G/v1/{parent=projects/*/locations/*/backupChannels/*}/backupPlanBindings\x12\xD4\x01\x0A\x14GetBackupPlanBinding\x126.google.cloud.gkebackup.v1.GetBackupPlanBindingRequest\x1A,.google.cloud.gkebackup.v1.BackupPlanBinding\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I\x12G/v1/{name=projects/*/locations/*/backupChannels/*/backupPlanBindings/*}\x12\xE1\x01\x0A\x0CCreateBackup\x12..google.cloud.gkebackup.v1.CreateBackupRequest\x1A\x1D.google.longrunning.Operation\"\x81\x01\xCAA\x1B\x0A\x06Backup\x12\x11OperationMetadata\xDAA\x17parent,backup,backup_id\x82\xD3\xE4\x93\x02C\"9/v1/{parent=projects/*/locations/*/backupPlans/*}/backups:\x06backup\x12\xB8\x01\x0A\x0BListBackups\x12-.google.cloud.gkebackup.v1.ListBackupsRequest\x1A..google.cloud.gkebackup.v1.ListBackupsResponse\"J\xDAA\x06parent\x82\xD3\xE4\x93\x02;\x129/v1/{parent=projects/*/locations/*/backupPlans/*}/backups\x12\xA5\x01\x0A\x09GetBackup\x12+.google.cloud.gkebackup.v1.GetBackupRequest\x1A!.google.cloud.gkebackup.v1.Backup\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\x129/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\x12\xE3\x01\x0A\x0CUpdateBackup\x12..google.cloud.gkebackup.v1.UpdateBackupRequest\x1A\x1D.google.longrunning.Operation\"\x83\x01\xCAA\x1B\x0A\x06Backup\x12\x11OperationMetadata\xDAA\x12backup,update_mask\x82\xD3\xE4\x93\x02J2@/v1/{backup.name=projects/*/locations/*/backupPlans/*/backups/*}:\x06backup\x12\xD4\x01\x0A\x0CDeleteBackup\x12..google.cloud.gkebackup.v1.DeleteBackupRequest\x1A\x1D.google.longrunning.Operation\"u\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02;*9/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\x12\xDA\x01\x0A\x11ListVolumeBackups\x123.google.cloud.gkebackup.v1.ListVolumeBackupsRequest\x1A4.google.cloud.gkebackup.v1.ListVolumeBackupsResponse\"Z\xDAA\x06parent\x82\xD3\xE4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups\x12\xC7\x01\x0A\x0FGetVolumeBackup\x121.google.cloud.gkebackup.v1.GetVolumeBackupRequest\x1A'.google.cloud.gkebackup.v1.VolumeBackup\"X\xDAA\x04name\x82\xD3\xE4\x93\x02K\x12I/v1/{name=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}\x12\xF9\x01\x0A\x11CreateRestorePlan\x123.google.cloud.gkebackup.v1.CreateRestorePlanRequest\x1A\x1D.google.longrunning.Operation\"\x8F\x01\xCAA \x0A\x0BRestorePlan\x12\x11OperationMetadata\xDAA#parent,restore_plan,restore_plan_id\x82\xD3\xE4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/restorePlans:\x0Crestore_plan\x12\xBE\x01\x0A\x10ListRestorePlans\x122.google.cloud.gkebackup.v1.ListRestorePlansRequest\x1A3.google.cloud.gkebackup.v1.ListRestorePlansResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1/{parent=projects/*/locations/*}/restorePlans\x12\xAB\x01\x0A\x0EGetRestorePlan\x120.google.cloud.gkebackup.v1.GetRestorePlanRequest\x1A&.google.cloud.gkebackup.v1.RestorePlan\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1/{name=projects/*/locations/*/restorePlans/*}\x12\xFB\x01\x0A\x11UpdateRestorePlan\x123.google.cloud.gkebackup.v1.UpdateRestorePlanRequest\x1A\x1D.google.longrunning.Operation\"\x91\x01\xCAA \x0A\x0BRestorePlan\x12\x11OperationMetadata\xDAA\x18restore_plan,update_mask\x82\xD3\xE4\x93\x02M2=/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}:\x0Crestore_plan\x12\xD5\x01\x0A\x11DeleteRestorePlan\x123.google.cloud.gkebackup.v1.DeleteRestorePlanRequest\x1A\x1D.google.longrunning.Operation\"l\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1/{name=projects/*/locations/*/restorePlans/*}\x12\x8E\x02\x0A\x14CreateRestoreChannel\x126.google.cloud.gkebackup.v1.CreateRestoreChannelRequest\x1A\x1D.google.longrunning.Operation\"\x9E\x01\xCAA#\x0A\x0ERestoreChannel\x12\x11OperationMetadata\xDAA)parent,restore_channel,restore_channel_id\x82\xD3\xE4\x93\x02F\"3/v1/{parent=projects/*/locations/*}/restoreChannels:\x0Frestore_channel\x12\xCA\x01\x0A\x13ListRestoreChannels\x125.google.cloud.gkebackup.v1.ListRestoreChannelsRequest\x1A6.google.cloud.gkebackup.v1.ListRestoreChannelsResponse\"D\xDAA\x06parent\x82\xD3\xE4\x93\x025\x123/v1/{parent=projects/*/locations/*}/restoreChannels\x12\xB7\x01\x0A\x11GetRestoreChannel\x123.google.cloud.gkebackup.v1.GetRestoreChannelRequest\x1A).google.cloud.gkebackup.v1.RestoreChannel\"B\xDAA\x04name\x82\xD3\xE4\x93\x025\x123/v1/{name=projects/*/locations/*/restoreChannels/*}\x12\x90\x02\x0A\x14UpdateRestoreChannel\x126.google.cloud.gkebackup.v1.UpdateRestoreChannelRequest\x1A\x1D.google.longrunning.Operation\"\xA0\x01\xCAA#\x0A\x0ERestoreChannel\x12\x11OperationMetadata\xDAA\x1Brestore_channel,update_mask\x82\xD3\xE4\x93\x02V2C/v1/{restore_channel.name=projects/*/locations/*/restoreChannels/*}:\x0Frestore_channel\x12\xDE\x01\x0A\x14DeleteRestoreChannel\x126.google.cloud.gkebackup.v1.DeleteRestoreChannelRequest\x1A\x1D.google.longrunning.Operation\"o\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x025*3/v1/{name=projects/*/locations/*/restoreChannels/*}\x12\xEC\x01\x0A\x17ListRestorePlanBindings\x129.google.cloud.gkebackup.v1.ListRestorePlanBindingsRequest\x1A:.google.cloud.gkebackup.v1.ListRestorePlanBindingsResponse\"Z\xDAA\x06parent\x82\xD3\xE4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/restoreChannels/*}/restorePlanBindings\x12\xD9\x01\x0A\x15GetRestorePlanBinding\x127.google.cloud.gkebackup.v1.GetRestorePlanBindingRequest\x1A-.google.cloud.gkebackup.v1.RestorePlanBinding\"X\xDAA\x04name\x82\xD3\xE4\x93\x02K\x12I/v1/{name=projects/*/locations/*/restoreChannels/*/restorePlanBindings/*}\x12\xE9\x01\x0A\x0DCreateRestore\x12/.google.cloud.gkebackup.v1.CreateRestoreRequest\x1A\x1D.google.longrunning.Operation\"\x87\x01\xCAA\x1C\x0A\x07Restore\x12\x11OperationMetadata\xDAA\x19parent,restore,restore_id\x82\xD3\xE4\x93\x02F\";/v1/{parent=projects/*/locations/*/restorePlans/*}/restores:\x07restore\x12\xBD\x01\x0A\x0CListRestores\x12..google.cloud.gkebackup.v1.ListRestoresRequest\x1A/.google.cloud.gkebackup.v1.ListRestoresResponse\"L\xDAA\x06parent\x82\xD3\xE4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/restorePlans/*}/restores\x12\xAA\x01\x0A\x0AGetRestore\x12,.google.cloud.gkebackup.v1.GetRestoreRequest\x1A\".google.cloud.gkebackup.v1.Restore\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=\x12;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\x12\xEB\x01\x0A\x0DUpdateRestore\x12/.google.cloud.gkebackup.v1.UpdateRestoreRequest\x1A\x1D.google.longrunning.Operation\"\x89\x01\xCAA\x1C\x0A\x07Restore\x12\x11OperationMetadata\xDAA\x13restore,update_mask\x82\xD3\xE4\x93\x02N2C/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}:\x07restore\x12\xD8\x01\x0A\x0DDeleteRestore\x12/.google.cloud.gkebackup.v1.DeleteRestoreRequest\x1A\x1D.google.longrunning.Operation\"w\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02=*;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\x12\xE0\x01\x0A\x12ListVolumeRestores\x124.google.cloud.gkebackup.v1.ListVolumeRestoresRequest\x1A5.google.cloud.gkebackup.v1.ListVolumeRestoresResponse\"]\xDAA\x06parent\x82\xD3\xE4\x93\x02N\x12L/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores\x12\xCD\x01\x0A\x10GetVolumeRestore\x122.google.cloud.gkebackup.v1.GetVolumeRestoreRequest\x1A(.google.cloud.gkebackup.v1.VolumeRestore\"[\xDAA\x04name\x82\xD3\xE4\x93\x02N\x12L/v1/{name=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}\x12\xFE\x01\x0A\x19GetBackupIndexDownloadUrl\x12;.google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlRequest\x1A<.google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlResponse\"f\xDAA\x06backup\x82\xD3\xE4\x93\x02W\x12U/v1/{backup=projects/*/locations/*/backupPlans/*/backups/*}:getBackupIndexDownloadUrl\x1AL\xCAA\x18gkebackup.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xA1\x03\x0A\x1Dcom.google.cloud.gkebackup.v1B\x0EGKEBackupProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xAA\x02\x19Google.Cloud.GkeBackup.V1\xCA\x02\x19Google\\Cloud\\GkeBackup\\V1\xEA\x02\x1CGoogle::Cloud::GkeBackup::V1\xEAA^\x0A container.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}\xEAAx\x0A!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3" , true); static::$is_initialized = true; diff --git a/GkeBackup/metadata/V1/Restore.php b/GkeBackup/metadata/V1/Restore.php index da610fbecd38..73f4b70379bd 100644 Binary files a/GkeBackup/metadata/V1/Restore.php and b/GkeBackup/metadata/V1/Restore.php differ diff --git a/GkeBackup/metadata/V1/RestoreChannel.php b/GkeBackup/metadata/V1/RestoreChannel.php index 7f01052047a6..35d6cf60548c 100644 --- a/GkeBackup/metadata/V1/RestoreChannel.php +++ b/GkeBackup/metadata/V1/RestoreChannel.php @@ -19,24 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -/google/cloud/gkebackup/v1/restore_channel.protogoogle.cloud.gkebackup.v1google/api/field_info.protogoogle/api/resource.protogoogle/protobuf/timestamp.proto" -RestoreChannel -name ( BA# -destination_project ( BAA -uid ( B A4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAJ -labels ( 25.google.cloud.gkebackup.v1.RestoreChannel.LabelsEntryBA - description ( BA -etag ( BA# -destination_project_id ( BA- - LabelsEntry -key (  -value ( :8:A -\'gkebackup.googleapis.com/RestoreChannelIprojects/{project}/locations/{location}/restoreChannels/{restore_channel}*restoreChannels2restoreChannelB -com.google.cloud.gkebackup.v1BRestoreChannelProtoPZ;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppbGoogle.Cloud.GkeBackup.V1Google\\Cloud\\GkeBackup\\V1Google::Cloud::GkeBackup::V1bproto3' + "\x0A\xB4\x07\x0A/google/cloud/gkebackup/v1/restore_channel.proto\x12\x19google.cloud.gkebackup.v1\x1A\x1Bgoogle/api/field_info.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xB7\x04\x0A\x0ERestoreChannel\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12#\x0A\x13destination_project\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\x12\x18\x0A\x03uid\x18\x03 \x01(\x09B\x0B\xE0A\x03\xE2\x8C\xCF\xD7\x08\x02\x08\x01\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\x12J\x0A\x06labels\x18\x06 \x03(\x0B25.google.cloud.gkebackup.v1.RestoreChannel.LabelsEntryB\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x07 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04etag\x18\x08 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x16destination_project_id\x18\x09 \x01(\x09B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x99\x01\xEAA\x95\x01\x0A'gkebackup.googleapis.com/RestoreChannel\x12Iprojects/{project}/locations/{location}/restoreChannels/{restore_channel}*\x0FrestoreChannels2\x0ErestoreChannelB\xCA\x01\x0A\x1Dcom.google.cloud.gkebackup.v1B\x13RestoreChannelProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xAA\x02\x19Google.Cloud.GkeBackup.V1\xCA\x02\x19Google\\Cloud\\GkeBackup\\V1\xEA\x02\x1CGoogle::Cloud::GkeBackup::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/GkeBackup/metadata/V1/RestorePlan.php b/GkeBackup/metadata/V1/RestorePlan.php index 1c05234251f7..a37d2aad0e99 100644 Binary files a/GkeBackup/metadata/V1/RestorePlan.php and b/GkeBackup/metadata/V1/RestorePlan.php differ diff --git a/GkeBackup/metadata/V1/RestorePlanBinding.php b/GkeBackup/metadata/V1/RestorePlanBinding.php index 8efda3a41166..786540589dd5 100644 --- a/GkeBackup/metadata/V1/RestorePlanBinding.php +++ b/GkeBackup/metadata/V1/RestorePlanBinding.php @@ -19,21 +19,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' - -4google/cloud/gkebackup/v1/restore_plan_binding.protogoogle.cloud.gkebackup.v1google/api/field_info.protogoogle/api/resource.protogoogle/protobuf/timestamp.proto" -RestorePlanBinding -name ( BA -uid ( B A4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAB - restore_plan ( B,AA& -$gkebackup.googleapis.com/RestorePlan -etag ( BA@ - backup_plan ( B+AA% -#gkebackup.googleapis.com/BackupPlan:A -+gkebackup.googleapis.com/RestorePlanBindingtprojects/{project}/locations/{location}/restoreChannels/{restore_channel}/restorePlanBindings/{restore_plan_binding}*restorePlanBindings2restorePlanBindingB -com.google.cloud.gkebackup.v1BRestorePlanBindingProtoPZ;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppbGoogle.Cloud.GkeBackup.V1Google\\Cloud\\GkeBackup\\V1Google::Cloud::GkeBackup::V1bproto3' + "\x0A\x9F\x07\x0A4google/cloud/gkebackup/v1/restore_plan_binding.proto\x12\x19google.cloud.gkebackup.v1\x1A\x1Bgoogle/api/field_info.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x99\x04\x0A\x12RestorePlanBinding\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x18\x0A\x03uid\x18\x02 \x01(\x09B\x0B\xE0A\x03\xE2\x8C\xCF\xD7\x08\x02\x08\x01\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12B\x0A\x0Crestore_plan\x18\x05 \x01(\x09B,\xE0A\x03\xFAA&\x0A\$gkebackup.googleapis.com/RestorePlan\x12\x11\x0A\x04etag\x18\x06 \x01(\x09B\x03\xE0A\x03\x12@\x0A\x0Bbackup_plan\x18\x07 \x01(\x09B+\xE0A\x03\xFAA%\x0A#gkebackup.googleapis.com/BackupPlan:\xD0\x01\xEAA\xCC\x01\x0A+gkebackup.googleapis.com/RestorePlanBinding\x12tprojects/{project}/locations/{location}/restoreChannels/{restore_channel}/restorePlanBindings/{restore_plan_binding}*\x13restorePlanBindings2\x12restorePlanBindingB\xCE\x01\x0A\x1Dcom.google.cloud.gkebackup.v1B\x17RestorePlanBindingProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xAA\x02\x19Google.Cloud.GkeBackup.V1\xCA\x02\x19Google\\Cloud\\GkeBackup\\V1\xEA\x02\x1CGoogle::Cloud::GkeBackup::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/GkeBackup/metadata/V1/Volume.php b/GkeBackup/metadata/V1/Volume.php index 3ca526d95cd2..dcce79292175 100644 Binary files a/GkeBackup/metadata/V1/Volume.php and b/GkeBackup/metadata/V1/Volume.php differ diff --git a/GkeBackup/src/V1/Backup.php b/GkeBackup/src/V1/Backup.php index 8d69207dcc7f..9c06cd3f4c5a 100644 --- a/GkeBackup/src/V1/Backup.php +++ b/GkeBackup/src/V1/Backup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents a request to perform a single point-in-time capture of @@ -20,7 +20,7 @@ class Backup extends \Google\Protobuf\Internal\Message { /** * Output only. The fully qualified name of the Backup. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -241,7 +241,7 @@ class Backup extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. The fully qualified name of the Backup. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * @type string $uid * Output only. Server generated global unique identifier of * [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier) @@ -361,7 +361,7 @@ public function __construct($data = NULL) { /** * Output only. The fully qualified name of the Backup. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -373,7 +373,7 @@ public function getName() /** * Output only. The fully qualified name of the Backup. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var diff --git a/GkeBackup/src/V1/Backup/ClusterMetadata.php b/GkeBackup/src/V1/Backup/ClusterMetadata.php index da9c681041b9..f0ba3b92698b 100644 --- a/GkeBackup/src/V1/Backup/ClusterMetadata.php +++ b/GkeBackup/src/V1/Backup/ClusterMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\Backup; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information about the GKE cluster from which this Backup was created. @@ -18,8 +18,8 @@ class ClusterMetadata extends \Google\Protobuf\Internal\Message /** * Output only. The source cluster from which this Backup was created. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * This is inherited from the parent BackupPlan's * [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field. * @@ -50,8 +50,8 @@ class ClusterMetadata extends \Google\Protobuf\Internal\Message * @type string $cluster * Output only. The source cluster from which this Backup was created. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * This is inherited from the parent BackupPlan's * [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field. * @type string $k8s_version @@ -73,8 +73,8 @@ public function __construct($data = NULL) { /** * Output only. The source cluster from which this Backup was created. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * This is inherited from the parent BackupPlan's * [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field. * @@ -89,8 +89,8 @@ public function getCluster() /** * Output only. The source cluster from which this Backup was created. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * This is inherited from the parent BackupPlan's * [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field. * @@ -232,4 +232,3 @@ public function getPlatformVersion() } - diff --git a/GkeBackup/src/V1/Backup/State.php b/GkeBackup/src/V1/Backup/State.php index 32dcdb315960..963e38d5c19b 100644 --- a/GkeBackup/src/V1/Backup/State.php +++ b/GkeBackup/src/V1/Backup/State.php @@ -83,4 +83,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/BackupChannel.php b/GkeBackup/src/V1/BackupChannel.php index 1442b6edca91..7ce7c550c264 100644 --- a/GkeBackup/src/V1/BackupChannel.php +++ b/GkeBackup/src/V1/BackupChannel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A BackupChannel imposes constraints on where clusters can be backed up. @@ -20,7 +20,7 @@ class BackupChannel extends \Google\Protobuf\Internal\Message { /** * Identifier. The fully qualified name of the BackupChannel. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ @@ -96,7 +96,7 @@ class BackupChannel extends \Google\Protobuf\Internal\Message * * @type string $name * Identifier. The fully qualified name of the BackupChannel. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * @type string $destination_project * Required. Immutable. The project where Backups are allowed to be stored. * The format is `projects/{projectId}` or `projects/{projectNumber}`. @@ -136,7 +136,7 @@ public function __construct($data = NULL) { /** * Identifier. The fully qualified name of the BackupChannel. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string @@ -148,7 +148,7 @@ public function getName() /** * Identifier. The fully qualified name of the BackupChannel. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var diff --git a/GkeBackup/src/V1/BackupPlan.php b/GkeBackup/src/V1/BackupPlan.php index e2fab54ed0a1..eb830cace095 100644 --- a/GkeBackup/src/V1/BackupPlan.php +++ b/GkeBackup/src/V1/BackupPlan.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the configuration and scheduling for a "line" of Backups. @@ -17,7 +17,7 @@ class BackupPlan extends \Google\Protobuf\Internal\Message { /** * Output only. The full name of the BackupPlan resource. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -51,8 +51,8 @@ class BackupPlan extends \Google\Protobuf\Internal\Message /** * Required. Immutable. The source cluster from which Backups will be created * via this BackupPlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -150,7 +150,7 @@ class BackupPlan extends \Google\Protobuf\Internal\Message * Output only. The fully qualified name of the BackupChannel to be used to * create a backup. This field is set only if the cluster being backed up is * in a different project. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string backup_channel = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ @@ -173,7 +173,7 @@ class BackupPlan extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. The full name of the BackupPlan resource. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * @type string $uid * Output only. Server generated global unique identifier of * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. @@ -187,8 +187,8 @@ class BackupPlan extends \Google\Protobuf\Internal\Message * @type string $cluster * Required. Immutable. The source cluster from which Backups will be created * via this BackupPlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * @type \Google\Cloud\GkeBackup\V1\BackupPlan\RetentionPolicy $retention_policy * Optional. RetentionPolicy governs lifecycle of Backups created under this * plan. @@ -238,7 +238,7 @@ class BackupPlan extends \Google\Protobuf\Internal\Message * Output only. The fully qualified name of the BackupChannel to be used to * create a backup. This field is set only if the cluster being backed up is * in a different project. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * @type \Google\Protobuf\Timestamp $last_successful_backup_time * Output only. Completion time of the last successful Backup. This is sourced * from a successful Backup's complete_time field. This field is added to @@ -253,7 +253,7 @@ public function __construct($data = NULL) { /** * Output only. The full name of the BackupPlan resource. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -265,7 +265,7 @@ public function getName() /** * Output only. The full name of the BackupPlan resource. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -410,8 +410,8 @@ public function setDescription($var) /** * Required. Immutable. The source cluster from which Backups will be created * via this BackupPlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -424,8 +424,8 @@ public function getCluster() /** * Required. Immutable. The source cluster from which Backups will be created * via this BackupPlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -805,7 +805,7 @@ public function setRpoRiskReason($var) * Output only. The fully qualified name of the BackupChannel to be used to * create a backup. This field is set only if the cluster being backed up is * in a different project. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string backup_channel = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @return string @@ -819,7 +819,7 @@ public function getBackupChannel() * Output only. The fully qualified name of the BackupChannel to be used to * create a backup. This field is set only if the cluster being backed up is * in a different project. - * `projects/*/locations/*/backupChannels/*` + * `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string backup_channel = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/BackupPlan/BackupConfig.php b/GkeBackup/src/V1/BackupPlan/BackupConfig.php index eb489dd25123..9c80a78045f4 100644 --- a/GkeBackup/src/V1/BackupPlan/BackupConfig.php +++ b/GkeBackup/src/V1/BackupPlan/BackupConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\BackupPlan; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BackupConfig defines the configuration of Backups created via this @@ -329,4 +329,3 @@ public function getBackupScope() } - diff --git a/GkeBackup/src/V1/BackupPlan/RetentionPolicy.php b/GkeBackup/src/V1/BackupPlan/RetentionPolicy.php index a746accc74bb..5400ef0c8675 100644 --- a/GkeBackup/src/V1/BackupPlan/RetentionPolicy.php +++ b/GkeBackup/src/V1/BackupPlan/RetentionPolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\BackupPlan; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RetentionPolicy defines a Backup retention policy for a BackupPlan. @@ -241,4 +241,3 @@ public function setLocked($var) } - diff --git a/GkeBackup/src/V1/BackupPlan/Schedule.php b/GkeBackup/src/V1/BackupPlan/Schedule.php index dd3ce6ad6934..24f41f5419e3 100644 --- a/GkeBackup/src/V1/BackupPlan/Schedule.php +++ b/GkeBackup/src/V1/BackupPlan/Schedule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\BackupPlan; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines scheduling parameters for automatically creating Backups @@ -260,4 +260,3 @@ public function setNextScheduledBackupTime($var) } - diff --git a/GkeBackup/src/V1/BackupPlan/State.php b/GkeBackup/src/V1/BackupPlan/State.php index dcd3eca47858..136bf3346364 100644 --- a/GkeBackup/src/V1/BackupPlan/State.php +++ b/GkeBackup/src/V1/BackupPlan/State.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/BackupPlanBinding.php b/GkeBackup/src/V1/BackupPlanBinding.php index ec3259f6d4f9..a646dcd9c512 100644 --- a/GkeBackup/src/V1/BackupPlanBinding.php +++ b/GkeBackup/src/V1/BackupPlanBinding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A BackupPlanBinding binds a BackupPlan with a BackupChannel. @@ -20,7 +20,7 @@ class BackupPlanBinding extends \Google\Protobuf\Internal\Message { /** * Identifier. The fully qualified name of the BackupPlanBinding. - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ @@ -47,7 +47,7 @@ class BackupPlanBinding extends \Google\Protobuf\Internal\Message /** * Output only. Immutable. The fully qualified name of the BackupPlan bound * with the parent BackupChannel. - * `projects/*/locations/*/backupPlans/{backup_plan}` + * `projects/{@*}locations/{@*}backupPlans/{backup_plan}` * * Generated from protobuf field string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ @@ -55,8 +55,8 @@ class BackupPlanBinding extends \Google\Protobuf\Internal\Message /** * Output only. Immutable. The fully qualified name of the cluster that is * being backed up Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ @@ -90,7 +90,7 @@ class BackupPlanBinding extends \Google\Protobuf\Internal\Message * * @type string $name * Identifier. The fully qualified name of the BackupPlanBinding. - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * @type string $uid * Output only. Server generated global unique identifier of * [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier) @@ -101,12 +101,12 @@ class BackupPlanBinding extends \Google\Protobuf\Internal\Message * @type string $backup_plan * Output only. Immutable. The fully qualified name of the BackupPlan bound * with the parent BackupChannel. - * `projects/*/locations/*/backupPlans/{backup_plan}` + * `projects/{@*}locations/{@*}backupPlans/{backup_plan}` * @type string $cluster * Output only. Immutable. The fully qualified name of the cluster that is * being backed up Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * @type \Google\Cloud\GkeBackup\V1\BackupPlanBinding\BackupPlanDetails $backup_plan_details * Output only. Contains details about the backup plan/backup. * @type string $etag @@ -128,7 +128,7 @@ public function __construct($data = NULL) { /** * Identifier. The fully qualified name of the BackupPlanBinding. - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string @@ -140,7 +140,7 @@ public function getName() /** * Identifier. The fully qualified name of the BackupPlanBinding. - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var @@ -257,7 +257,7 @@ public function setUpdateTime($var) /** * Output only. Immutable. The fully qualified name of the BackupPlan bound * with the parent BackupChannel. - * `projects/*/locations/*/backupPlans/{backup_plan}` + * `projects/{@*}locations/{@*}backupPlans/{backup_plan}` * * Generated from protobuf field string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @return string @@ -270,7 +270,7 @@ public function getBackupPlan() /** * Output only. Immutable. The fully qualified name of the BackupPlan bound * with the parent BackupChannel. - * `projects/*/locations/*/backupPlans/{backup_plan}` + * `projects/{@*}locations/{@*}backupPlans/{backup_plan}` * * Generated from protobuf field string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @param string $var @@ -287,8 +287,8 @@ public function setBackupPlan($var) /** * Output only. Immutable. The fully qualified name of the cluster that is * being backed up Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @return string @@ -301,8 +301,8 @@ public function getCluster() /** * Output only. Immutable. The fully qualified name of the cluster that is * being backed up Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails.php b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails.php index daf9b11c7043..9fb4b2faa546 100644 --- a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails.php +++ b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\BackupPlanBinding; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Contains metadata about the backup plan/backup. @@ -53,7 +53,7 @@ class BackupPlanDetails extends \Google\Protobuf\Internal\Message /** * Output only. The fully qualified name of the last successful Backup * created under this BackupPlan. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -97,7 +97,7 @@ class BackupPlanDetails extends \Google\Protobuf\Internal\Message * @type string $last_successful_backup * Output only. The fully qualified name of the last successful Backup * created under this BackupPlan. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * @type \Google\Cloud\GkeBackup\V1\BackupPlanBinding\BackupPlanDetails\BackupConfigDetails $backup_config_details * Output only. Contains details about the BackupConfig of Backups created * via this BackupPlan. @@ -274,7 +274,7 @@ public function setRpoRiskLevel($var) /** * Output only. The fully qualified name of the last successful Backup * created under this BackupPlan. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -287,7 +287,7 @@ public function getLastSuccessfulBackup() /** * Output only. The fully qualified name of the last successful Backup * created under this BackupPlan. - * `projects/*/locations/*/backupPlans/*/backups/*` + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -379,4 +379,3 @@ public function setRetentionPolicyDetails($var) } - diff --git a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/BackupConfigDetails.php b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/BackupConfigDetails.php index 9e40d6f2e571..9e172e227423 100644 --- a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/BackupConfigDetails.php +++ b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/BackupConfigDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\BackupPlanBinding\BackupPlanDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BackupConfigDetails defines the configuration of Backups created via this @@ -286,4 +286,3 @@ public function getBackupScope() } - diff --git a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/RetentionPolicyDetails.php b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/RetentionPolicyDetails.php index b0d49c77d6a0..9b987cc21548 100644 --- a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/RetentionPolicyDetails.php +++ b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/RetentionPolicyDetails.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\BackupPlanBinding\BackupPlanDetails; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * RetentionPolicyDetails defines a Backup retention policy for a @@ -152,4 +152,3 @@ public function setBackupRetainDays($var) } - diff --git a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/State.php b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/State.php index 38c9680cd8fd..b32f8ea5cf62 100644 --- a/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/State.php +++ b/GkeBackup/src/V1/BackupPlanBinding/BackupPlanDetails/State.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/CreateBackupChannelRequest.php b/GkeBackup/src/V1/CreateBackupChannelRequest.php index 2b1f540b3888..87998afa1ce1 100644 --- a/GkeBackup/src/V1/CreateBackupChannelRequest.php +++ b/GkeBackup/src/V1/CreateBackupChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateBackupChannel. @@ -17,7 +17,7 @@ class CreateBackupChannelRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location within which to create the BackupChannel. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -77,7 +77,7 @@ public static function build(string $parent, \Google\Cloud\GkeBackup\V1\BackupCh * * @type string $parent * Required. The location within which to create the BackupChannel. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type \Google\Cloud\GkeBackup\V1\BackupChannel $backup_channel * Required. The BackupChannel resource object to create. * @type string $backup_channel_id @@ -98,7 +98,7 @@ public function __construct($data = NULL) { /** * Required. The location within which to create the BackupChannel. - * Format: `projects/*/locations/*` + * 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 location within which to create the BackupChannel. - * 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/GkeBackup/src/V1/CreateBackupPlanRequest.php b/GkeBackup/src/V1/CreateBackupPlanRequest.php index f73b64d0fb0a..07d3dcd2bd15 100644 --- a/GkeBackup/src/V1/CreateBackupPlanRequest.php +++ b/GkeBackup/src/V1/CreateBackupPlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateBackupPlan. @@ -17,7 +17,7 @@ class CreateBackupPlanRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location within which to create the BackupPlan. - * Format: `projects/*/locations/*` + * 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, \Google\Cloud\GkeBackup\V1\BackupPl * * @type string $parent * Required. The location within which to create the BackupPlan. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type \Google\Cloud\GkeBackup\V1\BackupPlan $backup_plan * Required. The BackupPlan resource object to create. * @type string $backup_plan_id @@ -95,7 +95,7 @@ public function __construct($data = NULL) { /** * Required. The location within which to create the BackupPlan. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -107,7 +107,7 @@ public function getParent() /** * Required. The location within which to create the BackupPlan. - * 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/GkeBackup/src/V1/CreateBackupRequest.php b/GkeBackup/src/V1/CreateBackupRequest.php index d0bb4a85440f..14b1536df332 100644 --- a/GkeBackup/src/V1/CreateBackupRequest.php +++ b/GkeBackup/src/V1/CreateBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateBackup. @@ -17,7 +17,7 @@ class CreateBackupRequest extends \Google\Protobuf\Internal\Message { /** * Required. The BackupPlan within which to create the Backup. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * 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, \Google\Cloud\GkeBackup\V1\Backup $ * * @type string $parent * Required. The BackupPlan within which to create the Backup. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * @type \Google\Cloud\GkeBackup\V1\Backup $backup * Optional. The Backup resource to create. * @type string $backup_id @@ -95,7 +95,7 @@ public function __construct($data = NULL) { /** * Required. The BackupPlan within which to create the Backup. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -107,7 +107,7 @@ public function getParent() /** * Required. The BackupPlan within which to create the Backup. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/CreateRestoreChannelRequest.php b/GkeBackup/src/V1/CreateRestoreChannelRequest.php index 5ed7356d2f79..ca1944fb84a1 100644 --- a/GkeBackup/src/V1/CreateRestoreChannelRequest.php +++ b/GkeBackup/src/V1/CreateRestoreChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateRestoreChannel. @@ -17,7 +17,7 @@ class CreateRestoreChannelRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location within which to create the RestoreChannel. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -77,7 +77,7 @@ public static function build(string $parent, \Google\Cloud\GkeBackup\V1\RestoreC * * @type string $parent * Required. The location within which to create the RestoreChannel. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type \Google\Cloud\GkeBackup\V1\RestoreChannel $restore_channel * Required. The RestoreChannel resource object to create. * @type string $restore_channel_id @@ -98,7 +98,7 @@ public function __construct($data = NULL) { /** * Required. The location within which to create the RestoreChannel. - * Format: `projects/*/locations/*` + * 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 location within which to create the RestoreChannel. - * 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/GkeBackup/src/V1/CreateRestorePlanRequest.php b/GkeBackup/src/V1/CreateRestorePlanRequest.php index 8622b9383629..f95fafd306f2 100644 --- a/GkeBackup/src/V1/CreateRestorePlanRequest.php +++ b/GkeBackup/src/V1/CreateRestorePlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateRestorePlan. @@ -17,7 +17,7 @@ class CreateRestorePlanRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location within which to create the RestorePlan. - * Format: `projects/*/locations/*` + * 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, \Google\Cloud\GkeBackup\V1\RestoreP * * @type string $parent * Required. The location within which to create the RestorePlan. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type \Google\Cloud\GkeBackup\V1\RestorePlan $restore_plan * Required. The RestorePlan resource object to create. * @type string $restore_plan_id @@ -95,7 +95,7 @@ public function __construct($data = NULL) { /** * Required. The location within which to create the RestorePlan. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -107,7 +107,7 @@ public function getParent() /** * Required. The location within which to create the RestorePlan. - * 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/GkeBackup/src/V1/CreateRestoreRequest.php b/GkeBackup/src/V1/CreateRestoreRequest.php index 296f4506ffd7..50082481310e 100644 --- a/GkeBackup/src/V1/CreateRestoreRequest.php +++ b/GkeBackup/src/V1/CreateRestoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for CreateRestore. @@ -17,7 +17,7 @@ class CreateRestoreRequest extends \Google\Protobuf\Internal\Message { /** * Required. The RestorePlan within which to create the Restore. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * 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, \Google\Cloud\GkeBackup\V1\Restore * * @type string $parent * Required. The RestorePlan within which to create the Restore. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * @type \Google\Cloud\GkeBackup\V1\Restore $restore * Required. The restore resource to create. * @type string $restore_id @@ -95,7 +95,7 @@ public function __construct($data = NULL) { /** * Required. The RestorePlan within which to create the Restore. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -107,7 +107,7 @@ public function getParent() /** * Required. The RestorePlan within which to create the Restore. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/DeleteBackupChannelRequest.php b/GkeBackup/src/V1/DeleteBackupChannelRequest.php index 728064002c2a..d7b8fd64056a 100644 --- a/GkeBackup/src/V1/DeleteBackupChannelRequest.php +++ b/GkeBackup/src/V1/DeleteBackupChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteBackupChannel. @@ -17,7 +17,7 @@ class DeleteBackupChannelRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $name): self * * @type string $name * Required. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * @type string $etag * Optional. If provided, this value must match the current value of the * target BackupChannel's [etag][google.cloud.gkebackup.v1.BackupChannel.etag] @@ -80,7 +80,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -92,7 +92,7 @@ public function getName() /** * Required. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/DeleteBackupPlanRequest.php b/GkeBackup/src/V1/DeleteBackupPlanRequest.php index a57c8c6b240e..8aae8061a966 100644 --- a/GkeBackup/src/V1/DeleteBackupPlanRequest.php +++ b/GkeBackup/src/V1/DeleteBackupPlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteBackupPlan. @@ -17,7 +17,7 @@ class DeleteBackupPlanRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * 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. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * @type string $etag * Optional. If provided, this value must match the current value of the * target BackupPlan's [etag][google.cloud.gkebackup.v1.BackupPlan.etag] field @@ -68,7 +68,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * 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. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/DeleteBackupRequest.php b/GkeBackup/src/V1/DeleteBackupRequest.php index c6f5067dd84b..fdfc52ad5866 100644 --- a/GkeBackup/src/V1/DeleteBackupRequest.php +++ b/GkeBackup/src/V1/DeleteBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteBackup. @@ -17,7 +17,7 @@ class DeleteBackupRequest extends \Google\Protobuf\Internal\Message { /** * Required. Name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $name): self * * @type string $name * Required. Name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * @type string $etag * Optional. If provided, this value must match the current value of the * target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the @@ -80,7 +80,7 @@ public function __construct($data = NULL) { /** * Required. Name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -92,7 +92,7 @@ public function getName() /** * Required. Name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/DeleteRestoreChannelRequest.php b/GkeBackup/src/V1/DeleteRestoreChannelRequest.php index b0e193b84050..7f177b598e41 100644 --- a/GkeBackup/src/V1/DeleteRestoreChannelRequest.php +++ b/GkeBackup/src/V1/DeleteRestoreChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteRestoreChannel. @@ -17,7 +17,7 @@ class DeleteRestoreChannelRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -55,7 +55,7 @@ public static function build(string $name): self * * @type string $name * Required. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * @type string $etag * Optional. If provided, this value must match the current value of the * target RestoreChannel's @@ -70,7 +70,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -82,7 +82,7 @@ public function getName() /** * Required. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/DeleteRestorePlanRequest.php b/GkeBackup/src/V1/DeleteRestorePlanRequest.php index ffe3f8e7bdcf..07f79c7e263d 100644 --- a/GkeBackup/src/V1/DeleteRestorePlanRequest.php +++ b/GkeBackup/src/V1/DeleteRestorePlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteRestorePlan. @@ -17,7 +17,7 @@ class DeleteRestorePlanRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $name): self * * @type string $name * Required. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * @type string $etag * Optional. If provided, this value must match the current value of the * target RestorePlan's [etag][google.cloud.gkebackup.v1.RestorePlan.etag] @@ -80,7 +80,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -92,7 +92,7 @@ public function getName() /** * Required. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/DeleteRestoreRequest.php b/GkeBackup/src/V1/DeleteRestoreRequest.php index e9f68b67a851..146203e3d5f5 100644 --- a/GkeBackup/src/V1/DeleteRestoreRequest.php +++ b/GkeBackup/src/V1/DeleteRestoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for DeleteRestore. @@ -17,7 +17,7 @@ class DeleteRestoreRequest extends \Google\Protobuf\Internal\Message { /** * Required. Full name of the Restore - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -62,7 +62,7 @@ public static function build(string $name): self * * @type string $name * Required. Full name of the Restore - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * @type string $etag * Optional. If provided, this value must match the current value of the * target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or @@ -80,7 +80,7 @@ public function __construct($data = NULL) { /** * Required. Full name of the Restore - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -92,7 +92,7 @@ public function getName() /** * Required. Full name of the Restore - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/EncryptionKey.php b/GkeBackup/src/V1/EncryptionKey.php index 7bf0dfeb4c10..8225547471b9 100644 --- a/GkeBackup/src/V1/EncryptionKey.php +++ b/GkeBackup/src/V1/EncryptionKey.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defined a customer managed encryption key that will be used to encrypt Backup @@ -18,7 +18,7 @@ class EncryptionKey extends \Google\Protobuf\Internal\Message { /** * Optional. Google Cloud KMS encryption key. Format: - * `projects/*/locations/*/keyRings/*/cryptoKeys/*` + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*` * * Generated from protobuf field string gcp_kms_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { */ @@ -32,7 +32,7 @@ class EncryptionKey extends \Google\Protobuf\Internal\Message * * @type string $gcp_kms_encryption_key * Optional. Google Cloud KMS encryption key. Format: - * `projects/*/locations/*/keyRings/*/cryptoKeys/*` + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*` * } */ public function __construct($data = NULL) { @@ -42,7 +42,7 @@ public function __construct($data = NULL) { /** * Optional. Google Cloud KMS encryption key. Format: - * `projects/*/locations/*/keyRings/*/cryptoKeys/*` + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*` * * Generated from protobuf field string gcp_kms_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @return string @@ -54,7 +54,7 @@ public function getGcpKmsEncryptionKey() /** * Optional. Google Cloud KMS encryption key. Format: - * `projects/*/locations/*/keyRings/*/cryptoKeys/*` + * `projects/{@*}locations/{@*}keyRings/{@*}cryptoKeys/*` * * Generated from protobuf field string gcp_kms_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ExclusionWindow.php b/GkeBackup/src/V1/ExclusionWindow.php index e7289a99ccd6..0ab4a1829ed7 100644 --- a/GkeBackup/src/V1/ExclusionWindow.php +++ b/GkeBackup/src/V1/ExclusionWindow.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a time window during which no backup should diff --git a/GkeBackup/src/V1/ExclusionWindow/DayOfWeekList.php b/GkeBackup/src/V1/ExclusionWindow/DayOfWeekList.php index 78dc1367438f..08005692f05d 100644 --- a/GkeBackup/src/V1/ExclusionWindow/DayOfWeekList.php +++ b/GkeBackup/src/V1/ExclusionWindow/DayOfWeekList.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\ExclusionWindow; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Holds repeated DaysOfWeek values as a container. @@ -28,7 +28,7 @@ class DayOfWeekList extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $days_of_week + * @type int[] $days_of_week * Optional. A list of days of week. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Optional. A list of days of week. * * Generated from protobuf field repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDaysOfWeek() { @@ -52,7 +52,7 @@ public function getDaysOfWeek() * Optional. A list of days of week. * * Generated from protobuf field repeated .google.type.DayOfWeek days_of_week = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param int[] $var * @return $this */ public function setDaysOfWeek($var) @@ -65,4 +65,3 @@ public function setDaysOfWeek($var) } - diff --git a/GkeBackup/src/V1/GetBackupChannelRequest.php b/GkeBackup/src/V1/GetBackupChannelRequest.php index 2f5a8aaeb07e..bf157ee0ea2e 100644 --- a/GkeBackup/src/V1/GetBackupChannelRequest.php +++ b/GkeBackup/src/V1/GetBackupChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetBackupChannel. @@ -17,7 +17,7 @@ class GetBackupChannelRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * 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. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * 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. Fully qualified BackupChannel name. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetBackupIndexDownloadUrlRequest.php b/GkeBackup/src/V1/GetBackupIndexDownloadUrlRequest.php index 27cffcaf5909..354ab606983c 100644 --- a/GkeBackup/src/V1/GetBackupIndexDownloadUrlRequest.php +++ b/GkeBackup/src/V1/GetBackupIndexDownloadUrlRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetBackupIndexDownloadUrl. diff --git a/GkeBackup/src/V1/GetBackupIndexDownloadUrlResponse.php b/GkeBackup/src/V1/GetBackupIndexDownloadUrlResponse.php index cf50392f2664..c34543fb09c3 100644 --- a/GkeBackup/src/V1/GetBackupIndexDownloadUrlResponse.php +++ b/GkeBackup/src/V1/GetBackupIndexDownloadUrlResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for GetBackupIndexDownloadUrl. diff --git a/GkeBackup/src/V1/GetBackupPlanBindingRequest.php b/GkeBackup/src/V1/GetBackupPlanBindingRequest.php index bb348b8ad378..08916b7ac535 100644 --- a/GkeBackup/src/V1/GetBackupPlanBindingRequest.php +++ b/GkeBackup/src/V1/GetBackupPlanBindingRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetBackupPlanBinding. @@ -18,7 +18,7 @@ class GetBackupPlanBindingRequest extends \Google\Protobuf\Internal\Message /** * Required. Fully qualified BackupPlanBinding name. * Format: - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -49,7 +49,7 @@ public static function build(string $name): self * @type string $name * Required. Fully qualified BackupPlanBinding name. * Format: - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * } */ public function __construct($data = NULL) { @@ -60,7 +60,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified BackupPlanBinding name. * Format: - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -73,7 +73,7 @@ public function getName() /** * Required. Fully qualified BackupPlanBinding name. * Format: - * `projects/*/locations/*/backupChannels/*/backupPlanBindings/*` + * `projects/{@*}locations/{@*}backupChannels/{@*}backupPlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetBackupPlanRequest.php b/GkeBackup/src/V1/GetBackupPlanRequest.php index 03ae67bf4f8d..7202aa3a6a7f 100644 --- a/GkeBackup/src/V1/GetBackupPlanRequest.php +++ b/GkeBackup/src/V1/GetBackupPlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetBackupPlan. @@ -17,7 +17,7 @@ class GetBackupPlanRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * 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. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * 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. Fully qualified BackupPlan name. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetBackupRequest.php b/GkeBackup/src/V1/GetBackupRequest.php index 54e5c0220dc0..f66ab23f59ed 100644 --- a/GkeBackup/src/V1/GetBackupRequest.php +++ b/GkeBackup/src/V1/GetBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetBackup. @@ -17,7 +17,7 @@ class GetBackupRequest extends \Google\Protobuf\Internal\Message { /** * Required. Full name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * 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. Full name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Full name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * 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. Full name of the Backup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetRestoreChannelRequest.php b/GkeBackup/src/V1/GetRestoreChannelRequest.php index 2c221cf1ba10..6e74a8c7576b 100644 --- a/GkeBackup/src/V1/GetRestoreChannelRequest.php +++ b/GkeBackup/src/V1/GetRestoreChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetRestoreChannel. @@ -17,7 +17,7 @@ class GetRestoreChannelRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * * 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. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * * 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. Fully qualified RestoreChannel name. - * Format: `projects/*/locations/*/restoreChannels/*` + * Format: `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetRestorePlanBindingRequest.php b/GkeBackup/src/V1/GetRestorePlanBindingRequest.php index 9c9901707866..7b14c15d6db8 100644 --- a/GkeBackup/src/V1/GetRestorePlanBindingRequest.php +++ b/GkeBackup/src/V1/GetRestorePlanBindingRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetRestorePlanBinding. @@ -18,7 +18,7 @@ class GetRestorePlanBindingRequest extends \Google\Protobuf\Internal\Message /** * Required. Fully qualified RestorePlanBinding name. * Format: - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -49,7 +49,7 @@ public static function build(string $name): self * @type string $name * Required. Fully qualified RestorePlanBinding name. * Format: - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * } */ public function __construct($data = NULL) { @@ -60,7 +60,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified RestorePlanBinding name. * Format: - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -73,7 +73,7 @@ public function getName() /** * Required. Fully qualified RestorePlanBinding name. * Format: - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetRestorePlanRequest.php b/GkeBackup/src/V1/GetRestorePlanRequest.php index 697db291690f..f5d3010bd499 100644 --- a/GkeBackup/src/V1/GetRestorePlanRequest.php +++ b/GkeBackup/src/V1/GetRestorePlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetRestorePlan. @@ -17,7 +17,7 @@ class GetRestorePlanRequest extends \Google\Protobuf\Internal\Message { /** * Required. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * 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. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * 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. Fully qualified RestorePlan name. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetRestoreRequest.php b/GkeBackup/src/V1/GetRestoreRequest.php index 601b9cf32159..00390054f8a2 100644 --- a/GkeBackup/src/V1/GetRestoreRequest.php +++ b/GkeBackup/src/V1/GetRestoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetRestore. @@ -17,7 +17,7 @@ class GetRestoreRequest extends \Google\Protobuf\Internal\Message { /** * Required. Name of the restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * 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. Name of the restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Name of the restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * 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. Name of the restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetVolumeBackupRequest.php b/GkeBackup/src/V1/GetVolumeBackupRequest.php index 02814a43a479..23e317c67e32 100644 --- a/GkeBackup/src/V1/GetVolumeBackupRequest.php +++ b/GkeBackup/src/V1/GetVolumeBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetVolumeBackup. @@ -17,7 +17,7 @@ class GetVolumeBackupRequest extends \Google\Protobuf\Internal\Message { /** * Required. Full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*` * * 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. Full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*` * * 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. Full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/GetVolumeRestoreRequest.php b/GkeBackup/src/V1/GetVolumeRestoreRequest.php index 6413d24fb02a..495f02d359cb 100644 --- a/GkeBackup/src/V1/GetVolumeRestoreRequest.php +++ b/GkeBackup/src/V1/GetVolumeRestoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for GetVolumeRestore. @@ -17,7 +17,7 @@ class GetVolumeRestoreRequest extends \Google\Protobuf\Internal\Message { /** * Required. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * * 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. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * } */ public function __construct($data = NULL) { @@ -56,7 +56,7 @@ public function __construct($data = NULL) { /** * Required. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * * 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. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ListBackupChannelsRequest.php b/GkeBackup/src/V1/ListBackupChannelsRequest.php index 9ec9428d6473..86670dbd2c44 100644 --- a/GkeBackup/src/V1/ListBackupChannelsRequest.php +++ b/GkeBackup/src/V1/ListBackupChannelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListBackupChannels. @@ -17,7 +17,7 @@ class ListBackupChannelsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location that contains the BackupChannels to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * 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 location that contains the BackupChannels to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -110,7 +110,7 @@ public function __construct($data = NULL) { /** * Required. The location that contains the BackupChannels to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -122,7 +122,7 @@ public function getParent() /** * Required. The location that contains the BackupChannels to list. - * 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/GkeBackup/src/V1/ListBackupChannelsResponse.php b/GkeBackup/src/V1/ListBackupChannelsResponse.php index c222686a0520..1934a678a7ab 100644 --- a/GkeBackup/src/V1/ListBackupChannelsResponse.php +++ b/GkeBackup/src/V1/ListBackupChannelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListBackupChannels. @@ -44,7 +44,7 @@ class ListBackupChannelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\BackupChannel>|\Google\Protobuf\Internal\RepeatedField $backup_channels + * @type \Google\Cloud\GkeBackup\V1\BackupChannel[] $backup_channels * The list of BackupChannels matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -52,7 +52,7 @@ class ListBackupChannelsResponse extends \Google\Protobuf\Internal\Message * in a subsequent `ListBackupChannels` call to retrieve the next page of * results. If this field is omitted or empty, then there are no more results * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * The list of BackupChannels matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\BackupChannel> */ public function getBackupChannels() { @@ -76,7 +76,7 @@ public function getBackupChannels() * The list of BackupChannels matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; - * @param array<\Google\Cloud\GkeBackup\V1\BackupChannel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\BackupChannel[] $var * @return $this */ public function setBackupChannels($var) @@ -125,7 +125,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() { @@ -136,7 +136,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/GkeBackup/src/V1/ListBackupPlanBindingsRequest.php b/GkeBackup/src/V1/ListBackupPlanBindingsRequest.php index b0ad9acfe2b8..cb08cbf9416e 100644 --- a/GkeBackup/src/V1/ListBackupPlanBindingsRequest.php +++ b/GkeBackup/src/V1/ListBackupPlanBindingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListBackupPlanBindings. @@ -17,7 +17,7 @@ class ListBackupPlanBindingsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The BackupChannel that contains the BackupPlanBindings to list. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * 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 BackupChannel that contains the BackupPlanBindings to list. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -110,7 +110,7 @@ public function __construct($data = NULL) { /** * Required. The BackupChannel that contains the BackupPlanBindings to list. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -122,7 +122,7 @@ public function getParent() /** * Required. The BackupChannel that contains the BackupPlanBindings to list. - * Format: `projects/*/locations/*/backupChannels/*` + * Format: `projects/{@*}locations/{@*}backupChannels/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ListBackupPlanBindingsResponse.php b/GkeBackup/src/V1/ListBackupPlanBindingsResponse.php index a7616fb158de..d98aa359b6d5 100644 --- a/GkeBackup/src/V1/ListBackupPlanBindingsResponse.php +++ b/GkeBackup/src/V1/ListBackupPlanBindingsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListBackupPlanBindings. @@ -44,7 +44,7 @@ class ListBackupPlanBindingsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\BackupPlanBinding>|\Google\Protobuf\Internal\RepeatedField $backup_plan_bindings + * @type \Google\Cloud\GkeBackup\V1\BackupPlanBinding[] $backup_plan_bindings * The list of BackupPlanBindings matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -52,7 +52,7 @@ class ListBackupPlanBindingsResponse extends \Google\Protobuf\Internal\Message * in a subsequent `ListBackupPlanBindingss` call to retrieve the next page of * results. If this field is omitted or empty, then there are no more results * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * The list of BackupPlanBindings matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\BackupPlanBinding> */ public function getBackupPlanBindings() { @@ -76,7 +76,7 @@ public function getBackupPlanBindings() * The list of BackupPlanBindings matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1; - * @param array<\Google\Cloud\GkeBackup\V1\BackupPlanBinding>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\BackupPlanBinding[] $var * @return $this */ public function setBackupPlanBindings($var) @@ -125,7 +125,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() { @@ -136,7 +136,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/GkeBackup/src/V1/ListBackupPlansRequest.php b/GkeBackup/src/V1/ListBackupPlansRequest.php index 9bf1b6dcee01..d5011a4b8acf 100644 --- a/GkeBackup/src/V1/ListBackupPlansRequest.php +++ b/GkeBackup/src/V1/ListBackupPlansRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListBackupPlans. @@ -17,7 +17,7 @@ class ListBackupPlansRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location that contains the BackupPlans to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -80,7 +80,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The location that contains the BackupPlans to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -108,7 +108,7 @@ public function __construct($data = NULL) { /** * Required. The location that contains the BackupPlans to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -120,7 +120,7 @@ public function getParent() /** * Required. The location that contains the BackupPlans to list. - * 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/GkeBackup/src/V1/ListBackupPlansResponse.php b/GkeBackup/src/V1/ListBackupPlansResponse.php index 3c1707f46fd8..7cbc67647de2 100644 --- a/GkeBackup/src/V1/ListBackupPlansResponse.php +++ b/GkeBackup/src/V1/ListBackupPlansResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListBackupPlans. @@ -44,7 +44,7 @@ class ListBackupPlansResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\BackupPlan>|\Google\Protobuf\Internal\RepeatedField $backup_plans + * @type \Google\Cloud\GkeBackup\V1\BackupPlan[] $backup_plans * The list of BackupPlans matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -52,7 +52,7 @@ class ListBackupPlansResponse extends \Google\Protobuf\Internal\Message * in a subsequent `ListBackupPlans` call to retrieve the next page of * results. If this field is omitted or empty, then there are no more results * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * The list of BackupPlans matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\BackupPlan> */ public function getBackupPlans() { @@ -76,7 +76,7 @@ public function getBackupPlans() * The list of BackupPlans matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1; - * @param array<\Google\Cloud\GkeBackup\V1\BackupPlan>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\BackupPlan[] $var * @return $this */ public function setBackupPlans($var) @@ -125,7 +125,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() { @@ -136,7 +136,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/GkeBackup/src/V1/ListBackupsRequest.php b/GkeBackup/src/V1/ListBackupsRequest.php index 0fc3a86a9d42..7bc6f95ba650 100644 --- a/GkeBackup/src/V1/ListBackupsRequest.php +++ b/GkeBackup/src/V1/ListBackupsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListBackups. @@ -17,7 +17,7 @@ class ListBackupsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The BackupPlan that contains the Backups to list. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -87,7 +87,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The BackupPlan that contains the Backups to list. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -118,7 +118,7 @@ public function __construct($data = NULL) { /** * Required. The BackupPlan that contains the Backups to list. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -130,7 +130,7 @@ public function getParent() /** * Required. The BackupPlan that contains the Backups to list. - * Format: `projects/*/locations/*/backupPlans/*` + * Format: `projects/{@*}locations/{@*}backupPlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ListBackupsResponse.php b/GkeBackup/src/V1/ListBackupsResponse.php index 6e5b11740e2c..4cbbd82926e3 100644 --- a/GkeBackup/src/V1/ListBackupsResponse.php +++ b/GkeBackup/src/V1/ListBackupsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListBackups. @@ -43,14 +43,14 @@ class ListBackupsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\Backup>|\Google\Protobuf\Internal\RepeatedField $backups + * @type \Google\Cloud\GkeBackup\V1\Backup[] $backups * The list of Backups matching the given criteria. * @type string $next_page_token * A token which may be sent as * [page_token][google.cloud.gkebackup.v1.ListBackupsRequest.page_token] in a * subsequent `ListBackups` call to retrieve the next page of results. If this * field is omitted or empty, then there are no more results to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * The list of Backups matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.Backup backups = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\Backup> */ public function getBackups() { @@ -74,7 +74,7 @@ public function getBackups() * The list of Backups matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.Backup backups = 1; - * @param array<\Google\Cloud\GkeBackup\V1\Backup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\Backup[] $var * @return $this */ public function setBackups($var) @@ -121,7 +121,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() { @@ -132,7 +132,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/GkeBackup/src/V1/ListRestoreChannelsRequest.php b/GkeBackup/src/V1/ListRestoreChannelsRequest.php index d1fe85896a08..e147abca8477 100644 --- a/GkeBackup/src/V1/ListRestoreChannelsRequest.php +++ b/GkeBackup/src/V1/ListRestoreChannelsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRestoreChannels. @@ -17,7 +17,7 @@ class ListRestoreChannelsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location that contains the RestoreChannels to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * 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 location that contains the RestoreChannels to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -110,7 +110,7 @@ public function __construct($data = NULL) { /** * Required. The location that contains the RestoreChannels to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -122,7 +122,7 @@ public function getParent() /** * Required. The location that contains the RestoreChannels to list. - * 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/GkeBackup/src/V1/ListRestoreChannelsResponse.php b/GkeBackup/src/V1/ListRestoreChannelsResponse.php index 29a0cfbd957d..84aede861f24 100644 --- a/GkeBackup/src/V1/ListRestoreChannelsResponse.php +++ b/GkeBackup/src/V1/ListRestoreChannelsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRestoreChannels. @@ -44,7 +44,7 @@ class ListRestoreChannelsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\RestoreChannel>|\Google\Protobuf\Internal\RepeatedField $restore_channels + * @type \Google\Cloud\GkeBackup\V1\RestoreChannel[] $restore_channels * The list of RestoreChannels matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -52,7 +52,7 @@ class ListRestoreChannelsResponse extends \Google\Protobuf\Internal\Message * in a subsequent `ListRestoreChannels` call to retrieve the next page of * results. If this field is omitted or empty, then there are no more results * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * The list of RestoreChannels matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreChannel restore_channels = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreChannel> */ public function getRestoreChannels() { @@ -76,7 +76,7 @@ public function getRestoreChannels() * The list of RestoreChannels matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreChannel restore_channels = 1; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreChannel>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreChannel[] $var * @return $this */ public function setRestoreChannels($var) @@ -125,7 +125,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() { @@ -136,7 +136,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/GkeBackup/src/V1/ListRestorePlanBindingsRequest.php b/GkeBackup/src/V1/ListRestorePlanBindingsRequest.php index 2a73bec57256..c77c37491506 100644 --- a/GkeBackup/src/V1/ListRestorePlanBindingsRequest.php +++ b/GkeBackup/src/V1/ListRestorePlanBindingsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRestorePlanBindings. @@ -17,7 +17,7 @@ class ListRestorePlanBindingsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The RestoreChannel that contains the ListRestorePlanBindings to - * list. Format: `projects/*/locations/*/restoreChannels/*` + * list. Format: `projects/{@*}locations/{@*}restoreChannels/*` * * 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 RestoreChannel that contains the ListRestorePlanBindings to - * list. Format: `projects/*/locations/*/restoreChannels/*` + * list. Format: `projects/{@*}locations/{@*}restoreChannels/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -110,7 +110,7 @@ public function __construct($data = NULL) { /** * Required. The RestoreChannel that contains the ListRestorePlanBindings to - * list. Format: `projects/*/locations/*/restoreChannels/*` + * list. Format: `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -122,7 +122,7 @@ public function getParent() /** * Required. The RestoreChannel that contains the ListRestorePlanBindings to - * list. Format: `projects/*/locations/*/restoreChannels/*` + * list. Format: `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ListRestorePlanBindingsResponse.php b/GkeBackup/src/V1/ListRestorePlanBindingsResponse.php index b0dae0ca80f1..109f1d774a9f 100644 --- a/GkeBackup/src/V1/ListRestorePlanBindingsResponse.php +++ b/GkeBackup/src/V1/ListRestorePlanBindingsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRestorePlanBindings. @@ -44,7 +44,7 @@ class ListRestorePlanBindingsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\RestorePlanBinding>|\Google\Protobuf\Internal\RepeatedField $restore_plan_bindings + * @type \Google\Cloud\GkeBackup\V1\RestorePlanBinding[] $restore_plan_bindings * The list of RestorePlanBindings matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -52,7 +52,7 @@ class ListRestorePlanBindingsResponse extends \Google\Protobuf\Internal\Message * in a subsequent `ListRestorePlanBindings` call to retrieve the next page of * results. If this field is omitted or empty, then there are no more results * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Unordered list. Locations that could not be reached. * } */ @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * The list of RestorePlanBindings matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestorePlanBinding> */ public function getRestorePlanBindings() { @@ -76,7 +76,7 @@ public function getRestorePlanBindings() * The list of RestorePlanBindings matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1; - * @param array<\Google\Cloud\GkeBackup\V1\RestorePlanBinding>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestorePlanBinding[] $var * @return $this */ public function setRestorePlanBindings($var) @@ -125,7 +125,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() { @@ -136,7 +136,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/GkeBackup/src/V1/ListRestorePlansRequest.php b/GkeBackup/src/V1/ListRestorePlansRequest.php index 232d0124bfa6..ac21fb715d28 100644 --- a/GkeBackup/src/V1/ListRestorePlansRequest.php +++ b/GkeBackup/src/V1/ListRestorePlansRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRestorePlans. @@ -17,7 +17,7 @@ class ListRestorePlansRequest extends \Google\Protobuf\Internal\Message { /** * Required. The location that contains the RestorePlans to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -80,7 +80,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The location that contains the RestorePlans to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -108,7 +108,7 @@ public function __construct($data = NULL) { /** * Required. The location that contains the RestorePlans to list. - * Format: `projects/*/locations/*` + * Format: `projects/{@*}locations/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -120,7 +120,7 @@ public function getParent() /** * Required. The location that contains the RestorePlans to list. - * 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/GkeBackup/src/V1/ListRestorePlansResponse.php b/GkeBackup/src/V1/ListRestorePlansResponse.php index 6f2aa3e5a5e7..9c372f57fee7 100644 --- a/GkeBackup/src/V1/ListRestorePlansResponse.php +++ b/GkeBackup/src/V1/ListRestorePlansResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRestorePlans. @@ -44,7 +44,7 @@ class ListRestorePlansResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\RestorePlan>|\Google\Protobuf\Internal\RepeatedField $restore_plans + * @type \Google\Cloud\GkeBackup\V1\RestorePlan[] $restore_plans * The list of RestorePlans matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -52,7 +52,7 @@ class ListRestorePlansResponse extends \Google\Protobuf\Internal\Message * in a subsequent `ListRestorePlans` call to retrieve the next page of * results. If this field is omitted or empty, then there are no more results * to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -65,7 +65,7 @@ public function __construct($data = NULL) { * The list of RestorePlans matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestorePlan> */ public function getRestorePlans() { @@ -76,7 +76,7 @@ public function getRestorePlans() * The list of RestorePlans matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1; - * @param array<\Google\Cloud\GkeBackup\V1\RestorePlan>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestorePlan[] $var * @return $this */ public function setRestorePlans($var) @@ -125,7 +125,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() { @@ -136,7 +136,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/GkeBackup/src/V1/ListRestoresRequest.php b/GkeBackup/src/V1/ListRestoresRequest.php index cabe7916198f..0255dd554209 100644 --- a/GkeBackup/src/V1/ListRestoresRequest.php +++ b/GkeBackup/src/V1/ListRestoresRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListRestores. @@ -17,7 +17,7 @@ class ListRestoresRequest extends \Google\Protobuf\Internal\Message { /** * Required. The RestorePlan that contains the Restores to list. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -80,7 +80,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The RestorePlan that contains the Restores to list. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -108,7 +108,7 @@ public function __construct($data = NULL) { /** * Required. The RestorePlan that contains the Restores to list. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -120,7 +120,7 @@ public function getParent() /** * Required. The RestorePlan that contains the Restores to list. - * Format: `projects/*/locations/*/restorePlans/*` + * Format: `projects/{@*}locations/{@*}restorePlans/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ListRestoresResponse.php b/GkeBackup/src/V1/ListRestoresResponse.php index 03c3d35a9e61..5b5a2d0b71ec 100644 --- a/GkeBackup/src/V1/ListRestoresResponse.php +++ b/GkeBackup/src/V1/ListRestoresResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListRestores. @@ -43,14 +43,14 @@ class ListRestoresResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\Restore>|\Google\Protobuf\Internal\RepeatedField $restores + * @type \Google\Cloud\GkeBackup\V1\Restore[] $restores * The list of Restores matching the given criteria. * @type string $next_page_token * A token which may be sent as * [page_token][google.cloud.gkebackup.v1.ListRestoresRequest.page_token] in a * subsequent `ListRestores` call to retrieve the next page of results. If * this field is omitted or empty, then there are no more results to return. - * @type array|\Google\Protobuf\Internal\RepeatedField $unreachable + * @type string[] $unreachable * Locations that could not be reached. * } */ @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * The list of Restores matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.Restore restores = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\Restore> */ public function getRestores() { @@ -74,7 +74,7 @@ public function getRestores() * The list of Restores matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.Restore restores = 1; - * @param array<\Google\Cloud\GkeBackup\V1\Restore>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\Restore[] $var * @return $this */ public function setRestores($var) @@ -121,7 +121,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() { @@ -132,7 +132,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/GkeBackup/src/V1/ListVolumeBackupsRequest.php b/GkeBackup/src/V1/ListVolumeBackupsRequest.php index ad352e4ccd0d..e7de3687b374 100644 --- a/GkeBackup/src/V1/ListVolumeBackupsRequest.php +++ b/GkeBackup/src/V1/ListVolumeBackupsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListVolumeBackups. @@ -17,7 +17,7 @@ class ListVolumeBackupsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The Backup that contains the VolumeBackups to list. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -80,7 +80,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The Backup that contains the VolumeBackups to list. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -108,7 +108,7 @@ public function __construct($data = NULL) { /** * Required. The Backup that contains the VolumeBackups to list. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -120,7 +120,7 @@ public function getParent() /** * Required. The Backup that contains the VolumeBackups to list. - * Format: `projects/*/locations/*/backupPlans/*/backups/*` + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ListVolumeBackupsResponse.php b/GkeBackup/src/V1/ListVolumeBackupsResponse.php index b8f1edc3cd20..b283bed3a18b 100644 --- a/GkeBackup/src/V1/ListVolumeBackupsResponse.php +++ b/GkeBackup/src/V1/ListVolumeBackupsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListVolumeBackups. @@ -38,7 +38,7 @@ class ListVolumeBackupsResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\VolumeBackup>|\Google\Protobuf\Internal\RepeatedField $volume_backups + * @type \Google\Cloud\GkeBackup\V1\VolumeBackup[] $volume_backups * The list of VolumeBackups matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of VolumeBackups matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\VolumeBackup> */ public function getVolumeBackups() { @@ -68,7 +68,7 @@ public function getVolumeBackups() * The list of VolumeBackups matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.VolumeBackup volume_backups = 1; - * @param array<\Google\Cloud\GkeBackup\V1\VolumeBackup>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\VolumeBackup[] $var * @return $this */ public function setVolumeBackups($var) diff --git a/GkeBackup/src/V1/ListVolumeRestoresRequest.php b/GkeBackup/src/V1/ListVolumeRestoresRequest.php index 3fbbaf0291a3..8c6fc6e00278 100644 --- a/GkeBackup/src/V1/ListVolumeRestoresRequest.php +++ b/GkeBackup/src/V1/ListVolumeRestoresRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for ListVolumeRestores. @@ -17,7 +17,7 @@ class ListVolumeRestoresRequest extends \Google\Protobuf\Internal\Message { /** * Required. The Restore that contains the VolumeRestores to list. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -80,7 +80,7 @@ public static function build(string $parent): self * * @type string $parent * Required. The Restore that contains the VolumeRestores to list. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * @type int $page_size * Optional. The target number of results to return in a single response. * If not specified, a default value will be chosen by the service. @@ -108,7 +108,7 @@ public function __construct($data = NULL) { /** * Required. The Restore that contains the VolumeRestores to list. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -120,7 +120,7 @@ public function getParent() /** * Required. The Restore that contains the VolumeRestores to list. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/ListVolumeRestoresResponse.php b/GkeBackup/src/V1/ListVolumeRestoresResponse.php index 8fc1e433c5e5..c99e293c156a 100644 --- a/GkeBackup/src/V1/ListVolumeRestoresResponse.php +++ b/GkeBackup/src/V1/ListVolumeRestoresResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Response message for ListVolumeRestores. @@ -38,7 +38,7 @@ class ListVolumeRestoresResponse extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\VolumeRestore>|\Google\Protobuf\Internal\RepeatedField $volume_restores + * @type \Google\Cloud\GkeBackup\V1\VolumeRestore[] $volume_restores * The list of VolumeRestores matching the given criteria. * @type string $next_page_token * A token which may be sent as @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * The list of VolumeRestores matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\VolumeRestore> */ public function getVolumeRestores() { @@ -68,7 +68,7 @@ public function getVolumeRestores() * The list of VolumeRestores matching the given criteria. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1; - * @param array<\Google\Cloud\GkeBackup\V1\VolumeRestore>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\VolumeRestore[] $var * @return $this */ public function setVolumeRestores($var) diff --git a/GkeBackup/src/V1/NamespacedName.php b/GkeBackup/src/V1/NamespacedName.php index ede7ff3d8c39..ecc3eb16e7d8 100644 --- a/GkeBackup/src/V1/NamespacedName.php +++ b/GkeBackup/src/V1/NamespacedName.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A reference to a namespaced resource in Kubernetes. diff --git a/GkeBackup/src/V1/NamespacedNames.php b/GkeBackup/src/V1/NamespacedNames.php index ea0494a0e587..a7a932bef638 100644 --- a/GkeBackup/src/V1/NamespacedNames.php +++ b/GkeBackup/src/V1/NamespacedNames.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A list of namespaced Kubernetes resources. @@ -28,7 +28,7 @@ class NamespacedNames extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\NamespacedName>|\Google\Protobuf\Internal\RepeatedField $namespaced_names + * @type \Google\Cloud\GkeBackup\V1\NamespacedName[] $namespaced_names * Optional. A list of namespaced Kubernetes resources. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Optional. A list of namespaced Kubernetes resources. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\NamespacedName> */ public function getNamespacedNames() { @@ -52,7 +52,7 @@ public function getNamespacedNames() * Optional. A list of namespaced Kubernetes resources. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\NamespacedName>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\NamespacedName[] $var * @return $this */ public function setNamespacedNames($var) diff --git a/GkeBackup/src/V1/Namespaces.php b/GkeBackup/src/V1/Namespaces.php index ffea51721d9b..0ad80ee14534 100644 --- a/GkeBackup/src/V1/Namespaces.php +++ b/GkeBackup/src/V1/Namespaces.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A list of Kubernetes Namespaces. @@ -28,7 +28,7 @@ class Namespaces extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $namespaces + * @type string[] $namespaces * Optional. A list of Kubernetes Namespaces. * } */ @@ -41,7 +41,7 @@ public function __construct($data = NULL) { * Optional. A list of Kubernetes Namespaces. * * Generated from protobuf field repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaces() { @@ -52,7 +52,7 @@ public function getNamespaces() * Optional. A list of Kubernetes Namespaces. * * Generated from protobuf field repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaces($var) diff --git a/GkeBackup/src/V1/OperationMetadata.php b/GkeBackup/src/V1/OperationMetadata.php index 1ecf6cae6f22..87e78fac62dc 100644 --- a/GkeBackup/src/V1/OperationMetadata.php +++ b/GkeBackup/src/V1/OperationMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\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/GkeBackup/src/V1/ResourceSelector.php b/GkeBackup/src/V1/ResourceSelector.php index 8a23e047b719..a0da66af254a 100644 --- a/GkeBackup/src/V1/ResourceSelector.php +++ b/GkeBackup/src/V1/ResourceSelector.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a selector to identify a single or a group of resources. diff --git a/GkeBackup/src/V1/Restore.php b/GkeBackup/src/V1/Restore.php index 4df2f9bdbd85..09c47c8ed4a9 100644 --- a/GkeBackup/src/V1/Restore.php +++ b/GkeBackup/src/V1/Restore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents both a request to Restore some portion of a Backup into @@ -18,7 +18,7 @@ class Restore extends \Google\Protobuf\Internal\Message { /** * Output only. The full name of the Restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -55,7 +55,7 @@ class Restore extends \Google\Protobuf\Internal\Message * this Restore will restore. Note that this Backup must be a sub-resource of * the RestorePlan's * [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format: - * `projects/*/locations/*/backupPlans/*/backups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*`. * * Generated from protobuf field string backup = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -63,8 +63,8 @@ class Restore extends \Google\Protobuf\Internal\Message /** * Output only. The target cluster into which this Restore will restore data. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * Inherited from parent RestorePlan's * [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value. * @@ -173,7 +173,7 @@ class Restore extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. The full name of the Restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * @type string $uid * Output only. Server generated global unique identifier of * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. @@ -190,12 +190,12 @@ class Restore extends \Google\Protobuf\Internal\Message * this Restore will restore. Note that this Backup must be a sub-resource of * the RestorePlan's * [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format: - * `projects/*/locations/*/backupPlans/*/backups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*`. * @type string $cluster * Output only. The target cluster into which this Restore will restore data. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * Inherited from parent RestorePlan's * [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value. * @type \Google\Cloud\GkeBackup\V1\RestoreConfig $restore_config @@ -240,7 +240,7 @@ class Restore extends \Google\Protobuf\Internal\Message * [namespaced_resource_restore_mode][google.cloud.gkebackup.v1.RestoreConfig.namespaced_resource_restore_mode] * is set to `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or * `MERGE_REPLACE_ON_CONFLICT`. - * @type array<\Google\Cloud\GkeBackup\V1\VolumeDataRestorePolicyOverride>|\Google\Protobuf\Internal\RepeatedField $volume_data_restore_policy_overrides + * @type \Google\Cloud\GkeBackup\V1\VolumeDataRestorePolicyOverride[] $volume_data_restore_policy_overrides * Optional. Immutable. Overrides the volume data restore policies selected in * the Restore Config for override-scoped resources. * } @@ -252,7 +252,7 @@ public function __construct($data = NULL) { /** * Output only. The full name of the Restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -264,7 +264,7 @@ public function getName() /** * Output only. The full name of the Restore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -412,7 +412,7 @@ public function setDescription($var) * this Restore will restore. Note that this Backup must be a sub-resource of * the RestorePlan's * [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format: - * `projects/*/locations/*/backupPlans/*/backups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*`. * * Generated from protobuf field string backup = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -428,7 +428,7 @@ public function getBackup() * this Restore will restore. Note that this Backup must be a sub-resource of * the RestorePlan's * [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format: - * `projects/*/locations/*/backupPlans/*/backups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/*`. * * Generated from protobuf field string backup = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -445,8 +445,8 @@ public function setBackup($var) /** * Output only. The target cluster into which this Restore will restore data. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * Inherited from parent RestorePlan's * [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value. * @@ -461,8 +461,8 @@ public function getCluster() /** * Output only. The target cluster into which this Restore will restore data. * Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * Inherited from parent RestorePlan's * [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value. * @@ -839,7 +839,7 @@ public function setFilter($var) * the Restore Config for override-scoped resources. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.VolumeDataRestorePolicyOverride volume_data_restore_policy_overrides = 19 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\VolumeDataRestorePolicyOverride> */ public function getVolumeDataRestorePolicyOverrides() { @@ -851,7 +851,7 @@ public function getVolumeDataRestorePolicyOverrides() * the Restore Config for override-scoped resources. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.VolumeDataRestorePolicyOverride volume_data_restore_policy_overrides = 19 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\VolumeDataRestorePolicyOverride>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\VolumeDataRestorePolicyOverride[] $var * @return $this */ public function setVolumeDataRestorePolicyOverrides($var) diff --git a/GkeBackup/src/V1/Restore/Filter.php b/GkeBackup/src/V1/Restore/Filter.php index ea224f4519b9..e3868103366d 100644 --- a/GkeBackup/src/V1/Restore/Filter.php +++ b/GkeBackup/src/V1/Restore/Filter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\Restore; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the filter for `Restore`. This filter can be used to further @@ -43,12 +43,12 @@ class Filter extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\ResourceSelector>|\Google\Protobuf\Internal\RepeatedField $inclusion_filters + * @type \Google\Cloud\GkeBackup\V1\ResourceSelector[] $inclusion_filters * Optional. Selects resources for restoration. If specified, only resources * which match `inclusion_filters` will be selected for restoration. A * resource will be selected if it matches any `ResourceSelector` of the * `inclusion_filters`. - * @type array<\Google\Cloud\GkeBackup\V1\ResourceSelector>|\Google\Protobuf\Internal\RepeatedField $exclusion_filters + * @type \Google\Cloud\GkeBackup\V1\ResourceSelector[] $exclusion_filters * Optional. Excludes resources from restoration. If specified, * a resource will not be restored if it matches * any `ResourceSelector` of the `exclusion_filters`. @@ -66,7 +66,7 @@ public function __construct($data = NULL) { * `inclusion_filters`. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.ResourceSelector inclusion_filters = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\ResourceSelector> */ public function getInclusionFilters() { @@ -80,7 +80,7 @@ public function getInclusionFilters() * `inclusion_filters`. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.ResourceSelector inclusion_filters = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\ResourceSelector>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\ResourceSelector[] $var * @return $this */ public function setInclusionFilters($var) @@ -97,7 +97,7 @@ public function setInclusionFilters($var) * any `ResourceSelector` of the `exclusion_filters`. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.ResourceSelector exclusion_filters = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\ResourceSelector> */ public function getExclusionFilters() { @@ -110,7 +110,7 @@ public function getExclusionFilters() * any `ResourceSelector` of the `exclusion_filters`. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.ResourceSelector exclusion_filters = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\ResourceSelector>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\ResourceSelector[] $var * @return $this */ public function setExclusionFilters($var) @@ -123,4 +123,3 @@ public function setExclusionFilters($var) } - diff --git a/GkeBackup/src/V1/Restore/State.php b/GkeBackup/src/V1/Restore/State.php index 5ac14c89dc05..ddd1d0c1926d 100644 --- a/GkeBackup/src/V1/Restore/State.php +++ b/GkeBackup/src/V1/Restore/State.php @@ -91,4 +91,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/RestoreChannel.php b/GkeBackup/src/V1/RestoreChannel.php index 7ffa69d09649..494af3da9f4e 100644 --- a/GkeBackup/src/V1/RestoreChannel.php +++ b/GkeBackup/src/V1/RestoreChannel.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A RestoreChannel imposes constraints on where backups can be restored. @@ -20,7 +20,7 @@ class RestoreChannel extends \Google\Protobuf\Internal\Message { /** * Identifier. The fully qualified name of the RestoreChannel. - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ @@ -95,7 +95,7 @@ class RestoreChannel extends \Google\Protobuf\Internal\Message * * @type string $name * Identifier. The fully qualified name of the RestoreChannel. - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * @type string $destination_project * Required. Immutable. The project into which the backups will be restored. * The format is `projects/{projectId}` or `projects/{projectNumber}`. @@ -134,7 +134,7 @@ public function __construct($data = NULL) { /** * Identifier. The fully qualified name of the RestoreChannel. - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string @@ -146,7 +146,7 @@ public function getName() /** * Identifier. The fully qualified name of the RestoreChannel. - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var diff --git a/GkeBackup/src/V1/RestoreConfig.php b/GkeBackup/src/V1/RestoreConfig.php index 0358c01cb4d4..8bbb83a1fffe 100644 --- a/GkeBackup/src/V1/RestoreConfig.php +++ b/GkeBackup/src/V1/RestoreConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Configuration of a restore. @@ -127,19 +127,19 @@ class RestoreConfig extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\GkeBackup\V1\Namespaces $excluded_namespaces * A list of selected namespaces excluded from restoration. All * namespaces except those in this list will be restored. - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\SubstitutionRule>|\Google\Protobuf\Internal\RepeatedField $substitution_rules + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\SubstitutionRule[] $substitution_rules * Optional. A list of transformation rules to be applied against Kubernetes * resources as they are selected for restoration from a Backup. Rules are * executed in order defined - this order matters, as changes made by a rule * may impact the filtering logic of subsequent rules. An empty list means no * substitution will occur. - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRule>|\Google\Protobuf\Internal\RepeatedField $transformation_rules + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRule[] $transformation_rules * Optional. A list of transformation rules to be applied against Kubernetes * resources as they are selected for restoration from a Backup. Rules are * executed in order defined - this order matters, as changes made by a rule * may impact the filtering logic of subsequent rules. An empty list means no * transformation will occur. - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\VolumeDataRestorePolicyBinding>|\Google\Protobuf\Internal\RepeatedField $volume_data_restore_policy_bindings + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\VolumeDataRestorePolicyBinding[] $volume_data_restore_policy_bindings * Optional. A table that binds volumes by their scope to a restore policy. * Bindings must have a unique scope. Any volumes not scoped in the bindings * are subject to the policy defined in volume_data_restore_policy. @@ -463,7 +463,7 @@ public function setExcludedNamespaces($var) * substitution will occur. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\SubstitutionRule> */ public function getSubstitutionRules() { @@ -478,7 +478,7 @@ public function getSubstitutionRules() * substitution will occur. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\SubstitutionRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\SubstitutionRule[] $var * @return $this */ public function setSubstitutionRules($var) @@ -497,7 +497,7 @@ public function setSubstitutionRules($var) * transformation will occur. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRule> */ public function getTransformationRules() { @@ -512,7 +512,7 @@ public function getTransformationRules() * transformation will occur. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRule>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRule[] $var * @return $this */ public function setTransformationRules($var) @@ -529,7 +529,7 @@ public function setTransformationRules($var) * are subject to the policy defined in volume_data_restore_policy. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\VolumeDataRestorePolicyBinding> */ public function getVolumeDataRestorePolicyBindings() { @@ -542,7 +542,7 @@ public function getVolumeDataRestorePolicyBindings() * are subject to the policy defined in volume_data_restore_policy. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\VolumeDataRestorePolicyBinding>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\VolumeDataRestorePolicyBinding[] $var * @return $this */ public function setVolumeDataRestorePolicyBindings($var) diff --git a/GkeBackup/src/V1/RestoreConfig/ClusterResourceConflictPolicy.php b/GkeBackup/src/V1/RestoreConfig/ClusterResourceConflictPolicy.php index 7a0404f9623d..44e7c85ca8bc 100644 --- a/GkeBackup/src/V1/RestoreConfig/ClusterResourceConflictPolicy.php +++ b/GkeBackup/src/V1/RestoreConfig/ClusterResourceConflictPolicy.php @@ -64,4 +64,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/RestoreConfig/ClusterResourceRestoreScope.php b/GkeBackup/src/V1/RestoreConfig/ClusterResourceRestoreScope.php index 1700d4aec1f6..effb2e4eed2b 100644 --- a/GkeBackup/src/V1/RestoreConfig/ClusterResourceRestoreScope.php +++ b/GkeBackup/src/V1/RestoreConfig/ClusterResourceRestoreScope.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines the scope of cluster-scoped resources to restore. @@ -71,11 +71,11 @@ class ClusterResourceRestoreScope extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $selected_group_kinds + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $selected_group_kinds * Optional. A list of cluster-scoped resource group kinds to restore from * the backup. If specified, only the selected resources will be restored. * Mutually exclusive to any other field in the message. - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $excluded_group_kinds + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $excluded_group_kinds * Optional. A list of cluster-scoped resource group kinds to NOT restore * from the backup. If specified, all valid cluster-scoped resources will be * restored except for those specified in the list. @@ -100,7 +100,7 @@ public function __construct($data = NULL) { * Mutually exclusive to any other field in the message. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind> */ public function getSelectedGroupKinds() { @@ -113,7 +113,7 @@ public function getSelectedGroupKinds() * Mutually exclusive to any other field in the message. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $var * @return $this */ public function setSelectedGroupKinds($var) @@ -131,7 +131,7 @@ public function setSelectedGroupKinds($var) * Mutually exclusive to any other field in the message. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind> */ public function getExcludedGroupKinds() { @@ -145,7 +145,7 @@ public function getExcludedGroupKinds() * Mutually exclusive to any other field in the message. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $var * @return $this */ public function setExcludedGroupKinds($var) @@ -216,4 +216,3 @@ public function setNoGroupKinds($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/GroupKind.php b/GkeBackup/src/V1/RestoreConfig/GroupKind.php index 9b4895c64067..16fea3775e02 100644 --- a/GkeBackup/src/V1/RestoreConfig/GroupKind.php +++ b/GkeBackup/src/V1/RestoreConfig/GroupKind.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * This is a direct map to the Kubernetes GroupKind type @@ -117,4 +117,3 @@ public function setResourceKind($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/NamespacedResourceRestoreMode.php b/GkeBackup/src/V1/RestoreConfig/NamespacedResourceRestoreMode.php index 54bc9a892d85..8bdd0407f91d 100644 --- a/GkeBackup/src/V1/RestoreConfig/NamespacedResourceRestoreMode.php +++ b/GkeBackup/src/V1/RestoreConfig/NamespacedResourceRestoreMode.php @@ -115,4 +115,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/RestoreConfig/ResourceFilter.php b/GkeBackup/src/V1/RestoreConfig/ResourceFilter.php index 0dfae856ee30..9ca085dca0d4 100644 --- a/GkeBackup/src/V1/RestoreConfig/ResourceFilter.php +++ b/GkeBackup/src/V1/RestoreConfig/ResourceFilter.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * ResourceFilter specifies matching criteria to limit the scope of a @@ -54,13 +54,13 @@ class ResourceFilter extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $namespaces + * @type string[] $namespaces * Optional. (Filtering parameter) Any resource subject to transformation * must be contained within one of the listed Kubernetes Namespace in the * Backup. If this field is not provided, no namespace filtering will be * performed (all resources in all Namespaces, including all cluster-scoped * resources, will be candidates for transformation). - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $group_kinds + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $group_kinds * Optional. (Filtering parameter) Any resource subject to transformation * must belong to one of the listed "types". If this field is not provided, * no type filtering will be performed (all resources of all types matching @@ -87,7 +87,7 @@ public function __construct($data = NULL) { * resources, will be candidates for transformation). * * Generated from protobuf field repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getNamespaces() { @@ -102,7 +102,7 @@ public function getNamespaces() * resources, will be candidates for transformation). * * Generated from protobuf field repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setNamespaces($var) @@ -120,7 +120,7 @@ public function setNamespaces($var) * previous filtering parameters will be candidates for transformation). * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind> */ public function getGroupKinds() { @@ -134,7 +134,7 @@ public function getGroupKinds() * previous filtering parameters will be candidates for transformation). * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $var * @return $this */ public function setGroupKinds($var) @@ -183,4 +183,3 @@ public function setJsonPath($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/RestoreOrder.php b/GkeBackup/src/V1/RestoreConfig/RestoreOrder.php index 5d143f1454a3..e65def8ca5bb 100644 --- a/GkeBackup/src/V1/RestoreConfig/RestoreOrder.php +++ b/GkeBackup/src/V1/RestoreConfig/RestoreOrder.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Allows customers to specify dependencies between resources @@ -31,7 +31,7 @@ class RestoreOrder extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\RestoreOrder\GroupKindDependency>|\Google\Protobuf\Internal\RepeatedField $group_kind_dependencies + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\RestoreOrder\GroupKindDependency[] $group_kind_dependencies * Optional. Contains a list of group kind dependency pairs provided * by the customer, that is used by Backup for GKE to * generate a group kind restore order. @@ -48,7 +48,7 @@ public function __construct($data = NULL) { * generate a group kind restore order. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\RestoreOrder\GroupKindDependency> */ public function getGroupKindDependencies() { @@ -61,7 +61,7 @@ public function getGroupKindDependencies() * generate a group kind restore order. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency group_kind_dependencies = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\RestoreOrder\GroupKindDependency>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\RestoreOrder\GroupKindDependency[] $var * @return $this */ public function setGroupKindDependencies($var) @@ -74,4 +74,3 @@ public function setGroupKindDependencies($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/RestoreOrder/GroupKindDependency.php b/GkeBackup/src/V1/RestoreConfig/RestoreOrder/GroupKindDependency.php index b69adae9428d..22de345017bf 100644 --- a/GkeBackup/src/V1/RestoreConfig/RestoreOrder/GroupKindDependency.php +++ b/GkeBackup/src/V1/RestoreConfig/RestoreOrder/GroupKindDependency.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig\RestoreOrder; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines a dependency between two group kinds. @@ -127,4 +127,3 @@ public function setRequiring($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/SubstitutionRule.php b/GkeBackup/src/V1/RestoreConfig/SubstitutionRule.php index ba2e53afdd16..a106065ac2a1 100644 --- a/GkeBackup/src/V1/RestoreConfig/SubstitutionRule.php +++ b/GkeBackup/src/V1/RestoreConfig/SubstitutionRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A transformation rule to be applied against Kubernetes resources as they @@ -80,7 +80,7 @@ class SubstitutionRule extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $target_namespaces + * @type string[] $target_namespaces * Optional. (Filtering parameter) Any resource subject to substitution must * be contained within one of the listed Kubernetes Namespace in the Backup. * If this field is not provided, no namespace filtering will be performed @@ -88,7 +88,7 @@ class SubstitutionRule extends \Google\Protobuf\Internal\Message * will be candidates for substitution). * To mix cluster-scoped and namespaced resources in the same rule, use an * empty string ("") as one of the target namespaces. - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $target_group_kinds + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $target_group_kinds * Optional. (Filtering parameter) Any resource subject to substitution must * belong to one of the listed "types". If this field is not provided, no * type filtering will be performed (all resources of all types matching @@ -133,7 +133,7 @@ public function __construct($data = NULL) { * empty string ("") as one of the target namespaces. * * Generated from protobuf field repeated string target_namespaces = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getTargetNamespaces() { @@ -150,7 +150,7 @@ public function getTargetNamespaces() * empty string ("") as one of the target namespaces. * * Generated from protobuf field repeated string target_namespaces = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setTargetNamespaces($var) @@ -168,7 +168,7 @@ public function setTargetNamespaces($var) * previous filtering parameters will be candidates for substitution). * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind> */ public function getTargetGroupKinds() { @@ -182,7 +182,7 @@ public function getTargetGroupKinds() * previous filtering parameters will be candidates for substitution). * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind[] $var * @return $this */ public function setTargetGroupKinds($var) @@ -307,4 +307,3 @@ public function setNewValue($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/TransformationRule.php b/GkeBackup/src/V1/RestoreConfig/TransformationRule.php index 10dfcf33eb7d..2c4e5b72802f 100644 --- a/GkeBackup/src/V1/RestoreConfig/TransformationRule.php +++ b/GkeBackup/src/V1/RestoreConfig/TransformationRule.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A transformation rule to be applied against Kubernetes resources as they @@ -49,7 +49,7 @@ class TransformationRule extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRuleAction>|\Google\Protobuf\Internal\RepeatedField $field_actions + * @type \Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRuleAction[] $field_actions * Required. A list of transformation rule actions to take against candidate * resources. Actions are executed in order defined - this order matters, as * they could potentially interfere with each other and the first operation @@ -76,7 +76,7 @@ public function __construct($data = NULL) { * could affect the outcome of the second operation. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRuleAction> */ public function getFieldActions() { @@ -90,7 +90,7 @@ public function getFieldActions() * could affect the outcome of the second operation. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction field_actions = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRuleAction>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\RestoreConfig\TransformationRuleAction[] $var * @return $this */ public function setFieldActions($var) @@ -173,4 +173,3 @@ public function setDescription($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction.php b/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction.php index 86d4aab77c9f..0acbc7643110 100644 --- a/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction.php +++ b/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * TransformationRuleAction defines a TransformationRule action based on the @@ -180,4 +180,3 @@ public function setValue($var) } - diff --git a/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction/Op.php b/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction/Op.php index 2ec92bc9c0c3..8bcd4d911cb3 100644 --- a/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction/Op.php +++ b/GkeBackup/src/V1/RestoreConfig/TransformationRuleAction/Op.php @@ -99,4 +99,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicy.php b/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicy.php index 3f95dc994973..03b69e8e8c05 100644 --- a/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicy.php +++ b/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicy.php @@ -72,4 +72,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicyBinding.php b/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicyBinding.php index 94ce564decb5..fb2434aa1c01 100644 --- a/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicyBinding.php +++ b/GkeBackup/src/V1/RestoreConfig/VolumeDataRestorePolicyBinding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1\RestoreConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Binds resources in the scope to the given VolumeDataRestorePolicy. @@ -114,4 +114,3 @@ public function getScope() } - diff --git a/GkeBackup/src/V1/RestorePlan.php b/GkeBackup/src/V1/RestorePlan.php index ac97d27f48f2..9b90a4ee99f2 100644 --- a/GkeBackup/src/V1/RestorePlan.php +++ b/GkeBackup/src/V1/RestorePlan.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * The configuration of a potential series of Restore operations to be performed @@ -18,7 +18,7 @@ class RestorePlan extends \Google\Protobuf\Internal\Message { /** * Output only. The full name of the RestorePlan resource. - * Format: `projects/*/locations/*/restorePlans/*`. + * Format: `projects/{@*}locations/{@*}restorePlans/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -54,7 +54,7 @@ class RestorePlan extends \Google\Protobuf\Internal\Message * Required. Immutable. A reference to the * [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may * be used as the source for Restores created via this RestorePlan. Format: - * `projects/*/locations/*/backupPlans/*`. + * `projects/{@*}locations/{@*}backupPlans/*`. * * Generated from protobuf field string backup_plan = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -63,8 +63,8 @@ class RestorePlan extends \Google\Protobuf\Internal\Message * Required. Immutable. The target cluster into which Restores created via * this RestorePlan will restore data. NOTE: the cluster's region must be the * same as the RestorePlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ @@ -115,7 +115,7 @@ class RestorePlan extends \Google\Protobuf\Internal\Message * Output only. The fully qualified name of the RestoreChannel to be used to * create a RestorePlan. This field is set only if the `backup_plan` is in a * different project than the RestorePlan. Format: - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string restore_channel = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ @@ -129,7 +129,7 @@ class RestorePlan extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. The full name of the RestorePlan resource. - * Format: `projects/*/locations/*/restorePlans/*`. + * Format: `projects/{@*}locations/{@*}restorePlans/*`. * @type string $uid * Output only. Server generated global unique identifier of * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. @@ -145,13 +145,13 @@ class RestorePlan extends \Google\Protobuf\Internal\Message * Required. Immutable. A reference to the * [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may * be used as the source for Restores created via this RestorePlan. Format: - * `projects/*/locations/*/backupPlans/*`. + * `projects/{@*}locations/{@*}backupPlans/*`. * @type string $cluster * Required. Immutable. The target cluster into which Restores created via * this RestorePlan will restore data. NOTE: the cluster's region must be the * same as the RestorePlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * @type \Google\Cloud\GkeBackup\V1\RestoreConfig $restore_config * Required. Configuration of Restores created via this RestorePlan. * @type array|\Google\Protobuf\Internal\MapField $labels @@ -178,7 +178,7 @@ class RestorePlan extends \Google\Protobuf\Internal\Message * Output only. The fully qualified name of the RestoreChannel to be used to * create a RestorePlan. This field is set only if the `backup_plan` is in a * different project than the RestorePlan. Format: - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * } */ public function __construct($data = NULL) { @@ -188,7 +188,7 @@ public function __construct($data = NULL) { /** * Output only. The full name of the RestorePlan resource. - * Format: `projects/*/locations/*/restorePlans/*`. + * Format: `projects/{@*}locations/{@*}restorePlans/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -200,7 +200,7 @@ public function getName() /** * Output only. The full name of the RestorePlan resource. - * Format: `projects/*/locations/*/restorePlans/*`. + * Format: `projects/{@*}locations/{@*}restorePlans/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -348,7 +348,7 @@ public function setDescription($var) * Required. Immutable. A reference to the * [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may * be used as the source for Restores created via this RestorePlan. Format: - * `projects/*/locations/*/backupPlans/*`. + * `projects/{@*}locations/{@*}backupPlans/*`. * * Generated from protobuf field string backup_plan = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -362,7 +362,7 @@ public function getBackupPlan() * Required. Immutable. A reference to the * [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may * be used as the source for Restores created via this RestorePlan. Format: - * `projects/*/locations/*/backupPlans/*`. + * `projects/{@*}locations/{@*}backupPlans/*`. * * Generated from protobuf field string backup_plan = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -380,8 +380,8 @@ public function setBackupPlan($var) * Required. Immutable. The target cluster into which Restores created via * this RestorePlan will restore data. NOTE: the cluster's region must be the * same as the RestorePlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string @@ -395,8 +395,8 @@ public function getCluster() * Required. Immutable. The target cluster into which Restores created via * this RestorePlan will restore data. NOTE: the cluster's region must be the * same as the RestorePlan. Valid formats: - * - `projects/*/locations/*/clusters/*` - * - `projects/*/zones/*/clusters/*` + * - `projects/{@*}locations/{@*}clusters/*` + * - `projects/{@*}zones/{@*}clusters/*` * * Generated from protobuf field string cluster = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var @@ -578,7 +578,7 @@ public function setStateReason($var) * Output only. The fully qualified name of the RestoreChannel to be used to * create a RestorePlan. This field is set only if the `backup_plan` is in a * different project than the RestorePlan. Format: - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string restore_channel = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @return string @@ -592,7 +592,7 @@ public function getRestoreChannel() * Output only. The fully qualified name of the RestoreChannel to be used to * create a RestorePlan. This field is set only if the `backup_plan` is in a * different project than the RestorePlan. Format: - * `projects/*/locations/*/restoreChannels/*` + * `projects/{@*}locations/{@*}restoreChannels/*` * * Generated from protobuf field string restore_channel = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/RestorePlan/State.php b/GkeBackup/src/V1/RestorePlan/State.php index 1cf7a8b15657..74485efada08 100644 --- a/GkeBackup/src/V1/RestorePlan/State.php +++ b/GkeBackup/src/V1/RestorePlan/State.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/RestorePlanBinding.php b/GkeBackup/src/V1/RestorePlanBinding.php index 30b521771480..b5d982b1088c 100644 --- a/GkeBackup/src/V1/RestorePlanBinding.php +++ b/GkeBackup/src/V1/RestorePlanBinding.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A RestorePlanBinding binds a RestorePlan with a RestoreChannel. @@ -20,7 +20,7 @@ class RestorePlanBinding extends \Google\Protobuf\Internal\Message { /** * Identifier. The fully qualified name of the RestorePlanBinding. - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ @@ -46,7 +46,7 @@ class RestorePlanBinding extends \Google\Protobuf\Internal\Message protected $update_time = null; /** * Output only. The fully qualified name of the RestorePlan bound to this - * RestoreChannel. `projects/*/locations/*/restorePlans/{restore_plan}` + * RestoreChannel. `projects/{@*}locations/{@*}restorePlans/{restore_plan}` * * Generated from protobuf field string restore_plan = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ @@ -67,7 +67,7 @@ class RestorePlanBinding extends \Google\Protobuf\Internal\Message protected $etag = ''; /** * Output only. The fully qualified name of the BackupPlan bound to the - * specified RestorePlan. `projects/*/locations/*/backukpPlans/{backup_plan}` + * specified RestorePlan. `projects/{@*}locations/{@*}backukpPlans/{backup_plan}` * * Generated from protobuf field string backup_plan = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ @@ -81,7 +81,7 @@ class RestorePlanBinding extends \Google\Protobuf\Internal\Message * * @type string $name * Identifier. The fully qualified name of the RestorePlanBinding. - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * @type string $uid * Output only. Server generated global unique identifier of * [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier) @@ -91,7 +91,7 @@ class RestorePlanBinding extends \Google\Protobuf\Internal\Message * Output only. The timestamp when this binding was created. * @type string $restore_plan * Output only. The fully qualified name of the RestorePlan bound to this - * RestoreChannel. `projects/*/locations/*/restorePlans/{restore_plan}` + * RestoreChannel. `projects/{@*}locations/{@*}restorePlans/{restore_plan}` * @type string $etag * Output only. `etag` is used for optimistic concurrency control as a way to * help prevent simultaneous updates of a RestorePlanBinding from overwriting @@ -104,7 +104,7 @@ class RestorePlanBinding extends \Google\Protobuf\Internal\Message * to the same version of the resource. * @type string $backup_plan * Output only. The fully qualified name of the BackupPlan bound to the - * specified RestorePlan. `projects/*/locations/*/backukpPlans/{backup_plan}` + * specified RestorePlan. `projects/{@*}locations/{@*}backukpPlans/{backup_plan}` * } */ public function __construct($data = NULL) { @@ -114,7 +114,7 @@ public function __construct($data = NULL) { /** * Identifier. The fully qualified name of the RestorePlanBinding. - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string @@ -126,7 +126,7 @@ public function getName() /** * Identifier. The fully qualified name of the RestorePlanBinding. - * `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*` + * `projects/{@*}locations/{@*}restoreChannels/{@*}restorePlanBindings/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var @@ -242,7 +242,7 @@ public function setUpdateTime($var) /** * Output only. The fully qualified name of the RestorePlan bound to this - * RestoreChannel. `projects/*/locations/*/restorePlans/{restore_plan}` + * RestoreChannel. `projects/{@*}locations/{@*}restorePlans/{restore_plan}` * * Generated from protobuf field string restore_plan = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @return string @@ -254,7 +254,7 @@ public function getRestorePlan() /** * Output only. The fully qualified name of the RestorePlan bound to this - * RestoreChannel. `projects/*/locations/*/restorePlans/{restore_plan}` + * RestoreChannel. `projects/{@*}locations/{@*}restorePlans/{restore_plan}` * * Generated from protobuf field string restore_plan = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @param string $var @@ -312,7 +312,7 @@ public function setEtag($var) /** * Output only. The fully qualified name of the BackupPlan bound to the - * specified RestorePlan. `projects/*/locations/*/backukpPlans/{backup_plan}` + * specified RestorePlan. `projects/{@*}locations/{@*}backukpPlans/{backup_plan}` * * Generated from protobuf field string backup_plan = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @return string @@ -324,7 +324,7 @@ public function getBackupPlan() /** * Output only. The fully qualified name of the BackupPlan bound to the - * specified RestorePlan. `projects/*/locations/*/backukpPlans/{backup_plan}` + * specified RestorePlan. `projects/{@*}locations/{@*}backukpPlans/{backup_plan}` * * Generated from protobuf field string backup_plan = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @param string $var diff --git a/GkeBackup/src/V1/RpoConfig.php b/GkeBackup/src/V1/RpoConfig.php index a2e92f1b708a..1d0a31ade3d8 100644 --- a/GkeBackup/src/V1/RpoConfig.php +++ b/GkeBackup/src/V1/RpoConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines RPO scheduling configuration for automatically creating @@ -52,7 +52,7 @@ class RpoConfig extends \Google\Protobuf\Internal\Message * the target maximum data loss in time that is acceptable for this * BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400, * i.e., 60 days. - * @type array<\Google\Cloud\GkeBackup\V1\ExclusionWindow>|\Google\Protobuf\Internal\RepeatedField $exclusion_windows + * @type \Google\Cloud\GkeBackup\V1\ExclusionWindow[] $exclusion_windows * Optional. User specified time windows during which backup can NOT happen * for this BackupPlan - backups should start and finish outside of any given * exclusion window. Note: backup jobs will be scheduled to start and @@ -115,7 +115,7 @@ public function setTargetRpoMinutes($var) * windows. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\GkeBackup\V1\ExclusionWindow> */ public function getExclusionWindows() { @@ -135,7 +135,7 @@ public function getExclusionWindows() * windows. * * Generated from protobuf field repeated .google.cloud.gkebackup.v1.ExclusionWindow exclusion_windows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\GkeBackup\V1\ExclusionWindow>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\GkeBackup\V1\ExclusionWindow[] $var * @return $this */ public function setExclusionWindows($var) diff --git a/GkeBackup/src/V1/UpdateBackupChannelRequest.php b/GkeBackup/src/V1/UpdateBackupChannelRequest.php index 8c901b5a1c85..29e804531263 100644 --- a/GkeBackup/src/V1/UpdateBackupChannelRequest.php +++ b/GkeBackup/src/V1/UpdateBackupChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateBackupChannel. diff --git a/GkeBackup/src/V1/UpdateBackupPlanRequest.php b/GkeBackup/src/V1/UpdateBackupPlanRequest.php index 678a625fd548..b664919d271f 100644 --- a/GkeBackup/src/V1/UpdateBackupPlanRequest.php +++ b/GkeBackup/src/V1/UpdateBackupPlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateBackupPlan. diff --git a/GkeBackup/src/V1/UpdateBackupRequest.php b/GkeBackup/src/V1/UpdateBackupRequest.php index e35fc6c00f98..49b99c0d6ac5 100644 --- a/GkeBackup/src/V1/UpdateBackupRequest.php +++ b/GkeBackup/src/V1/UpdateBackupRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateBackup. diff --git a/GkeBackup/src/V1/UpdateRestoreChannelRequest.php b/GkeBackup/src/V1/UpdateRestoreChannelRequest.php index 37ee51166107..da3d1c006c30 100644 --- a/GkeBackup/src/V1/UpdateRestoreChannelRequest.php +++ b/GkeBackup/src/V1/UpdateRestoreChannelRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateRestoreChannel. diff --git a/GkeBackup/src/V1/UpdateRestorePlanRequest.php b/GkeBackup/src/V1/UpdateRestorePlanRequest.php index ae81d68b2089..093ae5067637 100644 --- a/GkeBackup/src/V1/UpdateRestorePlanRequest.php +++ b/GkeBackup/src/V1/UpdateRestorePlanRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateRestorePlan. diff --git a/GkeBackup/src/V1/UpdateRestoreRequest.php b/GkeBackup/src/V1/UpdateRestoreRequest.php index aa0a7b210a0b..f1358bb3e1d9 100644 --- a/GkeBackup/src/V1/UpdateRestoreRequest.php +++ b/GkeBackup/src/V1/UpdateRestoreRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Request message for UpdateRestore. diff --git a/GkeBackup/src/V1/VolumeBackup.php b/GkeBackup/src/V1/VolumeBackup.php index d8a452c45171..208c40c5fc3d 100644 --- a/GkeBackup/src/V1/VolumeBackup.php +++ b/GkeBackup/src/V1/VolumeBackup.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the backup of a specific persistent volume as a component of a @@ -19,7 +19,7 @@ class VolumeBackup extends \Google\Protobuf\Internal\Message { /** * Output only. The full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -135,7 +135,7 @@ class VolumeBackup extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. The full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * @type string $uid * Output only. Server generated global unique identifier of * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. @@ -191,7 +191,7 @@ public function __construct($data = NULL) { /** * Output only. The full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -203,7 +203,7 @@ public function getName() /** * Output only. The full name of the VolumeBackup resource. - * Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * Format: `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var diff --git a/GkeBackup/src/V1/VolumeBackup/State.php b/GkeBackup/src/V1/VolumeBackup/State.php index e197d614327a..6d40ba8a97c7 100644 --- a/GkeBackup/src/V1/VolumeBackup/State.php +++ b/GkeBackup/src/V1/VolumeBackup/State.php @@ -101,4 +101,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/VolumeBackup/VolumeBackupFormat.php b/GkeBackup/src/V1/VolumeBackup/VolumeBackupFormat.php index 97c22d3fda65..16f986b75aa6 100644 --- a/GkeBackup/src/V1/VolumeBackup/VolumeBackupFormat.php +++ b/GkeBackup/src/V1/VolumeBackup/VolumeBackupFormat.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/VolumeDataRestorePolicyOverride.php b/GkeBackup/src/V1/VolumeDataRestorePolicyOverride.php index d75e5e1d6add..6d9f539f0bc8 100644 --- a/GkeBackup/src/V1/VolumeDataRestorePolicyOverride.php +++ b/GkeBackup/src/V1/VolumeDataRestorePolicyOverride.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Defines an override to apply a VolumeDataRestorePolicy for scoped resources. diff --git a/GkeBackup/src/V1/VolumeRestore.php b/GkeBackup/src/V1/VolumeRestore.php index b62ab5c93c4d..3bb87bbdb5b7 100644 --- a/GkeBackup/src/V1/VolumeRestore.php +++ b/GkeBackup/src/V1/VolumeRestore.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents the operation of restoring a volume from a VolumeBackup. @@ -17,7 +17,7 @@ class VolumeRestore extends \Google\Protobuf\Internal\Message { /** * Output only. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -46,7 +46,7 @@ class VolumeRestore extends \Google\Protobuf\Internal\Message /** * Output only. The full name of the VolumeBackup from which the volume will * be restored. Format: - * `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * * Generated from protobuf field string volume_backup = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -109,7 +109,7 @@ class VolumeRestore extends \Google\Protobuf\Internal\Message * * @type string $name * Output only. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * @type string $uid * Output only. Server generated global unique identifier of * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. @@ -122,7 +122,7 @@ class VolumeRestore extends \Google\Protobuf\Internal\Message * @type string $volume_backup * Output only. The full name of the VolumeBackup from which the volume will * be restored. Format: - * `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * @type \Google\Cloud\GkeBackup\V1\NamespacedName $target_pvc * Output only. The reference to the target Kubernetes PVC to be restored. * @type string $volume_handle @@ -153,7 +153,7 @@ public function __construct($data = NULL) { /** * Output only. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -165,7 +165,7 @@ public function getName() /** * Output only. Full name of the VolumeRestore resource. - * Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` + * Format: `projects/{@*}locations/{@*}restorePlans/{@*}restores/{@*}volumeRestores/*` * * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var @@ -286,7 +286,7 @@ public function setUpdateTime($var) /** * Output only. The full name of the VolumeBackup from which the volume will * be restored. Format: - * `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * * Generated from protobuf field string volume_backup = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string @@ -299,7 +299,7 @@ public function getVolumeBackup() /** * Output only. The full name of the VolumeBackup from which the volume will * be restored. Format: - * `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. + * `projects/{@*}locations/{@*}backupPlans/{@*}backups/{@*}volumeBackups/*`. * * Generated from protobuf field string volume_backup = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var diff --git a/GkeBackup/src/V1/VolumeRestore/State.php b/GkeBackup/src/V1/VolumeRestore/State.php index a46aa61ef226..5f5c540de0f0 100644 --- a/GkeBackup/src/V1/VolumeRestore/State.php +++ b/GkeBackup/src/V1/VolumeRestore/State.php @@ -81,4 +81,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/VolumeRestore/VolumeType.php b/GkeBackup/src/V1/VolumeRestore/VolumeType.php index a873db97554e..422be8489bc7 100644 --- a/GkeBackup/src/V1/VolumeRestore/VolumeType.php +++ b/GkeBackup/src/V1/VolumeRestore/VolumeType.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/GkeBackup/src/V1/VolumeTypeEnum.php b/GkeBackup/src/V1/VolumeTypeEnum.php index 2ca64f837a78..8b18af56e9f4 100644 --- a/GkeBackup/src/V1/VolumeTypeEnum.php +++ b/GkeBackup/src/V1/VolumeTypeEnum.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeBackup\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Message to encapsulate VolumeType enum. diff --git a/GkeBackup/src/V1/VolumeTypeEnum/VolumeType.php b/GkeBackup/src/V1/VolumeTypeEnum/VolumeType.php index 1c14119fedd0..12ce14688f07 100644 --- a/GkeBackup/src/V1/VolumeTypeEnum/VolumeType.php +++ b/GkeBackup/src/V1/VolumeTypeEnum/VolumeType.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/GkeConnectGateway/metadata/V1/Control.php b/GkeConnectGateway/metadata/V1/Control.php index eef8ed0cbee0..7188a5cc9477 100644 Binary files a/GkeConnectGateway/metadata/V1/Control.php and b/GkeConnectGateway/metadata/V1/Control.php differ diff --git a/GkeConnectGateway/metadata/V1Beta1/Control.php b/GkeConnectGateway/metadata/V1Beta1/Control.php index 297fc3e5193d..e8ddbff98f9b 100644 Binary files a/GkeConnectGateway/metadata/V1Beta1/Control.php and b/GkeConnectGateway/metadata/V1Beta1/Control.php differ diff --git a/GkeConnectGateway/src/V1/GenerateCredentialsRequest.php b/GkeConnectGateway/src/V1/GenerateCredentialsRequest.php index ff63067fdfdb..5658c32d343b 100644 --- a/GkeConnectGateway/src/V1/GenerateCredentialsRequest.php +++ b/GkeConnectGateway/src/V1/GenerateCredentialsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeConnect\Gateway\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for connection information for a particular membership. diff --git a/GkeConnectGateway/src/V1/GenerateCredentialsRequest/OperatingSystem.php b/GkeConnectGateway/src/V1/GenerateCredentialsRequest/OperatingSystem.php index b3e7ea432dc4..d56ce2272d95 100644 --- a/GkeConnectGateway/src/V1/GenerateCredentialsRequest/OperatingSystem.php +++ b/GkeConnectGateway/src/V1/GenerateCredentialsRequest/OperatingSystem.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/GkeConnectGateway/src/V1/GenerateCredentialsResponse.php b/GkeConnectGateway/src/V1/GenerateCredentialsResponse.php index b828cc93beae..e4d3d91e2ec0 100644 --- a/GkeConnectGateway/src/V1/GenerateCredentialsResponse.php +++ b/GkeConnectGateway/src/V1/GenerateCredentialsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeConnect\Gateway\V1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Connection information for a particular membership. diff --git a/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest.php b/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest.php index 9f500f5955a9..ad467941d309 100644 --- a/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest.php +++ b/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeConnect\Gateway\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * A request for connection information for a particular membership. diff --git a/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest/OperatingSystem.php b/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest/OperatingSystem.php index d40a28a99bdc..11f286079d4c 100644 --- a/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest/OperatingSystem.php +++ b/GkeConnectGateway/src/V1beta1/GenerateCredentialsRequest/OperatingSystem.php @@ -54,4 +54,3 @@ public static function value($name) } } - diff --git a/GkeConnectGateway/src/V1beta1/GenerateCredentialsResponse.php b/GkeConnectGateway/src/V1beta1/GenerateCredentialsResponse.php index 327f1fe485c9..b1b16384bf2d 100644 --- a/GkeConnectGateway/src/V1beta1/GenerateCredentialsResponse.php +++ b/GkeConnectGateway/src/V1beta1/GenerateCredentialsResponse.php @@ -5,8 +5,8 @@ namespace Google\Cloud\GkeConnect\Gateway\V1beta1; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Connection information for a particular membership.