@zaber/motion 5.1.4 → 5.2.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.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/axis.d.ts +4 -0
- package/dist/lib/ascii/axis.js +6 -0
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/axis_identity.d.ts +4 -0
- package/dist/lib/ascii/axis_identity.js +1 -0
- package/dist/lib/ascii/axis_identity.js.map +1 -1
- package/dist/lib/ascii/device.d.ts +1 -0
- package/dist/lib/ascii/device.js +1 -0
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/device_io.d.ts +54 -0
- package/dist/lib/ascii/device_io.js +120 -4
- package/dist/lib/ascii/device_io.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +1 -0
- package/dist/lib/ascii/index.js +4 -2
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/io_port_label.d.ts +21 -0
- package/dist/lib/ascii/io_port_label.js +19 -0
- package/dist/lib/ascii/io_port_label.js.map +1 -0
- package/dist/lib/ascii_ns.d.ts +2 -0
- package/dist/lib/ascii_ns.js +1 -0
- package/dist/lib/ascii_ns.js.map +1 -1
- package/dist/lib/microscopy/microscope.d.ts +9 -2
- package/dist/lib/microscopy/microscope.js +6 -3
- package/dist/lib/microscopy/microscope.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +262 -14
- package/dist/lib/protobufs/main_pb.js +2178 -264
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +1 -3
|
@@ -53,8 +53,8 @@ goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceOpenResponse', null, pr
|
|
|
53
53
|
goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceReadRequest', null, proto);
|
|
54
54
|
goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceWriteRequest', null, proto);
|
|
55
55
|
goog.exportSymbol('zaber.motion.protobufs.DeviceAddressConflictExceptionData', null, proto);
|
|
56
|
-
goog.exportSymbol('zaber.motion.protobufs.
|
|
57
|
-
goog.exportSymbol('zaber.motion.protobufs.
|
|
56
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest', null, proto);
|
|
57
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceCancelOutputScheduleRequest', null, proto);
|
|
58
58
|
goog.exportSymbol('zaber.motion.protobufs.DeviceConvertSettingRequest', null, proto);
|
|
59
59
|
goog.exportSymbol('zaber.motion.protobufs.DeviceDbFailedExceptionData', null, proto);
|
|
60
60
|
goog.exportSymbol('zaber.motion.protobufs.DeviceDetectRequest', null, proto);
|
|
@@ -82,9 +82,11 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceOnAllRequest', null, proto);
|
|
|
82
82
|
goog.exportSymbol('zaber.motion.protobufs.DeviceOnAllResponse', null, proto);
|
|
83
83
|
goog.exportSymbol('zaber.motion.protobufs.DeviceRenumberRequest', null, proto);
|
|
84
84
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest', null, proto);
|
|
85
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest', null, proto);
|
|
85
86
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest', null, proto);
|
|
86
87
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest', null, proto);
|
|
87
88
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAnalogOutputRequest', null, proto);
|
|
89
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest', null, proto);
|
|
88
90
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputRequest', null, proto);
|
|
89
91
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest', null, proto);
|
|
90
92
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingRequest', null, proto);
|
|
@@ -112,6 +114,8 @@ goog.exportSymbol('zaber.motion.protobufs.GenericBinaryRequest', null, proto);
|
|
|
112
114
|
goog.exportSymbol('zaber.motion.protobufs.GenericCommandRequest', null, proto);
|
|
113
115
|
goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponse', null, proto);
|
|
114
116
|
goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponseCollection', null, proto);
|
|
117
|
+
goog.exportSymbol('zaber.motion.protobufs.GetAllIoPortLabelsResponse', null, proto);
|
|
118
|
+
goog.exportSymbol('zaber.motion.protobufs.GetIoPortLabel', null, proto);
|
|
115
119
|
goog.exportSymbol('zaber.motion.protobufs.GetSetting', null, proto);
|
|
116
120
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResult', null, proto);
|
|
117
121
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResults', null, proto);
|
|
@@ -124,6 +128,7 @@ goog.exportSymbol('zaber.motion.protobufs.InterfaceType', null, proto);
|
|
|
124
128
|
goog.exportSymbol('zaber.motion.protobufs.InvalidPacketExceptionData', null, proto);
|
|
125
129
|
goog.exportSymbol('zaber.motion.protobufs.InvalidPvtPoint', null, proto);
|
|
126
130
|
goog.exportSymbol('zaber.motion.protobufs.InvalidResponseExceptionData', null, proto);
|
|
131
|
+
goog.exportSymbol('zaber.motion.protobufs.IoPortLabel', null, proto);
|
|
127
132
|
goog.exportSymbol('zaber.motion.protobufs.LoadParamset', null, proto);
|
|
128
133
|
goog.exportSymbol('zaber.motion.protobufs.LockstepAxes', null, proto);
|
|
129
134
|
goog.exportSymbol('zaber.motion.protobufs.LockstepDisableRequest', null, proto);
|
|
@@ -141,6 +146,7 @@ goog.exportSymbol('zaber.motion.protobufs.Measurement', null, proto);
|
|
|
141
146
|
goog.exportSymbol('zaber.motion.protobufs.MessageType', null, proto);
|
|
142
147
|
goog.exportSymbol('zaber.motion.protobufs.MicroscopeConfig', null, proto);
|
|
143
148
|
goog.exportSymbol('zaber.motion.protobufs.MicroscopeEmptyRequest', null, proto);
|
|
149
|
+
goog.exportSymbol('zaber.motion.protobufs.MicroscopeInitRequest', null, proto);
|
|
144
150
|
goog.exportSymbol('zaber.motion.protobufs.MovementFailedExceptionData', null, proto);
|
|
145
151
|
goog.exportSymbol('zaber.motion.protobufs.MovementInterruptedExceptionData', null, proto);
|
|
146
152
|
goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerChangeRequest', null, proto);
|
|
@@ -182,6 +188,7 @@ goog.exportSymbol('zaber.motion.protobufs.SetDeviceStateExceptionData', null, pr
|
|
|
182
188
|
goog.exportSymbol('zaber.motion.protobufs.SetInterfaceChecksumEnabledRequest', null, proto);
|
|
183
189
|
goog.exportSymbol('zaber.motion.protobufs.SetInterfaceTimeoutRequest', null, proto);
|
|
184
190
|
goog.exportSymbol('zaber.motion.protobufs.SetInternalModeRequest', null, proto);
|
|
191
|
+
goog.exportSymbol('zaber.motion.protobufs.SetIoPortLabel', null, proto);
|
|
185
192
|
goog.exportSymbol('zaber.motion.protobufs.SetLogOutputRequest', null, proto);
|
|
186
193
|
goog.exportSymbol('zaber.motion.protobufs.SetPeripheralStateExceptionData', null, proto);
|
|
187
194
|
goog.exportSymbol('zaber.motion.protobufs.SetProcessControllerSource', null, proto);
|
|
@@ -1949,16 +1956,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1949
1956
|
* @extends {jspb.Message}
|
|
1950
1957
|
* @constructor
|
|
1951
1958
|
*/
|
|
1952
|
-
proto.zaber.motion.protobufs.
|
|
1953
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.
|
|
1959
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest = function(opt_data) {
|
|
1960
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.repeatedFields_, null);
|
|
1954
1961
|
};
|
|
1955
|
-
goog.inherits(proto.zaber.motion.protobufs.
|
|
1962
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest, jspb.Message);
|
|
1956
1963
|
if (goog.DEBUG && !COMPILED) {
|
|
1957
1964
|
/**
|
|
1958
1965
|
* @public
|
|
1959
1966
|
* @override
|
|
1960
1967
|
*/
|
|
1961
|
-
proto.zaber.motion.protobufs.
|
|
1968
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest';
|
|
1962
1969
|
}
|
|
1963
1970
|
/**
|
|
1964
1971
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1981,6 +1988,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1981
1988
|
*/
|
|
1982
1989
|
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest';
|
|
1983
1990
|
}
|
|
1991
|
+
/**
|
|
1992
|
+
* Generated by JsPbCodeGenerator.
|
|
1993
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1994
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1995
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1996
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1997
|
+
* valid.
|
|
1998
|
+
* @extends {jspb.Message}
|
|
1999
|
+
* @constructor
|
|
2000
|
+
*/
|
|
2001
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest = function(opt_data) {
|
|
2002
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.repeatedFields_, null);
|
|
2003
|
+
};
|
|
2004
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest, jspb.Message);
|
|
2005
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2006
|
+
/**
|
|
2007
|
+
* @public
|
|
2008
|
+
* @override
|
|
2009
|
+
*/
|
|
2010
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest';
|
|
2011
|
+
}
|
|
1984
2012
|
/**
|
|
1985
2013
|
* Generated by JsPbCodeGenerator.
|
|
1986
2014
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2033,16 +2061,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2033
2061
|
* @extends {jspb.Message}
|
|
2034
2062
|
* @constructor
|
|
2035
2063
|
*/
|
|
2036
|
-
proto.zaber.motion.protobufs.
|
|
2064
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest = function(opt_data) {
|
|
2037
2065
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2038
2066
|
};
|
|
2039
|
-
goog.inherits(proto.zaber.motion.protobufs.
|
|
2067
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest, jspb.Message);
|
|
2040
2068
|
if (goog.DEBUG && !COMPILED) {
|
|
2041
2069
|
/**
|
|
2042
2070
|
* @public
|
|
2043
2071
|
* @override
|
|
2044
2072
|
*/
|
|
2045
|
-
proto.zaber.motion.protobufs.
|
|
2073
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest';
|
|
2046
2074
|
}
|
|
2047
2075
|
/**
|
|
2048
2076
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2065,6 +2093,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2065
2093
|
*/
|
|
2066
2094
|
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest';
|
|
2067
2095
|
}
|
|
2096
|
+
/**
|
|
2097
|
+
* Generated by JsPbCodeGenerator.
|
|
2098
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2099
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2100
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2101
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2102
|
+
* valid.
|
|
2103
|
+
* @extends {jspb.Message}
|
|
2104
|
+
* @constructor
|
|
2105
|
+
*/
|
|
2106
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest = function(opt_data) {
|
|
2107
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2108
|
+
};
|
|
2109
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest, jspb.Message);
|
|
2110
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2111
|
+
/**
|
|
2112
|
+
* @public
|
|
2113
|
+
* @override
|
|
2114
|
+
*/
|
|
2115
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest';
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Generated by JsPbCodeGenerator.
|
|
2119
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2120
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2121
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2122
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2123
|
+
* valid.
|
|
2124
|
+
* @extends {jspb.Message}
|
|
2125
|
+
* @constructor
|
|
2126
|
+
*/
|
|
2127
|
+
proto.zaber.motion.protobufs.SetIoPortLabel = function(opt_data) {
|
|
2128
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2129
|
+
};
|
|
2130
|
+
goog.inherits(proto.zaber.motion.protobufs.SetIoPortLabel, jspb.Message);
|
|
2131
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2132
|
+
/**
|
|
2133
|
+
* @public
|
|
2134
|
+
* @override
|
|
2135
|
+
*/
|
|
2136
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.displayName = 'proto.zaber.motion.protobufs.SetIoPortLabel';
|
|
2137
|
+
}
|
|
2138
|
+
/**
|
|
2139
|
+
* Generated by JsPbCodeGenerator.
|
|
2140
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2141
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2142
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2143
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2144
|
+
* valid.
|
|
2145
|
+
* @extends {jspb.Message}
|
|
2146
|
+
* @constructor
|
|
2147
|
+
*/
|
|
2148
|
+
proto.zaber.motion.protobufs.GetIoPortLabel = function(opt_data) {
|
|
2149
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2150
|
+
};
|
|
2151
|
+
goog.inherits(proto.zaber.motion.protobufs.GetIoPortLabel, jspb.Message);
|
|
2152
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2153
|
+
/**
|
|
2154
|
+
* @public
|
|
2155
|
+
* @override
|
|
2156
|
+
*/
|
|
2157
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.displayName = 'proto.zaber.motion.protobufs.GetIoPortLabel';
|
|
2158
|
+
}
|
|
2159
|
+
/**
|
|
2160
|
+
* Generated by JsPbCodeGenerator.
|
|
2161
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2162
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2163
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2164
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2165
|
+
* valid.
|
|
2166
|
+
* @extends {jspb.Message}
|
|
2167
|
+
* @constructor
|
|
2168
|
+
*/
|
|
2169
|
+
proto.zaber.motion.protobufs.IoPortLabel = function(opt_data) {
|
|
2170
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2171
|
+
};
|
|
2172
|
+
goog.inherits(proto.zaber.motion.protobufs.IoPortLabel, jspb.Message);
|
|
2173
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2174
|
+
/**
|
|
2175
|
+
* @public
|
|
2176
|
+
* @override
|
|
2177
|
+
*/
|
|
2178
|
+
proto.zaber.motion.protobufs.IoPortLabel.displayName = 'proto.zaber.motion.protobufs.IoPortLabel';
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* Generated by JsPbCodeGenerator.
|
|
2182
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2183
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2184
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2185
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2186
|
+
* valid.
|
|
2187
|
+
* @extends {jspb.Message}
|
|
2188
|
+
* @constructor
|
|
2189
|
+
*/
|
|
2190
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse = function(opt_data) {
|
|
2191
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.repeatedFields_, null);
|
|
2192
|
+
};
|
|
2193
|
+
goog.inherits(proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse, jspb.Message);
|
|
2194
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2195
|
+
/**
|
|
2196
|
+
* @public
|
|
2197
|
+
* @override
|
|
2198
|
+
*/
|
|
2199
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.displayName = 'proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse';
|
|
2200
|
+
}
|
|
2068
2201
|
/**
|
|
2069
2202
|
* Generated by JsPbCodeGenerator.
|
|
2070
2203
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5404,6 +5537,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5404
5537
|
*/
|
|
5405
5538
|
proto.zaber.motion.protobufs.MicroscopeEmptyRequest.displayName = 'proto.zaber.motion.protobufs.MicroscopeEmptyRequest';
|
|
5406
5539
|
}
|
|
5540
|
+
/**
|
|
5541
|
+
* Generated by JsPbCodeGenerator.
|
|
5542
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5543
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5544
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5545
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5546
|
+
* valid.
|
|
5547
|
+
* @extends {jspb.Message}
|
|
5548
|
+
* @constructor
|
|
5549
|
+
*/
|
|
5550
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest = function(opt_data) {
|
|
5551
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5552
|
+
};
|
|
5553
|
+
goog.inherits(proto.zaber.motion.protobufs.MicroscopeInitRequest, jspb.Message);
|
|
5554
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5555
|
+
/**
|
|
5556
|
+
* @public
|
|
5557
|
+
* @override
|
|
5558
|
+
*/
|
|
5559
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.displayName = 'proto.zaber.motion.protobufs.MicroscopeInitRequest';
|
|
5560
|
+
}
|
|
5407
5561
|
/**
|
|
5408
5562
|
* Generated by JsPbCodeGenerator.
|
|
5409
5563
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7267,8 +7421,9 @@ proto.zaber.motion.protobufs.AxisIdentity.toObject = function(includeInstance, m
|
|
|
7267
7421
|
isPeripheral: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
7268
7422
|
peripheralId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7269
7423
|
peripheralName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7270
|
-
|
|
7271
|
-
|
|
7424
|
+
peripheralSerialNumber: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7425
|
+
axisType: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
7426
|
+
isModified: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
7272
7427
|
};
|
|
7273
7428
|
|
|
7274
7429
|
if (includeInstance) {
|
|
@@ -7318,10 +7473,14 @@ proto.zaber.motion.protobufs.AxisIdentity.deserializeBinaryFromReader = function
|
|
|
7318
7473
|
msg.setPeripheralName(value);
|
|
7319
7474
|
break;
|
|
7320
7475
|
case 4:
|
|
7476
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
7477
|
+
msg.setPeripheralSerialNumber(value);
|
|
7478
|
+
break;
|
|
7479
|
+
case 5:
|
|
7321
7480
|
var value = /** @type {!proto.zaber.motion.protobufs.AxisIdentity.AxisType} */ (reader.readEnum());
|
|
7322
7481
|
msg.setAxisType(value);
|
|
7323
7482
|
break;
|
|
7324
|
-
case
|
|
7483
|
+
case 6:
|
|
7325
7484
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
7326
7485
|
msg.setIsModified(value);
|
|
7327
7486
|
break;
|
|
@@ -7375,17 +7534,24 @@ proto.zaber.motion.protobufs.AxisIdentity.serializeBinaryToWriter = function(mes
|
|
|
7375
7534
|
f
|
|
7376
7535
|
);
|
|
7377
7536
|
}
|
|
7537
|
+
f = message.getPeripheralSerialNumber();
|
|
7538
|
+
if (f !== 0) {
|
|
7539
|
+
writer.writeUint32(
|
|
7540
|
+
4,
|
|
7541
|
+
f
|
|
7542
|
+
);
|
|
7543
|
+
}
|
|
7378
7544
|
f = message.getAxisType();
|
|
7379
7545
|
if (f !== 0.0) {
|
|
7380
7546
|
writer.writeEnum(
|
|
7381
|
-
|
|
7547
|
+
5,
|
|
7382
7548
|
f
|
|
7383
7549
|
);
|
|
7384
7550
|
}
|
|
7385
7551
|
f = message.getIsModified();
|
|
7386
7552
|
if (f) {
|
|
7387
7553
|
writer.writeBool(
|
|
7388
|
-
|
|
7554
|
+
6,
|
|
7389
7555
|
f
|
|
7390
7556
|
);
|
|
7391
7557
|
}
|
|
@@ -7458,11 +7624,29 @@ proto.zaber.motion.protobufs.AxisIdentity.prototype.setPeripheralName = function
|
|
|
7458
7624
|
|
|
7459
7625
|
|
|
7460
7626
|
/**
|
|
7461
|
-
* optional
|
|
7627
|
+
* optional uint32 peripheral_serial_number = 4;
|
|
7628
|
+
* @return {number}
|
|
7629
|
+
*/
|
|
7630
|
+
proto.zaber.motion.protobufs.AxisIdentity.prototype.getPeripheralSerialNumber = function() {
|
|
7631
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7632
|
+
};
|
|
7633
|
+
|
|
7634
|
+
|
|
7635
|
+
/**
|
|
7636
|
+
* @param {number} value
|
|
7637
|
+
* @return {!proto.zaber.motion.protobufs.AxisIdentity} returns this
|
|
7638
|
+
*/
|
|
7639
|
+
proto.zaber.motion.protobufs.AxisIdentity.prototype.setPeripheralSerialNumber = function(value) {
|
|
7640
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
7641
|
+
};
|
|
7642
|
+
|
|
7643
|
+
|
|
7644
|
+
/**
|
|
7645
|
+
* optional AxisType axis_type = 5;
|
|
7462
7646
|
* @return {!proto.zaber.motion.protobufs.AxisIdentity.AxisType}
|
|
7463
7647
|
*/
|
|
7464
7648
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.getAxisType = function() {
|
|
7465
|
-
return /** @type {!proto.zaber.motion.protobufs.AxisIdentity.AxisType} */ (jspb.Message.getFieldWithDefault(this,
|
|
7649
|
+
return /** @type {!proto.zaber.motion.protobufs.AxisIdentity.AxisType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
7466
7650
|
};
|
|
7467
7651
|
|
|
7468
7652
|
|
|
@@ -7471,16 +7655,16 @@ proto.zaber.motion.protobufs.AxisIdentity.prototype.getAxisType = function() {
|
|
|
7471
7655
|
* @return {!proto.zaber.motion.protobufs.AxisIdentity} returns this
|
|
7472
7656
|
*/
|
|
7473
7657
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.setAxisType = function(value) {
|
|
7474
|
-
return jspb.Message.setProto3EnumField(this,
|
|
7658
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
7475
7659
|
};
|
|
7476
7660
|
|
|
7477
7661
|
|
|
7478
7662
|
/**
|
|
7479
|
-
* optional bool is_modified =
|
|
7663
|
+
* optional bool is_modified = 6;
|
|
7480
7664
|
* @return {boolean}
|
|
7481
7665
|
*/
|
|
7482
7666
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.getIsModified = function() {
|
|
7483
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
7667
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
7484
7668
|
};
|
|
7485
7669
|
|
|
7486
7670
|
|
|
@@ -7489,7 +7673,7 @@ proto.zaber.motion.protobufs.AxisIdentity.prototype.getIsModified = function() {
|
|
|
7489
7673
|
* @return {!proto.zaber.motion.protobufs.AxisIdentity} returns this
|
|
7490
7674
|
*/
|
|
7491
7675
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.setIsModified = function(value) {
|
|
7492
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
7676
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
7493
7677
|
};
|
|
7494
7678
|
|
|
7495
7679
|
|
|
@@ -21412,7 +21596,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype
|
|
|
21412
21596
|
* @private {!Array<number>}
|
|
21413
21597
|
* @const
|
|
21414
21598
|
*/
|
|
21415
|
-
proto.zaber.motion.protobufs.
|
|
21599
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.repeatedFields_ = [4];
|
|
21416
21600
|
|
|
21417
21601
|
|
|
21418
21602
|
|
|
@@ -21429,8 +21613,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21429
21613
|
* http://goto/soy-param-migration
|
|
21430
21614
|
* @return {!Object}
|
|
21431
21615
|
*/
|
|
21432
|
-
proto.zaber.motion.protobufs.
|
|
21433
|
-
return proto.zaber.motion.protobufs.
|
|
21616
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21617
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
21434
21618
|
};
|
|
21435
21619
|
|
|
21436
21620
|
|
|
@@ -21439,15 +21623,16 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.protot
|
|
|
21439
21623
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21440
21624
|
* the JSPB instance for transitional soy proto support:
|
|
21441
21625
|
* http://goto/soy-param-migration
|
|
21442
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21626
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} msg The msg instance to transform.
|
|
21443
21627
|
* @return {!Object}
|
|
21444
21628
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21445
21629
|
*/
|
|
21446
|
-
proto.zaber.motion.protobufs.
|
|
21630
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21447
21631
|
var f, obj = {
|
|
21448
21632
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21449
21633
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21450
|
-
|
|
21634
|
+
analog: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
21635
|
+
channelsList: (f = jspb.Message.getRepeatedBooleanField(msg, 4)) == null ? undefined : f
|
|
21451
21636
|
};
|
|
21452
21637
|
|
|
21453
21638
|
if (includeInstance) {
|
|
@@ -21461,23 +21646,23 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObje
|
|
|
21461
21646
|
/**
|
|
21462
21647
|
* Deserializes binary data (in protobuf wire format).
|
|
21463
21648
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21464
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21649
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest}
|
|
21465
21650
|
*/
|
|
21466
|
-
proto.zaber.motion.protobufs.
|
|
21651
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21467
21652
|
var reader = new jspb.BinaryReader(bytes);
|
|
21468
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
21469
|
-
return proto.zaber.motion.protobufs.
|
|
21653
|
+
var msg = new proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest;
|
|
21654
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21470
21655
|
};
|
|
21471
21656
|
|
|
21472
21657
|
|
|
21473
21658
|
/**
|
|
21474
21659
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21475
21660
|
* given reader into the given message object.
|
|
21476
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21661
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21477
21662
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21478
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21663
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest}
|
|
21479
21664
|
*/
|
|
21480
|
-
proto.zaber.motion.protobufs.
|
|
21665
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21481
21666
|
while (reader.nextField()) {
|
|
21482
21667
|
if (reader.isEndGroup()) {
|
|
21483
21668
|
break;
|
|
@@ -21493,6 +21678,10 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deseri
|
|
|
21493
21678
|
msg.setDevice(value);
|
|
21494
21679
|
break;
|
|
21495
21680
|
case 3:
|
|
21681
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
21682
|
+
msg.setAnalog(value);
|
|
21683
|
+
break;
|
|
21684
|
+
case 4:
|
|
21496
21685
|
var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
|
|
21497
21686
|
for (var i = 0; i < values.length; i++) {
|
|
21498
21687
|
msg.addChannels(values[i]);
|
|
@@ -21511,9 +21700,9 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deseri
|
|
|
21511
21700
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21512
21701
|
* @return {!Uint8Array}
|
|
21513
21702
|
*/
|
|
21514
|
-
proto.zaber.motion.protobufs.
|
|
21703
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21515
21704
|
var writer = new jspb.BinaryWriter();
|
|
21516
|
-
proto.zaber.motion.protobufs.
|
|
21705
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21517
21706
|
return writer.getResultBuffer();
|
|
21518
21707
|
};
|
|
21519
21708
|
|
|
@@ -21521,11 +21710,11 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.protot
|
|
|
21521
21710
|
/**
|
|
21522
21711
|
* Serializes the given message to binary data (in protobuf wire
|
|
21523
21712
|
* format), writing to the given BinaryWriter.
|
|
21524
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21713
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} message
|
|
21525
21714
|
* @param {!jspb.BinaryWriter} writer
|
|
21526
21715
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21527
21716
|
*/
|
|
21528
|
-
proto.zaber.motion.protobufs.
|
|
21717
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21529
21718
|
var f = undefined;
|
|
21530
21719
|
f = message.getInterfaceId();
|
|
21531
21720
|
if (f !== 0) {
|
|
@@ -21541,10 +21730,17 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serial
|
|
|
21541
21730
|
f
|
|
21542
21731
|
);
|
|
21543
21732
|
}
|
|
21733
|
+
f = message.getAnalog();
|
|
21734
|
+
if (f) {
|
|
21735
|
+
writer.writeBool(
|
|
21736
|
+
3,
|
|
21737
|
+
f
|
|
21738
|
+
);
|
|
21739
|
+
}
|
|
21544
21740
|
f = message.getChannelsList();
|
|
21545
21741
|
if (f.length > 0) {
|
|
21546
21742
|
writer.writePackedBool(
|
|
21547
|
-
|
|
21743
|
+
4,
|
|
21548
21744
|
f
|
|
21549
21745
|
);
|
|
21550
21746
|
}
|
|
@@ -21555,16 +21751,16 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serial
|
|
|
21555
21751
|
* optional int32 interface_id = 1;
|
|
21556
21752
|
* @return {number}
|
|
21557
21753
|
*/
|
|
21558
|
-
proto.zaber.motion.protobufs.
|
|
21754
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
21559
21755
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21560
21756
|
};
|
|
21561
21757
|
|
|
21562
21758
|
|
|
21563
21759
|
/**
|
|
21564
21760
|
* @param {number} value
|
|
21565
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21761
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21566
21762
|
*/
|
|
21567
|
-
proto.zaber.motion.protobufs.
|
|
21763
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
21568
21764
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21569
21765
|
};
|
|
21570
21766
|
|
|
@@ -21573,53 +21769,71 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.protot
|
|
|
21573
21769
|
* optional int32 device = 2;
|
|
21574
21770
|
* @return {number}
|
|
21575
21771
|
*/
|
|
21576
|
-
proto.zaber.motion.protobufs.
|
|
21772
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getDevice = function() {
|
|
21577
21773
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21578
21774
|
};
|
|
21579
21775
|
|
|
21580
21776
|
|
|
21581
21777
|
/**
|
|
21582
21778
|
* @param {number} value
|
|
21583
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21779
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21584
21780
|
*/
|
|
21585
|
-
proto.zaber.motion.protobufs.
|
|
21781
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
21586
21782
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21587
21783
|
};
|
|
21588
21784
|
|
|
21589
21785
|
|
|
21590
21786
|
/**
|
|
21591
|
-
*
|
|
21787
|
+
* optional bool analog = 3;
|
|
21788
|
+
* @return {boolean}
|
|
21789
|
+
*/
|
|
21790
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getAnalog = function() {
|
|
21791
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
21792
|
+
};
|
|
21793
|
+
|
|
21794
|
+
|
|
21795
|
+
/**
|
|
21796
|
+
* @param {boolean} value
|
|
21797
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21798
|
+
*/
|
|
21799
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setAnalog = function(value) {
|
|
21800
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
21801
|
+
};
|
|
21802
|
+
|
|
21803
|
+
|
|
21804
|
+
/**
|
|
21805
|
+
* repeated bool channels = 4;
|
|
21592
21806
|
* @return {!Array<boolean>}
|
|
21593
21807
|
*/
|
|
21594
|
-
proto.zaber.motion.protobufs.
|
|
21595
|
-
return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this,
|
|
21808
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getChannelsList = function() {
|
|
21809
|
+
return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 4));
|
|
21596
21810
|
};
|
|
21597
21811
|
|
|
21598
21812
|
|
|
21599
21813
|
/**
|
|
21600
21814
|
* @param {!Array<boolean>} value
|
|
21601
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21815
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21602
21816
|
*/
|
|
21603
|
-
proto.zaber.motion.protobufs.
|
|
21604
|
-
return jspb.Message.setField(this,
|
|
21817
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setChannelsList = function(value) {
|
|
21818
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
21605
21819
|
};
|
|
21606
21820
|
|
|
21607
21821
|
|
|
21608
21822
|
/**
|
|
21609
21823
|
* @param {boolean} value
|
|
21610
21824
|
* @param {number=} opt_index
|
|
21611
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21825
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21612
21826
|
*/
|
|
21613
|
-
proto.zaber.motion.protobufs.
|
|
21614
|
-
return jspb.Message.addToRepeatedField(this,
|
|
21827
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.addChannels = function(value, opt_index) {
|
|
21828
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
21615
21829
|
};
|
|
21616
21830
|
|
|
21617
21831
|
|
|
21618
21832
|
/**
|
|
21619
21833
|
* Clears the list making it empty but non-null.
|
|
21620
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21834
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21621
21835
|
*/
|
|
21622
|
-
proto.zaber.motion.protobufs.
|
|
21836
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.clearChannelsList = function() {
|
|
21623
21837
|
return this.setChannelsList([]);
|
|
21624
21838
|
};
|
|
21625
21839
|
|
|
@@ -21843,6 +22057,13 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.clearVal
|
|
|
21843
22057
|
|
|
21844
22058
|
|
|
21845
22059
|
|
|
22060
|
+
/**
|
|
22061
|
+
* List of repeated fields within this message type.
|
|
22062
|
+
* @private {!Array<number>}
|
|
22063
|
+
* @const
|
|
22064
|
+
*/
|
|
22065
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.repeatedFields_ = [3,4];
|
|
22066
|
+
|
|
21846
22067
|
|
|
21847
22068
|
|
|
21848
22069
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -21858,8 +22079,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21858
22079
|
* http://goto/soy-param-migration
|
|
21859
22080
|
* @return {!Object}
|
|
21860
22081
|
*/
|
|
21861
|
-
proto.zaber.motion.protobufs.
|
|
21862
|
-
return proto.zaber.motion.protobufs.
|
|
22082
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22083
|
+
return proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
21863
22084
|
};
|
|
21864
22085
|
|
|
21865
22086
|
|
|
@@ -21868,16 +22089,18 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.toObject =
|
|
|
21868
22089
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21869
22090
|
* the JSPB instance for transitional soy proto support:
|
|
21870
22091
|
* http://goto/soy-param-migration
|
|
21871
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22092
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} msg The msg instance to transform.
|
|
21872
22093
|
* @return {!Object}
|
|
21873
22094
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21874
22095
|
*/
|
|
21875
|
-
proto.zaber.motion.protobufs.
|
|
22096
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21876
22097
|
var f, obj = {
|
|
21877
22098
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21878
22099
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21879
|
-
|
|
21880
|
-
|
|
22100
|
+
valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f,
|
|
22101
|
+
futureValuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 4)) == null ? undefined : f,
|
|
22102
|
+
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
22103
|
+
unit: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
21881
22104
|
};
|
|
21882
22105
|
|
|
21883
22106
|
if (includeInstance) {
|
|
@@ -21891,23 +22114,23 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(i
|
|
|
21891
22114
|
/**
|
|
21892
22115
|
* Deserializes binary data (in protobuf wire format).
|
|
21893
22116
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21894
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22117
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest}
|
|
21895
22118
|
*/
|
|
21896
|
-
proto.zaber.motion.protobufs.
|
|
22119
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21897
22120
|
var reader = new jspb.BinaryReader(bytes);
|
|
21898
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
21899
|
-
return proto.zaber.motion.protobufs.
|
|
22121
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest;
|
|
22122
|
+
return proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21900
22123
|
};
|
|
21901
22124
|
|
|
21902
22125
|
|
|
21903
22126
|
/**
|
|
21904
22127
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21905
22128
|
* given reader into the given message object.
|
|
21906
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22129
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21907
22130
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21908
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22131
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest}
|
|
21909
22132
|
*/
|
|
21910
|
-
proto.zaber.motion.protobufs.
|
|
22133
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21911
22134
|
while (reader.nextField()) {
|
|
21912
22135
|
if (reader.isEndGroup()) {
|
|
21913
22136
|
break;
|
|
@@ -21923,12 +22146,24 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21923
22146
|
msg.setDevice(value);
|
|
21924
22147
|
break;
|
|
21925
22148
|
case 3:
|
|
21926
|
-
var
|
|
21927
|
-
|
|
22149
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
|
|
22150
|
+
for (var i = 0; i < values.length; i++) {
|
|
22151
|
+
msg.addValues(values[i]);
|
|
22152
|
+
}
|
|
21928
22153
|
break;
|
|
21929
22154
|
case 4:
|
|
21930
|
-
var
|
|
21931
|
-
|
|
22155
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
|
|
22156
|
+
for (var i = 0; i < values.length; i++) {
|
|
22157
|
+
msg.addFutureValues(values[i]);
|
|
22158
|
+
}
|
|
22159
|
+
break;
|
|
22160
|
+
case 5:
|
|
22161
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22162
|
+
msg.setDelay(value);
|
|
22163
|
+
break;
|
|
22164
|
+
case 6:
|
|
22165
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22166
|
+
msg.setUnit(value);
|
|
21932
22167
|
break;
|
|
21933
22168
|
default:
|
|
21934
22169
|
reader.skipField();
|
|
@@ -21943,9 +22178,9 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21943
22178
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21944
22179
|
* @return {!Uint8Array}
|
|
21945
22180
|
*/
|
|
21946
|
-
proto.zaber.motion.protobufs.
|
|
22181
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21947
22182
|
var writer = new jspb.BinaryWriter();
|
|
21948
|
-
proto.zaber.motion.protobufs.
|
|
22183
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21949
22184
|
return writer.getResultBuffer();
|
|
21950
22185
|
};
|
|
21951
22186
|
|
|
@@ -21953,11 +22188,11 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.serializeBi
|
|
|
21953
22188
|
/**
|
|
21954
22189
|
* Serializes the given message to binary data (in protobuf wire
|
|
21955
22190
|
* format), writing to the given BinaryWriter.
|
|
21956
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22191
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} message
|
|
21957
22192
|
* @param {!jspb.BinaryWriter} writer
|
|
21958
22193
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21959
22194
|
*/
|
|
21960
|
-
proto.zaber.motion.protobufs.
|
|
22195
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21961
22196
|
var f = undefined;
|
|
21962
22197
|
f = message.getInterfaceId();
|
|
21963
22198
|
if (f !== 0) {
|
|
@@ -21973,20 +22208,34 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
21973
22208
|
f
|
|
21974
22209
|
);
|
|
21975
22210
|
}
|
|
21976
|
-
f = message.
|
|
21977
|
-
if (f
|
|
21978
|
-
writer.
|
|
22211
|
+
f = message.getValuesList();
|
|
22212
|
+
if (f.length > 0) {
|
|
22213
|
+
writer.writePackedDouble(
|
|
21979
22214
|
3,
|
|
21980
22215
|
f
|
|
21981
22216
|
);
|
|
21982
22217
|
}
|
|
21983
|
-
f = message.
|
|
21984
|
-
if (f
|
|
21985
|
-
writer.
|
|
22218
|
+
f = message.getFutureValuesList();
|
|
22219
|
+
if (f.length > 0) {
|
|
22220
|
+
writer.writePackedDouble(
|
|
21986
22221
|
4,
|
|
21987
22222
|
f
|
|
21988
22223
|
);
|
|
21989
22224
|
}
|
|
22225
|
+
f = message.getDelay();
|
|
22226
|
+
if (f !== 0.0) {
|
|
22227
|
+
writer.writeDouble(
|
|
22228
|
+
5,
|
|
22229
|
+
f
|
|
22230
|
+
);
|
|
22231
|
+
}
|
|
22232
|
+
f = message.getUnit();
|
|
22233
|
+
if (f.length > 0) {
|
|
22234
|
+
writer.writeString(
|
|
22235
|
+
6,
|
|
22236
|
+
f
|
|
22237
|
+
);
|
|
22238
|
+
}
|
|
21990
22239
|
};
|
|
21991
22240
|
|
|
21992
22241
|
|
|
@@ -21994,16 +22243,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
21994
22243
|
* optional int32 interface_id = 1;
|
|
21995
22244
|
* @return {number}
|
|
21996
22245
|
*/
|
|
21997
|
-
proto.zaber.motion.protobufs.
|
|
22246
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
21998
22247
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21999
22248
|
};
|
|
22000
22249
|
|
|
22001
22250
|
|
|
22002
22251
|
/**
|
|
22003
22252
|
* @param {number} value
|
|
22004
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22253
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22005
22254
|
*/
|
|
22006
|
-
proto.zaber.motion.protobufs.
|
|
22255
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
22007
22256
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22008
22257
|
};
|
|
22009
22258
|
|
|
@@ -22012,53 +22261,127 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfac
|
|
|
22012
22261
|
* optional int32 device = 2;
|
|
22013
22262
|
* @return {number}
|
|
22014
22263
|
*/
|
|
22015
|
-
proto.zaber.motion.protobufs.
|
|
22264
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getDevice = function() {
|
|
22016
22265
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22017
22266
|
};
|
|
22018
22267
|
|
|
22019
22268
|
|
|
22020
22269
|
/**
|
|
22021
22270
|
* @param {number} value
|
|
22022
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22271
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22023
22272
|
*/
|
|
22024
|
-
proto.zaber.motion.protobufs.
|
|
22273
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
22025
22274
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22026
22275
|
};
|
|
22027
22276
|
|
|
22028
22277
|
|
|
22029
22278
|
/**
|
|
22030
|
-
*
|
|
22031
|
-
* @return {number}
|
|
22279
|
+
* repeated double values = 3;
|
|
22280
|
+
* @return {!Array<number>}
|
|
22032
22281
|
*/
|
|
22033
|
-
proto.zaber.motion.protobufs.
|
|
22034
|
-
return /** @type {number} */ (jspb.Message.
|
|
22282
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getValuesList = function() {
|
|
22283
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 3));
|
|
22284
|
+
};
|
|
22285
|
+
|
|
22286
|
+
|
|
22287
|
+
/**
|
|
22288
|
+
* @param {!Array<number>} value
|
|
22289
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22290
|
+
*/
|
|
22291
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setValuesList = function(value) {
|
|
22292
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
22035
22293
|
};
|
|
22036
22294
|
|
|
22037
22295
|
|
|
22038
22296
|
/**
|
|
22039
22297
|
* @param {number} value
|
|
22040
|
-
* @
|
|
22298
|
+
* @param {number=} opt_index
|
|
22299
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22041
22300
|
*/
|
|
22042
|
-
proto.zaber.motion.protobufs.
|
|
22043
|
-
return jspb.Message.
|
|
22301
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.addValues = function(value, opt_index) {
|
|
22302
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
22044
22303
|
};
|
|
22045
22304
|
|
|
22046
22305
|
|
|
22047
22306
|
/**
|
|
22048
|
-
*
|
|
22307
|
+
* Clears the list making it empty but non-null.
|
|
22308
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22309
|
+
*/
|
|
22310
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.clearValuesList = function() {
|
|
22311
|
+
return this.setValuesList([]);
|
|
22312
|
+
};
|
|
22313
|
+
|
|
22314
|
+
|
|
22315
|
+
/**
|
|
22316
|
+
* repeated double future_values = 4;
|
|
22317
|
+
* @return {!Array<number>}
|
|
22318
|
+
*/
|
|
22319
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getFutureValuesList = function() {
|
|
22320
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 4));
|
|
22321
|
+
};
|
|
22322
|
+
|
|
22323
|
+
|
|
22324
|
+
/**
|
|
22325
|
+
* @param {!Array<number>} value
|
|
22326
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22327
|
+
*/
|
|
22328
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setFutureValuesList = function(value) {
|
|
22329
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
22330
|
+
};
|
|
22331
|
+
|
|
22332
|
+
|
|
22333
|
+
/**
|
|
22334
|
+
* @param {number} value
|
|
22335
|
+
* @param {number=} opt_index
|
|
22336
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22337
|
+
*/
|
|
22338
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.addFutureValues = function(value, opt_index) {
|
|
22339
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
22340
|
+
};
|
|
22341
|
+
|
|
22342
|
+
|
|
22343
|
+
/**
|
|
22344
|
+
* Clears the list making it empty but non-null.
|
|
22345
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22346
|
+
*/
|
|
22347
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.clearFutureValuesList = function() {
|
|
22348
|
+
return this.setFutureValuesList([]);
|
|
22349
|
+
};
|
|
22350
|
+
|
|
22351
|
+
|
|
22352
|
+
/**
|
|
22353
|
+
* optional double delay = 5;
|
|
22049
22354
|
* @return {number}
|
|
22050
22355
|
*/
|
|
22051
|
-
proto.zaber.motion.protobufs.
|
|
22052
|
-
return /** @type {number} */ (jspb.Message.
|
|
22356
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getDelay = function() {
|
|
22357
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
22053
22358
|
};
|
|
22054
22359
|
|
|
22055
22360
|
|
|
22056
22361
|
/**
|
|
22057
22362
|
* @param {number} value
|
|
22058
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22363
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22059
22364
|
*/
|
|
22060
|
-
proto.zaber.motion.protobufs.
|
|
22061
|
-
return jspb.Message.
|
|
22365
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setDelay = function(value) {
|
|
22366
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
22367
|
+
};
|
|
22368
|
+
|
|
22369
|
+
|
|
22370
|
+
/**
|
|
22371
|
+
* optional string unit = 6;
|
|
22372
|
+
* @return {string}
|
|
22373
|
+
*/
|
|
22374
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getUnit = function() {
|
|
22375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
22376
|
+
};
|
|
22377
|
+
|
|
22378
|
+
|
|
22379
|
+
/**
|
|
22380
|
+
* @param {string} value
|
|
22381
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22382
|
+
*/
|
|
22383
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setUnit = function(value) {
|
|
22384
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
22062
22385
|
};
|
|
22063
22386
|
|
|
22064
22387
|
|
|
@@ -22078,8 +22401,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22078
22401
|
* http://goto/soy-param-migration
|
|
22079
22402
|
* @return {!Object}
|
|
22080
22403
|
*/
|
|
22081
|
-
proto.zaber.motion.protobufs.
|
|
22082
|
-
return proto.zaber.motion.protobufs.
|
|
22404
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22405
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject(opt_includeInstance, this);
|
|
22083
22406
|
};
|
|
22084
22407
|
|
|
22085
22408
|
|
|
@@ -22088,19 +22411,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.toO
|
|
|
22088
22411
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22089
22412
|
* the JSPB instance for transitional soy proto support:
|
|
22090
22413
|
* http://goto/soy-param-migration
|
|
22091
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22414
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} msg The msg instance to transform.
|
|
22092
22415
|
* @return {!Object}
|
|
22093
22416
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22094
22417
|
*/
|
|
22095
|
-
proto.zaber.motion.protobufs.
|
|
22418
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(includeInstance, msg) {
|
|
22096
22419
|
var f, obj = {
|
|
22097
22420
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22098
22421
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22099
22422
|
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22100
|
-
value: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22101
|
-
futureValue: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
22102
|
-
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
22103
|
-
unit: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
22423
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22104
22424
|
};
|
|
22105
22425
|
|
|
22106
22426
|
if (includeInstance) {
|
|
@@ -22114,23 +22434,246 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject = fu
|
|
|
22114
22434
|
/**
|
|
22115
22435
|
* Deserializes binary data (in protobuf wire format).
|
|
22116
22436
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22117
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22437
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest}
|
|
22118
22438
|
*/
|
|
22119
|
-
proto.zaber.motion.protobufs.
|
|
22439
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinary = function(bytes) {
|
|
22120
22440
|
var reader = new jspb.BinaryReader(bytes);
|
|
22121
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
22122
|
-
return proto.zaber.motion.protobufs.
|
|
22441
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest;
|
|
22442
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
22123
22443
|
};
|
|
22124
22444
|
|
|
22125
22445
|
|
|
22126
22446
|
/**
|
|
22127
22447
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22128
22448
|
* given reader into the given message object.
|
|
22129
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22449
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} msg The message object to deserialize into.
|
|
22130
22450
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22131
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22451
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest}
|
|
22132
22452
|
*/
|
|
22133
|
-
proto.zaber.motion.protobufs.
|
|
22453
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22454
|
+
while (reader.nextField()) {
|
|
22455
|
+
if (reader.isEndGroup()) {
|
|
22456
|
+
break;
|
|
22457
|
+
}
|
|
22458
|
+
var field = reader.getFieldNumber();
|
|
22459
|
+
switch (field) {
|
|
22460
|
+
case 1:
|
|
22461
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22462
|
+
msg.setInterfaceId(value);
|
|
22463
|
+
break;
|
|
22464
|
+
case 2:
|
|
22465
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22466
|
+
msg.setDevice(value);
|
|
22467
|
+
break;
|
|
22468
|
+
case 3:
|
|
22469
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22470
|
+
msg.setChannelNumber(value);
|
|
22471
|
+
break;
|
|
22472
|
+
case 4:
|
|
22473
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22474
|
+
msg.setValue(value);
|
|
22475
|
+
break;
|
|
22476
|
+
default:
|
|
22477
|
+
reader.skipField();
|
|
22478
|
+
break;
|
|
22479
|
+
}
|
|
22480
|
+
}
|
|
22481
|
+
return msg;
|
|
22482
|
+
};
|
|
22483
|
+
|
|
22484
|
+
|
|
22485
|
+
/**
|
|
22486
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22487
|
+
* @return {!Uint8Array}
|
|
22488
|
+
*/
|
|
22489
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.serializeBinary = function() {
|
|
22490
|
+
var writer = new jspb.BinaryWriter();
|
|
22491
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWriter(this, writer);
|
|
22492
|
+
return writer.getResultBuffer();
|
|
22493
|
+
};
|
|
22494
|
+
|
|
22495
|
+
|
|
22496
|
+
/**
|
|
22497
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22498
|
+
* format), writing to the given BinaryWriter.
|
|
22499
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} message
|
|
22500
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22501
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22502
|
+
*/
|
|
22503
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22504
|
+
var f = undefined;
|
|
22505
|
+
f = message.getInterfaceId();
|
|
22506
|
+
if (f !== 0) {
|
|
22507
|
+
writer.writeInt32(
|
|
22508
|
+
1,
|
|
22509
|
+
f
|
|
22510
|
+
);
|
|
22511
|
+
}
|
|
22512
|
+
f = message.getDevice();
|
|
22513
|
+
if (f !== 0) {
|
|
22514
|
+
writer.writeInt32(
|
|
22515
|
+
2,
|
|
22516
|
+
f
|
|
22517
|
+
);
|
|
22518
|
+
}
|
|
22519
|
+
f = message.getChannelNumber();
|
|
22520
|
+
if (f !== 0) {
|
|
22521
|
+
writer.writeInt32(
|
|
22522
|
+
3,
|
|
22523
|
+
f
|
|
22524
|
+
);
|
|
22525
|
+
}
|
|
22526
|
+
f = message.getValue();
|
|
22527
|
+
if (f !== 0) {
|
|
22528
|
+
writer.writeInt32(
|
|
22529
|
+
4,
|
|
22530
|
+
f
|
|
22531
|
+
);
|
|
22532
|
+
}
|
|
22533
|
+
};
|
|
22534
|
+
|
|
22535
|
+
|
|
22536
|
+
/**
|
|
22537
|
+
* optional int32 interface_id = 1;
|
|
22538
|
+
* @return {number}
|
|
22539
|
+
*/
|
|
22540
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getInterfaceId = function() {
|
|
22541
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22542
|
+
};
|
|
22543
|
+
|
|
22544
|
+
|
|
22545
|
+
/**
|
|
22546
|
+
* @param {number} value
|
|
22547
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22548
|
+
*/
|
|
22549
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
|
|
22550
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22551
|
+
};
|
|
22552
|
+
|
|
22553
|
+
|
|
22554
|
+
/**
|
|
22555
|
+
* optional int32 device = 2;
|
|
22556
|
+
* @return {number}
|
|
22557
|
+
*/
|
|
22558
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getDevice = function() {
|
|
22559
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22560
|
+
};
|
|
22561
|
+
|
|
22562
|
+
|
|
22563
|
+
/**
|
|
22564
|
+
* @param {number} value
|
|
22565
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22566
|
+
*/
|
|
22567
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setDevice = function(value) {
|
|
22568
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22569
|
+
};
|
|
22570
|
+
|
|
22571
|
+
|
|
22572
|
+
/**
|
|
22573
|
+
* optional int32 channel_number = 3;
|
|
22574
|
+
* @return {number}
|
|
22575
|
+
*/
|
|
22576
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getChannelNumber = function() {
|
|
22577
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22578
|
+
};
|
|
22579
|
+
|
|
22580
|
+
|
|
22581
|
+
/**
|
|
22582
|
+
* @param {number} value
|
|
22583
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22584
|
+
*/
|
|
22585
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
|
|
22586
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22587
|
+
};
|
|
22588
|
+
|
|
22589
|
+
|
|
22590
|
+
/**
|
|
22591
|
+
* optional int32 value = 4;
|
|
22592
|
+
* @return {number}
|
|
22593
|
+
*/
|
|
22594
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getValue = function() {
|
|
22595
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22596
|
+
};
|
|
22597
|
+
|
|
22598
|
+
|
|
22599
|
+
/**
|
|
22600
|
+
* @param {number} value
|
|
22601
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22602
|
+
*/
|
|
22603
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
22604
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22605
|
+
};
|
|
22606
|
+
|
|
22607
|
+
|
|
22608
|
+
|
|
22609
|
+
|
|
22610
|
+
|
|
22611
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22612
|
+
/**
|
|
22613
|
+
* Creates an object representation of this proto.
|
|
22614
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22615
|
+
* Optional fields that are not set will be set to undefined.
|
|
22616
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22617
|
+
* For the list of reserved names please see:
|
|
22618
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22619
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22620
|
+
* JSPB instance for transitional soy proto support:
|
|
22621
|
+
* http://goto/soy-param-migration
|
|
22622
|
+
* @return {!Object}
|
|
22623
|
+
*/
|
|
22624
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22625
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
22626
|
+
};
|
|
22627
|
+
|
|
22628
|
+
|
|
22629
|
+
/**
|
|
22630
|
+
* Static version of the {@see toObject} method.
|
|
22631
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22632
|
+
* the JSPB instance for transitional soy proto support:
|
|
22633
|
+
* http://goto/soy-param-migration
|
|
22634
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The msg instance to transform.
|
|
22635
|
+
* @return {!Object}
|
|
22636
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22637
|
+
*/
|
|
22638
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
22639
|
+
var f, obj = {
|
|
22640
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22641
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22642
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22643
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
22644
|
+
futureValue: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
22645
|
+
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
22646
|
+
unit: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
22647
|
+
};
|
|
22648
|
+
|
|
22649
|
+
if (includeInstance) {
|
|
22650
|
+
obj.$jspbMessageInstance = msg;
|
|
22651
|
+
}
|
|
22652
|
+
return obj;
|
|
22653
|
+
};
|
|
22654
|
+
}
|
|
22655
|
+
|
|
22656
|
+
|
|
22657
|
+
/**
|
|
22658
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22659
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22660
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
|
|
22661
|
+
*/
|
|
22662
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
22663
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22664
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest;
|
|
22665
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
22666
|
+
};
|
|
22667
|
+
|
|
22668
|
+
|
|
22669
|
+
/**
|
|
22670
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22671
|
+
* given reader into the given message object.
|
|
22672
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The message object to deserialize into.
|
|
22673
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22674
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
|
|
22675
|
+
*/
|
|
22676
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22134
22677
|
while (reader.nextField()) {
|
|
22135
22678
|
if (reader.isEndGroup()) {
|
|
22136
22679
|
break;
|
|
@@ -22388,8 +22931,228 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22388
22931
|
* http://goto/soy-param-migration
|
|
22389
22932
|
* @return {!Object}
|
|
22390
22933
|
*/
|
|
22391
|
-
proto.zaber.motion.protobufs.
|
|
22392
|
-
return proto.zaber.motion.protobufs.
|
|
22934
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22935
|
+
return proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
22936
|
+
};
|
|
22937
|
+
|
|
22938
|
+
|
|
22939
|
+
/**
|
|
22940
|
+
* Static version of the {@see toObject} method.
|
|
22941
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22942
|
+
* the JSPB instance for transitional soy proto support:
|
|
22943
|
+
* http://goto/soy-param-migration
|
|
22944
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} msg The msg instance to transform.
|
|
22945
|
+
* @return {!Object}
|
|
22946
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22947
|
+
*/
|
|
22948
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
22949
|
+
var f, obj = {
|
|
22950
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22951
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22952
|
+
analog: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
22953
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22954
|
+
};
|
|
22955
|
+
|
|
22956
|
+
if (includeInstance) {
|
|
22957
|
+
obj.$jspbMessageInstance = msg;
|
|
22958
|
+
}
|
|
22959
|
+
return obj;
|
|
22960
|
+
};
|
|
22961
|
+
}
|
|
22962
|
+
|
|
22963
|
+
|
|
22964
|
+
/**
|
|
22965
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22966
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22967
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest}
|
|
22968
|
+
*/
|
|
22969
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
22970
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22971
|
+
var msg = new proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest;
|
|
22972
|
+
return proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
22973
|
+
};
|
|
22974
|
+
|
|
22975
|
+
|
|
22976
|
+
/**
|
|
22977
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22978
|
+
* given reader into the given message object.
|
|
22979
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} msg The message object to deserialize into.
|
|
22980
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22981
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest}
|
|
22982
|
+
*/
|
|
22983
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22984
|
+
while (reader.nextField()) {
|
|
22985
|
+
if (reader.isEndGroup()) {
|
|
22986
|
+
break;
|
|
22987
|
+
}
|
|
22988
|
+
var field = reader.getFieldNumber();
|
|
22989
|
+
switch (field) {
|
|
22990
|
+
case 1:
|
|
22991
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22992
|
+
msg.setInterfaceId(value);
|
|
22993
|
+
break;
|
|
22994
|
+
case 2:
|
|
22995
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22996
|
+
msg.setDevice(value);
|
|
22997
|
+
break;
|
|
22998
|
+
case 3:
|
|
22999
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23000
|
+
msg.setAnalog(value);
|
|
23001
|
+
break;
|
|
23002
|
+
case 4:
|
|
23003
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23004
|
+
msg.setChannelNumber(value);
|
|
23005
|
+
break;
|
|
23006
|
+
default:
|
|
23007
|
+
reader.skipField();
|
|
23008
|
+
break;
|
|
23009
|
+
}
|
|
23010
|
+
}
|
|
23011
|
+
return msg;
|
|
23012
|
+
};
|
|
23013
|
+
|
|
23014
|
+
|
|
23015
|
+
/**
|
|
23016
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23017
|
+
* @return {!Uint8Array}
|
|
23018
|
+
*/
|
|
23019
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.serializeBinary = function() {
|
|
23020
|
+
var writer = new jspb.BinaryWriter();
|
|
23021
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
23022
|
+
return writer.getResultBuffer();
|
|
23023
|
+
};
|
|
23024
|
+
|
|
23025
|
+
|
|
23026
|
+
/**
|
|
23027
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23028
|
+
* format), writing to the given BinaryWriter.
|
|
23029
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} message
|
|
23030
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23031
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23032
|
+
*/
|
|
23033
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23034
|
+
var f = undefined;
|
|
23035
|
+
f = message.getInterfaceId();
|
|
23036
|
+
if (f !== 0) {
|
|
23037
|
+
writer.writeInt32(
|
|
23038
|
+
1,
|
|
23039
|
+
f
|
|
23040
|
+
);
|
|
23041
|
+
}
|
|
23042
|
+
f = message.getDevice();
|
|
23043
|
+
if (f !== 0) {
|
|
23044
|
+
writer.writeInt32(
|
|
23045
|
+
2,
|
|
23046
|
+
f
|
|
23047
|
+
);
|
|
23048
|
+
}
|
|
23049
|
+
f = message.getAnalog();
|
|
23050
|
+
if (f) {
|
|
23051
|
+
writer.writeBool(
|
|
23052
|
+
3,
|
|
23053
|
+
f
|
|
23054
|
+
);
|
|
23055
|
+
}
|
|
23056
|
+
f = message.getChannelNumber();
|
|
23057
|
+
if (f !== 0) {
|
|
23058
|
+
writer.writeInt32(
|
|
23059
|
+
4,
|
|
23060
|
+
f
|
|
23061
|
+
);
|
|
23062
|
+
}
|
|
23063
|
+
};
|
|
23064
|
+
|
|
23065
|
+
|
|
23066
|
+
/**
|
|
23067
|
+
* optional int32 interface_id = 1;
|
|
23068
|
+
* @return {number}
|
|
23069
|
+
*/
|
|
23070
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getInterfaceId = function() {
|
|
23071
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23072
|
+
};
|
|
23073
|
+
|
|
23074
|
+
|
|
23075
|
+
/**
|
|
23076
|
+
* @param {number} value
|
|
23077
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
23078
|
+
*/
|
|
23079
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
23080
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
23081
|
+
};
|
|
23082
|
+
|
|
23083
|
+
|
|
23084
|
+
/**
|
|
23085
|
+
* optional int32 device = 2;
|
|
23086
|
+
* @return {number}
|
|
23087
|
+
*/
|
|
23088
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getDevice = function() {
|
|
23089
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
23090
|
+
};
|
|
23091
|
+
|
|
23092
|
+
|
|
23093
|
+
/**
|
|
23094
|
+
* @param {number} value
|
|
23095
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
23096
|
+
*/
|
|
23097
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setDevice = function(value) {
|
|
23098
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
23099
|
+
};
|
|
23100
|
+
|
|
23101
|
+
|
|
23102
|
+
/**
|
|
23103
|
+
* optional bool analog = 3;
|
|
23104
|
+
* @return {boolean}
|
|
23105
|
+
*/
|
|
23106
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getAnalog = function() {
|
|
23107
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
23108
|
+
};
|
|
23109
|
+
|
|
23110
|
+
|
|
23111
|
+
/**
|
|
23112
|
+
* @param {boolean} value
|
|
23113
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
23114
|
+
*/
|
|
23115
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setAnalog = function(value) {
|
|
23116
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
23117
|
+
};
|
|
23118
|
+
|
|
23119
|
+
|
|
23120
|
+
/**
|
|
23121
|
+
* optional int32 channel_number = 4;
|
|
23122
|
+
* @return {number}
|
|
23123
|
+
*/
|
|
23124
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getChannelNumber = function() {
|
|
23125
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
23126
|
+
};
|
|
23127
|
+
|
|
23128
|
+
|
|
23129
|
+
/**
|
|
23130
|
+
* @param {number} value
|
|
23131
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
23132
|
+
*/
|
|
23133
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setChannelNumber = function(value) {
|
|
23134
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
23135
|
+
};
|
|
23136
|
+
|
|
23137
|
+
|
|
23138
|
+
|
|
23139
|
+
|
|
23140
|
+
|
|
23141
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23142
|
+
/**
|
|
23143
|
+
* Creates an object representation of this proto.
|
|
23144
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23145
|
+
* Optional fields that are not set will be set to undefined.
|
|
23146
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23147
|
+
* For the list of reserved names please see:
|
|
23148
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23149
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23150
|
+
* JSPB instance for transitional soy proto support:
|
|
23151
|
+
* http://goto/soy-param-migration
|
|
23152
|
+
* @return {!Object}
|
|
23153
|
+
*/
|
|
23154
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23155
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.toObject(opt_includeInstance, this);
|
|
22393
23156
|
};
|
|
22394
23157
|
|
|
22395
23158
|
|
|
@@ -22398,15 +23161,16 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.
|
|
|
22398
23161
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22399
23162
|
* the JSPB instance for transitional soy proto support:
|
|
22400
23163
|
* http://goto/soy-param-migration
|
|
22401
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
23164
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} msg The msg instance to transform.
|
|
22402
23165
|
* @return {!Object}
|
|
22403
23166
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22404
23167
|
*/
|
|
22405
|
-
proto.zaber.motion.protobufs.
|
|
23168
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.toObject = function(includeInstance, msg) {
|
|
22406
23169
|
var f, obj = {
|
|
22407
23170
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22408
23171
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22409
|
-
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
23172
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23173
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
22410
23174
|
};
|
|
22411
23175
|
|
|
22412
23176
|
if (includeInstance) {
|
|
@@ -22420,23 +23184,23 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.toObject =
|
|
|
22420
23184
|
/**
|
|
22421
23185
|
* Deserializes binary data (in protobuf wire format).
|
|
22422
23186
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22423
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23187
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest}
|
|
22424
23188
|
*/
|
|
22425
|
-
proto.zaber.motion.protobufs.
|
|
23189
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinary = function(bytes) {
|
|
22426
23190
|
var reader = new jspb.BinaryReader(bytes);
|
|
22427
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
22428
|
-
return proto.zaber.motion.protobufs.
|
|
23191
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest;
|
|
23192
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
22429
23193
|
};
|
|
22430
23194
|
|
|
22431
23195
|
|
|
22432
23196
|
/**
|
|
22433
23197
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22434
23198
|
* given reader into the given message object.
|
|
22435
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
23199
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} msg The message object to deserialize into.
|
|
22436
23200
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22437
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23201
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest}
|
|
22438
23202
|
*/
|
|
22439
|
-
proto.zaber.motion.protobufs.
|
|
23203
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22440
23204
|
while (reader.nextField()) {
|
|
22441
23205
|
if (reader.isEndGroup()) {
|
|
22442
23206
|
break;
|
|
@@ -22455,6 +23219,1005 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializ
|
|
|
22455
23219
|
var value = /** @type {number} */ (reader.readInt32());
|
|
22456
23220
|
msg.setChannelNumber(value);
|
|
22457
23221
|
break;
|
|
23222
|
+
case 4:
|
|
23223
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23224
|
+
msg.setValue(value);
|
|
23225
|
+
break;
|
|
23226
|
+
default:
|
|
23227
|
+
reader.skipField();
|
|
23228
|
+
break;
|
|
23229
|
+
}
|
|
23230
|
+
}
|
|
23231
|
+
return msg;
|
|
23232
|
+
};
|
|
23233
|
+
|
|
23234
|
+
|
|
23235
|
+
/**
|
|
23236
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23237
|
+
* @return {!Uint8Array}
|
|
23238
|
+
*/
|
|
23239
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.serializeBinary = function() {
|
|
23240
|
+
var writer = new jspb.BinaryWriter();
|
|
23241
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.serializeBinaryToWriter(this, writer);
|
|
23242
|
+
return writer.getResultBuffer();
|
|
23243
|
+
};
|
|
23244
|
+
|
|
23245
|
+
|
|
23246
|
+
/**
|
|
23247
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23248
|
+
* format), writing to the given BinaryWriter.
|
|
23249
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} message
|
|
23250
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23251
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23252
|
+
*/
|
|
23253
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23254
|
+
var f = undefined;
|
|
23255
|
+
f = message.getInterfaceId();
|
|
23256
|
+
if (f !== 0) {
|
|
23257
|
+
writer.writeInt32(
|
|
23258
|
+
1,
|
|
23259
|
+
f
|
|
23260
|
+
);
|
|
23261
|
+
}
|
|
23262
|
+
f = message.getDevice();
|
|
23263
|
+
if (f !== 0) {
|
|
23264
|
+
writer.writeInt32(
|
|
23265
|
+
2,
|
|
23266
|
+
f
|
|
23267
|
+
);
|
|
23268
|
+
}
|
|
23269
|
+
f = message.getChannelNumber();
|
|
23270
|
+
if (f !== 0) {
|
|
23271
|
+
writer.writeInt32(
|
|
23272
|
+
3,
|
|
23273
|
+
f
|
|
23274
|
+
);
|
|
23275
|
+
}
|
|
23276
|
+
f = message.getValue();
|
|
23277
|
+
if (f !== 0.0) {
|
|
23278
|
+
writer.writeDouble(
|
|
23279
|
+
4,
|
|
23280
|
+
f
|
|
23281
|
+
);
|
|
23282
|
+
}
|
|
23283
|
+
};
|
|
23284
|
+
|
|
23285
|
+
|
|
23286
|
+
/**
|
|
23287
|
+
* optional int32 interface_id = 1;
|
|
23288
|
+
* @return {number}
|
|
23289
|
+
*/
|
|
23290
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getInterfaceId = function() {
|
|
23291
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23292
|
+
};
|
|
23293
|
+
|
|
23294
|
+
|
|
23295
|
+
/**
|
|
23296
|
+
* @param {number} value
|
|
23297
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
23298
|
+
*/
|
|
23299
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setInterfaceId = function(value) {
|
|
23300
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
23301
|
+
};
|
|
23302
|
+
|
|
23303
|
+
|
|
23304
|
+
/**
|
|
23305
|
+
* optional int32 device = 2;
|
|
23306
|
+
* @return {number}
|
|
23307
|
+
*/
|
|
23308
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getDevice = function() {
|
|
23309
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
23310
|
+
};
|
|
23311
|
+
|
|
23312
|
+
|
|
23313
|
+
/**
|
|
23314
|
+
* @param {number} value
|
|
23315
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
23316
|
+
*/
|
|
23317
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setDevice = function(value) {
|
|
23318
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
23319
|
+
};
|
|
23320
|
+
|
|
23321
|
+
|
|
23322
|
+
/**
|
|
23323
|
+
* optional int32 channel_number = 3;
|
|
23324
|
+
* @return {number}
|
|
23325
|
+
*/
|
|
23326
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getChannelNumber = function() {
|
|
23327
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23328
|
+
};
|
|
23329
|
+
|
|
23330
|
+
|
|
23331
|
+
/**
|
|
23332
|
+
* @param {number} value
|
|
23333
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
23334
|
+
*/
|
|
23335
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setChannelNumber = function(value) {
|
|
23336
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
23337
|
+
};
|
|
23338
|
+
|
|
23339
|
+
|
|
23340
|
+
/**
|
|
23341
|
+
* optional double value = 4;
|
|
23342
|
+
* @return {number}
|
|
23343
|
+
*/
|
|
23344
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getValue = function() {
|
|
23345
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
23346
|
+
};
|
|
23347
|
+
|
|
23348
|
+
|
|
23349
|
+
/**
|
|
23350
|
+
* @param {number} value
|
|
23351
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
23352
|
+
*/
|
|
23353
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setValue = function(value) {
|
|
23354
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
23355
|
+
};
|
|
23356
|
+
|
|
23357
|
+
|
|
23358
|
+
|
|
23359
|
+
|
|
23360
|
+
|
|
23361
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23362
|
+
/**
|
|
23363
|
+
* Creates an object representation of this proto.
|
|
23364
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23365
|
+
* Optional fields that are not set will be set to undefined.
|
|
23366
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23367
|
+
* For the list of reserved names please see:
|
|
23368
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23369
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23370
|
+
* JSPB instance for transitional soy proto support:
|
|
23371
|
+
* http://goto/soy-param-migration
|
|
23372
|
+
* @return {!Object}
|
|
23373
|
+
*/
|
|
23374
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23375
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
23376
|
+
};
|
|
23377
|
+
|
|
23378
|
+
|
|
23379
|
+
/**
|
|
23380
|
+
* Static version of the {@see toObject} method.
|
|
23381
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23382
|
+
* the JSPB instance for transitional soy proto support:
|
|
23383
|
+
* http://goto/soy-param-migration
|
|
23384
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} msg The msg instance to transform.
|
|
23385
|
+
* @return {!Object}
|
|
23386
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23387
|
+
*/
|
|
23388
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
23389
|
+
var f, obj = {
|
|
23390
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23391
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23392
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23393
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
23394
|
+
futureValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
23395
|
+
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
23396
|
+
unit: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
23397
|
+
};
|
|
23398
|
+
|
|
23399
|
+
if (includeInstance) {
|
|
23400
|
+
obj.$jspbMessageInstance = msg;
|
|
23401
|
+
}
|
|
23402
|
+
return obj;
|
|
23403
|
+
};
|
|
23404
|
+
}
|
|
23405
|
+
|
|
23406
|
+
|
|
23407
|
+
/**
|
|
23408
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23409
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23410
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest}
|
|
23411
|
+
*/
|
|
23412
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
23413
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23414
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest;
|
|
23415
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
23416
|
+
};
|
|
23417
|
+
|
|
23418
|
+
|
|
23419
|
+
/**
|
|
23420
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23421
|
+
* given reader into the given message object.
|
|
23422
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} msg The message object to deserialize into.
|
|
23423
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23424
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest}
|
|
23425
|
+
*/
|
|
23426
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23427
|
+
while (reader.nextField()) {
|
|
23428
|
+
if (reader.isEndGroup()) {
|
|
23429
|
+
break;
|
|
23430
|
+
}
|
|
23431
|
+
var field = reader.getFieldNumber();
|
|
23432
|
+
switch (field) {
|
|
23433
|
+
case 1:
|
|
23434
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23435
|
+
msg.setInterfaceId(value);
|
|
23436
|
+
break;
|
|
23437
|
+
case 2:
|
|
23438
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23439
|
+
msg.setDevice(value);
|
|
23440
|
+
break;
|
|
23441
|
+
case 3:
|
|
23442
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23443
|
+
msg.setChannelNumber(value);
|
|
23444
|
+
break;
|
|
23445
|
+
case 4:
|
|
23446
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23447
|
+
msg.setValue(value);
|
|
23448
|
+
break;
|
|
23449
|
+
case 5:
|
|
23450
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23451
|
+
msg.setFutureValue(value);
|
|
23452
|
+
break;
|
|
23453
|
+
case 6:
|
|
23454
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23455
|
+
msg.setDelay(value);
|
|
23456
|
+
break;
|
|
23457
|
+
case 7:
|
|
23458
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23459
|
+
msg.setUnit(value);
|
|
23460
|
+
break;
|
|
23461
|
+
default:
|
|
23462
|
+
reader.skipField();
|
|
23463
|
+
break;
|
|
23464
|
+
}
|
|
23465
|
+
}
|
|
23466
|
+
return msg;
|
|
23467
|
+
};
|
|
23468
|
+
|
|
23469
|
+
|
|
23470
|
+
/**
|
|
23471
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23472
|
+
* @return {!Uint8Array}
|
|
23473
|
+
*/
|
|
23474
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.serializeBinary = function() {
|
|
23475
|
+
var writer = new jspb.BinaryWriter();
|
|
23476
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
23477
|
+
return writer.getResultBuffer();
|
|
23478
|
+
};
|
|
23479
|
+
|
|
23480
|
+
|
|
23481
|
+
/**
|
|
23482
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23483
|
+
* format), writing to the given BinaryWriter.
|
|
23484
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} message
|
|
23485
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23486
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23487
|
+
*/
|
|
23488
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23489
|
+
var f = undefined;
|
|
23490
|
+
f = message.getInterfaceId();
|
|
23491
|
+
if (f !== 0) {
|
|
23492
|
+
writer.writeInt32(
|
|
23493
|
+
1,
|
|
23494
|
+
f
|
|
23495
|
+
);
|
|
23496
|
+
}
|
|
23497
|
+
f = message.getDevice();
|
|
23498
|
+
if (f !== 0) {
|
|
23499
|
+
writer.writeInt32(
|
|
23500
|
+
2,
|
|
23501
|
+
f
|
|
23502
|
+
);
|
|
23503
|
+
}
|
|
23504
|
+
f = message.getChannelNumber();
|
|
23505
|
+
if (f !== 0) {
|
|
23506
|
+
writer.writeInt32(
|
|
23507
|
+
3,
|
|
23508
|
+
f
|
|
23509
|
+
);
|
|
23510
|
+
}
|
|
23511
|
+
f = message.getValue();
|
|
23512
|
+
if (f !== 0.0) {
|
|
23513
|
+
writer.writeDouble(
|
|
23514
|
+
4,
|
|
23515
|
+
f
|
|
23516
|
+
);
|
|
23517
|
+
}
|
|
23518
|
+
f = message.getFutureValue();
|
|
23519
|
+
if (f !== 0.0) {
|
|
23520
|
+
writer.writeDouble(
|
|
23521
|
+
5,
|
|
23522
|
+
f
|
|
23523
|
+
);
|
|
23524
|
+
}
|
|
23525
|
+
f = message.getDelay();
|
|
23526
|
+
if (f !== 0.0) {
|
|
23527
|
+
writer.writeDouble(
|
|
23528
|
+
6,
|
|
23529
|
+
f
|
|
23530
|
+
);
|
|
23531
|
+
}
|
|
23532
|
+
f = message.getUnit();
|
|
23533
|
+
if (f.length > 0) {
|
|
23534
|
+
writer.writeString(
|
|
23535
|
+
7,
|
|
23536
|
+
f
|
|
23537
|
+
);
|
|
23538
|
+
}
|
|
23539
|
+
};
|
|
23540
|
+
|
|
23541
|
+
|
|
23542
|
+
/**
|
|
23543
|
+
* optional int32 interface_id = 1;
|
|
23544
|
+
* @return {number}
|
|
23545
|
+
*/
|
|
23546
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getInterfaceId = function() {
|
|
23547
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23548
|
+
};
|
|
23549
|
+
|
|
23550
|
+
|
|
23551
|
+
/**
|
|
23552
|
+
* @param {number} value
|
|
23553
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23554
|
+
*/
|
|
23555
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
23556
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
23557
|
+
};
|
|
23558
|
+
|
|
23559
|
+
|
|
23560
|
+
/**
|
|
23561
|
+
* optional int32 device = 2;
|
|
23562
|
+
* @return {number}
|
|
23563
|
+
*/
|
|
23564
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getDevice = function() {
|
|
23565
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
23566
|
+
};
|
|
23567
|
+
|
|
23568
|
+
|
|
23569
|
+
/**
|
|
23570
|
+
* @param {number} value
|
|
23571
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23572
|
+
*/
|
|
23573
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setDevice = function(value) {
|
|
23574
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
23575
|
+
};
|
|
23576
|
+
|
|
23577
|
+
|
|
23578
|
+
/**
|
|
23579
|
+
* optional int32 channel_number = 3;
|
|
23580
|
+
* @return {number}
|
|
23581
|
+
*/
|
|
23582
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getChannelNumber = function() {
|
|
23583
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23584
|
+
};
|
|
23585
|
+
|
|
23586
|
+
|
|
23587
|
+
/**
|
|
23588
|
+
* @param {number} value
|
|
23589
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23590
|
+
*/
|
|
23591
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setChannelNumber = function(value) {
|
|
23592
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
23593
|
+
};
|
|
23594
|
+
|
|
23595
|
+
|
|
23596
|
+
/**
|
|
23597
|
+
* optional double value = 4;
|
|
23598
|
+
* @return {number}
|
|
23599
|
+
*/
|
|
23600
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getValue = function() {
|
|
23601
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
23602
|
+
};
|
|
23603
|
+
|
|
23604
|
+
|
|
23605
|
+
/**
|
|
23606
|
+
* @param {number} value
|
|
23607
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23608
|
+
*/
|
|
23609
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setValue = function(value) {
|
|
23610
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
23611
|
+
};
|
|
23612
|
+
|
|
23613
|
+
|
|
23614
|
+
/**
|
|
23615
|
+
* optional double future_value = 5;
|
|
23616
|
+
* @return {number}
|
|
23617
|
+
*/
|
|
23618
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getFutureValue = function() {
|
|
23619
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
23620
|
+
};
|
|
23621
|
+
|
|
23622
|
+
|
|
23623
|
+
/**
|
|
23624
|
+
* @param {number} value
|
|
23625
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23626
|
+
*/
|
|
23627
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setFutureValue = function(value) {
|
|
23628
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
23629
|
+
};
|
|
23630
|
+
|
|
23631
|
+
|
|
23632
|
+
/**
|
|
23633
|
+
* optional double delay = 6;
|
|
23634
|
+
* @return {number}
|
|
23635
|
+
*/
|
|
23636
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getDelay = function() {
|
|
23637
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
23638
|
+
};
|
|
23639
|
+
|
|
23640
|
+
|
|
23641
|
+
/**
|
|
23642
|
+
* @param {number} value
|
|
23643
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23644
|
+
*/
|
|
23645
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setDelay = function(value) {
|
|
23646
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
23647
|
+
};
|
|
23648
|
+
|
|
23649
|
+
|
|
23650
|
+
/**
|
|
23651
|
+
* optional string unit = 7;
|
|
23652
|
+
* @return {string}
|
|
23653
|
+
*/
|
|
23654
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getUnit = function() {
|
|
23655
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
23656
|
+
};
|
|
23657
|
+
|
|
23658
|
+
|
|
23659
|
+
/**
|
|
23660
|
+
* @param {string} value
|
|
23661
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23662
|
+
*/
|
|
23663
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setUnit = function(value) {
|
|
23664
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
23665
|
+
};
|
|
23666
|
+
|
|
23667
|
+
|
|
23668
|
+
|
|
23669
|
+
|
|
23670
|
+
|
|
23671
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23672
|
+
/**
|
|
23673
|
+
* Creates an object representation of this proto.
|
|
23674
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23675
|
+
* Optional fields that are not set will be set to undefined.
|
|
23676
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23677
|
+
* For the list of reserved names please see:
|
|
23678
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23679
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23680
|
+
* JSPB instance for transitional soy proto support:
|
|
23681
|
+
* http://goto/soy-param-migration
|
|
23682
|
+
* @return {!Object}
|
|
23683
|
+
*/
|
|
23684
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.toObject = function(opt_includeInstance) {
|
|
23685
|
+
return proto.zaber.motion.protobufs.SetIoPortLabel.toObject(opt_includeInstance, this);
|
|
23686
|
+
};
|
|
23687
|
+
|
|
23688
|
+
|
|
23689
|
+
/**
|
|
23690
|
+
* Static version of the {@see toObject} method.
|
|
23691
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23692
|
+
* the JSPB instance for transitional soy proto support:
|
|
23693
|
+
* http://goto/soy-param-migration
|
|
23694
|
+
* @param {!proto.zaber.motion.protobufs.SetIoPortLabel} msg The msg instance to transform.
|
|
23695
|
+
* @return {!Object}
|
|
23696
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23697
|
+
*/
|
|
23698
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.toObject = function(includeInstance, msg) {
|
|
23699
|
+
var f, obj = {
|
|
23700
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23701
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23702
|
+
portType: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23703
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
23704
|
+
label: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
23705
|
+
};
|
|
23706
|
+
|
|
23707
|
+
if (includeInstance) {
|
|
23708
|
+
obj.$jspbMessageInstance = msg;
|
|
23709
|
+
}
|
|
23710
|
+
return obj;
|
|
23711
|
+
};
|
|
23712
|
+
}
|
|
23713
|
+
|
|
23714
|
+
|
|
23715
|
+
/**
|
|
23716
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23717
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23718
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel}
|
|
23719
|
+
*/
|
|
23720
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.deserializeBinary = function(bytes) {
|
|
23721
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23722
|
+
var msg = new proto.zaber.motion.protobufs.SetIoPortLabel;
|
|
23723
|
+
return proto.zaber.motion.protobufs.SetIoPortLabel.deserializeBinaryFromReader(msg, reader);
|
|
23724
|
+
};
|
|
23725
|
+
|
|
23726
|
+
|
|
23727
|
+
/**
|
|
23728
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23729
|
+
* given reader into the given message object.
|
|
23730
|
+
* @param {!proto.zaber.motion.protobufs.SetIoPortLabel} msg The message object to deserialize into.
|
|
23731
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23732
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel}
|
|
23733
|
+
*/
|
|
23734
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.deserializeBinaryFromReader = function(msg, reader) {
|
|
23735
|
+
while (reader.nextField()) {
|
|
23736
|
+
if (reader.isEndGroup()) {
|
|
23737
|
+
break;
|
|
23738
|
+
}
|
|
23739
|
+
var field = reader.getFieldNumber();
|
|
23740
|
+
switch (field) {
|
|
23741
|
+
case 1:
|
|
23742
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23743
|
+
msg.setInterfaceId(value);
|
|
23744
|
+
break;
|
|
23745
|
+
case 2:
|
|
23746
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23747
|
+
msg.setDevice(value);
|
|
23748
|
+
break;
|
|
23749
|
+
case 3:
|
|
23750
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23751
|
+
msg.setPortType(value);
|
|
23752
|
+
break;
|
|
23753
|
+
case 4:
|
|
23754
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23755
|
+
msg.setChannelNumber(value);
|
|
23756
|
+
break;
|
|
23757
|
+
case 5:
|
|
23758
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23759
|
+
msg.setLabel(value);
|
|
23760
|
+
break;
|
|
23761
|
+
default:
|
|
23762
|
+
reader.skipField();
|
|
23763
|
+
break;
|
|
23764
|
+
}
|
|
23765
|
+
}
|
|
23766
|
+
return msg;
|
|
23767
|
+
};
|
|
23768
|
+
|
|
23769
|
+
|
|
23770
|
+
/**
|
|
23771
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23772
|
+
* @return {!Uint8Array}
|
|
23773
|
+
*/
|
|
23774
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.serializeBinary = function() {
|
|
23775
|
+
var writer = new jspb.BinaryWriter();
|
|
23776
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.serializeBinaryToWriter(this, writer);
|
|
23777
|
+
return writer.getResultBuffer();
|
|
23778
|
+
};
|
|
23779
|
+
|
|
23780
|
+
|
|
23781
|
+
/**
|
|
23782
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23783
|
+
* format), writing to the given BinaryWriter.
|
|
23784
|
+
* @param {!proto.zaber.motion.protobufs.SetIoPortLabel} message
|
|
23785
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23786
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23787
|
+
*/
|
|
23788
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.serializeBinaryToWriter = function(message, writer) {
|
|
23789
|
+
var f = undefined;
|
|
23790
|
+
f = message.getInterfaceId();
|
|
23791
|
+
if (f !== 0) {
|
|
23792
|
+
writer.writeInt32(
|
|
23793
|
+
1,
|
|
23794
|
+
f
|
|
23795
|
+
);
|
|
23796
|
+
}
|
|
23797
|
+
f = message.getDevice();
|
|
23798
|
+
if (f !== 0) {
|
|
23799
|
+
writer.writeInt32(
|
|
23800
|
+
2,
|
|
23801
|
+
f
|
|
23802
|
+
);
|
|
23803
|
+
}
|
|
23804
|
+
f = message.getPortType();
|
|
23805
|
+
if (f !== 0) {
|
|
23806
|
+
writer.writeInt32(
|
|
23807
|
+
3,
|
|
23808
|
+
f
|
|
23809
|
+
);
|
|
23810
|
+
}
|
|
23811
|
+
f = message.getChannelNumber();
|
|
23812
|
+
if (f !== 0) {
|
|
23813
|
+
writer.writeInt32(
|
|
23814
|
+
4,
|
|
23815
|
+
f
|
|
23816
|
+
);
|
|
23817
|
+
}
|
|
23818
|
+
f = message.getLabel();
|
|
23819
|
+
if (f.length > 0) {
|
|
23820
|
+
writer.writeString(
|
|
23821
|
+
5,
|
|
23822
|
+
f
|
|
23823
|
+
);
|
|
23824
|
+
}
|
|
23825
|
+
};
|
|
23826
|
+
|
|
23827
|
+
|
|
23828
|
+
/**
|
|
23829
|
+
* optional int32 interface_id = 1;
|
|
23830
|
+
* @return {number}
|
|
23831
|
+
*/
|
|
23832
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getInterfaceId = function() {
|
|
23833
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23834
|
+
};
|
|
23835
|
+
|
|
23836
|
+
|
|
23837
|
+
/**
|
|
23838
|
+
* @param {number} value
|
|
23839
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
23840
|
+
*/
|
|
23841
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setInterfaceId = function(value) {
|
|
23842
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
23843
|
+
};
|
|
23844
|
+
|
|
23845
|
+
|
|
23846
|
+
/**
|
|
23847
|
+
* optional int32 device = 2;
|
|
23848
|
+
* @return {number}
|
|
23849
|
+
*/
|
|
23850
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getDevice = function() {
|
|
23851
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
23852
|
+
};
|
|
23853
|
+
|
|
23854
|
+
|
|
23855
|
+
/**
|
|
23856
|
+
* @param {number} value
|
|
23857
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
23858
|
+
*/
|
|
23859
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setDevice = function(value) {
|
|
23860
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
23861
|
+
};
|
|
23862
|
+
|
|
23863
|
+
|
|
23864
|
+
/**
|
|
23865
|
+
* optional int32 port_type = 3;
|
|
23866
|
+
* @return {number}
|
|
23867
|
+
*/
|
|
23868
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getPortType = function() {
|
|
23869
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23870
|
+
};
|
|
23871
|
+
|
|
23872
|
+
|
|
23873
|
+
/**
|
|
23874
|
+
* @param {number} value
|
|
23875
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
23876
|
+
*/
|
|
23877
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setPortType = function(value) {
|
|
23878
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
23879
|
+
};
|
|
23880
|
+
|
|
23881
|
+
|
|
23882
|
+
/**
|
|
23883
|
+
* optional int32 channel_number = 4;
|
|
23884
|
+
* @return {number}
|
|
23885
|
+
*/
|
|
23886
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getChannelNumber = function() {
|
|
23887
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
23888
|
+
};
|
|
23889
|
+
|
|
23890
|
+
|
|
23891
|
+
/**
|
|
23892
|
+
* @param {number} value
|
|
23893
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
23894
|
+
*/
|
|
23895
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setChannelNumber = function(value) {
|
|
23896
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
23897
|
+
};
|
|
23898
|
+
|
|
23899
|
+
|
|
23900
|
+
/**
|
|
23901
|
+
* optional string label = 5;
|
|
23902
|
+
* @return {string}
|
|
23903
|
+
*/
|
|
23904
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getLabel = function() {
|
|
23905
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
23906
|
+
};
|
|
23907
|
+
|
|
23908
|
+
|
|
23909
|
+
/**
|
|
23910
|
+
* @param {string} value
|
|
23911
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
23912
|
+
*/
|
|
23913
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setLabel = function(value) {
|
|
23914
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
23915
|
+
};
|
|
23916
|
+
|
|
23917
|
+
|
|
23918
|
+
|
|
23919
|
+
|
|
23920
|
+
|
|
23921
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23922
|
+
/**
|
|
23923
|
+
* Creates an object representation of this proto.
|
|
23924
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23925
|
+
* Optional fields that are not set will be set to undefined.
|
|
23926
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23927
|
+
* For the list of reserved names please see:
|
|
23928
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23929
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23930
|
+
* JSPB instance for transitional soy proto support:
|
|
23931
|
+
* http://goto/soy-param-migration
|
|
23932
|
+
* @return {!Object}
|
|
23933
|
+
*/
|
|
23934
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.toObject = function(opt_includeInstance) {
|
|
23935
|
+
return proto.zaber.motion.protobufs.GetIoPortLabel.toObject(opt_includeInstance, this);
|
|
23936
|
+
};
|
|
23937
|
+
|
|
23938
|
+
|
|
23939
|
+
/**
|
|
23940
|
+
* Static version of the {@see toObject} method.
|
|
23941
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23942
|
+
* the JSPB instance for transitional soy proto support:
|
|
23943
|
+
* http://goto/soy-param-migration
|
|
23944
|
+
* @param {!proto.zaber.motion.protobufs.GetIoPortLabel} msg The msg instance to transform.
|
|
23945
|
+
* @return {!Object}
|
|
23946
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23947
|
+
*/
|
|
23948
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.toObject = function(includeInstance, msg) {
|
|
23949
|
+
var f, obj = {
|
|
23950
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23951
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23952
|
+
portType: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23953
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
23954
|
+
};
|
|
23955
|
+
|
|
23956
|
+
if (includeInstance) {
|
|
23957
|
+
obj.$jspbMessageInstance = msg;
|
|
23958
|
+
}
|
|
23959
|
+
return obj;
|
|
23960
|
+
};
|
|
23961
|
+
}
|
|
23962
|
+
|
|
23963
|
+
|
|
23964
|
+
/**
|
|
23965
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23966
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23967
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel}
|
|
23968
|
+
*/
|
|
23969
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.deserializeBinary = function(bytes) {
|
|
23970
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23971
|
+
var msg = new proto.zaber.motion.protobufs.GetIoPortLabel;
|
|
23972
|
+
return proto.zaber.motion.protobufs.GetIoPortLabel.deserializeBinaryFromReader(msg, reader);
|
|
23973
|
+
};
|
|
23974
|
+
|
|
23975
|
+
|
|
23976
|
+
/**
|
|
23977
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23978
|
+
* given reader into the given message object.
|
|
23979
|
+
* @param {!proto.zaber.motion.protobufs.GetIoPortLabel} msg The message object to deserialize into.
|
|
23980
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23981
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel}
|
|
23982
|
+
*/
|
|
23983
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.deserializeBinaryFromReader = function(msg, reader) {
|
|
23984
|
+
while (reader.nextField()) {
|
|
23985
|
+
if (reader.isEndGroup()) {
|
|
23986
|
+
break;
|
|
23987
|
+
}
|
|
23988
|
+
var field = reader.getFieldNumber();
|
|
23989
|
+
switch (field) {
|
|
23990
|
+
case 1:
|
|
23991
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23992
|
+
msg.setInterfaceId(value);
|
|
23993
|
+
break;
|
|
23994
|
+
case 2:
|
|
23995
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23996
|
+
msg.setDevice(value);
|
|
23997
|
+
break;
|
|
23998
|
+
case 3:
|
|
23999
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24000
|
+
msg.setPortType(value);
|
|
24001
|
+
break;
|
|
24002
|
+
case 4:
|
|
24003
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24004
|
+
msg.setChannelNumber(value);
|
|
24005
|
+
break;
|
|
24006
|
+
default:
|
|
24007
|
+
reader.skipField();
|
|
24008
|
+
break;
|
|
24009
|
+
}
|
|
24010
|
+
}
|
|
24011
|
+
return msg;
|
|
24012
|
+
};
|
|
24013
|
+
|
|
24014
|
+
|
|
24015
|
+
/**
|
|
24016
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24017
|
+
* @return {!Uint8Array}
|
|
24018
|
+
*/
|
|
24019
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.serializeBinary = function() {
|
|
24020
|
+
var writer = new jspb.BinaryWriter();
|
|
24021
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.serializeBinaryToWriter(this, writer);
|
|
24022
|
+
return writer.getResultBuffer();
|
|
24023
|
+
};
|
|
24024
|
+
|
|
24025
|
+
|
|
24026
|
+
/**
|
|
24027
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24028
|
+
* format), writing to the given BinaryWriter.
|
|
24029
|
+
* @param {!proto.zaber.motion.protobufs.GetIoPortLabel} message
|
|
24030
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24031
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24032
|
+
*/
|
|
24033
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.serializeBinaryToWriter = function(message, writer) {
|
|
24034
|
+
var f = undefined;
|
|
24035
|
+
f = message.getInterfaceId();
|
|
24036
|
+
if (f !== 0) {
|
|
24037
|
+
writer.writeInt32(
|
|
24038
|
+
1,
|
|
24039
|
+
f
|
|
24040
|
+
);
|
|
24041
|
+
}
|
|
24042
|
+
f = message.getDevice();
|
|
24043
|
+
if (f !== 0) {
|
|
24044
|
+
writer.writeInt32(
|
|
24045
|
+
2,
|
|
24046
|
+
f
|
|
24047
|
+
);
|
|
24048
|
+
}
|
|
24049
|
+
f = message.getPortType();
|
|
24050
|
+
if (f !== 0) {
|
|
24051
|
+
writer.writeInt32(
|
|
24052
|
+
3,
|
|
24053
|
+
f
|
|
24054
|
+
);
|
|
24055
|
+
}
|
|
24056
|
+
f = message.getChannelNumber();
|
|
24057
|
+
if (f !== 0) {
|
|
24058
|
+
writer.writeInt32(
|
|
24059
|
+
4,
|
|
24060
|
+
f
|
|
24061
|
+
);
|
|
24062
|
+
}
|
|
24063
|
+
};
|
|
24064
|
+
|
|
24065
|
+
|
|
24066
|
+
/**
|
|
24067
|
+
* optional int32 interface_id = 1;
|
|
24068
|
+
* @return {number}
|
|
24069
|
+
*/
|
|
24070
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getInterfaceId = function() {
|
|
24071
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
24072
|
+
};
|
|
24073
|
+
|
|
24074
|
+
|
|
24075
|
+
/**
|
|
24076
|
+
* @param {number} value
|
|
24077
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
24078
|
+
*/
|
|
24079
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setInterfaceId = function(value) {
|
|
24080
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
24081
|
+
};
|
|
24082
|
+
|
|
24083
|
+
|
|
24084
|
+
/**
|
|
24085
|
+
* optional int32 device = 2;
|
|
24086
|
+
* @return {number}
|
|
24087
|
+
*/
|
|
24088
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getDevice = function() {
|
|
24089
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
24090
|
+
};
|
|
24091
|
+
|
|
24092
|
+
|
|
24093
|
+
/**
|
|
24094
|
+
* @param {number} value
|
|
24095
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
24096
|
+
*/
|
|
24097
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setDevice = function(value) {
|
|
24098
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
24099
|
+
};
|
|
24100
|
+
|
|
24101
|
+
|
|
24102
|
+
/**
|
|
24103
|
+
* optional int32 port_type = 3;
|
|
24104
|
+
* @return {number}
|
|
24105
|
+
*/
|
|
24106
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getPortType = function() {
|
|
24107
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
24108
|
+
};
|
|
24109
|
+
|
|
24110
|
+
|
|
24111
|
+
/**
|
|
24112
|
+
* @param {number} value
|
|
24113
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
24114
|
+
*/
|
|
24115
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setPortType = function(value) {
|
|
24116
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
24117
|
+
};
|
|
24118
|
+
|
|
24119
|
+
|
|
24120
|
+
/**
|
|
24121
|
+
* optional int32 channel_number = 4;
|
|
24122
|
+
* @return {number}
|
|
24123
|
+
*/
|
|
24124
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getChannelNumber = function() {
|
|
24125
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
24126
|
+
};
|
|
24127
|
+
|
|
24128
|
+
|
|
24129
|
+
/**
|
|
24130
|
+
* @param {number} value
|
|
24131
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
24132
|
+
*/
|
|
24133
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setChannelNumber = function(value) {
|
|
24134
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
24135
|
+
};
|
|
24136
|
+
|
|
24137
|
+
|
|
24138
|
+
|
|
24139
|
+
|
|
24140
|
+
|
|
24141
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24142
|
+
/**
|
|
24143
|
+
* Creates an object representation of this proto.
|
|
24144
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24145
|
+
* Optional fields that are not set will be set to undefined.
|
|
24146
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24147
|
+
* For the list of reserved names please see:
|
|
24148
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24149
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24150
|
+
* JSPB instance for transitional soy proto support:
|
|
24151
|
+
* http://goto/soy-param-migration
|
|
24152
|
+
* @return {!Object}
|
|
24153
|
+
*/
|
|
24154
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.toObject = function(opt_includeInstance) {
|
|
24155
|
+
return proto.zaber.motion.protobufs.IoPortLabel.toObject(opt_includeInstance, this);
|
|
24156
|
+
};
|
|
24157
|
+
|
|
24158
|
+
|
|
24159
|
+
/**
|
|
24160
|
+
* Static version of the {@see toObject} method.
|
|
24161
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24162
|
+
* the JSPB instance for transitional soy proto support:
|
|
24163
|
+
* http://goto/soy-param-migration
|
|
24164
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel} msg The msg instance to transform.
|
|
24165
|
+
* @return {!Object}
|
|
24166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24167
|
+
*/
|
|
24168
|
+
proto.zaber.motion.protobufs.IoPortLabel.toObject = function(includeInstance, msg) {
|
|
24169
|
+
var f, obj = {
|
|
24170
|
+
portType: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
24171
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
24172
|
+
label: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
24173
|
+
};
|
|
24174
|
+
|
|
24175
|
+
if (includeInstance) {
|
|
24176
|
+
obj.$jspbMessageInstance = msg;
|
|
24177
|
+
}
|
|
24178
|
+
return obj;
|
|
24179
|
+
};
|
|
24180
|
+
}
|
|
24181
|
+
|
|
24182
|
+
|
|
24183
|
+
/**
|
|
24184
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24185
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24186
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel}
|
|
24187
|
+
*/
|
|
24188
|
+
proto.zaber.motion.protobufs.IoPortLabel.deserializeBinary = function(bytes) {
|
|
24189
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24190
|
+
var msg = new proto.zaber.motion.protobufs.IoPortLabel;
|
|
24191
|
+
return proto.zaber.motion.protobufs.IoPortLabel.deserializeBinaryFromReader(msg, reader);
|
|
24192
|
+
};
|
|
24193
|
+
|
|
24194
|
+
|
|
24195
|
+
/**
|
|
24196
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24197
|
+
* given reader into the given message object.
|
|
24198
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel} msg The message object to deserialize into.
|
|
24199
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24200
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel}
|
|
24201
|
+
*/
|
|
24202
|
+
proto.zaber.motion.protobufs.IoPortLabel.deserializeBinaryFromReader = function(msg, reader) {
|
|
24203
|
+
while (reader.nextField()) {
|
|
24204
|
+
if (reader.isEndGroup()) {
|
|
24205
|
+
break;
|
|
24206
|
+
}
|
|
24207
|
+
var field = reader.getFieldNumber();
|
|
24208
|
+
switch (field) {
|
|
24209
|
+
case 1:
|
|
24210
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24211
|
+
msg.setPortType(value);
|
|
24212
|
+
break;
|
|
24213
|
+
case 2:
|
|
24214
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24215
|
+
msg.setChannelNumber(value);
|
|
24216
|
+
break;
|
|
24217
|
+
case 3:
|
|
24218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24219
|
+
msg.setLabel(value);
|
|
24220
|
+
break;
|
|
22458
24221
|
default:
|
|
22459
24222
|
reader.skipField();
|
|
22460
24223
|
break;
|
|
@@ -22468,9 +24231,9 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializ
|
|
|
22468
24231
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22469
24232
|
* @return {!Uint8Array}
|
|
22470
24233
|
*/
|
|
22471
|
-
proto.zaber.motion.protobufs.
|
|
24234
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.serializeBinary = function() {
|
|
22472
24235
|
var writer = new jspb.BinaryWriter();
|
|
22473
|
-
proto.zaber.motion.protobufs.
|
|
24236
|
+
proto.zaber.motion.protobufs.IoPortLabel.serializeBinaryToWriter(this, writer);
|
|
22474
24237
|
return writer.getResultBuffer();
|
|
22475
24238
|
};
|
|
22476
24239
|
|
|
@@ -22478,29 +24241,29 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.
|
|
|
22478
24241
|
/**
|
|
22479
24242
|
* Serializes the given message to binary data (in protobuf wire
|
|
22480
24243
|
* format), writing to the given BinaryWriter.
|
|
22481
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24244
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel} message
|
|
22482
24245
|
* @param {!jspb.BinaryWriter} writer
|
|
22483
24246
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22484
24247
|
*/
|
|
22485
|
-
proto.zaber.motion.protobufs.
|
|
24248
|
+
proto.zaber.motion.protobufs.IoPortLabel.serializeBinaryToWriter = function(message, writer) {
|
|
22486
24249
|
var f = undefined;
|
|
22487
|
-
f = message.
|
|
24250
|
+
f = message.getPortType();
|
|
22488
24251
|
if (f !== 0) {
|
|
22489
24252
|
writer.writeInt32(
|
|
22490
24253
|
1,
|
|
22491
24254
|
f
|
|
22492
24255
|
);
|
|
22493
24256
|
}
|
|
22494
|
-
f = message.
|
|
24257
|
+
f = message.getChannelNumber();
|
|
22495
24258
|
if (f !== 0) {
|
|
22496
24259
|
writer.writeInt32(
|
|
22497
24260
|
2,
|
|
22498
24261
|
f
|
|
22499
24262
|
);
|
|
22500
24263
|
}
|
|
22501
|
-
f = message.
|
|
22502
|
-
if (f
|
|
22503
|
-
writer.
|
|
24264
|
+
f = message.getLabel();
|
|
24265
|
+
if (f.length > 0) {
|
|
24266
|
+
writer.writeString(
|
|
22504
24267
|
3,
|
|
22505
24268
|
f
|
|
22506
24269
|
);
|
|
@@ -22509,60 +24272,67 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.serializeB
|
|
|
22509
24272
|
|
|
22510
24273
|
|
|
22511
24274
|
/**
|
|
22512
|
-
* optional int32
|
|
24275
|
+
* optional int32 port_type = 1;
|
|
22513
24276
|
* @return {number}
|
|
22514
24277
|
*/
|
|
22515
|
-
proto.zaber.motion.protobufs.
|
|
24278
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.getPortType = function() {
|
|
22516
24279
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22517
24280
|
};
|
|
22518
24281
|
|
|
22519
24282
|
|
|
22520
24283
|
/**
|
|
22521
24284
|
* @param {number} value
|
|
22522
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24285
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel} returns this
|
|
22523
24286
|
*/
|
|
22524
|
-
proto.zaber.motion.protobufs.
|
|
24287
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.setPortType = function(value) {
|
|
22525
24288
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22526
24289
|
};
|
|
22527
24290
|
|
|
22528
24291
|
|
|
22529
24292
|
/**
|
|
22530
|
-
* optional int32
|
|
24293
|
+
* optional int32 channel_number = 2;
|
|
22531
24294
|
* @return {number}
|
|
22532
24295
|
*/
|
|
22533
|
-
proto.zaber.motion.protobufs.
|
|
24296
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.getChannelNumber = function() {
|
|
22534
24297
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22535
24298
|
};
|
|
22536
24299
|
|
|
22537
24300
|
|
|
22538
24301
|
/**
|
|
22539
24302
|
* @param {number} value
|
|
22540
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24303
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel} returns this
|
|
22541
24304
|
*/
|
|
22542
|
-
proto.zaber.motion.protobufs.
|
|
24305
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.setChannelNumber = function(value) {
|
|
22543
24306
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22544
24307
|
};
|
|
22545
24308
|
|
|
22546
24309
|
|
|
22547
24310
|
/**
|
|
22548
|
-
* optional
|
|
22549
|
-
* @return {
|
|
24311
|
+
* optional string label = 3;
|
|
24312
|
+
* @return {string}
|
|
22550
24313
|
*/
|
|
22551
|
-
proto.zaber.motion.protobufs.
|
|
22552
|
-
return /** @type {
|
|
24314
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.getLabel = function() {
|
|
24315
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
22553
24316
|
};
|
|
22554
24317
|
|
|
22555
24318
|
|
|
22556
24319
|
/**
|
|
22557
|
-
* @param {
|
|
22558
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24320
|
+
* @param {string} value
|
|
24321
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel} returns this
|
|
22559
24322
|
*/
|
|
22560
|
-
proto.zaber.motion.protobufs.
|
|
22561
|
-
return jspb.Message.
|
|
24323
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.setLabel = function(value) {
|
|
24324
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
22562
24325
|
};
|
|
22563
24326
|
|
|
22564
24327
|
|
|
22565
24328
|
|
|
24329
|
+
/**
|
|
24330
|
+
* List of repeated fields within this message type.
|
|
24331
|
+
* @private {!Array<number>}
|
|
24332
|
+
* @const
|
|
24333
|
+
*/
|
|
24334
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.repeatedFields_ = [1];
|
|
24335
|
+
|
|
22566
24336
|
|
|
22567
24337
|
|
|
22568
24338
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -22578,8 +24348,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22578
24348
|
* http://goto/soy-param-migration
|
|
22579
24349
|
* @return {!Object}
|
|
22580
24350
|
*/
|
|
22581
|
-
proto.zaber.motion.protobufs.
|
|
22582
|
-
return proto.zaber.motion.protobufs.
|
|
24351
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
24352
|
+
return proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.toObject(opt_includeInstance, this);
|
|
22583
24353
|
};
|
|
22584
24354
|
|
|
22585
24355
|
|
|
@@ -22588,16 +24358,14 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.toObject = f
|
|
|
22588
24358
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22589
24359
|
* the JSPB instance for transitional soy proto support:
|
|
22590
24360
|
* http://goto/soy-param-migration
|
|
22591
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24361
|
+
* @param {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} msg The msg instance to transform.
|
|
22592
24362
|
* @return {!Object}
|
|
22593
24363
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22594
24364
|
*/
|
|
22595
|
-
proto.zaber.motion.protobufs.
|
|
24365
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.toObject = function(includeInstance, msg) {
|
|
22596
24366
|
var f, obj = {
|
|
22597
|
-
|
|
22598
|
-
|
|
22599
|
-
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22600
|
-
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
24367
|
+
labelsList: jspb.Message.toObjectList(msg.getLabelsList(),
|
|
24368
|
+
proto.zaber.motion.protobufs.IoPortLabel.toObject, includeInstance)
|
|
22601
24369
|
};
|
|
22602
24370
|
|
|
22603
24371
|
if (includeInstance) {
|
|
@@ -22611,23 +24379,23 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.toObject = function(in
|
|
|
22611
24379
|
/**
|
|
22612
24380
|
* Deserializes binary data (in protobuf wire format).
|
|
22613
24381
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22614
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24382
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse}
|
|
22615
24383
|
*/
|
|
22616
|
-
proto.zaber.motion.protobufs.
|
|
24384
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.deserializeBinary = function(bytes) {
|
|
22617
24385
|
var reader = new jspb.BinaryReader(bytes);
|
|
22618
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
22619
|
-
return proto.zaber.motion.protobufs.
|
|
24386
|
+
var msg = new proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse;
|
|
24387
|
+
return proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.deserializeBinaryFromReader(msg, reader);
|
|
22620
24388
|
};
|
|
22621
24389
|
|
|
22622
24390
|
|
|
22623
24391
|
/**
|
|
22624
24392
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22625
24393
|
* given reader into the given message object.
|
|
22626
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24394
|
+
* @param {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} msg The message object to deserialize into.
|
|
22627
24395
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22628
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24396
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse}
|
|
22629
24397
|
*/
|
|
22630
|
-
proto.zaber.motion.protobufs.
|
|
24398
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22631
24399
|
while (reader.nextField()) {
|
|
22632
24400
|
if (reader.isEndGroup()) {
|
|
22633
24401
|
break;
|
|
@@ -22635,20 +24403,9 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromR
|
|
|
22635
24403
|
var field = reader.getFieldNumber();
|
|
22636
24404
|
switch (field) {
|
|
22637
24405
|
case 1:
|
|
22638
|
-
var value =
|
|
22639
|
-
|
|
22640
|
-
|
|
22641
|
-
case 2:
|
|
22642
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
22643
|
-
msg.setDevice(value);
|
|
22644
|
-
break;
|
|
22645
|
-
case 3:
|
|
22646
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
22647
|
-
msg.setChannelNumber(value);
|
|
22648
|
-
break;
|
|
22649
|
-
case 4:
|
|
22650
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
22651
|
-
msg.setValue(value);
|
|
24406
|
+
var value = new proto.zaber.motion.protobufs.IoPortLabel;
|
|
24407
|
+
reader.readMessage(value,proto.zaber.motion.protobufs.IoPortLabel.deserializeBinaryFromReader);
|
|
24408
|
+
msg.addLabels(value);
|
|
22652
24409
|
break;
|
|
22653
24410
|
default:
|
|
22654
24411
|
reader.skipField();
|
|
@@ -22663,9 +24420,9 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromR
|
|
|
22663
24420
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22664
24421
|
* @return {!Uint8Array}
|
|
22665
24422
|
*/
|
|
22666
|
-
proto.zaber.motion.protobufs.
|
|
24423
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.serializeBinary = function() {
|
|
22667
24424
|
var writer = new jspb.BinaryWriter();
|
|
22668
|
-
proto.zaber.motion.protobufs.
|
|
24425
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.serializeBinaryToWriter(this, writer);
|
|
22669
24426
|
return writer.getResultBuffer();
|
|
22670
24427
|
};
|
|
22671
24428
|
|
|
@@ -22673,112 +24430,58 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.serializeBin
|
|
|
22673
24430
|
/**
|
|
22674
24431
|
* Serializes the given message to binary data (in protobuf wire
|
|
22675
24432
|
* format), writing to the given BinaryWriter.
|
|
22676
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24433
|
+
* @param {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} message
|
|
22677
24434
|
* @param {!jspb.BinaryWriter} writer
|
|
22678
24435
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22679
24436
|
*/
|
|
22680
|
-
proto.zaber.motion.protobufs.
|
|
24437
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22681
24438
|
var f = undefined;
|
|
22682
|
-
f = message.
|
|
22683
|
-
if (f
|
|
22684
|
-
writer.
|
|
24439
|
+
f = message.getLabelsList();
|
|
24440
|
+
if (f.length > 0) {
|
|
24441
|
+
writer.writeRepeatedMessage(
|
|
22685
24442
|
1,
|
|
22686
|
-
f
|
|
22687
|
-
|
|
22688
|
-
}
|
|
22689
|
-
f = message.getDevice();
|
|
22690
|
-
if (f !== 0) {
|
|
22691
|
-
writer.writeInt32(
|
|
22692
|
-
2,
|
|
22693
|
-
f
|
|
22694
|
-
);
|
|
22695
|
-
}
|
|
22696
|
-
f = message.getChannelNumber();
|
|
22697
|
-
if (f !== 0) {
|
|
22698
|
-
writer.writeInt32(
|
|
22699
|
-
3,
|
|
22700
|
-
f
|
|
22701
|
-
);
|
|
22702
|
-
}
|
|
22703
|
-
f = message.getValue();
|
|
22704
|
-
if (f !== 0.0) {
|
|
22705
|
-
writer.writeDouble(
|
|
22706
|
-
4,
|
|
22707
|
-
f
|
|
24443
|
+
f,
|
|
24444
|
+
proto.zaber.motion.protobufs.IoPortLabel.serializeBinaryToWriter
|
|
22708
24445
|
);
|
|
22709
24446
|
}
|
|
22710
24447
|
};
|
|
22711
24448
|
|
|
22712
24449
|
|
|
22713
24450
|
/**
|
|
22714
|
-
*
|
|
22715
|
-
* @return {
|
|
24451
|
+
* repeated IoPortLabel labels = 1;
|
|
24452
|
+
* @return {!Array<!proto.zaber.motion.protobufs.IoPortLabel>}
|
|
22716
24453
|
*/
|
|
22717
|
-
proto.zaber.motion.protobufs.
|
|
22718
|
-
return /** @type
|
|
24454
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.getLabelsList = function() {
|
|
24455
|
+
return /** @type{!Array<!proto.zaber.motion.protobufs.IoPortLabel>} */ (
|
|
24456
|
+
jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.IoPortLabel, 1));
|
|
22719
24457
|
};
|
|
22720
24458
|
|
|
22721
24459
|
|
|
22722
24460
|
/**
|
|
22723
|
-
* @param {
|
|
22724
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22725
|
-
|
|
22726
|
-
proto.zaber.motion.protobufs.
|
|
22727
|
-
return jspb.Message.
|
|
22728
|
-
};
|
|
22729
|
-
|
|
22730
|
-
|
|
22731
|
-
/**
|
|
22732
|
-
* optional int32 device = 2;
|
|
22733
|
-
* @return {number}
|
|
22734
|
-
*/
|
|
22735
|
-
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getDevice = function() {
|
|
22736
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22737
|
-
};
|
|
22738
|
-
|
|
22739
|
-
|
|
22740
|
-
/**
|
|
22741
|
-
* @param {number} value
|
|
22742
|
-
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
22743
|
-
*/
|
|
22744
|
-
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setDevice = function(value) {
|
|
22745
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22746
|
-
};
|
|
22747
|
-
|
|
22748
|
-
|
|
22749
|
-
/**
|
|
22750
|
-
* optional int32 channel_number = 3;
|
|
22751
|
-
* @return {number}
|
|
22752
|
-
*/
|
|
22753
|
-
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getChannelNumber = function() {
|
|
22754
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22755
|
-
};
|
|
22756
|
-
|
|
22757
|
-
|
|
22758
|
-
/**
|
|
22759
|
-
* @param {number} value
|
|
22760
|
-
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
22761
|
-
*/
|
|
22762
|
-
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setChannelNumber = function(value) {
|
|
22763
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
24461
|
+
* @param {!Array<!proto.zaber.motion.protobufs.IoPortLabel>} value
|
|
24462
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} returns this
|
|
24463
|
+
*/
|
|
24464
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.setLabelsList = function(value) {
|
|
24465
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
22764
24466
|
};
|
|
22765
24467
|
|
|
22766
24468
|
|
|
22767
24469
|
/**
|
|
22768
|
-
*
|
|
22769
|
-
* @
|
|
24470
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel=} opt_value
|
|
24471
|
+
* @param {number=} opt_index
|
|
24472
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel}
|
|
22770
24473
|
*/
|
|
22771
|
-
proto.zaber.motion.protobufs.
|
|
22772
|
-
return
|
|
24474
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.addLabels = function(opt_value, opt_index) {
|
|
24475
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.IoPortLabel, opt_index);
|
|
22773
24476
|
};
|
|
22774
24477
|
|
|
22775
24478
|
|
|
22776
24479
|
/**
|
|
22777
|
-
*
|
|
22778
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24480
|
+
* Clears the list making it empty but non-null.
|
|
24481
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} returns this
|
|
22779
24482
|
*/
|
|
22780
|
-
proto.zaber.motion.protobufs.
|
|
22781
|
-
return
|
|
24483
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.clearLabelsList = function() {
|
|
24484
|
+
return this.setLabelsList([]);
|
|
22782
24485
|
};
|
|
22783
24486
|
|
|
22784
24487
|
|
|
@@ -60171,6 +61874,217 @@ proto.zaber.motion.protobufs.MicroscopeEmptyRequest.prototype.hasConfig = functi
|
|
|
60171
61874
|
|
|
60172
61875
|
|
|
60173
61876
|
|
|
61877
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61878
|
+
/**
|
|
61879
|
+
* Creates an object representation of this proto.
|
|
61880
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
61881
|
+
* Optional fields that are not set will be set to undefined.
|
|
61882
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
61883
|
+
* For the list of reserved names please see:
|
|
61884
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
61885
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
61886
|
+
* JSPB instance for transitional soy proto support:
|
|
61887
|
+
* http://goto/soy-param-migration
|
|
61888
|
+
* @return {!Object}
|
|
61889
|
+
*/
|
|
61890
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.toObject = function(opt_includeInstance) {
|
|
61891
|
+
return proto.zaber.motion.protobufs.MicroscopeInitRequest.toObject(opt_includeInstance, this);
|
|
61892
|
+
};
|
|
61893
|
+
|
|
61894
|
+
|
|
61895
|
+
/**
|
|
61896
|
+
* Static version of the {@see toObject} method.
|
|
61897
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
61898
|
+
* the JSPB instance for transitional soy proto support:
|
|
61899
|
+
* http://goto/soy-param-migration
|
|
61900
|
+
* @param {!proto.zaber.motion.protobufs.MicroscopeInitRequest} msg The msg instance to transform.
|
|
61901
|
+
* @return {!Object}
|
|
61902
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61903
|
+
*/
|
|
61904
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.toObject = function(includeInstance, msg) {
|
|
61905
|
+
var f, obj = {
|
|
61906
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
61907
|
+
config: (f = msg.getConfig()) && proto.zaber.motion.protobufs.MicroscopeConfig.toObject(includeInstance, f),
|
|
61908
|
+
force: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
61909
|
+
};
|
|
61910
|
+
|
|
61911
|
+
if (includeInstance) {
|
|
61912
|
+
obj.$jspbMessageInstance = msg;
|
|
61913
|
+
}
|
|
61914
|
+
return obj;
|
|
61915
|
+
};
|
|
61916
|
+
}
|
|
61917
|
+
|
|
61918
|
+
|
|
61919
|
+
/**
|
|
61920
|
+
* Deserializes binary data (in protobuf wire format).
|
|
61921
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
61922
|
+
* @return {!proto.zaber.motion.protobufs.MicroscopeInitRequest}
|
|
61923
|
+
*/
|
|
61924
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.deserializeBinary = function(bytes) {
|
|
61925
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
61926
|
+
var msg = new proto.zaber.motion.protobufs.MicroscopeInitRequest;
|
|
61927
|
+
return proto.zaber.motion.protobufs.MicroscopeInitRequest.deserializeBinaryFromReader(msg, reader);
|
|
61928
|
+
};
|
|
61929
|
+
|
|
61930
|
+
|
|
61931
|
+
/**
|
|
61932
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
61933
|
+
* given reader into the given message object.
|
|
61934
|
+
* @param {!proto.zaber.motion.protobufs.MicroscopeInitRequest} msg The message object to deserialize into.
|
|
61935
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
61936
|
+
* @return {!proto.zaber.motion.protobufs.MicroscopeInitRequest}
|
|
61937
|
+
*/
|
|
61938
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
61939
|
+
while (reader.nextField()) {
|
|
61940
|
+
if (reader.isEndGroup()) {
|
|
61941
|
+
break;
|
|
61942
|
+
}
|
|
61943
|
+
var field = reader.getFieldNumber();
|
|
61944
|
+
switch (field) {
|
|
61945
|
+
case 1:
|
|
61946
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
61947
|
+
msg.setInterfaceId(value);
|
|
61948
|
+
break;
|
|
61949
|
+
case 2:
|
|
61950
|
+
var value = new proto.zaber.motion.protobufs.MicroscopeConfig;
|
|
61951
|
+
reader.readMessage(value,proto.zaber.motion.protobufs.MicroscopeConfig.deserializeBinaryFromReader);
|
|
61952
|
+
msg.setConfig(value);
|
|
61953
|
+
break;
|
|
61954
|
+
case 3:
|
|
61955
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
61956
|
+
msg.setForce(value);
|
|
61957
|
+
break;
|
|
61958
|
+
default:
|
|
61959
|
+
reader.skipField();
|
|
61960
|
+
break;
|
|
61961
|
+
}
|
|
61962
|
+
}
|
|
61963
|
+
return msg;
|
|
61964
|
+
};
|
|
61965
|
+
|
|
61966
|
+
|
|
61967
|
+
/**
|
|
61968
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
61969
|
+
* @return {!Uint8Array}
|
|
61970
|
+
*/
|
|
61971
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.serializeBinary = function() {
|
|
61972
|
+
var writer = new jspb.BinaryWriter();
|
|
61973
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.serializeBinaryToWriter(this, writer);
|
|
61974
|
+
return writer.getResultBuffer();
|
|
61975
|
+
};
|
|
61976
|
+
|
|
61977
|
+
|
|
61978
|
+
/**
|
|
61979
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
61980
|
+
* format), writing to the given BinaryWriter.
|
|
61981
|
+
* @param {!proto.zaber.motion.protobufs.MicroscopeInitRequest} message
|
|
61982
|
+
* @param {!jspb.BinaryWriter} writer
|
|
61983
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61984
|
+
*/
|
|
61985
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.serializeBinaryToWriter = function(message, writer) {
|
|
61986
|
+
var f = undefined;
|
|
61987
|
+
f = message.getInterfaceId();
|
|
61988
|
+
if (f !== 0) {
|
|
61989
|
+
writer.writeInt32(
|
|
61990
|
+
1,
|
|
61991
|
+
f
|
|
61992
|
+
);
|
|
61993
|
+
}
|
|
61994
|
+
f = message.getConfig();
|
|
61995
|
+
if (f != null) {
|
|
61996
|
+
writer.writeMessage(
|
|
61997
|
+
2,
|
|
61998
|
+
f,
|
|
61999
|
+
proto.zaber.motion.protobufs.MicroscopeConfig.serializeBinaryToWriter
|
|
62000
|
+
);
|
|
62001
|
+
}
|
|
62002
|
+
f = message.getForce();
|
|
62003
|
+
if (f) {
|
|
62004
|
+
writer.writeBool(
|
|
62005
|
+
3,
|
|
62006
|
+
f
|
|
62007
|
+
);
|
|
62008
|
+
}
|
|
62009
|
+
};
|
|
62010
|
+
|
|
62011
|
+
|
|
62012
|
+
/**
|
|
62013
|
+
* optional int32 interface_id = 1;
|
|
62014
|
+
* @return {number}
|
|
62015
|
+
*/
|
|
62016
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.getInterfaceId = function() {
|
|
62017
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
62018
|
+
};
|
|
62019
|
+
|
|
62020
|
+
|
|
62021
|
+
/**
|
|
62022
|
+
* @param {number} value
|
|
62023
|
+
* @return {!proto.zaber.motion.protobufs.MicroscopeInitRequest} returns this
|
|
62024
|
+
*/
|
|
62025
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.setInterfaceId = function(value) {
|
|
62026
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
62027
|
+
};
|
|
62028
|
+
|
|
62029
|
+
|
|
62030
|
+
/**
|
|
62031
|
+
* optional MicroscopeConfig config = 2;
|
|
62032
|
+
* @return {?proto.zaber.motion.protobufs.MicroscopeConfig}
|
|
62033
|
+
*/
|
|
62034
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.getConfig = function() {
|
|
62035
|
+
return /** @type{?proto.zaber.motion.protobufs.MicroscopeConfig} */ (
|
|
62036
|
+
jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.MicroscopeConfig, 2));
|
|
62037
|
+
};
|
|
62038
|
+
|
|
62039
|
+
|
|
62040
|
+
/**
|
|
62041
|
+
* @param {?proto.zaber.motion.protobufs.MicroscopeConfig|undefined} value
|
|
62042
|
+
* @return {!proto.zaber.motion.protobufs.MicroscopeInitRequest} returns this
|
|
62043
|
+
*/
|
|
62044
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.setConfig = function(value) {
|
|
62045
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
62046
|
+
};
|
|
62047
|
+
|
|
62048
|
+
|
|
62049
|
+
/**
|
|
62050
|
+
* Clears the message field making it undefined.
|
|
62051
|
+
* @return {!proto.zaber.motion.protobufs.MicroscopeInitRequest} returns this
|
|
62052
|
+
*/
|
|
62053
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.clearConfig = function() {
|
|
62054
|
+
return this.setConfig(undefined);
|
|
62055
|
+
};
|
|
62056
|
+
|
|
62057
|
+
|
|
62058
|
+
/**
|
|
62059
|
+
* Returns whether this field is set.
|
|
62060
|
+
* @return {boolean}
|
|
62061
|
+
*/
|
|
62062
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.hasConfig = function() {
|
|
62063
|
+
return jspb.Message.getField(this, 2) != null;
|
|
62064
|
+
};
|
|
62065
|
+
|
|
62066
|
+
|
|
62067
|
+
/**
|
|
62068
|
+
* optional bool force = 3;
|
|
62069
|
+
* @return {boolean}
|
|
62070
|
+
*/
|
|
62071
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.getForce = function() {
|
|
62072
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
62073
|
+
};
|
|
62074
|
+
|
|
62075
|
+
|
|
62076
|
+
/**
|
|
62077
|
+
* @param {boolean} value
|
|
62078
|
+
* @return {!proto.zaber.motion.protobufs.MicroscopeInitRequest} returns this
|
|
62079
|
+
*/
|
|
62080
|
+
proto.zaber.motion.protobufs.MicroscopeInitRequest.prototype.setForce = function(value) {
|
|
62081
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
62082
|
+
};
|
|
62083
|
+
|
|
62084
|
+
|
|
62085
|
+
|
|
62086
|
+
|
|
62087
|
+
|
|
60174
62088
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
60175
62089
|
/**
|
|
60176
62090
|
* Creates an object representation of this proto.
|