3030public final class MessageTransform extends com .google .api .client .json .GenericJson {
3131
3232 /**
33- * Optional. If set to true, the transform is enabled. If false, the transform is disabled and
34- * will not be applied to messages. Defaults to `true`.
33+ * Optional. If true, the transform is disabled and will not be applied to messages. Defaults to
34+ * `false`.
35+ * The value may be {@code null}.
36+ */
37+ @ com .google .api .client .util .Key
38+ private java .lang .Boolean disabled ;
39+
40+ /**
41+ * Optional. This field is deprecated, use the `disabled` field to disable transforms.
3542 * The value may be {@code null}.
3643 */
3744 @ com .google .api .client .util .Key
@@ -46,17 +53,34 @@ public final class MessageTransform extends com.google.api.client.json.GenericJs
4653 private JavaScriptUDF javascriptUdf ;
4754
4855 /**
49- * Optional. If set to true, the transform is enabled. If false, the transform is disabled and
50- * will not be applied to messages. Defaults to `true`.
56+ * Optional. If true, the transform is disabled and will not be applied to messages. Defaults to
57+ * `false`.
58+ * @return value or {@code null} for none
59+ */
60+ public java .lang .Boolean getDisabled () {
61+ return disabled ;
62+ }
63+
64+ /**
65+ * Optional. If true, the transform is disabled and will not be applied to messages. Defaults to
66+ * `false`.
67+ * @param disabled disabled or {@code null} for none
68+ */
69+ public MessageTransform setDisabled (java .lang .Boolean disabled ) {
70+ this .disabled = disabled ;
71+ return this ;
72+ }
73+
74+ /**
75+ * Optional. This field is deprecated, use the `disabled` field to disable transforms.
5176 * @return value or {@code null} for none
5277 */
5378 public java .lang .Boolean getEnabled () {
5479 return enabled ;
5580 }
5681
5782 /**
58- * Optional. If set to true, the transform is enabled. If false, the transform is disabled and
59- * will not be applied to messages. Defaults to `true`.
83+ * Optional. This field is deprecated, use the `disabled` field to disable transforms.
6084 * @param enabled enabled or {@code null} for none
6185 */
6286 public MessageTransform setEnabled (java .lang .Boolean enabled ) {
0 commit comments