google-cloud-device_streaming-v1 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 669bc467723c9ac6ac0a78da5181e488d84954f6af674ae36551e51849f19154
|
|
4
|
+
data.tar.gz: ac4a533317889e6381a996df75dfa7c2a566c9fad85250d4d90a89f2620178e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ddaa7c0e082c6eef577f7586490d67adb71b1630984cc92717c2401bd8b766fc1cd377cc048acb6cbae03ef18fb34be38b1cf686c1f36c3b4ab876fc3bf1f8d
|
|
7
|
+
data.tar.gz: 4d6e52253bd7e5e01333d4601bf1c8d9823cfb6de392a8a1b323d4b46a84e3a6019a404a39b71e394c2a48baecac1581d7eb146e89f6d417ed91e56889793ea9
|
|
@@ -9,29 +9,8 @@ require 'google/api/field_behavior_pb'
|
|
|
9
9
|
|
|
10
10
|
descriptor_data = "\n1google/cloud/devicestreaming/v1/adb_service.proto\x12\x1fgoogle.cloud.devicestreaming.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xef\x01\n\rDeviceMessage\x12\x46\n\rstatus_update\x18\x01 \x01(\x0b\x32-.google.cloud.devicestreaming.v1.StatusUpdateH\x00\x12\x46\n\rstream_status\x18\x02 \x01(\x0b\x32-.google.cloud.devicestreaming.v1.StreamStatusH\x00\x12\x42\n\x0bstream_data\x18\x03 \x01(\x0b\x32+.google.cloud.devicestreaming.v1.StreamDataH\x00\x42\n\n\x08\x63ontents\"\x93\x01\n\nAdbMessage\x12\x35\n\x04open\x18\x01 \x01(\x0b\x32%.google.cloud.devicestreaming.v1.OpenH\x00\x12\x42\n\x0bstream_data\x18\x02 \x01(\x0b\x32+.google.cloud.devicestreaming.v1.StreamDataH\x00\x42\n\n\x08\x63ontents\"\x9f\x03\n\x0cStatusUpdate\x12H\n\x05state\x18\x01 \x01(\x0e\x32\x39.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState\x12Q\n\nproperties\x18\x02 \x03(\x0b\x32=.google.cloud.devicestreaming.v1.StatusUpdate.PropertiesEntry\x12\x10\n\x08\x66\x65\x61tures\x18\x03 \x01(\t\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xac\x01\n\x0b\x44\x65viceState\x12\x1c\n\x18\x44\x45VICE_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45VICE\x10\x01\x12\x0c\n\x08RECOVERY\x10\x02\x12\n\n\x06RESCUE\x10\x03\x12\x0c\n\x08SIDELOAD\x10\x04\x12\x0b\n\x07MISSING\x10\n\x12\x0b\n\x07OFFLINE\x10\x0b\x12\x10\n\x0cUNAUTHORIZED\x10\x0c\x12\x0f\n\x0b\x41UTHORIZING\x10\r\x12\x0e\n\nCONNECTING\x10\x0e\"\x99\x01\n\x0cStreamStatus\x12\x11\n\tstream_id\x18\x01 \x01(\x05\x12\x35\n\x04okay\x18\x02 \x01(\x0b\x32%.google.cloud.devicestreaming.v1.OkayH\x00\x12\x35\n\x04\x66\x61il\x18\x03 \x01(\x0b\x32%.google.cloud.devicestreaming.v1.FailH\x00\x42\x08\n\x06status\"4\n\x04Open\x12\x16\n\tstream_id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x07service\x18\x02 \x01(\tB\x03\xe0\x41\x01\"y\n\nStreamData\x12\x16\n\tstream_id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0e\n\x04\x64\x61ta\x18\x02 \x01(\x0cH\x00\x12\x37\n\x05\x63lose\x18\x03 \x01(\x0b\x32&.google.cloud.devicestreaming.v1.CloseH\x00\x42\n\n\x08\x63ontents\"\x06\n\x04Okay\"\x16\n\x04\x46\x61il\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x07\n\x05\x43loseB\xf0\x01\n#com.google.cloud.devicestreaming.v1B\x0f\x41\x64\x62ServiceProtoP\x01ZMcloud.google.com/go/devicestreaming/apiv1/devicestreamingpb;devicestreamingpb\xaa\x02\x1fGoogle.Cloud.DeviceStreaming.V1\xca\x02\x1fGoogle\\Cloud\\DeviceStreaming\\V1\xea\x02\"Google::Cloud::DeviceStreaming::V1b\x06proto3"
|
|
11
11
|
|
|
12
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
-
|
|
14
|
-
begin
|
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
|
16
|
-
rescue TypeError
|
|
17
|
-
# Compatibility code: will be removed in the next major version.
|
|
18
|
-
require 'google/protobuf/descriptor_pb'
|
|
19
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
-
parsed.clear_dependency
|
|
21
|
-
serialized = parsed.class.encode(parsed)
|
|
22
|
-
file = pool.add_serialized_file(serialized)
|
|
23
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
-
imports = [
|
|
25
|
-
]
|
|
26
|
-
imports.each do |type_name, expected_filename|
|
|
27
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
-
if import_file.name != expected_filename
|
|
29
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
-
warn "This will become an error in the next major version."
|
|
34
|
-
end
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
35
14
|
|
|
36
15
|
module Google
|
|
37
16
|
module Cloud
|
|
@@ -17,32 +17,8 @@ require 'google/protobuf/timestamp_pb'
|
|
|
17
17
|
|
|
18
18
|
descriptor_data = "\n-google/cloud/devicestreaming/v1/service.proto\x12\x1fgoogle.cloud.devicestreaming.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/devicestreaming/v1/adb_service.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x01\n\x1a\x43reateDeviceSessionRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12K\n\x0e\x64\x65vice_session\x18\x02 \x01(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSessionB\x03\xe0\x41\x02\x12\x1e\n\x11\x64\x65vice_session_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa6\x01\n\x19ListDeviceSessionsRequest\x12\x43\n\x06parent\x18\x04 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"~\n\x1aListDeviceSessionsResponse\x12G\n\x0f\x64\x65vice_sessions\x18\x01 \x03(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSession\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x17GetDeviceSessionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,devicestreaming.googleapis.com/DeviceSession\"`\n\x1a\x43\x61ncelDeviceSessionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,devicestreaming.googleapis.com/DeviceSession\"\x9f\x01\n\x1aUpdateDeviceSessionRequest\x12K\n\x0e\x64\x65vice_session\x18\x01 \x01(\x0b\x32..google.cloud.devicestreaming.v1.DeviceSessionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xb5\x08\n\rDeviceSession\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12O\n\x05state\x18\x03 \x01(\x0e\x32;.google.cloud.devicestreaming.v1.DeviceSession.SessionStateB\x03\xe0\x41\x03\x12^\n\x0fstate_histories\x18\x0e \x03(\x0b\x32@.google.cloud.devicestreaming.v1.DeviceSession.SessionStateEventB\x03\xe0\x41\x03\x12-\n\x03ttl\x18\r \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01H\x00\x12\x36\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x00\x12:\n\x12inactivity_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11\x61\x63tive_start_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\x0e\x61ndroid_device\x18\x0f \x01(\x0b\x32..google.cloud.devicestreaming.v1.AndroidDeviceB\x03\xe0\x41\x02\x1a\xbd\x01\n\x11SessionStateEvent\x12W\n\rsession_state\x18\x01 \x01(\x0e\x32;.google.cloud.devicestreaming.v1.DeviceSession.SessionStateB\x03\xe0\x41\x03\x12\x33\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\x8c\x01\n\x0cSessionState\x12\x1d\n\x19SESSION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tREQUESTED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04\x12\x0c\n\x08\x46INISHED\x10\x05\x12\x0f\n\x0bUNAVAILABLE\x10\x06\x12\t\n\x05\x45RROR\x10\x07:\x85\x01\xea\x41\x81\x01\n,devicestreaming.googleapis.com/DeviceSession\x12\x32projects/{project}/deviceSessions/{device_session}*\x0e\x64\x65viceSessions2\rdeviceSessionB\x0c\n\nexpiration\"~\n\rAndroidDevice\x12\x1d\n\x10\x61ndroid_model_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12\x61ndroid_version_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06locale\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0borientation\x18\x04 \x01(\tB\x03\xe0\x41\x01\x32\xe0\t\n\x13\x44irectAccessService\x12\xec\x01\n\x13\x43reateDeviceSession\x12;.google.cloud.devicestreaming.v1.CreateDeviceSessionRequest\x1a..google.cloud.devicestreaming.v1.DeviceSession\"h\xda\x41\'parent,device_session,device_session_id\x82\xd3\xe4\x93\x02\x38\"&/v1/{parent=projects/*}/deviceSessions:\x0e\x64\x65vice_session\x12\xc6\x01\n\x12ListDeviceSessions\x12:.google.cloud.devicestreaming.v1.ListDeviceSessionsRequest\x1a;.google.cloud.devicestreaming.v1.ListDeviceSessionsResponse\"7\xda\x41\x06parent\x82\xd3\xe4\x93\x02(\x12&/v1/{parent=projects/*}/deviceSessions\x12\xb3\x01\n\x10GetDeviceSession\x12\x38.google.cloud.devicestreaming.v1.GetDeviceSessionRequest\x1a..google.cloud.devicestreaming.v1.DeviceSession\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v1/{name=projects/*/deviceSessions/*}\x12\xa4\x01\n\x13\x43\x61ncelDeviceSession\x12;.google.cloud.devicestreaming.v1.CancelDeviceSessionRequest\x1a\x16.google.protobuf.Empty\"8\x82\xd3\xe4\x93\x02\x32\"-/v1/{name=projects/*/deviceSessions/*}:cancel:\x01*\x12\xee\x01\n\x13UpdateDeviceSession\x12;.google.cloud.devicestreaming.v1.UpdateDeviceSessionRequest\x1a..google.cloud.devicestreaming.v1.DeviceSession\"j\xda\x41\x1a\x64\x65vice_session,update_mask\x82\xd3\xe4\x93\x02G25/v1/{device_session.name=projects/*/deviceSessions/*}:\x0e\x64\x65vice_session\x12o\n\nAdbConnect\x12+.google.cloud.devicestreaming.v1.AdbMessage\x1a..google.cloud.devicestreaming.v1.DeviceMessage\"\x00(\x01\x30\x01\x1aR\xca\x41\x1e\x64\x65vicestreaming.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xed\x01\n#com.google.cloud.devicestreaming.v1B\x0cServiceProtoP\x01ZMcloud.google.com/go/devicestreaming/apiv1/devicestreamingpb;devicestreamingpb\xaa\x02\x1fGoogle.Cloud.DeviceStreaming.V1\xca\x02\x1fGoogle\\Cloud\\DeviceStreaming\\V1\xea\x02\"Google::Cloud::DeviceStreaming::V1b\x06proto3"
|
|
19
19
|
|
|
20
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
-
|
|
22
|
-
begin
|
|
23
|
-
pool.add_serialized_file(descriptor_data)
|
|
24
|
-
rescue TypeError
|
|
25
|
-
# Compatibility code: will be removed in the next major version.
|
|
26
|
-
require 'google/protobuf/descriptor_pb'
|
|
27
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
28
|
-
parsed.clear_dependency
|
|
29
|
-
serialized = parsed.class.encode(parsed)
|
|
30
|
-
file = pool.add_serialized_file(serialized)
|
|
31
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
32
|
-
imports = [
|
|
33
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
34
|
-
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
|
35
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
36
|
-
]
|
|
37
|
-
imports.each do |type_name, expected_filename|
|
|
38
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
39
|
-
if import_file.name != expected_filename
|
|
40
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
44
|
-
warn "This will become an error in the next major version."
|
|
45
|
-
end
|
|
20
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
|
46
22
|
|
|
47
23
|
module Google
|
|
48
24
|
module Cloud
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-device_streaming-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
86
86
|
requirements:
|
|
87
87
|
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '3.
|
|
89
|
+
version: '3.2'
|
|
90
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
|
92
92
|
- - ">="
|